@dynamic-labs/webview-messages 4.60.0 → 4.61.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,34 @@
1
1
 
2
+ ## [4.61.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.60.1...v4.61.0) (2026-02-10)
3
+
4
+
5
+ ### Features
6
+
7
+ * add unlockWallet and getWalletRecoveryState to WaaS ([#10407](https://github.com/dynamic-labs/dynamic-auth/issues/10407)) ([e0d1a28](https://github.com/dynamic-labs/dynamic-auth/commit/e0d1a2830f36eee6c6e84737011e8cf59966122d))
8
+ * add useWalletPassword hook for waas wallet password management ([#10399](https://github.com/dynamic-labs/dynamic-auth/issues/10399)) ([508835f](https://github.com/dynamic-labs/dynamic-auth/commit/508835fb0f4f17b7353a4378f4c254e02f0a46ff))
9
+ * add WaaS unlock and recovery UI to mobile demo ([#10408](https://github.com/dynamic-labs/dynamic-auth/issues/10408)) ([94cdb88](https://github.com/dynamic-labs/dynamic-auth/commit/94cdb882fca3c34d157b42d5208f56812008c43b))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * bump axios to fix high vulnerability ([#10406](https://github.com/dynamic-labs/dynamic-auth/issues/10406)) ([303e2dc](https://github.com/dynamic-labs/dynamic-auth/commit/303e2dcf1e7e8ecad4caf2d74e805ee427c1d00e))
15
+ * patch node-forge CVE-2025-12816 in global-wallet ([#10401](https://github.com/dynamic-labs/dynamic-auth/issues/10401)) ([46e6eb2](https://github.com/dynamic-labs/dynamic-auth/commit/46e6eb28a0add0052299eaa4ac2dcbe8b1faa98c))
16
+
17
+ ### [4.60.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.60.0...v4.60.1) (2026-02-09)
18
+
19
+
20
+ ### Features
21
+
22
+ * add WAAS password handlers to DynamicContextProvider settings ([#10360](https://github.com/dynamic-labs/dynamic-auth/issues/10360)) ([5fc3fa7](https://github.com/dynamic-labs/dynamic-auth/commit/5fc3fa7148c53b64d36672be2d1ae629cb9cdaf8))
23
+ * improve password handling and UI for wallet protection ([#10386](https://github.com/dynamic-labs/dynamic-auth/issues/10386)) ([d27936e](https://github.com/dynamic-labs/dynamic-auth/commit/d27936e5bea37facceefccc0f2507d25a775ad33))
24
+ * pass authToken to wallet recovery operations ([#10379](https://github.com/dynamic-labs/dynamic-auth/issues/10379)) ([294efc7](https://github.com/dynamic-labs/dynamic-auth/commit/294efc7ab5816f63b7e5cc49a150cf9d34d300af))
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * override fast-xml-parser to 5.3.4 for CVE-2026-25128 ([#10381](https://github.com/dynamic-labs/dynamic-auth/issues/10381)) ([7fb4c22](https://github.com/dynamic-labs/dynamic-auth/commit/7fb4c221252b84bf38bbdab0b37b8f9a981ebe1a))
30
+ * unlock wallet view error handling and password error UI ([#10388](https://github.com/dynamic-labs/dynamic-auth/issues/10388)) ([5ffc8e1](https://github.com/dynamic-labs/dynamic-auth/commit/5ffc8e1e6dd0d7f32bb94c37ce3674be949f010b))
31
+
2
32
  ## [4.60.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.59.2...v4.60.0) (2026-02-05)
3
33
 
4
34
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.60.0";
6
+ var version = "4.61.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.60.0";
2
+ var version = "4.61.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": "4.60.0",
3
+ "version": "4.61.0",
4
4
  "description": "A package to define messages for the webview-controller",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -18,15 +18,15 @@
18
18
  "./package.json": "./package.json"
19
19
  },
20
20
  "dependencies": {
21
- "@dynamic-labs/sdk-api-core": "0.0.860",
22
- "@dynamic-labs-sdk/client": "0.4.0",
23
- "@dynamic-labs/assert-package-version": "4.60.0",
24
- "@dynamic-labs/locale": "4.60.0",
25
- "@dynamic-labs/logger": "4.60.0",
26
- "@dynamic-labs/message-transport": "4.60.0",
27
- "@dynamic-labs/types": "4.60.0",
28
- "@dynamic-labs/wallet-connector-core": "4.60.0",
29
- "@dynamic-labs/webauthn": "4.60.0"
21
+ "@dynamic-labs/sdk-api-core": "0.0.864",
22
+ "@dynamic-labs-sdk/client": "0.8.0",
23
+ "@dynamic-labs/assert-package-version": "4.61.0",
24
+ "@dynamic-labs/locale": "4.61.0",
25
+ "@dynamic-labs/logger": "4.61.0",
26
+ "@dynamic-labs/message-transport": "4.61.0",
27
+ "@dynamic-labs/types": "4.61.0",
28
+ "@dynamic-labs/wallet-connector-core": "4.61.0",
29
+ "@dynamic-labs/webauthn": "4.61.0"
30
30
  },
31
31
  "peerDependencies": {}
32
32
  }
@@ -3,6 +3,7 @@ import { SerializedError } from '@dynamic-labs/message-transport';
3
3
  import { BaseWallet } from '@dynamic-labs/types';
4
4
  export type CreateEmbeddedWalletArgs = {
5
5
  chain?: keyof typeof EmbeddedWalletChainEnum;
6
+ password?: string;
6
7
  };
7
8
  export type EmbeddedWalletsModuleState = {
8
9
  hasWallet: boolean;
@@ -33,6 +33,17 @@ export type SignRawMessageArgs = {
33
33
  message: string;
34
34
  password?: string;
35
35
  };
36
+ export type UnlockWalletArgs = {
37
+ accountAddress: string;
38
+ password?: string;
39
+ };
40
+ export type GetWalletRecoveryStateArgs = {
41
+ accountAddress: string;
42
+ };
43
+ export type WalletRecoveryState = {
44
+ walletReadyState: 'ready' | 'encrypted';
45
+ isPasswordEncrypted: boolean;
46
+ };
36
47
  export type WaasMessages = {
37
48
  waas_importPrivateKey: (walletId: string, args: ImportPrivateKeyArgs) => Promise<void>;
38
49
  waas_exportClientKeyshares: (walletId: string, args: ExportClientKeysharesArgs) => Promise<void>;
@@ -42,4 +53,6 @@ export type WaasMessages = {
42
53
  waas_refreshWalletAccountShares: (walletId: string, args: RefreshWalletAccountSharesArgs) => Promise<void>;
43
54
  waas_updatePassword: (walletId: string, args: UpdatePasswordArgs) => Promise<void>;
44
55
  waas_signRawMessage: (walletId: string, args: SignRawMessageArgs) => Promise<string>;
56
+ waas_unlockWallet: (walletId: string, args: UnlockWalletArgs) => Promise<void>;
57
+ waas_getWalletRecoveryState: (walletId: string, args: GetWalletRecoveryStateArgs) => Promise<WalletRecoveryState>;
45
58
  };