@dogeos/dogeos-sdk 4.0.7-beta.0 → 4.0.7
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 +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -116,9 +116,9 @@ Inside MyDoge, the SDK selects the native wallet automatically. Keep your normal
|
|
|
116
116
|
|
|
117
117
|
In MyDoge's dApp browser the native app answers every wallet request, and the SDK shows none of its own wallet UI and opens no popups. The same code works in a browser and in MyDoge:
|
|
118
118
|
|
|
119
|
-
- `openModal()` asks MyDoge to connect,
|
|
120
|
-
- `WalletConnectEmbed` shows a small MyDoge card with Connect, Account and Disconnect buttons instead of the wallet list.
|
|
121
|
-
- A first visit does not prompt on page load. MyDoge
|
|
119
|
+
- `openModal()` asks MyDoge to connect. When a wallet is already connected, it opens MyDoge's account sheet on MyDoge builds that support it; on builds without it, including 3.1.1 (build 652) and earlier, it does nothing and logs a warning, so give users a Disconnect button and, if you support several networks, a `switchChain()` control.
|
|
120
|
+
- `WalletConnectEmbed` shows a small MyDoge card with Connect, Account and Disconnect buttons instead of the wallet list. Its Account button needs the same account-sheet support.
|
|
121
|
+
- A first visit does not prompt on page load. A saved connection is restored, and MyDoge builds that support it also reconnect a dApp the user already approved; otherwise the SDK waits for the user to tap connect.
|
|
122
122
|
- `disconnect()` also revokes the dApp's approval in MyDoge.
|
|
123
123
|
- DogeOS email and social sign-in (`useDogeOSAuth().login()`) reject with `DogeOSHostError`. Use `signInWithWallet()` and verify the signature on your server.
|
|
124
124
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dogeos/dogeos-sdk",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "4.0.7
|
|
4
|
+
"version": "4.0.7",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
"vitest": "^4.0.18",
|
|
88
88
|
"wagmi": "^2.0.0",
|
|
89
89
|
"@dogeos/dogeos-ui": "0.0.14",
|
|
90
|
-
"@dogeos/embedded-wallet-providers": "0.0.30
|
|
90
|
+
"@dogeos/embedded-wallet-providers": "0.0.30",
|
|
91
91
|
"@dogeos/inject-providers": "0.0.21",
|
|
92
|
-
"@dogeos/oidc-auth": "0.1.1
|
|
92
|
+
"@dogeos/oidc-auth": "0.1.1",
|
|
93
93
|
"@dogeos/wallet-adaptor-base": "0.0.25",
|
|
94
94
|
"@dogeos/wallet-utils": "0.0.23"
|
|
95
95
|
},
|