@dynamic-labs/webview-messages 5.9.6 → 5.10.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 +14 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +10 -10
- package/src/lib/WaasMessages.d.ts +15 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
|
|
2
|
+
## [5.10.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.6...v5.10.0) (2026-10-09)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add lockWallets/lockWallet to re-lock password-encrypted WaaS wallets ([#12461](https://github.com/dynamic-labs/dynamic-auth/issues/12461)) ([090f544](https://github.com/dynamic-labs/dynamic-auth/commit/090f544150f4359bbfd9c0ffb4c450868adb6759))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* **logger:** scope server error forwarding per instance ([#12477](https://github.com/dynamic-labs/dynamic-auth/issues/12477)) ([baa8c78](https://github.com/dynamic-labs/dynamic-auth/commit/baa8c780f4ef3cc35d62c363e03e74412ece91b9))
|
|
13
|
+
* **waas:** fall back when crypto.randomUUID is unavailable ([#12435](https://github.com/dynamic-labs/dynamic-auth/issues/12435)) ([5756f53](https://github.com/dynamic-labs/dynamic-auth/commit/5756f53423bd8316bce97e46ce38fc923fd5d574))
|
|
14
|
+
* **waas:** include every wallet in password update batches ([#12462](https://github.com/dynamic-labs/dynamic-auth/issues/12462)) ([80218f7](https://github.com/dynamic-labs/dynamic-auth/commit/80218f702dadfee9673cec4037889449bcd5ceb6))
|
|
15
|
+
|
|
2
16
|
### [5.9.6](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.5...v5.9.6) (2026-10-06)
|
|
3
17
|
|
|
4
18
|
### [5.9.5](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.4...v5.9.5) (2026-10-06)
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/webview-messages",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.10.0",
|
|
4
4
|
"description": "A package to define messages for the webview-controller",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
"./package.json": "./package.json"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/ethereum-gasless-core": "5.
|
|
21
|
+
"@dynamic-labs/ethereum-gasless-core": "5.10.0",
|
|
22
22
|
"@dynamic-labs/sdk-api-core": "0.70.0",
|
|
23
23
|
"@dynamic-labs-sdk/client": "1.37.0",
|
|
24
|
-
"@dynamic-labs-wallet/core": "1.1.
|
|
25
|
-
"@dynamic-labs/assert-package-version": "5.
|
|
26
|
-
"@dynamic-labs/locale": "5.
|
|
27
|
-
"@dynamic-labs/logger": "5.
|
|
28
|
-
"@dynamic-labs/message-transport": "5.
|
|
29
|
-
"@dynamic-labs/types": "5.
|
|
30
|
-
"@dynamic-labs/wallet-connector-core": "5.
|
|
31
|
-
"@dynamic-labs/webauthn": "5.
|
|
24
|
+
"@dynamic-labs-wallet/core": "1.1.29",
|
|
25
|
+
"@dynamic-labs/assert-package-version": "5.10.0",
|
|
26
|
+
"@dynamic-labs/locale": "5.10.0",
|
|
27
|
+
"@dynamic-labs/logger": "5.10.0",
|
|
28
|
+
"@dynamic-labs/message-transport": "5.10.0",
|
|
29
|
+
"@dynamic-labs/types": "5.10.0",
|
|
30
|
+
"@dynamic-labs/wallet-connector-core": "5.10.0",
|
|
31
|
+
"@dynamic-labs/webauthn": "5.10.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {}
|
|
34
34
|
}
|
|
@@ -65,6 +65,9 @@ export type UnlockWalletArgs = {
|
|
|
65
65
|
accountAddress: string;
|
|
66
66
|
password?: string;
|
|
67
67
|
};
|
|
68
|
+
export type LockWalletArgs = {
|
|
69
|
+
accountAddress?: string;
|
|
70
|
+
};
|
|
68
71
|
export type GetWalletRecoveryStateArgs = {
|
|
69
72
|
accountAddress: string;
|
|
70
73
|
};
|
|
@@ -96,6 +99,18 @@ export type WaasMessages = {
|
|
|
96
99
|
waas_setPassword: (walletId: string, args: SetPasswordArgs) => Promise<void>;
|
|
97
100
|
waas_signRawMessage: (walletId: string, args: SignRawMessageArgs) => Promise<string>;
|
|
98
101
|
waas_unlockWallet: (walletId: string, args: UnlockWalletArgs) => Promise<void>;
|
|
102
|
+
/**
|
|
103
|
+
* Re-locks every unlocked password-embedded-wallet in the webview: decrypted
|
|
104
|
+
* client key shares are cleared so the next wallet operation prompts for the
|
|
105
|
+
* wallet password again. `walletId` is unused — the lock spans all chains —
|
|
106
|
+
* and kept only for signature parity with the other waas_* requests.
|
|
107
|
+
*/
|
|
108
|
+
waas_lockWallets: (walletId: string | null) => Promise<void>;
|
|
109
|
+
/**
|
|
110
|
+
* Re-locks a single wallet identified by `walletId`. Same lock semantics as
|
|
111
|
+
* `waas_lockWallets`, scoped to one wallet.
|
|
112
|
+
*/
|
|
113
|
+
waas_lockWallet: (walletId: string | null, args: LockWalletArgs) => Promise<void>;
|
|
99
114
|
waas_getWalletRecoveryState: (walletId: string, args: GetWalletRecoveryStateArgs) => Promise<WalletRecoveryState>;
|
|
100
115
|
waas_createOfflineRecoveryShares: (walletId: string, args: CreateOfflineRecoverySharesArgs) => Promise<void>;
|
|
101
116
|
};
|