@dynamic-labs/webview-messages 5.9.4 → 5.9.6

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,15 @@
1
1
 
2
+ ### [5.9.6](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.5...v5.9.6) (2026-10-06)
3
+
4
+ ### [5.9.5](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.4...v5.9.5) (2026-10-06)
5
+
6
+
7
+ ### Bug Fixes
8
+
9
+ * **ton:** move encodeComment to base TonWalletConnector ([#12459](https://github.com/dynamic-labs/dynamic-auth/issues/12459)) ([647df5b](https://github.com/dynamic-labs/dynamic-auth/commit/647df5bc3986d59d89dbe31bbd3ebe1c4605ec40))
10
+ * **waas-svm:** apply overrideBlockhash before sponsorship ([#12319](https://github.com/dynamic-labs/dynamic-auth/issues/12319)) ([074ce3c](https://github.com/dynamic-labs/dynamic-auth/commit/074ce3c4ecfa080b683c84120fa7643e8fe064d4)), closes [#10599](https://github.com/dynamic-labs/dynamic-auth/issues/10599) [#10599](https://github.com/dynamic-labs/dynamic-auth/issues/10599) [#10599](https://github.com/dynamic-labs/dynamic-auth/issues/10599) [#10599](https://github.com/dynamic-labs/dynamic-auth/issues/10599)
11
+ * **wallet-book:** use phantom.com for Phantom in-app-browser links ([#12456](https://github.com/dynamic-labs/dynamic-auth/issues/12456)) ([e762553](https://github.com/dynamic-labs/dynamic-auth/commit/e7625534f8beda3e649f121e637451e2188faef6))
12
+
2
13
  ### [5.9.4](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.3...v5.9.4) (2026-10-02)
3
14
 
4
15
  ### [5.9.3](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.2...v5.9.3) (2026-10-02)
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.4";
6
+ var version = "5.9.6";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "5.9.4";
2
+ var version = "5.9.6";
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.4",
3
+ "version": "5.9.6",
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.4",
21
+ "@dynamic-labs/ethereum-gasless-core": "5.9.6",
22
22
  "@dynamic-labs/sdk-api-core": "0.70.0",
23
23
  "@dynamic-labs-sdk/client": "1.37.0",
24
24
  "@dynamic-labs-wallet/core": "1.1.27",
25
- "@dynamic-labs/assert-package-version": "5.9.4",
26
- "@dynamic-labs/locale": "5.9.4",
27
- "@dynamic-labs/logger": "5.9.4",
28
- "@dynamic-labs/message-transport": "5.9.4",
29
- "@dynamic-labs/types": "5.9.4",
30
- "@dynamic-labs/wallet-connector-core": "5.9.4",
31
- "@dynamic-labs/webauthn": "5.9.4"
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"
32
32
  },
33
33
  "peerDependencies": {}
34
34
  }
@@ -16,6 +16,12 @@ export type SponsoredTransactionCallWire = {
16
16
  target: Hex;
17
17
  value: string;
18
18
  };
19
+ export type GasSponsorshipMode = 'auto' | 'off' | 'required';
20
+ export type EthereumTransactionWire = {
21
+ data: Hex;
22
+ to: Hex;
23
+ value: string;
24
+ };
19
25
  /**
20
26
  * Wire-only base shape for the send / relay / sign messages. Mirrors the
21
27
  * unsigned-calls variant of the underlying SDK functions, with `bigint` values
@@ -38,6 +44,12 @@ export type EthereumGaslessMessages = {
38
44
  ethereumGasless_send: (params: EthereumGaslessUnsignedCallsArgs) => Promise<{
39
45
  transactionHash: Hex;
40
46
  }>;
47
+ ethereumGasless_sendTransaction: (params: Omit<EthereumGaslessUnsignedCallsArgs, 'calls'> & {
48
+ sponsorshipMode?: GasSponsorshipMode;
49
+ transaction: EthereumTransactionWire;
50
+ }) => Promise<{
51
+ transactionHash: Hex;
52
+ }>;
41
53
  ethereumGasless_relay: (params: EthereumGaslessUnsignedCallsArgs) => Promise<{
42
54
  requestId: string;
43
55
  }>;
@@ -5,7 +5,9 @@ type SendOptions = {
5
5
  preflightCommitment?: Commitment;
6
6
  maxRetries?: number;
7
7
  minContextSlot?: number;
8
+ sponsorshipMode?: GasSponsorshipMode;
8
9
  };
10
+ type GasSponsorshipMode = 'auto' | 'off' | 'required';
9
11
  type EncodedTransaction = {
10
12
  type: 'legacy' | 'versioned';
11
13
  transaction: string;
@@ -30,12 +32,14 @@ export type SolanaMessages = {
30
32
  solana_signTransaction: (arg: {
31
33
  walletId: string;
32
34
  encodedTransaction: EncodedTransaction;
35
+ sponsorshipMode?: GasSponsorshipMode;
33
36
  }) => Promise<{
34
37
  encodedTransaction: EncodedTransaction;
35
38
  }>;
36
39
  solana_signAllTransactions: (arg: {
37
40
  walletId: string;
38
41
  encodedTransactions: EncodedTransaction[];
42
+ sponsorshipMode?: GasSponsorshipMode;
39
43
  }) => Promise<{
40
44
  encodedTransactions: EncodedTransaction[];
41
45
  }>;