@dynamic-labs/webview-messages 5.22.0 → 5.23.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 +19 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -9
- package/src/lib/AuthModuleMessages.d.ts +1 -0
- package/src/lib/WaasMessages.d.ts +20 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,23 @@
|
|
|
1
1
|
|
|
2
|
+
### [5.23.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.23.0...v5.23.1) (2026-12-03)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **ton:** stop sending X-Ton-Client-Version and label TON RPC failures ([#12869](https://github.com/dynamic-labs/dynamic-auth/issues/12869)) ([6ae4eaf](https://github.com/dynamic-labs/dynamic-auth/commit/6ae4eafcc949f0a746f6ce4b614860a5268477df))
|
|
8
|
+
|
|
9
|
+
## [5.23.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.22.0...v5.23.0) (2026-12-02)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* **webview:** add refreshAuth request to the auth module ([#12852](https://github.com/dynamic-labs/dynamic-auth/issues/12852)) ([f13e40f](https://github.com/dynamic-labs/dynamic-auth/commit/f13e40f977e52d685e2b5275b6e9d2dfeaba0cd5))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **aleo:** recognize adapter wallets that resolve readyState asynchronously ([#12310](https://github.com/dynamic-labs/dynamic-auth/issues/12310)) ([5a36fcc](https://github.com/dynamic-labs/dynamic-auth/commit/5a36fccac4c751a8c3db61342c2b45b83f727455))
|
|
20
|
+
|
|
2
21
|
## [5.22.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.21.0...v5.22.0) (2026-11-27)
|
|
3
22
|
|
|
4
23
|
|
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.23.1",
|
|
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.23.1",
|
|
22
22
|
"@dynamic-labs/sdk-api-core": "0.187.0",
|
|
23
23
|
"@dynamic-labs-sdk/client": "1.55.0",
|
|
24
24
|
"@dynamic-labs-wallet/core": "1.1.78",
|
|
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.
|
|
25
|
+
"@dynamic-labs/assert-package-version": "5.23.1",
|
|
26
|
+
"@dynamic-labs/locale": "5.23.1",
|
|
27
|
+
"@dynamic-labs/logger": "5.23.1",
|
|
28
|
+
"@dynamic-labs/message-transport": "5.23.1",
|
|
29
|
+
"@dynamic-labs/types": "5.23.1",
|
|
30
|
+
"@dynamic-labs/wallet-connector-core": "5.23.1",
|
|
31
|
+
"@dynamic-labs/webauthn": "5.23.1"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {}
|
|
34
34
|
}
|
|
@@ -15,6 +15,7 @@ export type UpdateUserReturnPayload = {
|
|
|
15
15
|
export type AuthModuleMessages = {
|
|
16
16
|
logout: () => Promise<void>;
|
|
17
17
|
refreshUser: () => Promise<UserProfile | null>;
|
|
18
|
+
refreshAuth: () => Promise<UserProfile | null>;
|
|
18
19
|
updateUser: (userFields: UpdateUserFieldsArg) => Promise<UpdateUserReturnPayload>;
|
|
19
20
|
verifyUserUpdateOtp: (verificationToken: string) => Promise<UpdateUserReturnPayload>;
|
|
20
21
|
handleAuthenticatedUser: (params: {
|
|
@@ -90,6 +90,20 @@ export type CreateOfflineRecoverySharesArgs = {
|
|
|
90
90
|
*/
|
|
91
91
|
recoveryEncryptionPublicKey?: string;
|
|
92
92
|
};
|
|
93
|
+
export type MigrateFromFireblocksArgs = {
|
|
94
|
+
deviceId: string;
|
|
95
|
+
jwt: string;
|
|
96
|
+
walletPassword: string;
|
|
97
|
+
ncwStorage: Record<string, string>;
|
|
98
|
+
expectedAddresses: Record<string, string>;
|
|
99
|
+
chain?: string;
|
|
100
|
+
coinTypes?: Record<string, number>;
|
|
101
|
+
accounts?: {
|
|
102
|
+
accountIndex: number;
|
|
103
|
+
expectedAddresses: Record<string, string>;
|
|
104
|
+
}[];
|
|
105
|
+
password?: string;
|
|
106
|
+
};
|
|
93
107
|
export type WalletRecoveryState = {
|
|
94
108
|
walletReadyState: 'ready' | 'encrypted';
|
|
95
109
|
isPasswordEncrypted: boolean;
|
|
@@ -124,6 +138,12 @@ export type WaasMessages = {
|
|
|
124
138
|
* `waas_lockWallets`, scoped to one wallet.
|
|
125
139
|
*/
|
|
126
140
|
waas_lockWallet: (walletId: string | null, args: LockWalletArgs) => Promise<void>;
|
|
141
|
+
/**
|
|
142
|
+
* Migrates a Fireblocks NCW wallet into Dynamic WaaS. Account-level: pass
|
|
143
|
+
* `null` for `walletId`. `args.chain` selects the WaaS connector and
|
|
144
|
+
* defaults to the first key of `expectedAddresses`.
|
|
145
|
+
*/
|
|
146
|
+
waas_migrateFromFireblocks: (walletId: string | null, args: MigrateFromFireblocksArgs) => Promise<Record<string, unknown>>;
|
|
127
147
|
waas_getWalletRecoveryState: (walletId: string, args: GetWalletRecoveryStateArgs) => Promise<WalletRecoveryState>;
|
|
128
148
|
waas_createOfflineRecoveryShares: (walletId: string, args: CreateOfflineRecoverySharesArgs) => Promise<void>;
|
|
129
149
|
};
|