@dynamic-labs/multi-wallet 4.40.0 → 4.40.2
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
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.40.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.40.1...v4.40.2) (2025-10-28)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* upgrade node to 20.20 in sanity-yarn-add-sdk job for compatibility ([#9743](https://github.com/dynamic-labs/dynamic-auth/issues/9743)) ([58d7e32](https://github.com/dynamic-labs/dynamic-auth/commit/58d7e32cd3965fba983c91c6345eae3bfe8dd1d5))
|
|
8
|
+
|
|
9
|
+
### [4.40.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.40.0...v4.40.1) (2025-10-24)
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* add support for Keplr in-app browser redirect for cosmos chain ([#9770](https://github.com/dynamic-labs/dynamic-auth/issues/9770)) ([35652f3](https://github.com/dynamic-labs/dynamic-auth/commit/35652f3167a4e768f5d4c634ab1b4f127fd5076a))
|
|
14
|
+
|
|
2
15
|
## [4.40.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.39.0...v4.40.0) (2025-10-22)
|
|
3
16
|
|
|
4
17
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/multi-wallet",
|
|
3
|
-
"version": "4.40.
|
|
3
|
+
"version": "4.40.2",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@dynamic-labs/sdk-api-core": "0.0.813",
|
|
6
6
|
"tslib": "2.4.1",
|
|
7
|
-
"@dynamic-labs/assert-package-version": "4.40.
|
|
8
|
-
"@dynamic-labs/rpc-providers": "4.40.
|
|
9
|
-
"@dynamic-labs/types": "4.40.
|
|
10
|
-
"@dynamic-labs/utils": "4.40.
|
|
11
|
-
"@dynamic-labs/wallet-book": "4.40.
|
|
12
|
-
"@dynamic-labs/wallet-connector-core": "4.40.
|
|
7
|
+
"@dynamic-labs/assert-package-version": "4.40.2",
|
|
8
|
+
"@dynamic-labs/rpc-providers": "4.40.2",
|
|
9
|
+
"@dynamic-labs/types": "4.40.2",
|
|
10
|
+
"@dynamic-labs/utils": "4.40.2",
|
|
11
|
+
"@dynamic-labs/wallet-book": "4.40.2",
|
|
12
|
+
"@dynamic-labs/wallet-connector-core": "4.40.2"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@walletconnect/types": "2.21.5"
|
|
@@ -39,12 +39,11 @@ const getSupportedWallets = (args) => {
|
|
|
39
39
|
(!((_a = walletConnector.metadata) === null || _a === void 0 ? void 0 : _a.id) ||
|
|
40
40
|
!disabledConnectors.includes(walletConnector.metadata.id));
|
|
41
41
|
})
|
|
42
|
-
// initialize
|
|
43
|
-
// or just the generic 'walletconnect' connector (for both EVM and SOL), not other WC connectors
|
|
42
|
+
// Don't auto initialize WalletConnect EVM connectors that are not the main "WalletConnect" connector
|
|
44
43
|
.map((walletConnector) => {
|
|
45
44
|
if (!(walletConnector === null || walletConnector === void 0 ? void 0 : walletConnector.isWalletConnect) ||
|
|
46
|
-
walletConnector.
|
|
47
|
-
walletConnector.key === '
|
|
45
|
+
walletConnector.connectedChain === 'SOL' ||
|
|
46
|
+
walletConnector.key === 'walletconnect') {
|
|
48
47
|
walletConnector === null || walletConnector === void 0 ? void 0 : walletConnector.init();
|
|
49
48
|
}
|
|
50
49
|
return walletConnector;
|
|
@@ -61,6 +60,7 @@ const getSupportedWallets = (args) => {
|
|
|
61
60
|
// if there is, return false (filter out WC wallet)
|
|
62
61
|
// if there is no other wallet with the same key that is not WalletConnect, return true (keep WC wallet)
|
|
63
62
|
return !allWalletConnectors.some((wc) => wc.key === walletConnector.key &&
|
|
63
|
+
wc.connectedChain === walletConnector.connectedChain &&
|
|
64
64
|
!wc.isWalletConnect &&
|
|
65
65
|
wc.isInstalledOnBrowser());
|
|
66
66
|
});
|
|
@@ -35,12 +35,11 @@ const getSupportedWallets = (args) => {
|
|
|
35
35
|
(!((_a = walletConnector.metadata) === null || _a === void 0 ? void 0 : _a.id) ||
|
|
36
36
|
!disabledConnectors.includes(walletConnector.metadata.id));
|
|
37
37
|
})
|
|
38
|
-
// initialize
|
|
39
|
-
// or just the generic 'walletconnect' connector (for both EVM and SOL), not other WC connectors
|
|
38
|
+
// Don't auto initialize WalletConnect EVM connectors that are not the main "WalletConnect" connector
|
|
40
39
|
.map((walletConnector) => {
|
|
41
40
|
if (!(walletConnector === null || walletConnector === void 0 ? void 0 : walletConnector.isWalletConnect) ||
|
|
42
|
-
walletConnector.
|
|
43
|
-
walletConnector.key === '
|
|
41
|
+
walletConnector.connectedChain === 'SOL' ||
|
|
42
|
+
walletConnector.key === 'walletconnect') {
|
|
44
43
|
walletConnector === null || walletConnector === void 0 ? void 0 : walletConnector.init();
|
|
45
44
|
}
|
|
46
45
|
return walletConnector;
|
|
@@ -57,6 +56,7 @@ const getSupportedWallets = (args) => {
|
|
|
57
56
|
// if there is, return false (filter out WC wallet)
|
|
58
57
|
// if there is no other wallet with the same key that is not WalletConnect, return true (keep WC wallet)
|
|
59
58
|
return !allWalletConnectors.some((wc) => wc.key === walletConnector.key &&
|
|
59
|
+
wc.connectedChain === walletConnector.connectedChain &&
|
|
60
60
|
!wc.isWalletConnect &&
|
|
61
61
|
wc.isInstalledOnBrowser());
|
|
62
62
|
});
|