@dynamic-labs/waas 5.4.0 → 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 +12 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -9
- package/src/DynamicWaasMixin.d.ts +9 -40
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
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
|
+
|
|
2
14
|
## [5.4.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.3.2...v5.4.0) (2026-08-25)
|
|
3
15
|
|
|
4
16
|
|
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.4.
|
|
3
|
+
"version": "5.4.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,18 +17,18 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@dynamic-labs-sdk/client": "1.29.0",
|
|
20
|
-
"@dynamic-labs/assert-package-version": "5.4.
|
|
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.4.
|
|
26
|
-
"@dynamic-labs/logger": "5.4.
|
|
27
|
-
"@dynamic-labs/solana-core": "5.4.
|
|
28
|
-
"@dynamic-labs/sui-core": "5.4.
|
|
29
|
-
"@dynamic-labs/utils": "5.4.
|
|
30
|
-
"@dynamic-labs/wallet-book": "5.4.
|
|
31
|
-
"@dynamic-labs/wallet-connector-core": "5.4.
|
|
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
|
}
|
|
@@ -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,15 +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, isRawScalarImport, }:
|
|
115
|
-
privateKey: string;
|
|
116
|
-
thresholdSignatureScheme?: string;
|
|
117
|
-
publicAddressCheck?: string;
|
|
118
|
-
addressType?: string;
|
|
119
|
-
legacyWalletId?: string;
|
|
120
|
-
password?: string;
|
|
121
|
-
isRawScalarImport?: boolean;
|
|
122
|
-
}): Promise<void>;
|
|
109
|
+
importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, isRawScalarImport, }: ImportPrivateKeyParams): Promise<void>;
|
|
123
110
|
migrateFromFireblocks({ deviceId, jwt, walletPassword, ncwStorage, expectedAddresses, coinTypes, password, }: {
|
|
124
111
|
deviceId: string;
|
|
125
112
|
jwt: string;
|
|
@@ -137,10 +124,7 @@ export declare const withDynamicWaas: <T extends abstract new (...args: any[]) =
|
|
|
137
124
|
getExportHandler(): {
|
|
138
125
|
clear: () => void;
|
|
139
126
|
};
|
|
140
|
-
exportClientKeyshares({ accountAddress, password, }:
|
|
141
|
-
accountAddress: string;
|
|
142
|
-
password?: string;
|
|
143
|
-
}): Promise<void>;
|
|
127
|
+
exportClientKeyshares({ accountAddress, password, }: ExportClientKeysharesParams): Promise<void>;
|
|
144
128
|
/**
|
|
145
129
|
* Runs the shared cloud-backup lifecycle: resolve the password, build the
|
|
146
130
|
* iframe client, fetch the signed session id and session public key, then
|
|
@@ -171,11 +155,7 @@ export declare const withDynamicWaas: <T extends abstract new (...args: any[]) =
|
|
|
171
155
|
};
|
|
172
156
|
}) => Promise<void>;
|
|
173
157
|
}): Promise<void>;
|
|
174
|
-
backupKeySharesToGoogleDrive({ accountAddress, password, googleDriveAccessToken, }:
|
|
175
|
-
accountAddress: string;
|
|
176
|
-
password?: string;
|
|
177
|
-
googleDriveAccessToken?: string;
|
|
178
|
-
}): Promise<void>;
|
|
158
|
+
backupKeySharesToGoogleDrive({ accountAddress, password, googleDriveAccessToken, }: BackupKeySharesToGoogleDriveParams): Promise<void>;
|
|
179
159
|
exportClientKeysharesFromGoogleDrive({ accountAddress, password, }: {
|
|
180
160
|
accountAddress: string;
|
|
181
161
|
password?: string;
|
|
@@ -189,24 +169,13 @@ export declare const withDynamicWaas: <T extends abstract new (...args: any[]) =
|
|
|
189
169
|
}): Promise<void>;
|
|
190
170
|
hideICloudSignIn(): Promise<void>;
|
|
191
171
|
isICloudAuthenticated(): Promise<boolean>;
|
|
192
|
-
refreshWalletAccountShares({ accountAddress, password, }:
|
|
193
|
-
|
|
194
|
-
password?: string;
|
|
195
|
-
}): Promise<void>;
|
|
196
|
-
reshareWalletAccountShares({ accountAddress, thresholdSignatureScheme, password, }: {
|
|
197
|
-
accountAddress: string;
|
|
198
|
-
thresholdSignatureScheme: string;
|
|
199
|
-
password?: string;
|
|
200
|
-
}): Promise<void>;
|
|
172
|
+
refreshWalletAccountShares({ accountAddress, password, }: RefreshWalletAccountSharesParams): Promise<void>;
|
|
173
|
+
reshareWalletAccountShares({ accountAddress, thresholdSignatureScheme, password, }: ReshareWalletAccountSharesParams): Promise<void>;
|
|
201
174
|
revokeDelegation({ accountAddress, password, }: {
|
|
202
175
|
accountAddress: string;
|
|
203
176
|
password?: string;
|
|
204
177
|
}): Promise<void>;
|
|
205
|
-
updatePassword({ accountAddress, existingPassword, newPassword, }:
|
|
206
|
-
accountAddress: string;
|
|
207
|
-
existingPassword?: string;
|
|
208
|
-
newPassword: string;
|
|
209
|
-
}): Promise<void>;
|
|
178
|
+
updatePassword({ accountAddress, existingPassword, newPassword, }: UpdatePasswordParams): Promise<void>;
|
|
210
179
|
setPassword({ accountAddress, newPassword, }: {
|
|
211
180
|
accountAddress: string;
|
|
212
181
|
newPassword: string;
|