@dynamic-labs/multi-wallet 4.53.0 → 4.53.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 +18 -0
- package/README.md +5 -1
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/utils/getSupportedChainsForWalletConnector/getSupportedChainsForWalletConnector.cjs +5 -1
- package/src/utils/getSupportedChainsForWalletConnector/getSupportedChainsForWalletConnector.js +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.53.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.53.1...v4.53.2) (2026-01-16)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add iCloud backup functionality ([#10219](https://github.com/dynamic-labs/dynamic-auth/issues/10219)) ([44e95e5](https://github.com/dynamic-labs/dynamic-auth/commit/44e95e5a5dc99f83918a382ab1c69d452359c346))
|
|
8
|
+
* update PSBT building with Largest-First UTXO selection and fee priorities (high/medium/low) ([#10227](https://github.com/dynamic-labs/dynamic-auth/issues/10227)) ([94c5f5c](https://github.com/dynamic-labs/dynamic-auth/commit/94c5f5cb97432bb97374b754cb95bc23290dd184))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* allow late registered solana wallets to appear in the wallet list ([#10224](https://github.com/dynamic-labs/dynamic-auth/issues/10224)) ([2f418d4](https://github.com/dynamic-labs/dynamic-auth/commit/2f418d4f3e0543bdd829a45807329f89da1e41a7))
|
|
14
|
+
* correctly show app name in wallet app for wallet connect evm connections ([#10218](https://github.com/dynamic-labs/dynamic-auth/issues/10218)) ([fec0009](https://github.com/dynamic-labs/dynamic-auth/commit/fec0009177439baa67015050b4ad799119615f4f))
|
|
15
|
+
* destructure wallets from getWalletStandardWallets before calling find ([#10234](https://github.com/dynamic-labs/dynamic-auth/issues/10234)) ([b59617a](https://github.com/dynamic-labs/dynamic-auth/commit/b59617a8579b9c7d8a5f744a2ea9363ccb4aee58))
|
|
16
|
+
* **react-native:** filter connectors by enabled chains and add chain parameter to connectWallet ([#10230](https://github.com/dynamic-labs/dynamic-auth/issues/10230)) ([a2bbd03](https://github.com/dynamic-labs/dynamic-auth/commit/a2bbd03ece52950711d2eda18cb2345df15710dd))
|
|
17
|
+
|
|
18
|
+
### [4.53.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.53.0...v4.53.1) (2026-01-14)
|
|
19
|
+
|
|
2
20
|
## [4.53.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.52.5...v4.53.0) (2026-01-13)
|
|
3
21
|
|
|
4
22
|
|
package/README.md
CHANGED
|
@@ -55,7 +55,11 @@ Filters providers to return only those that are enabled (have `enabledAt` set, o
|
|
|
55
55
|
|
|
56
56
|
### `getSupportedChainsForWalletConnector(walletBook, walletConnector)`
|
|
57
57
|
|
|
58
|
-
Returns the supported chains for a specific wallet connector
|
|
58
|
+
Returns the supported chains for a specific wallet connector instance. The behavior depends on the `mergeWalletBookChains` property of the connector:
|
|
59
|
+
|
|
60
|
+
- When `mergeWalletBookChains` is `true` (default): Returns a merged set of chains from both the wallet book (global wallet brand capabilities) and the connector's `supportedChains`. This is the default behavior for most connectors.
|
|
61
|
+
|
|
62
|
+
- When `mergeWalletBookChains` is `false`: Returns only the connector's `supportedChains`, ignoring wallet book chains. This is used for Solana WalletConnect connectors to ensure they are correctly filtered out when Solana is disabled, even if the wallet book indicates the wallet brand supports both ETH and SOL globally (e.g., Trust Wallet Solana connector with walletKey 'trust' matching the wallet book entry that lists both EVM and SOL chains).
|
|
59
63
|
|
|
60
64
|
## Usage
|
|
61
65
|
|
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.53.
|
|
3
|
+
"version": "4.53.2",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
5
|
+
"@dynamic-labs/sdk-api-core": "0.0.855",
|
|
6
6
|
"tslib": "2.4.1",
|
|
7
|
-
"@dynamic-labs/assert-package-version": "4.53.
|
|
8
|
-
"@dynamic-labs/rpc-providers": "4.53.
|
|
9
|
-
"@dynamic-labs/types": "4.53.
|
|
10
|
-
"@dynamic-labs/utils": "4.53.
|
|
11
|
-
"@dynamic-labs/wallet-book": "4.53.
|
|
12
|
-
"@dynamic-labs/wallet-connector-core": "4.53.
|
|
7
|
+
"@dynamic-labs/assert-package-version": "4.53.2",
|
|
8
|
+
"@dynamic-labs/rpc-providers": "4.53.2",
|
|
9
|
+
"@dynamic-labs/types": "4.53.2",
|
|
10
|
+
"@dynamic-labs/utils": "4.53.2",
|
|
11
|
+
"@dynamic-labs/wallet-book": "4.53.2",
|
|
12
|
+
"@dynamic-labs/wallet-connector-core": "4.53.2"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@walletconnect/types": "2.21.5"
|
package/src/utils/getSupportedChainsForWalletConnector/getSupportedChainsForWalletConnector.cjs
CHANGED
|
@@ -12,7 +12,11 @@ const chainStringToChains = {
|
|
|
12
12
|
const getSupportedChainsForWalletConnector = (walletBook$1, walletConnector) => {
|
|
13
13
|
var _a;
|
|
14
14
|
const walletBookWallet = walletBook.findWalletBookWallet(walletBook$1, walletConnector.key);
|
|
15
|
-
|
|
15
|
+
// If mergeWalletBookChains is false, return only connector-specific chains.
|
|
16
|
+
// This is used for Solana WalletConnect connectors to ensure they are
|
|
17
|
+
// correctly filtered out when Solana is disabled, even if the wallet book
|
|
18
|
+
// indicates the wallet brand supports both ETH and SOL globally.
|
|
19
|
+
if (!walletConnector.mergeWalletBookChains || !walletBookWallet) {
|
|
16
20
|
return walletConnector.supportedChains;
|
|
17
21
|
}
|
|
18
22
|
/**
|
package/src/utils/getSupportedChainsForWalletConnector/getSupportedChainsForWalletConnector.js
CHANGED
|
@@ -8,7 +8,11 @@ const chainStringToChains = {
|
|
|
8
8
|
const getSupportedChainsForWalletConnector = (walletBook, walletConnector) => {
|
|
9
9
|
var _a;
|
|
10
10
|
const walletBookWallet = findWalletBookWallet(walletBook, walletConnector.key);
|
|
11
|
-
|
|
11
|
+
// If mergeWalletBookChains is false, return only connector-specific chains.
|
|
12
|
+
// This is used for Solana WalletConnect connectors to ensure they are
|
|
13
|
+
// correctly filtered out when Solana is disabled, even if the wallet book
|
|
14
|
+
// indicates the wallet brand supports both ETH and SOL globally.
|
|
15
|
+
if (!walletConnector.mergeWalletBookChains || !walletBookWallet) {
|
|
12
16
|
return walletConnector.supportedChains;
|
|
13
17
|
}
|
|
14
18
|
/**
|