Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CU-86a166rph - Implement a new WcSdk (dapp) package for Svelte #97

Merged
merged 9 commits into from
Oct 30, 2023

Conversation

endkeyCoder
Copy link
Contributor

No description provided.

@melanke
Copy link
Contributor

melanke commented Oct 25, 2023

examples/wc-dapp-react/src/components/HelloWorld.tsx Outdated Show resolved Hide resolved
packages/wallet-connect-sdk-svelte/README.md Show resolved Hide resolved
/**
* returns if the session is connected
*/
readonly isConnected: Readable<boolean>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be too difficult to maintain the documentation if one of the libraries has a different usage than the others. Today we have a single "usage" documentation, and both "core" and "react" libraries respect it.
So, instead of isConnected being a getter it need to be a method. The devs will still be able to use session variable to check if they are connected instead of using the method.
Reference: https://github.com/CityOfZion/wallet-connect-sdk/blob/main/USAGE_GUIDE.md#check-if-the-user-is-connected

@melanke melanke merged commit 4ea09fd into main Oct 30, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants