@dynamic-labs/webview-messages 4.64.0 → 4.66.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 +29 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/lib/SuiMessages.d.ts +32 -4
- package/src/lib/WaasMessages.d.ts +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,33 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.66.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.65.0...v4.66.0) (2026-03-02)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **stellar:** send serialized XDR for transaction signing ([#10548](https://github.com/dynamic-labs/dynamic-auth/issues/10548)) ([3ff6438](https://github.com/dynamic-labs/dynamic-auth/commit/3ff64384e16d5fdb32cd6a3fd144757bf05f4456))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* prevent MFA backup codes screen from being dismissed before acknowledgement ([#10530](https://github.com/dynamic-labs/dynamic-auth/issues/10530)) ([67086f0](https://github.com/dynamic-labs/dynamic-auth/commit/67086f0b4a1302d39853eb2eedcb6f5b8bfca889))
|
|
13
|
+
* **react-native:** add retry when setting items to secure store ([#10576](https://github.com/dynamic-labs/dynamic-auth/issues/10576)) ([22ea162](https://github.com/dynamic-labs/dynamic-auth/commit/22ea162420806a4a67394c99f3691754982a7f1f))
|
|
14
|
+
|
|
15
|
+
## [4.65.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.64.0...v4.65.0) (2026-02-27)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* add CSP nonce support for style and link tags ([#10514](https://github.com/dynamic-labs/dynamic-auth/issues/10514)) ([62128f5](https://github.com/dynamic-labs/dynamic-auth/commit/62128f5eddfd2a037c2ed6e9320b5009d350c0b5))
|
|
21
|
+
* add setPassword method for initial wallet password setup ([#10534](https://github.com/dynamic-labs/dynamic-auth/issues/10534)) ([87d1e5f](https://github.com/dynamic-labs/dynamic-auth/commit/87d1e5f3c41fe4417320f6971566526e8bf07e99))
|
|
22
|
+
* add step-up authentication and walletsVerify API ([#10482](https://github.com/dynamic-labs/dynamic-auth/issues/10482)) ([e762a63](https://github.com/dynamic-labs/dynamic-auth/commit/e762a634e9782c34926f5947db5446ad95617064))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* **react-native:** ensure items are saved to storage successfully ([#10538](https://github.com/dynamic-labs/dynamic-auth/issues/10538)) ([60bfd5e](https://github.com/dynamic-labs/dynamic-auth/commit/60bfd5e4bf1e7265e754c222839662ff615495b2))
|
|
28
|
+
* **sdk-react-core:** add stellar to compareChains to prevent duplicate wallet creation ([#10526](https://github.com/dynamic-labs/dynamic-auth/issues/10526)) ([89f4498](https://github.com/dynamic-labs/dynamic-auth/commit/89f449892a5153dc8032e0e8ea61cf453e0a2b23))
|
|
29
|
+
* show password setup button for all WaaS wallets regardless of passcodeRequired ([#10532](https://github.com/dynamic-labs/dynamic-auth/issues/10532)) ([615cbf2](https://github.com/dynamic-labs/dynamic-auth/commit/615cbf25fcf95cb5b82a118a2d5d37285e8b5b83))
|
|
30
|
+
|
|
2
31
|
## [4.64.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.63.1...v4.64.0) (2026-02-25)
|
|
3
32
|
|
|
4
33
|
|
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": "4.
|
|
3
|
+
"version": "4.66.0",
|
|
4
4
|
"description": "A package to define messages for the webview-controller",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@dynamic-labs/sdk-api-core": "0.0.875",
|
|
22
22
|
"@dynamic-labs-sdk/client": "0.12.1",
|
|
23
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
24
|
-
"@dynamic-labs/locale": "4.
|
|
25
|
-
"@dynamic-labs/logger": "4.
|
|
26
|
-
"@dynamic-labs/message-transport": "4.
|
|
27
|
-
"@dynamic-labs/types": "4.
|
|
28
|
-
"@dynamic-labs/wallet-connector-core": "4.
|
|
29
|
-
"@dynamic-labs/webauthn": "4.
|
|
23
|
+
"@dynamic-labs/assert-package-version": "4.66.0",
|
|
24
|
+
"@dynamic-labs/locale": "4.66.0",
|
|
25
|
+
"@dynamic-labs/logger": "4.66.0",
|
|
26
|
+
"@dynamic-labs/message-transport": "4.66.0",
|
|
27
|
+
"@dynamic-labs/types": "4.66.0",
|
|
28
|
+
"@dynamic-labs/wallet-connector-core": "4.66.0",
|
|
29
|
+
"@dynamic-labs/webauthn": "4.66.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {}
|
|
32
32
|
}
|
package/src/lib/SuiMessages.d.ts
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
export type SuiNetworkName = 'mainnet' | 'testnet' | 'devnet';
|
|
2
|
+
/** Raw serialized transaction (base64) */
|
|
3
|
+
type SuiRawTransactionArg = {
|
|
4
|
+
transaction: string;
|
|
5
|
+
walletId: string;
|
|
6
|
+
};
|
|
7
|
+
/** Transfer parameters — webview builds the transaction */
|
|
8
|
+
type SuiTransferArg = {
|
|
9
|
+
to: string;
|
|
10
|
+
value: string;
|
|
11
|
+
walletId: string;
|
|
12
|
+
gasPrice?: number;
|
|
13
|
+
gasBudget?: number;
|
|
14
|
+
};
|
|
2
15
|
/**
|
|
3
16
|
* Messages exchanged for sui requests.
|
|
4
17
|
*/
|
|
@@ -9,13 +22,28 @@ export type SuiMessages = {
|
|
|
9
22
|
}) => Promise<{
|
|
10
23
|
signature: string;
|
|
11
24
|
}>;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
walletId: string;
|
|
15
|
-
}) => Promise<{
|
|
25
|
+
/** Sign a raw base64-encoded transaction */
|
|
26
|
+
sui_signTransaction: (arg: SuiRawTransactionArg) => Promise<{
|
|
16
27
|
signature: string;
|
|
17
28
|
}>;
|
|
29
|
+
/** Sign a transfer transaction built from to/value parameters */
|
|
30
|
+
sui_signTransferTransaction: (arg: SuiTransferArg) => Promise<{
|
|
31
|
+
signature: string;
|
|
32
|
+
}>;
|
|
33
|
+
/** Send (execute) a raw base64-encoded transaction */
|
|
34
|
+
sui_sendTransaction: (arg: SuiRawTransactionArg) => Promise<{
|
|
35
|
+
digest: string;
|
|
36
|
+
}>;
|
|
37
|
+
/** Sign and send a raw base64-encoded transaction */
|
|
38
|
+
sui_signAndSendTransaction: (arg: SuiRawTransactionArg) => Promise<{
|
|
39
|
+
digest: string;
|
|
40
|
+
}>;
|
|
41
|
+
/** Sign and send a transfer transaction built from to/value parameters */
|
|
42
|
+
sui_signAndSendTransferTransaction: (arg: SuiTransferArg) => Promise<{
|
|
43
|
+
digest: string;
|
|
44
|
+
}>;
|
|
18
45
|
sui_getNetworkName: (arg: {
|
|
19
46
|
walletId: string;
|
|
20
47
|
}) => Promise<SuiNetworkName>;
|
|
21
48
|
};
|
|
49
|
+
export {};
|
|
@@ -28,6 +28,10 @@ export type UpdatePasswordArgs = {
|
|
|
28
28
|
existingPassword: string;
|
|
29
29
|
newPassword: string;
|
|
30
30
|
};
|
|
31
|
+
export type SetPasswordArgs = {
|
|
32
|
+
accountAddress: string;
|
|
33
|
+
newPassword: string;
|
|
34
|
+
};
|
|
31
35
|
export type SignRawMessageArgs = {
|
|
32
36
|
accountAddress: string;
|
|
33
37
|
message: string;
|
|
@@ -52,6 +56,7 @@ export type WaasMessages = {
|
|
|
52
56
|
waas_revokeDelegation: (walletId: string, args: RevokeDelegationArgs) => Promise<void>;
|
|
53
57
|
waas_refreshWalletAccountShares: (walletId: string, args: RefreshWalletAccountSharesArgs) => Promise<void>;
|
|
54
58
|
waas_updatePassword: (walletId: string, args: UpdatePasswordArgs) => Promise<void>;
|
|
59
|
+
waas_setPassword: (walletId: string, args: SetPasswordArgs) => Promise<void>;
|
|
55
60
|
waas_signRawMessage: (walletId: string, args: SignRawMessageArgs) => Promise<string>;
|
|
56
61
|
waas_unlockWallet: (walletId: string, args: UnlockWalletArgs) => Promise<void>;
|
|
57
62
|
waas_getWalletRecoveryState: (walletId: string, args: GetWalletRecoveryStateArgs) => Promise<WalletRecoveryState>;
|