@dynamic-labs/waas 5.3.2 → 5.4.1
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 +34 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +10 -10
- package/src/DynamicWaasMixin.cjs +2 -1
- package/src/DynamicWaasMixin.d.ts +9 -39
- package/src/DynamicWaasMixin.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,38 @@
|
|
|
1
1
|
|
|
2
|
+
### [5.4.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.4.0...v5.4.1) (2026-08-26)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **webview-controller:** resolve which keychain key a session belongs to ([#12246](https://github.com/dynamic-labs/dynamic-auth/issues/12246)) ([3d110db](https://github.com/dynamic-labs/dynamic-auth/commit/3d110db831c6e9d82d07d86841f5c7733924b17e))
|
|
8
|
+
* **bitcoin:** forward the password through the BTC importPrivateKey override ([#12278](https://github.com/dynamic-labs/dynamic-auth/issues/12278)) ([21e1df3](https://github.com/dynamic-labs/dynamic-auth/commit/21e1df3e33e96e2efdb15ffa0fd29a441056202e))
|
|
9
|
+
* **react-native-extension:** recover 4.x expo-secure-store sessions on keychain miss ([#12254](https://github.com/dynamic-labs/dynamic-auth/issues/12254)) ([217e991](https://github.com/dynamic-labs/dynamic-auth/commit/217e991838f3073c12e2d2fab7a2e12830faad9e)), closes [#12092](https://github.com/dynamic-labs/dynamic-auth/issues/12092) [#12092](https://github.com/dynamic-labs/dynamic-auth/issues/12092) [#12092](https://github.com/dynamic-labs/dynamic-auth/issues/12092) [#12092](https://github.com/dynamic-labs/dynamic-auth/issues/12092) [#12242](https://github.com/dynamic-labs/dynamic-auth/issues/12242) [#12242](https://github.com/dynamic-labs/dynamic-auth/issues/12242)
|
|
10
|
+
* **transaction-card:** use walletConnector prop for network/fee instead of primaryWallet ([#12063](https://github.com/dynamic-labs/dynamic-auth/issues/12063)) ([81314d2](https://github.com/dynamic-labs/dynamic-auth/commit/81314d25fba4b20ab89631bc2d9ceeb9e2b6b2ac))
|
|
11
|
+
* **waas-svm:** instrument sponsorship retry attempts ([#12281](https://github.com/dynamic-labs/dynamic-auth/issues/12281)) ([7273a4b](https://github.com/dynamic-labs/dynamic-auth/commit/7273a4bc456cad512c0e9fbcd2abd66532a2f7df))
|
|
12
|
+
* **webview-controller:** recover 4.x secure-storage sessions and surface init failures ([#12242](https://github.com/dynamic-labs/dynamic-auth/issues/12242)) ([b51605c](https://github.com/dynamic-labs/dynamic-auth/commit/b51605cc9bdbb5d695173192c502a58d899bbbdd)), closes [#12094](https://github.com/dynamic-labs/dynamic-auth/issues/12094) [#12095](https://github.com/dynamic-labs/dynamic-auth/issues/12095) [#12098](https://github.com/dynamic-labs/dynamic-auth/issues/12098) [dynamic-labs/flutter-sdk#256](https://github.com/dynamic-labs/flutter-sdk/issues/256)
|
|
13
|
+
|
|
14
|
+
## [5.4.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.3.2...v5.4.0) (2026-08-25)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **aleo:** wire up signMessage on the WaaS Aleo connector ([#12235](https://github.com/dynamic-labs/dynamic-auth/issues/12235)) ([e56cbf5](https://github.com/dynamic-labs/dynamic-auth/commit/e56cbf5546bdcc21ce916dece43ae36dcea9b808))
|
|
20
|
+
* **waas:** thread isRawScalarImport through importPrivateKey for ed25519 chains ([#12220](https://github.com/dynamic-labs/dynamic-auth/issues/12220)) ([ced9efa](https://github.com/dynamic-labs/dynamic-auth/commit/ced9efac5fa5a4a1280383419f56fe22733722cd))
|
|
21
|
+
* **webview:** add policies message contract and controller ([#12248](https://github.com/dynamic-labs/dynamic-auth/issues/12248)) ([8557c1e](https://github.com/dynamic-labs/dynamic-auth/commit/8557c1ed3861e12f1f06b2bb610184813b577daa))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* **bitcoin:** pass the wallet's address type when signing ([#12265](https://github.com/dynamic-labs/dynamic-auth/issues/12265)) ([b8a8eab](https://github.com/dynamic-labs/dynamic-auth/commit/b8a8eab7e4cc294cc307fb10ea6814e76111a274))
|
|
27
|
+
* remediate high-severity tar vulnerability and prune a dead override ([#12268](https://github.com/dynamic-labs/dynamic-auth/issues/12268)) ([6b1b343](https://github.com/dynamic-labs/dynamic-auth/commit/6b1b343e7947e8da30012446677e342ae9bfe14a))
|
|
28
|
+
* **waas-svm:** fix retry-classification and environmentId gaps in [#12240](https://github.com/dynamic-labs/dynamic-auth/issues/12240) ([#12247](https://github.com/dynamic-labs/dynamic-auth/issues/12247)) ([e79cecc](https://github.com/dynamic-labs/dynamic-auth/commit/e79ceccd424c48c3a7f45fdd6ea288c269ac0171))
|
|
29
|
+
* **wallet-connect:** reopen WalletConnect IndexedDB when the browser closes the connection ([#12262](https://github.com/dynamic-labs/dynamic-auth/issues/12262)) ([1a20dde](https://github.com/dynamic-labs/dynamic-auth/commit/1a20ddeaeec590ae3390c9e47ef3c14738379b83))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Performance Improvements
|
|
33
|
+
|
|
34
|
+
* **ethereum-gasless-core:** parallel 7702 auth signing and long-poll sponsored-tx status ([#12225](https://github.com/dynamic-labs/dynamic-auth/issues/12225)) ([53ca916](https://github.com/dynamic-labs/dynamic-auth/commit/53ca91668f8dd839c52d55a0e5d7bb5257f7f415))
|
|
35
|
+
|
|
2
36
|
### [5.3.2](https://github.com/dynamic-labs/dynamic-auth/compare/v5.3.1...v5.3.2) (2026-08-19)
|
|
3
37
|
|
|
4
38
|
|
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": "5.
|
|
3
|
+
"version": "5.4.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
"./package.json": "./package.json"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@dynamic-labs-sdk/client": "1.
|
|
20
|
-
"@dynamic-labs/assert-package-version": "5.
|
|
19
|
+
"@dynamic-labs-sdk/client": "1.29.0",
|
|
20
|
+
"@dynamic-labs/assert-package-version": "5.4.1",
|
|
21
21
|
"@dynamic-labs/sdk-api-core": "0.12.0",
|
|
22
22
|
"@dynamic-labs-wallet/browser-wallet-client": "1.0.106",
|
|
23
23
|
"@dynamic-labs-wallet/forward-mpc-client": "1.0.1",
|
|
24
24
|
"zod": "4.0.5",
|
|
25
|
-
"@dynamic-labs/ethereum-core": "5.
|
|
26
|
-
"@dynamic-labs/logger": "5.
|
|
27
|
-
"@dynamic-labs/solana-core": "5.
|
|
28
|
-
"@dynamic-labs/sui-core": "5.
|
|
29
|
-
"@dynamic-labs/utils": "5.
|
|
30
|
-
"@dynamic-labs/wallet-book": "5.
|
|
31
|
-
"@dynamic-labs/wallet-connector-core": "5.
|
|
25
|
+
"@dynamic-labs/ethereum-core": "5.4.1",
|
|
26
|
+
"@dynamic-labs/logger": "5.4.1",
|
|
27
|
+
"@dynamic-labs/solana-core": "5.4.1",
|
|
28
|
+
"@dynamic-labs/sui-core": "5.4.1",
|
|
29
|
+
"@dynamic-labs/utils": "5.4.1",
|
|
30
|
+
"@dynamic-labs/wallet-book": "5.4.1",
|
|
31
|
+
"@dynamic-labs/wallet-connector-core": "5.4.1"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {}
|
|
34
34
|
}
|
package/src/DynamicWaasMixin.cjs
CHANGED
|
@@ -346,7 +346,7 @@ const withDynamicWaas = (BaseClass) => {
|
|
|
346
346
|
});
|
|
347
347
|
}
|
|
348
348
|
importPrivateKey(_a) {
|
|
349
|
-
return _tslib.__awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, addressType, legacyWalletId, password, }) {
|
|
349
|
+
return _tslib.__awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, addressType, legacyWalletId, password, isRawScalarImport, }) {
|
|
350
350
|
var _b, _c;
|
|
351
351
|
const walletClient = yield this.getWaasWalletClient();
|
|
352
352
|
const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
|
|
@@ -356,6 +356,7 @@ const withDynamicWaas = (BaseClass) => {
|
|
|
356
356
|
yield walletClient.importPrivateKey({
|
|
357
357
|
addressType,
|
|
358
358
|
authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
|
|
359
|
+
isRawScalarImport,
|
|
359
360
|
legacyWalletId,
|
|
360
361
|
password,
|
|
361
362
|
privateKey,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DynamicWalletClient } 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, SignMessageContext, TokenScope, WaasPolicyRule } from '@dynamic-labs/sdk-api-core';
|
|
5
|
-
import { GetWalletPasswordFn } from '@dynamic-labs/wallet-connector-core';
|
|
5
|
+
import { BackupKeySharesToGoogleDriveParams, CreateWalletAccountParams, ExportClientKeysharesParams, GetWalletPasswordFn, ImportPrivateKeyParams, RefreshWalletAccountSharesParams, ReshareWalletAccountSharesParams, UpdatePasswordParams } from '@dynamic-labs/wallet-connector-core';
|
|
6
6
|
import { InstrumentContext, InstrumentationTimer, TraceContext } from '../utils/instrumentation';
|
|
7
7
|
export declare class WaasExportHandler {
|
|
8
8
|
private iframeStamper;
|
|
@@ -86,12 +86,7 @@ export declare const withDynamicWaas: <T extends abstract new (...args: any[]) =
|
|
|
86
86
|
getWaasWalletClient(traceContext?: TraceContext, { forceRebuild }?: {
|
|
87
87
|
forceRebuild?: boolean;
|
|
88
88
|
}): Promise<DynamicWalletClient>;
|
|
89
|
-
createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, businessAccountId, }?: {
|
|
90
|
-
thresholdSignatureScheme?: string;
|
|
91
|
-
password?: string;
|
|
92
|
-
bitcoinConfig?: BitcoinConfig;
|
|
93
|
-
businessAccountId?: string;
|
|
94
|
-
}): Promise<{
|
|
89
|
+
createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, businessAccountId, }?: CreateWalletAccountParams): Promise<{
|
|
95
90
|
chainName: string;
|
|
96
91
|
accountAddress: string;
|
|
97
92
|
publicKeyHex: string;
|
|
@@ -111,14 +106,7 @@ export declare const withDynamicWaas: <T extends abstract new (...args: any[]) =
|
|
|
111
106
|
}): Promise<{
|
|
112
107
|
shareSetId: string;
|
|
113
108
|
}>;
|
|
114
|
-
importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, }:
|
|
115
|
-
privateKey: string;
|
|
116
|
-
thresholdSignatureScheme?: string;
|
|
117
|
-
publicAddressCheck?: string;
|
|
118
|
-
addressType?: string;
|
|
119
|
-
legacyWalletId?: string;
|
|
120
|
-
password?: string;
|
|
121
|
-
}): Promise<void>;
|
|
109
|
+
importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, isRawScalarImport, }: ImportPrivateKeyParams): Promise<void>;
|
|
122
110
|
migrateFromFireblocks({ deviceId, jwt, walletPassword, ncwStorage, expectedAddresses, coinTypes, password, }: {
|
|
123
111
|
deviceId: string;
|
|
124
112
|
jwt: string;
|
|
@@ -136,10 +124,7 @@ export declare const withDynamicWaas: <T extends abstract new (...args: any[]) =
|
|
|
136
124
|
getExportHandler(): {
|
|
137
125
|
clear: () => void;
|
|
138
126
|
};
|
|
139
|
-
exportClientKeyshares({ accountAddress, password, }:
|
|
140
|
-
accountAddress: string;
|
|
141
|
-
password?: string;
|
|
142
|
-
}): Promise<void>;
|
|
127
|
+
exportClientKeyshares({ accountAddress, password, }: ExportClientKeysharesParams): Promise<void>;
|
|
143
128
|
/**
|
|
144
129
|
* Runs the shared cloud-backup lifecycle: resolve the password, build the
|
|
145
130
|
* iframe client, fetch the signed session id and session public key, then
|
|
@@ -170,11 +155,7 @@ export declare const withDynamicWaas: <T extends abstract new (...args: any[]) =
|
|
|
170
155
|
};
|
|
171
156
|
}) => Promise<void>;
|
|
172
157
|
}): Promise<void>;
|
|
173
|
-
backupKeySharesToGoogleDrive({ accountAddress, password, googleDriveAccessToken, }:
|
|
174
|
-
accountAddress: string;
|
|
175
|
-
password?: string;
|
|
176
|
-
googleDriveAccessToken?: string;
|
|
177
|
-
}): Promise<void>;
|
|
158
|
+
backupKeySharesToGoogleDrive({ accountAddress, password, googleDriveAccessToken, }: BackupKeySharesToGoogleDriveParams): Promise<void>;
|
|
178
159
|
exportClientKeysharesFromGoogleDrive({ accountAddress, password, }: {
|
|
179
160
|
accountAddress: string;
|
|
180
161
|
password?: string;
|
|
@@ -188,24 +169,13 @@ export declare const withDynamicWaas: <T extends abstract new (...args: any[]) =
|
|
|
188
169
|
}): Promise<void>;
|
|
189
170
|
hideICloudSignIn(): Promise<void>;
|
|
190
171
|
isICloudAuthenticated(): Promise<boolean>;
|
|
191
|
-
refreshWalletAccountShares({ accountAddress, password, }:
|
|
192
|
-
|
|
193
|
-
password?: string;
|
|
194
|
-
}): Promise<void>;
|
|
195
|
-
reshareWalletAccountShares({ accountAddress, thresholdSignatureScheme, password, }: {
|
|
196
|
-
accountAddress: string;
|
|
197
|
-
thresholdSignatureScheme: string;
|
|
198
|
-
password?: string;
|
|
199
|
-
}): Promise<void>;
|
|
172
|
+
refreshWalletAccountShares({ accountAddress, password, }: RefreshWalletAccountSharesParams): Promise<void>;
|
|
173
|
+
reshareWalletAccountShares({ accountAddress, thresholdSignatureScheme, password, }: ReshareWalletAccountSharesParams): Promise<void>;
|
|
200
174
|
revokeDelegation({ accountAddress, password, }: {
|
|
201
175
|
accountAddress: string;
|
|
202
176
|
password?: string;
|
|
203
177
|
}): Promise<void>;
|
|
204
|
-
updatePassword({ accountAddress, existingPassword, newPassword, }:
|
|
205
|
-
accountAddress: string;
|
|
206
|
-
existingPassword?: string;
|
|
207
|
-
newPassword: string;
|
|
208
|
-
}): Promise<void>;
|
|
178
|
+
updatePassword({ accountAddress, existingPassword, newPassword, }: UpdatePasswordParams): Promise<void>;
|
|
209
179
|
setPassword({ accountAddress, newPassword, }: {
|
|
210
180
|
accountAddress: string;
|
|
211
181
|
newPassword: string;
|
package/src/DynamicWaasMixin.js
CHANGED
|
@@ -342,7 +342,7 @@ const withDynamicWaas = (BaseClass) => {
|
|
|
342
342
|
});
|
|
343
343
|
}
|
|
344
344
|
importPrivateKey(_a) {
|
|
345
|
-
return __awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, addressType, legacyWalletId, password, }) {
|
|
345
|
+
return __awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, addressType, legacyWalletId, password, isRawScalarImport, }) {
|
|
346
346
|
var _b, _c;
|
|
347
347
|
const walletClient = yield this.getWaasWalletClient();
|
|
348
348
|
const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
|
|
@@ -352,6 +352,7 @@ const withDynamicWaas = (BaseClass) => {
|
|
|
352
352
|
yield walletClient.importPrivateKey({
|
|
353
353
|
addressType,
|
|
354
354
|
authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
|
|
355
|
+
isRawScalarImport,
|
|
355
356
|
legacyWalletId,
|
|
356
357
|
password,
|
|
357
358
|
privateKey,
|