@dynamic-labs/webview-messages 5.9.6 → 5.11.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 CHANGED
@@ -1,4 +1,26 @@
1
1
 
2
+ ## [5.11.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.10.0...v5.11.0) (2026-10-14)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **react-native:** fall back to a TEE-backed key when StrongBox key generation fails on Android ([#12484](https://github.com/dynamic-labs/dynamic-auth/issues/12484)) ([6884ef1](https://github.com/dynamic-labs/dynamic-auth/commit/6884ef1665e4b18d1b8fdb54ee7cd06861b47fc9))
8
+ * support WaaS password overrides in WebView ([#12509](https://github.com/dynamic-labs/dynamic-auth/issues/12509)) ([fc67fcc](https://github.com/dynamic-labs/dynamic-auth/commit/fc67fccb99be7c0cc8df81a2513ccd3a04db9a61))
9
+
10
+ ## [5.10.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.6...v5.10.0) (2026-10-09)
11
+
12
+
13
+ ### Features
14
+
15
+ * 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))
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **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))
21
+ * **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))
22
+ * **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))
23
+
2
24
  ### [5.9.6](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.5...v5.9.6) (2026-10-06)
3
25
 
4
26
  ### [5.9.5](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.4...v5.9.5) (2026-10-06)
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "5.9.6";
6
+ var version = "5.11.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "5.9.6";
2
+ var version = "5.11.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/webview-messages",
3
- "version": "5.9.6",
3
+ "version": "5.11.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.9.6",
22
- "@dynamic-labs/sdk-api-core": "0.70.0",
23
- "@dynamic-labs-sdk/client": "1.37.0",
24
- "@dynamic-labs-wallet/core": "1.1.27",
25
- "@dynamic-labs/assert-package-version": "5.9.6",
26
- "@dynamic-labs/locale": "5.9.6",
27
- "@dynamic-labs/logger": "5.9.6",
28
- "@dynamic-labs/message-transport": "5.9.6",
29
- "@dynamic-labs/types": "5.9.6",
30
- "@dynamic-labs/wallet-connector-core": "5.9.6",
31
- "@dynamic-labs/webauthn": "5.9.6"
21
+ "@dynamic-labs/ethereum-gasless-core": "5.11.0",
22
+ "@dynamic-labs/sdk-api-core": "0.92.0",
23
+ "@dynamic-labs-sdk/client": "1.39.1",
24
+ "@dynamic-labs-wallet/core": "1.1.33",
25
+ "@dynamic-labs/assert-package-version": "5.11.0",
26
+ "@dynamic-labs/locale": "5.11.0",
27
+ "@dynamic-labs/logger": "5.11.0",
28
+ "@dynamic-labs/message-transport": "5.11.0",
29
+ "@dynamic-labs/types": "5.11.0",
30
+ "@dynamic-labs/wallet-connector-core": "5.11.0",
31
+ "@dynamic-labs/webauthn": "5.11.0"
32
32
  },
33
33
  "peerDependencies": {}
34
34
  }
@@ -44,6 +44,10 @@ export type UpdatePasswordArgs = {
44
44
  accountAddress: string;
45
45
  existingPassword: string;
46
46
  newPassword: string;
47
+ passwordOverrides?: Array<{
48
+ walletId: string;
49
+ existingPassword: string;
50
+ }>;
47
51
  };
48
52
  export type SetPasswordArgs = {
49
53
  accountAddress: string;
@@ -65,6 +69,9 @@ export type UnlockWalletArgs = {
65
69
  accountAddress: string;
66
70
  password?: string;
67
71
  };
72
+ export type LockWalletArgs = {
73
+ accountAddress?: string;
74
+ };
68
75
  export type GetWalletRecoveryStateArgs = {
69
76
  accountAddress: string;
70
77
  };
@@ -96,6 +103,18 @@ export type WaasMessages = {
96
103
  waas_setPassword: (walletId: string, args: SetPasswordArgs) => Promise<void>;
97
104
  waas_signRawMessage: (walletId: string, args: SignRawMessageArgs) => Promise<string>;
98
105
  waas_unlockWallet: (walletId: string, args: UnlockWalletArgs) => Promise<void>;
106
+ /**
107
+ * Re-locks every unlocked password-embedded-wallet in the webview: decrypted
108
+ * client key shares are cleared so the next wallet operation prompts for the
109
+ * wallet password again. `walletId` is unused — the lock spans all chains —
110
+ * and kept only for signature parity with the other waas_* requests.
111
+ */
112
+ waas_lockWallets: (walletId: string | null) => Promise<void>;
113
+ /**
114
+ * Re-locks a single wallet identified by `walletId`. Same lock semantics as
115
+ * `waas_lockWallets`, scoped to one wallet.
116
+ */
117
+ waas_lockWallet: (walletId: string | null, args: LockWalletArgs) => Promise<void>;
99
118
  waas_getWalletRecoveryState: (walletId: string, args: GetWalletRecoveryStateArgs) => Promise<WalletRecoveryState>;
100
119
  waas_createOfflineRecoveryShares: (walletId: string, args: CreateOfflineRecoverySharesArgs) => Promise<void>;
101
120
  };