@dogeos/dogeos-sdk 4.0.1 → 4.0.2-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -492,6 +492,14 @@ const {
492
492
  } = useWalletConnect();
493
493
  ```
494
494
 
495
+ On mobile, selecting a wallet without an injected provider may open the dApp in
496
+ that wallet's browser. The SDK picker closes and clears its connecting state;
497
+ the source tab is not connected by this handoff. If you call `connect()` directly,
498
+ its promise rejects with `code: "WALLET_BROWSER_REDIRECT"` for this outcome.
499
+ Handle that code as a browser handoff, not a completed connection. An existing
500
+ connection in the source tab is preserved. Injected providers and WalletConnect
501
+ sessions continue to resolve normally after connection approval.
502
+
495
503
  ### useAccount
496
504
 
497
505
  Hook for getting the currently connected account information and performing account-related operations.
@@ -768,6 +776,14 @@ export function WalletComponent() {
768
776
 
769
777
  ### WalletConnectKitConfig
770
778
 
779
+ `walletConnectProjectId` is optional and has no SDK default. To enable WalletConnect,
780
+ create a project in the [Reown Dashboard](https://dashboard.reown.com/) for your
781
+ application, configure its allowed origins, and pass that project's ID. This public
782
+ project ID is separate from your DogeOS `clientId`. Omitting it or passing a blank
783
+ value hides WalletConnect and skips its discovery and initialization; injected
784
+ wallets and the other configured login methods remain available. Rejected project
785
+ IDs surface the provider error without a fallback project.
786
+
771
787
  ````tsx
772
788
  interface WalletConnectKitConfig {
773
789
  connectors?: WalletConfig[];
package/dist/index.d.ts CHANGED
@@ -554,7 +554,8 @@ export declare interface WalletConnectKitConfig {
554
554
  defaultConnectChain?: ChainType;
555
555
  /***
556
556
  * WalletConnect project ID
557
- * Make sure to replace the projectId with your own WalletConnect Project ID, if you wish to use WalletConnect!
557
+ * Supply your application's own project ID to enable WalletConnect.
558
+ * Omitted or blank IDs disable WalletConnect; the SDK never supplies a fallback.
558
559
  * Get your Project ID
559
560
  * @url https://cloud.walletconnect.com/
560
561
  */