@dynamic-labs/waas 4.53.2 → 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,13 @@
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
+
2
11
  ### [4.53.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.53.1...v4.53.2) (2026-01-16)
3
12
 
4
13
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.53.2";
6
+ var version = "4.54.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.53.2";
2
+ var version = "4.54.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/waas",
3
- "version": "4.53.2",
3
+ "version": "4.54.0",
4
4
  "type": "module",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -16,15 +16,15 @@
16
16
  "./package.json": "./package.json"
17
17
  },
18
18
  "dependencies": {
19
- "@dynamic-labs/assert-package-version": "4.53.2",
19
+ "@dynamic-labs/assert-package-version": "4.54.0",
20
20
  "@dynamic-labs/sdk-api-core": "0.0.855",
21
- "@dynamic-labs-wallet/browser-wallet-client": "0.0.245",
22
- "@dynamic-labs/ethereum-core": "4.53.2",
23
- "@dynamic-labs/logger": "4.53.2",
24
- "@dynamic-labs/solana-core": "4.53.2",
25
- "@dynamic-labs/sui-core": "4.53.2",
26
- "@dynamic-labs/utils": "4.53.2",
27
- "@dynamic-labs/wallet-book": "4.53.2"
21
+ "@dynamic-labs-wallet/browser-wallet-client": "0.0.248",
22
+ "@dynamic-labs/ethereum-core": "4.54.0",
23
+ "@dynamic-labs/logger": "4.54.0",
24
+ "@dynamic-labs/solana-core": "4.54.0",
25
+ "@dynamic-labs/sui-core": "4.54.0",
26
+ "@dynamic-labs/utils": "4.54.0",
27
+ "@dynamic-labs/wallet-book": "4.54.0"
28
28
  },
29
29
  "peerDependencies": {}
30
30
  }
@@ -156,7 +156,7 @@ const withDynamicWaas = (BaseClass) => {
156
156
  });
157
157
  }
158
158
  importPrivateKey(_a) {
159
- return _tslib.__awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, addressType, }) {
159
+ return _tslib.__awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, addressType, legacyWalletId, }) {
160
160
  var _b, _c;
161
161
  const walletClient = yield this.getWaasWalletClient();
162
162
  const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
@@ -166,6 +166,7 @@ const withDynamicWaas = (BaseClass) => {
166
166
  yield walletClient.importPrivateKey({
167
167
  addressType,
168
168
  authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
169
+ legacyWalletId,
169
170
  privateKey,
170
171
  publicAddressCheck,
171
172
  signedSessionId,
@@ -53,11 +53,12 @@ export declare const withDynamicWaas: <T extends 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;
59
59
  publicAddressCheck?: string;
60
60
  addressType?: string;
61
+ legacyWalletId?: string;
61
62
  }): Promise<void>;
62
63
  exportPrivateKey({ accountAddress, displayContainer, password, }?: {
63
64
  accountAddress?: string;
@@ -152,7 +152,7 @@ const withDynamicWaas = (BaseClass) => {
152
152
  });
153
153
  }
154
154
  importPrivateKey(_a) {
155
- return __awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, addressType, }) {
155
+ return __awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, addressType, legacyWalletId, }) {
156
156
  var _b, _c;
157
157
  const walletClient = yield this.getWaasWalletClient();
158
158
  const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
@@ -162,6 +162,7 @@ const withDynamicWaas = (BaseClass) => {
162
162
  yield walletClient.importPrivateKey({
163
163
  addressType,
164
164
  authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
165
+ legacyWalletId,
165
166
  privateKey,
166
167
  publicAddressCheck,
167
168
  signedSessionId,