@dynamic-labs/waas 4.91.1 → 4.91.3
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 +36 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +10 -10
- package/src/DynamicWaasMixin.cjs +20 -0
- package/src/DynamicWaasMixin.d.ts +10 -1
- package/src/DynamicWaasMixin.js +20 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,40 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.91.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.2...v4.91.3) (2026-06-30)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **bitcoin:** detect late-registering wallet-standard wallets (DYNT-1210) ([#11747](https://github.com/dynamic-labs/dynamic-auth/issues/11747)) ([17809f6](https://github.com/dynamic-labs/dynamic-auth/commit/17809f6e811fe101367cc31a2d899a8d0b0d107e))
|
|
8
|
+
* fetch onramp providers lazily instead of eagerly on mount ([#11767](https://github.com/dynamic-labs/dynamic-auth/issues/11767)) ([3ee6708](https://github.com/dynamic-labs/dynamic-auth/commit/3ee67087142ae1942f865e0ab37b7108700b3327))
|
|
9
|
+
* **iframe-setup:** sync parent URL to iframe on pushState/replaceState ([#11751](https://github.com/dynamic-labs/dynamic-auth/issues/11751)) ([c8be3af](https://github.com/dynamic-labs/dynamic-auth/commit/c8be3afc301f77b349f23398bed940ce40f93b73))
|
|
10
|
+
* **nonce:** fetch nonce on demand when missing before wallet verification ([#11753](https://github.com/dynamic-labs/dynamic-auth/issues/11753)) ([4f01a21](https://github.com/dynamic-labs/dynamic-auth/commit/4f01a21b6081c852f32868c8a5e04d70aaf280a2)), closes [#1](https://github.com/dynamic-labs/dynamic-auth/issues/1)
|
|
11
|
+
* **react-native-extension:** arm loading timer before setUrl to cover pre-onLoadStart gap ([#11764](https://github.com/dynamic-labs/dynamic-auth/issues/11764)) ([31f2015](https://github.com/dynamic-labs/dynamic-auth/commit/31f20151a4b59279f9c133b723e50de771b06436))
|
|
12
|
+
* **webview-controller:** unwrap ZeroDev smart wallet for native gasless ([#11758](https://github.com/dynamic-labs/dynamic-auth/issues/11758)) ([989714e](https://github.com/dynamic-labs/dynamic-auth/commit/989714e414556868c8e0c54401aac1ed7354331b))
|
|
13
|
+
|
|
14
|
+
### [4.91.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.1...v4.91.2) (2026-06-26)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### ⚠ BREAKING CHANGES
|
|
18
|
+
|
|
19
|
+
* **waas:** require expectedAddresses on migrateFromFireblocks (#11730)
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **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))
|
|
24
|
+
* **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))
|
|
25
|
+
* **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))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* 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))
|
|
31
|
+
* 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))
|
|
32
|
+
* 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))
|
|
33
|
+
* **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))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
* **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))
|
|
37
|
+
|
|
2
38
|
### [4.91.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.0...v4.91.1) (2026-06-24)
|
|
3
39
|
|
|
4
40
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/waas",
|
|
3
|
-
"version": "4.91.
|
|
3
|
+
"version": "4.91.3",
|
|
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.
|
|
20
|
+
"@dynamic-labs/assert-package-version": "4.91.3",
|
|
21
21
|
"@dynamic-labs/sdk-api-core": "0.0.1046",
|
|
22
|
-
"@dynamic-labs-wallet/browser-wallet-client": "1.0.
|
|
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.
|
|
25
|
-
"@dynamic-labs/logger": "4.91.
|
|
26
|
-
"@dynamic-labs/solana-core": "4.91.
|
|
27
|
-
"@dynamic-labs/sui-core": "4.91.
|
|
28
|
-
"@dynamic-labs/utils": "4.91.
|
|
29
|
-
"@dynamic-labs/wallet-book": "4.91.
|
|
30
|
-
"@dynamic-labs/wallet-connector-core": "4.91.
|
|
24
|
+
"@dynamic-labs/ethereum-core": "4.91.3",
|
|
25
|
+
"@dynamic-labs/logger": "4.91.3",
|
|
26
|
+
"@dynamic-labs/solana-core": "4.91.3",
|
|
27
|
+
"@dynamic-labs/sui-core": "4.91.3",
|
|
28
|
+
"@dynamic-labs/utils": "4.91.3",
|
|
29
|
+
"@dynamic-labs/wallet-book": "4.91.3",
|
|
30
|
+
"@dynamic-labs/wallet-connector-core": "4.91.3"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {}
|
|
33
33
|
}
|
package/src/DynamicWaasMixin.cjs
CHANGED
|
@@ -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;
|
package/src/DynamicWaasMixin.js
CHANGED
|
@@ -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;
|