@dynamic-labs/wallet-connector-core 4.53.1 → 4.54.0
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 +25 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/WalletConnectorBase/WalletConnectorBase.cjs +13 -0
- package/src/WalletConnectorBase/WalletConnectorBase.d.ts +13 -0
- package/src/WalletConnectorBase/WalletConnectorBase.js +13 -0
- package/src/interfaces/IDynamicWaasConnector.d.ts +11 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,29 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.54.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.53.2...v4.54.0) (2026-01-16)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add iCloud backup method for wallet backup ([#10221](https://github.com/dynamic-labs/dynamic-auth/issues/10221)) ([36f5b8a](https://github.com/dynamic-labs/dynamic-auth/commit/36f5b8a0df50139fabbc6d6256f396a6d40313f4))
|
|
8
|
+
* add iCloud backup support for wallet key shares ([#10220](https://github.com/dynamic-labs/dynamic-auth/issues/10220)) ([f5f8135](https://github.com/dynamic-labs/dynamic-auth/commit/f5f813593d6ec834fc94f873fd7151b1f3e1a0ca))
|
|
9
|
+
* add legacyWalletId parameter to importPrivateKey ([#10244](https://github.com/dynamic-labs/dynamic-auth/issues/10244)) ([d281dd7](https://github.com/dynamic-labs/dynamic-auth/commit/d281dd7128ac1211e8ca0b72818e109ece7b9837))
|
|
10
|
+
|
|
11
|
+
### [4.53.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.53.1...v4.53.2) (2026-01-16)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* add iCloud backup functionality ([#10219](https://github.com/dynamic-labs/dynamic-auth/issues/10219)) ([44e95e5](https://github.com/dynamic-labs/dynamic-auth/commit/44e95e5a5dc99f83918a382ab1c69d452359c346))
|
|
17
|
+
* 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))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* 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))
|
|
23
|
+
* 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))
|
|
24
|
+
* 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))
|
|
25
|
+
* **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))
|
|
26
|
+
|
|
2
27
|
### [4.53.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.53.0...v4.53.1) (2026-01-14)
|
|
3
28
|
|
|
4
29
|
## [4.53.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.52.5...v4.53.0) (2026-01-13)
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/wallet-connector-core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.54.0",
|
|
4
4
|
"description": "Core package for utilities and types for handling multiple wallet/chain support Dynamic SDK",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
22
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
23
|
-
"@dynamic-labs/logger": "4.
|
|
24
|
-
"@dynamic-labs/rpc-providers": "4.
|
|
25
|
-
"@dynamic-labs/types": "4.
|
|
26
|
-
"@dynamic-labs/utils": "4.
|
|
27
|
-
"@dynamic-labs/wallet-book": "4.
|
|
21
|
+
"@dynamic-labs/sdk-api-core": "0.0.855",
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.54.0",
|
|
23
|
+
"@dynamic-labs/logger": "4.54.0",
|
|
24
|
+
"@dynamic-labs/rpc-providers": "4.54.0",
|
|
25
|
+
"@dynamic-labs/types": "4.54.0",
|
|
26
|
+
"@dynamic-labs/utils": "4.54.0",
|
|
27
|
+
"@dynamic-labs/wallet-book": "4.54.0",
|
|
28
28
|
"eventemitter3": "5.0.1"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {}
|
|
@@ -69,6 +69,19 @@ class WalletConnectorBase extends EventEmitter__default["default"] {
|
|
|
69
69
|
* @default true
|
|
70
70
|
*/
|
|
71
71
|
this.canHandleMultipleConnections = true;
|
|
72
|
+
/**
|
|
73
|
+
* Whether to merge wallet book chains with connector-specific chains when
|
|
74
|
+
* determining which wallets should be shown or hidden based on enabled chains
|
|
75
|
+
* in project settings.
|
|
76
|
+
*
|
|
77
|
+
* This flag controls the behavior in `getSupportedChainsForWalletConnector`,
|
|
78
|
+
* which is used by `getEnabledWallets` to filter out wallets that don't
|
|
79
|
+
* support any of the enabled chains. The filtering logic checks if any of the
|
|
80
|
+
* enabled chains (e.g., ['ETH']) match the wallet's supported chains.
|
|
81
|
+
*
|
|
82
|
+
* @default true
|
|
83
|
+
*/
|
|
84
|
+
this.mergeWalletBookChains = true;
|
|
72
85
|
/**
|
|
73
86
|
* Flag if connector/provider is available
|
|
74
87
|
*
|
|
@@ -74,6 +74,19 @@ export declare abstract class WalletConnectorBase<C extends WalletConstructor<an
|
|
|
74
74
|
* @default true
|
|
75
75
|
*/
|
|
76
76
|
canHandleMultipleConnections: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Whether to merge wallet book chains with connector-specific chains when
|
|
79
|
+
* determining which wallets should be shown or hidden based on enabled chains
|
|
80
|
+
* in project settings.
|
|
81
|
+
*
|
|
82
|
+
* This flag controls the behavior in `getSupportedChainsForWalletConnector`,
|
|
83
|
+
* which is used by `getEnabledWallets` to filter out wallets that don't
|
|
84
|
+
* support any of the enabled chains. The filtering logic checks if any of the
|
|
85
|
+
* enabled chains (e.g., ['ETH']) match the wallet's supported chains.
|
|
86
|
+
*
|
|
87
|
+
* @default true
|
|
88
|
+
*/
|
|
89
|
+
mergeWalletBookChains: boolean;
|
|
77
90
|
/**
|
|
78
91
|
* Prompt the user to choose accounts to connect (see behavior in MM)
|
|
79
92
|
* @default Promise<[]>
|
|
@@ -61,6 +61,19 @@ class WalletConnectorBase extends EventEmitter {
|
|
|
61
61
|
* @default true
|
|
62
62
|
*/
|
|
63
63
|
this.canHandleMultipleConnections = true;
|
|
64
|
+
/**
|
|
65
|
+
* Whether to merge wallet book chains with connector-specific chains when
|
|
66
|
+
* determining which wallets should be shown or hidden based on enabled chains
|
|
67
|
+
* in project settings.
|
|
68
|
+
*
|
|
69
|
+
* This flag controls the behavior in `getSupportedChainsForWalletConnector`,
|
|
70
|
+
* which is used by `getEnabledWallets` to filter out wallets that don't
|
|
71
|
+
* support any of the enabled chains. The filtering logic checks if any of the
|
|
72
|
+
* enabled chains (e.g., ['ETH']) match the wallet's supported chains.
|
|
73
|
+
*
|
|
74
|
+
* @default true
|
|
75
|
+
*/
|
|
76
|
+
this.mergeWalletBookChains = true;
|
|
64
77
|
/**
|
|
65
78
|
* Flag if connector/provider is available
|
|
66
79
|
*
|
|
@@ -19,12 +19,13 @@ export interface IDynamicWaasConnector extends WalletConnectorBase {
|
|
|
19
19
|
publicKeyHex: string;
|
|
20
20
|
rawPublicKey: string | Uint8Array | undefined;
|
|
21
21
|
}>;
|
|
22
|
-
importPrivateKey({ privateKey, chainName, thresholdSignatureScheme, publicAddressCheck, addressType, }: {
|
|
22
|
+
importPrivateKey({ privateKey, chainName, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, }: {
|
|
23
23
|
privateKey: string;
|
|
24
24
|
chainName: string;
|
|
25
25
|
thresholdSignatureScheme?: string;
|
|
26
26
|
publicAddressCheck?: string;
|
|
27
27
|
addressType?: string;
|
|
28
|
+
legacyWalletId?: string;
|
|
28
29
|
}): Promise<void>;
|
|
29
30
|
exportPrivateKey({ accountAddress, displayContainer, }: {
|
|
30
31
|
accountAddress: string;
|
|
@@ -40,6 +41,15 @@ export interface IDynamicWaasConnector extends WalletConnectorBase {
|
|
|
40
41
|
getWalletClientByAddress({ accountAddress }: {
|
|
41
42
|
accountAddress: string;
|
|
42
43
|
}): any;
|
|
44
|
+
backupKeySharesToICloud({ accountAddress, password, }: {
|
|
45
|
+
accountAddress: string;
|
|
46
|
+
password?: string;
|
|
47
|
+
}): Promise<void>;
|
|
48
|
+
displayICloudSignIn({ displayContainer, }: {
|
|
49
|
+
displayContainer: HTMLElement;
|
|
50
|
+
}): Promise<void>;
|
|
51
|
+
hideICloudSignIn(): Promise<void>;
|
|
52
|
+
isICloudAuthenticated(): Promise<boolean>;
|
|
43
53
|
backupKeySharesToGoogleDrive({ accountAddress, password, }: {
|
|
44
54
|
accountAddress: string;
|
|
45
55
|
password?: string;
|