@dynamic-labs/sdk-react-core 4.20.12 → 4.20.13
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/CHANGELOG.md +12 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +11 -11
- package/src/lib/utils/hooks/useWalletItemActions/useHandleWalletItem/useHandleWalletItem.cjs +7 -3
- package/src/lib/utils/hooks/useWalletItemActions/useHandleWalletItem/useHandleWalletItem.js +7 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.20.13](https://github.com/dynamic-labs/dynamic-auth/compare/v4.20.12...v4.20.13) (2025-07-02)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add createWalletClient method to ZeroDevExtension ([#9036](https://github.com/dynamic-labs/dynamic-auth/issues/9036)) ([674df45](https://github.com/dynamic-labs/dynamic-auth/commit/674df45f21e76070594963c2e3b7c19ba94e3004))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* allow to retry metamask deeplink ([#9066](https://github.com/dynamic-labs/dynamic-auth/issues/9066)) ([308c0d2](https://github.com/dynamic-labs/dynamic-auth/commit/308c0d2ddd7a5c7460f31d25365687b315b0a0f4))
|
|
13
|
+
|
|
2
14
|
### [4.20.12](https://github.com/dynamic-labs/dynamic-auth/compare/v4.20.11...v4.20.12) (2025-07-01)
|
|
3
15
|
|
|
4
16
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/sdk-react-core",
|
|
3
|
-
"version": "4.20.
|
|
3
|
+
"version": "4.20.13",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@dynamic-labs/sdk-api-core": "0.0.699",
|
|
6
6
|
"@dynamic-labs-sdk/client": "0.0.1-alpha.5",
|
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
"yup": "0.32.11",
|
|
16
16
|
"react-international-phone": "4.5.0",
|
|
17
17
|
"bs58": "5.0.0",
|
|
18
|
-
"@dynamic-labs/assert-package-version": "4.20.
|
|
19
|
-
"@dynamic-labs/iconic": "4.20.
|
|
20
|
-
"@dynamic-labs/logger": "4.20.
|
|
21
|
-
"@dynamic-labs/multi-wallet": "4.20.
|
|
22
|
-
"@dynamic-labs/rpc-providers": "4.20.
|
|
23
|
-
"@dynamic-labs/store": "4.20.
|
|
24
|
-
"@dynamic-labs/types": "4.20.
|
|
25
|
-
"@dynamic-labs/utils": "4.20.
|
|
26
|
-
"@dynamic-labs/wallet-book": "4.20.
|
|
27
|
-
"@dynamic-labs/wallet-connector-core": "4.20.
|
|
18
|
+
"@dynamic-labs/assert-package-version": "4.20.13",
|
|
19
|
+
"@dynamic-labs/iconic": "4.20.13",
|
|
20
|
+
"@dynamic-labs/logger": "4.20.13",
|
|
21
|
+
"@dynamic-labs/multi-wallet": "4.20.13",
|
|
22
|
+
"@dynamic-labs/rpc-providers": "4.20.13",
|
|
23
|
+
"@dynamic-labs/store": "4.20.13",
|
|
24
|
+
"@dynamic-labs/types": "4.20.13",
|
|
25
|
+
"@dynamic-labs/utils": "4.20.13",
|
|
26
|
+
"@dynamic-labs/wallet-book": "4.20.13",
|
|
27
|
+
"@dynamic-labs/wallet-connector-core": "4.20.13",
|
|
28
28
|
"eventemitter3": "5.0.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
package/src/lib/utils/hooks/useWalletItemActions/useHandleWalletItem/useHandleWalletItem.cjs
CHANGED
|
@@ -139,11 +139,15 @@ const useHandleWalletItem = ({ allowAlreadyConnectedWallet, onQrCodeConnect, onC
|
|
|
139
139
|
verificationType: 'awaiting_verification',
|
|
140
140
|
});
|
|
141
141
|
}
|
|
142
|
-
const
|
|
142
|
+
const onRetry = () => {
|
|
143
|
+
if (walletConnector.hasRetryDeeplinkConnection()) {
|
|
144
|
+
walletConnector.retryDeeplinkConnection();
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
143
147
|
onConnectOnly({ shouldShowPendingConnectView: false, walletConnector });
|
|
144
148
|
};
|
|
145
|
-
pushView('mobile-wallet-redirect-view', { onRetry
|
|
146
|
-
|
|
149
|
+
pushView('mobile-wallet-redirect-view', { onRetry });
|
|
150
|
+
onConnectOnly({ shouldShowPendingConnectView: false, walletConnector });
|
|
147
151
|
});
|
|
148
152
|
const handleInstalledExtensionClick = (walletConnector) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
|
|
149
153
|
logger.logger.debug('handleInstalledExtensionClick', walletConnector);
|
|
@@ -135,11 +135,15 @@ const useHandleWalletItem = ({ allowAlreadyConnectedWallet, onQrCodeConnect, onC
|
|
|
135
135
|
verificationType: 'awaiting_verification',
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
|
-
const
|
|
138
|
+
const onRetry = () => {
|
|
139
|
+
if (walletConnector.hasRetryDeeplinkConnection()) {
|
|
140
|
+
walletConnector.retryDeeplinkConnection();
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
139
143
|
onConnectOnly({ shouldShowPendingConnectView: false, walletConnector });
|
|
140
144
|
};
|
|
141
|
-
pushView('mobile-wallet-redirect-view', { onRetry
|
|
142
|
-
|
|
145
|
+
pushView('mobile-wallet-redirect-view', { onRetry });
|
|
146
|
+
onConnectOnly({ shouldShowPendingConnectView: false, walletConnector });
|
|
143
147
|
});
|
|
144
148
|
const handleInstalledExtensionClick = (walletConnector) => __awaiter(void 0, void 0, void 0, function* () {
|
|
145
149
|
logger.debug('handleInstalledExtensionClick', walletConnector);
|