@dynamic-labs/waas-sui 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
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/waas-sui",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.54.0",
|
|
4
4
|
"description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,19 +18,19 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
22
|
-
"@dynamic-labs-wallet/browser-wallet-client": "0.0.
|
|
21
|
+
"@dynamic-labs/sdk-api-core": "0.0.855",
|
|
22
|
+
"@dynamic-labs-wallet/browser-wallet-client": "0.0.248",
|
|
23
23
|
"@mysten/sui": "1.24.0",
|
|
24
24
|
"@mysten/wallet-standard": "0.13.29",
|
|
25
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
26
|
-
"@dynamic-labs/logger": "4.
|
|
27
|
-
"@dynamic-labs/rpc-providers": "4.
|
|
28
|
-
"@dynamic-labs/sui-core": "4.
|
|
29
|
-
"@dynamic-labs/types": "4.
|
|
30
|
-
"@dynamic-labs/utils": "4.
|
|
31
|
-
"@dynamic-labs/waas": "4.
|
|
32
|
-
"@dynamic-labs/wallet-book": "4.
|
|
33
|
-
"@dynamic-labs/wallet-connector-core": "4.
|
|
25
|
+
"@dynamic-labs/assert-package-version": "4.54.0",
|
|
26
|
+
"@dynamic-labs/logger": "4.54.0",
|
|
27
|
+
"@dynamic-labs/rpc-providers": "4.54.0",
|
|
28
|
+
"@dynamic-labs/sui-core": "4.54.0",
|
|
29
|
+
"@dynamic-labs/types": "4.54.0",
|
|
30
|
+
"@dynamic-labs/utils": "4.54.0",
|
|
31
|
+
"@dynamic-labs/waas": "4.54.0",
|
|
32
|
+
"@dynamic-labs/wallet-book": "4.54.0",
|
|
33
|
+
"@dynamic-labs/wallet-connector-core": "4.54.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {}
|
|
36
36
|
}
|
|
@@ -109,7 +109,7 @@ class DynamicWaasSuiConnector extends waas.withDynamicWaas(suiCore.SuiWalletConn
|
|
|
109
109
|
}
|
|
110
110
|
// Override importPrivateKey to use the proper type casting for SUI
|
|
111
111
|
importPrivateKey(_a) {
|
|
112
|
-
return _tslib.__awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, }) {
|
|
112
|
+
return _tslib.__awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, legacyWalletId, }) {
|
|
113
113
|
var _b, _c;
|
|
114
114
|
const walletClient = yield this.getWaasWalletClient();
|
|
115
115
|
const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
|
|
@@ -118,6 +118,7 @@ class DynamicWaasSuiConnector extends waas.withDynamicWaas(suiCore.SuiWalletConn
|
|
|
118
118
|
}
|
|
119
119
|
yield walletClient.importPrivateKey({
|
|
120
120
|
authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
|
|
121
|
+
legacyWalletId,
|
|
121
122
|
privateKey,
|
|
122
123
|
publicAddressCheck,
|
|
123
124
|
signedSessionId,
|
|
@@ -53,11 +53,12 @@ declare const DynamicWaasSuiConnector_base: (abstract new (...args: any[]) => {
|
|
|
53
53
|
publicKeyHex: string;
|
|
54
54
|
rawPublicKey: string | Uint8Array | undefined;
|
|
55
55
|
}>;
|
|
56
|
-
importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, }: {
|
|
56
|
+
importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, }: {
|
|
57
57
|
privateKey: string;
|
|
58
58
|
thresholdSignatureScheme?: string | undefined;
|
|
59
59
|
publicAddressCheck?: string | undefined;
|
|
60
60
|
addressType?: string | undefined;
|
|
61
|
+
legacyWalletId?: string | undefined;
|
|
61
62
|
}): Promise<void>;
|
|
62
63
|
exportPrivateKey({ accountAddress, displayContainer, password, }?: {
|
|
63
64
|
accountAddress?: string | undefined;
|
|
@@ -79,6 +80,15 @@ declare const DynamicWaasSuiConnector_base: (abstract new (...args: any[]) => {
|
|
|
79
80
|
accountAddress: string;
|
|
80
81
|
password?: string | undefined;
|
|
81
82
|
}): Promise<void>;
|
|
83
|
+
backupKeySharesToICloud({ accountAddress, password, }: {
|
|
84
|
+
accountAddress: string;
|
|
85
|
+
password?: string | undefined;
|
|
86
|
+
}): Promise<void>;
|
|
87
|
+
displayICloudSignIn({ displayContainer, }: {
|
|
88
|
+
displayContainer: HTMLElement;
|
|
89
|
+
}): Promise<void>;
|
|
90
|
+
hideICloudSignIn(): Promise<void>;
|
|
91
|
+
isICloudAuthenticated(): Promise<boolean>;
|
|
82
92
|
refreshWalletAccountShares({ accountAddress, password, }: {
|
|
83
93
|
accountAddress: string;
|
|
84
94
|
password?: string | undefined;
|
|
@@ -133,10 +143,11 @@ export declare class DynamicWaasSuiConnector extends DynamicWaasSuiConnector_bas
|
|
|
133
143
|
private setActiveAccountAddress;
|
|
134
144
|
getActiveAccountAddress(): Promise<string | undefined>;
|
|
135
145
|
validateActiveWallet(expectedAddress: string): Promise<void>;
|
|
136
|
-
importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, }: {
|
|
146
|
+
importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, legacyWalletId, }: {
|
|
137
147
|
privateKey: string;
|
|
138
148
|
thresholdSignatureScheme?: string;
|
|
139
149
|
publicAddressCheck?: string;
|
|
150
|
+
legacyWalletId?: string;
|
|
140
151
|
}): Promise<void>;
|
|
141
152
|
signMessage(message: string): Promise<string>;
|
|
142
153
|
private createAndSignTransaction;
|
|
@@ -105,7 +105,7 @@ class DynamicWaasSuiConnector extends withDynamicWaas(SuiWalletConnector) {
|
|
|
105
105
|
}
|
|
106
106
|
// Override importPrivateKey to use the proper type casting for SUI
|
|
107
107
|
importPrivateKey(_a) {
|
|
108
|
-
return __awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, }) {
|
|
108
|
+
return __awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, legacyWalletId, }) {
|
|
109
109
|
var _b, _c;
|
|
110
110
|
const walletClient = yield this.getWaasWalletClient();
|
|
111
111
|
const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
|
|
@@ -114,6 +114,7 @@ class DynamicWaasSuiConnector extends withDynamicWaas(SuiWalletConnector) {
|
|
|
114
114
|
}
|
|
115
115
|
yield walletClient.importPrivateKey({
|
|
116
116
|
authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
|
|
117
|
+
legacyWalletId,
|
|
117
118
|
privateKey,
|
|
118
119
|
publicAddressCheck,
|
|
119
120
|
signedSessionId,
|