@dynamic-labs/webview-messages 4.65.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 +13 -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/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
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
|
+
|
|
2
15
|
## [4.65.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.64.0...v4.65.0) (2026-02-27)
|
|
3
16
|
|
|
4
17
|
|
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 {};
|