@dynamic-labs/waas 4.91.0 → 4.91.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 CHANGED
@@ -1,4 +1,47 @@
1
1
 
2
+ ### [4.91.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.1...v4.91.2) (2026-06-26)
3
+
4
+
5
+ ### ⚠ BREAKING CHANGES
6
+
7
+ * **waas:** require expectedAddresses on migrateFromFireblocks (#11730)
8
+
9
+ ### Features
10
+
11
+ * **midnight:** support shielded/unshielded transfers and dust states in the embedded Send flow ([#11731](https://github.com/dynamic-labs/dynamic-auth/issues/11731)) ([663d171](https://github.com/dynamic-labs/dynamic-auth/commit/663d171a9628c634586831ee35c234e9331e3f80))
12
+ * **react-native-extension:** instrument all embedded webview failure paths ([#11737](https://github.com/dynamic-labs/dynamic-auth/issues/11737)) ([172998b](https://github.com/dynamic-labs/dynamic-auth/commit/172998b56e9bee04fbb8da71e83ce8885bc378ff))
13
+ * **waas:** migrateFromFireblocks connector method + demo panel (browser-wallet-client 1.0.46) ([#11702](https://github.com/dynamic-labs/dynamic-auth/issues/11702)) ([6bfc844](https://github.com/dynamic-labs/dynamic-auth/commit/6bfc8443fbaedabe1e7bee0ed78742cbbe5d0084))
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * add coverage for scenario with passkey re-login and smart account ([#11726](https://github.com/dynamic-labs/dynamic-auth/issues/11726)) ([5364a72](https://github.com/dynamic-labs/dynamic-auth/commit/5364a72a750d835b9b2da602a91e8b5d7d305db7))
19
+ * remediate high-severity dependency vulnerabilities ([#11721](https://github.com/dynamic-labs/dynamic-auth/issues/11721)) ([cdb9306](https://github.com/dynamic-labs/dynamic-auth/commit/cdb93061365a20b8f73a1f8bea8352332e282c1e))
20
+ * replace node-fetch v2 with native fetch to fix Node 22 stream failure ([#11732](https://github.com/dynamic-labs/dynamic-auth/issues/11732)) ([b98f801](https://github.com/dynamic-labs/dynamic-auth/commit/b98f801e307b52dbd7e4b241a9a4a2d34d89118e))
21
+ * **zerodev-extension:** derive kernel 7702 vs 4337 per-wallet, not from global dashboard flag ([#11735](https://github.com/dynamic-labs/dynamic-auth/issues/11735)) ([72cf6a7](https://github.com/dynamic-labs/dynamic-auth/commit/72cf6a70a4857a4ea469faa555c485dbad8d0217))
22
+
23
+
24
+ * **waas:** require expectedAddresses on migrateFromFireblocks ([#11730](https://github.com/dynamic-labs/dynamic-auth/issues/11730)) ([c94824e](https://github.com/dynamic-labs/dynamic-auth/commit/c94824ebe11e0433a6ffbd2a5a9dd4283aeed31e))
25
+
26
+ ### [4.91.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.0...v4.91.1) (2026-06-24)
27
+
28
+
29
+ ### Features
30
+
31
+ * **aleo:** update sendBalance with individual and marketplace logic ([#11709](https://github.com/dynamic-labs/dynamic-auth/issues/11709)) ([f8dfc48](https://github.com/dynamic-labs/dynamic-auth/commit/f8dfc488ae607fbbbcc3432a3ef69f746f0b7df0))
32
+ * **sdk-react-core:** surface shielded address in Midnight deposit view ([#11698](https://github.com/dynamic-labs/dynamic-auth/issues/11698)) ([79c5402](https://github.com/dynamic-labs/dynamic-auth/commit/79c54029b1d8f722cf9f1d8b4c11977898442ac0))
33
+
34
+
35
+ ### Bug Fixes
36
+
37
+ * display actual error message for WaaS export failures instead of generic fallback ([#11498](https://github.com/dynamic-labs/dynamic-auth/issues/11498)) ([373c931](https://github.com/dynamic-labs/dynamic-auth/commit/373c931eb96c88e484c557ee8f2934660d028f97))
38
+ * **wallet-book:** guard replaceKey and remove stale override ([#11682](https://github.com/dynamic-labs/dynamic-auth/issues/11682)) ([13947d9](https://github.com/dynamic-labs/dynamic-auth/commit/13947d972ed1f8227712bfc01af9cc2be616a78a))
39
+
40
+
41
+ ### Performance Improvements
42
+
43
+ * **e2e:** prebuild Expo web bundle for RN e2e tests ([#11674](https://github.com/dynamic-labs/dynamic-auth/issues/11674)) ([16e002d](https://github.com/dynamic-labs/dynamic-auth/commit/16e002d59b2035e3f2c116879a78418a959da8bc))
44
+
2
45
  ## [4.91.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.90.0...v4.91.0) (2026-06-23)
3
46
 
4
47
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.91.0";
6
+ var version = "4.91.2";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.91.0";
2
+ var version = "4.91.2";
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.91.0",
3
+ "version": "4.91.2",
4
4
  "type": "module",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -17,17 +17,17 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@dynamic-labs-sdk/client": "1.12.1",
20
- "@dynamic-labs/assert-package-version": "4.91.0",
20
+ "@dynamic-labs/assert-package-version": "4.91.2",
21
21
  "@dynamic-labs/sdk-api-core": "0.0.1046",
22
- "@dynamic-labs-wallet/browser-wallet-client": "1.0.44",
22
+ "@dynamic-labs-wallet/browser-wallet-client": "1.0.48",
23
23
  "@dynamic-labs-wallet/forward-mpc-client": "0.12.0",
24
- "@dynamic-labs/ethereum-core": "4.91.0",
25
- "@dynamic-labs/logger": "4.91.0",
26
- "@dynamic-labs/solana-core": "4.91.0",
27
- "@dynamic-labs/sui-core": "4.91.0",
28
- "@dynamic-labs/utils": "4.91.0",
29
- "@dynamic-labs/wallet-book": "4.91.0",
30
- "@dynamic-labs/wallet-connector-core": "4.91.0"
24
+ "@dynamic-labs/ethereum-core": "4.91.2",
25
+ "@dynamic-labs/logger": "4.91.2",
26
+ "@dynamic-labs/solana-core": "4.91.2",
27
+ "@dynamic-labs/sui-core": "4.91.2",
28
+ "@dynamic-labs/utils": "4.91.2",
29
+ "@dynamic-labs/wallet-book": "4.91.2",
30
+ "@dynamic-labs/wallet-connector-core": "4.91.2"
31
31
  },
32
32
  "peerDependencies": {}
33
33
  }
@@ -290,6 +290,26 @@ const withDynamicWaas = (BaseClass) => {
290
290
  });
291
291
  });
292
292
  }
293
+ migrateFromFireblocks(_a) {
294
+ return _tslib.__awaiter(this, arguments, void 0, function* ({ deviceId, jwt, walletPassword, ncwStorage, expectedAddresses, coinTypes, password, }) {
295
+ var _b, _c;
296
+ const walletClient = yield this.getWaasWalletClient();
297
+ const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
298
+ if (!signedSessionId) {
299
+ throw new utils.DynamicError('Signed session ID is required');
300
+ }
301
+ return walletClient.migrateFromFireblocks({
302
+ authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
303
+ fireblocks: Object.assign({ deviceId,
304
+ expectedAddresses,
305
+ jwt,
306
+ ncwStorage,
307
+ walletPassword }, (coinTypes ? { coinTypes } : {})),
308
+ password,
309
+ signedSessionId,
310
+ });
311
+ });
312
+ }
293
313
  exportPrivateKey() {
294
314
  return _tslib.__awaiter(this, arguments, void 0, function* ({ accountAddress, displayContainer, password, } = {}) {
295
315
  var _a, _b, _c, _d;
@@ -1,4 +1,4 @@
1
- import { BitcoinConfig, DynamicWalletClient } from '@dynamic-labs-wallet/browser-wallet-client';
1
+ import { BitcoinConfig, DynamicWalletClient, MigrateFromFireblocksResponse } from '@dynamic-labs-wallet/browser-wallet-client';
2
2
  import type { LogoutReason } from '@dynamic-labs-sdk/client';
3
3
  import { InstrumentOptions, Logger } from '@dynamic-labs/logger';
4
4
  import { MFAAction, TokenScope } from '@dynamic-labs/sdk-api-core';
@@ -99,6 +99,15 @@ export declare const withDynamicWaas: <T extends abstract new (...args: any[]) =
99
99
  legacyWalletId?: string;
100
100
  password?: string;
101
101
  }): Promise<void>;
102
+ migrateFromFireblocks({ deviceId, jwt, walletPassword, ncwStorage, expectedAddresses, coinTypes, password, }: {
103
+ deviceId: string;
104
+ jwt: string;
105
+ walletPassword: string;
106
+ ncwStorage: Record<string, string>;
107
+ expectedAddresses: Record<string, string>;
108
+ coinTypes?: Record<string, number>;
109
+ password?: string;
110
+ }): Promise<MigrateFromFireblocksResponse>;
102
111
  exportPrivateKey({ accountAddress, displayContainer, password, }?: {
103
112
  accountAddress?: string;
104
113
  displayContainer?: HTMLIFrameElement;
@@ -286,6 +286,26 @@ const withDynamicWaas = (BaseClass) => {
286
286
  });
287
287
  });
288
288
  }
289
+ migrateFromFireblocks(_a) {
290
+ return __awaiter(this, arguments, void 0, function* ({ deviceId, jwt, walletPassword, ncwStorage, expectedAddresses, coinTypes, password, }) {
291
+ var _b, _c;
292
+ const walletClient = yield this.getWaasWalletClient();
293
+ const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
294
+ if (!signedSessionId) {
295
+ throw new DynamicError('Signed session ID is required');
296
+ }
297
+ return walletClient.migrateFromFireblocks({
298
+ authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
299
+ fireblocks: Object.assign({ deviceId,
300
+ expectedAddresses,
301
+ jwt,
302
+ ncwStorage,
303
+ walletPassword }, (coinTypes ? { coinTypes } : {})),
304
+ password,
305
+ signedSessionId,
306
+ });
307
+ });
308
+ }
289
309
  exportPrivateKey() {
290
310
  return __awaiter(this, arguments, void 0, function* ({ accountAddress, displayContainer, password, } = {}) {
291
311
  var _a, _b, _c, _d;