@dynamic-labs/multi-wallet 4.40.0 → 4.40.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/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.40.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.40.0...v4.40.1) (2025-10-24)
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* 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))
|
|
7
|
+
|
|
2
8
|
## [4.40.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.39.0...v4.40.0) (2025-10-22)
|
|
3
9
|
|
|
4
10
|
|
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.1",
|
|
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.1",
|
|
8
|
+
"@dynamic-labs/rpc-providers": "4.40.1",
|
|
9
|
+
"@dynamic-labs/types": "4.40.1",
|
|
10
|
+
"@dynamic-labs/utils": "4.40.1",
|
|
11
|
+
"@dynamic-labs/wallet-book": "4.40.1",
|
|
12
|
+
"@dynamic-labs/wallet-connector-core": "4.40.1"
|
|
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;
|
|
@@ -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;
|