@dynamic-labs/webview-messages 4.83.2-alpha.0 → 4.84.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 CHANGED
@@ -1,4 +1,39 @@
1
1
 
2
+ ### [4.84.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.84.0...v4.84.1) (2026-05-28)
3
+
4
+
5
+ ### Features
6
+
7
+ * **sdk-react-core:** add usePrivateTokenBalances public hook ([#11338](https://github.com/dynamic-labs/dynamic-auth/issues/11338)) ([91125e8](https://github.com/dynamic-labs/dynamic-auth/commit/91125e8e3ac010f760e1481fd4685dfde331b94a))
8
+ * **waas:** detect delegated wallets via otherShareSets ([#11312](https://github.com/dynamic-labs/dynamic-auth/issues/11312)) ([0c8277f](https://github.com/dynamic-labs/dynamic-auth/commit/0c8277f9e2f4e622fc7a75fdfcf4180d9b7db8ff))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **aleo:** misc Send-screen UI fixes — sponsorship, 0-amount, 0-balance, glyphs ([#11337](https://github.com/dynamic-labs/dynamic-auth/issues/11337)) ([f95bc34](https://github.com/dynamic-labs/dynamic-auth/commit/f95bc34c7f8e0a01df61a72f0cbcfa3508471cd7))
14
+ * **aleo:** optimistic shield balance updates + convergence polling ([#11336](https://github.com/dynamic-labs/dynamic-auth/issues/11336)) ([c86eeec](https://github.com/dynamic-labs/dynamic-auth/commit/c86eeecd1475838a61d58b7924ac7bec0db5b9f3))
15
+ * **locale:** capitalize "Key" in Export Private Key button ([#11319](https://github.com/dynamic-labs/dynamic-auth/issues/11319)) ([58eceff](https://github.com/dynamic-labs/dynamic-auth/commit/58eceff3fdaee5d70dac0a8fef89a86f31f814aa))
16
+
17
+
18
+
19
+ ## [4.84.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.83.2-alpha.0...v4.84.0) (2026-05-22)
20
+
21
+
22
+ ### Features
23
+
24
+ * **ethereum-gasless:** add @dynamic-labs/ethereum-gasless-{core,extension} and webview controller ([#11267](https://github.com/dynamic-labs/dynamic-auth/issues/11267)) ([edac5df](https://github.com/dynamic-labs/dynamic-auth/commit/edac5df8180483093f69caee508cbdebf2e4e663)), closes [#11274](https://github.com/dynamic-labs/dynamic-auth/issues/11274) [#11274](https://github.com/dynamic-labs/dynamic-auth/issues/11274) [#11274](https://github.com/dynamic-labs/dynamic-auth/issues/11274)
25
+ * **mobile-demo:** add EVM gasless screens for 7702 delegation and sponsored transactions ([#11274](https://github.com/dynamic-labs/dynamic-auth/issues/11274)) ([2961b8f](https://github.com/dynamic-labs/dynamic-auth/commit/2961b8f732ef3a172fcf0e814db3b74961015edf)), closes [#11267](https://github.com/dynamic-labs/dynamic-auth/issues/11267) [#11267](https://github.com/dynamic-labs/dynamic-auth/issues/11267) [#11267](https://github.com/dynamic-labs/dynamic-auth/issues/11267)
26
+ * **mobile-demo:** wire Maestro Cloud E2E for iOS smoke flow ([#11144](https://github.com/dynamic-labs/dynamic-auth/issues/11144)) ([d25b694](https://github.com/dynamic-labs/dynamic-auth/commit/d25b694017277fbe97fc13e21f82201350551862))
27
+ * **starknet:** rename Argent X to Ready X, remove Ready Mobile ([#11299](https://github.com/dynamic-labs/dynamic-auth/issues/11299)) ([addc5dd](https://github.com/dynamic-labs/dynamic-auth/commit/addc5dd9f18310c474dd7ad3ff15c9ab1b652136))
28
+
29
+
30
+ ### Bug Fixes
31
+
32
+ * **playwright:** unflake allow/block on 4201/4202 (domain-access-control) DYNT-777 ([#11118](https://github.com/dynamic-labs/dynamic-auth/issues/11118)) ([86e0d72](https://github.com/dynamic-labs/dynamic-auth/commit/86e0d72b7d094f25ce9efd2173cd478b93eb8393)), closes [#11119](https://github.com/dynamic-labs/dynamic-auth/issues/11119)
33
+ * **playwright:** unflake demo-v2 phantom flows (tolerate get-started splash skip) ([#11185](https://github.com/dynamic-labs/dynamic-auth/issues/11185)) ([b648d39](https://github.com/dynamic-labs/dynamic-auth/commit/b648d39c11580b5fbedb5a6972c174a42aa13326))
34
+ * **sdk-react-core:** prevent duplicate deviceRegistration calls and stale list refetch after self-revoke ([#11298](https://github.com/dynamic-labs/dynamic-auth/issues/11298)) ([8ae5180](https://github.com/dynamic-labs/dynamic-auth/commit/8ae51803517bcde9503a20c290e82f3068dfda66))
35
+ * **wallet-book:** correct sprite IDs for bitgetwallet and coin98 wallet groups ([#11291](https://github.com/dynamic-labs/dynamic-auth/issues/11291)) ([d56763c](https://github.com/dynamic-labs/dynamic-auth/commit/d56763c741a93c279c8dd9e548ab7d5ab14cd30d))
36
+
2
37
  ### [4.83.2-alpha.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.83.1...v4.83.2-alpha.0) (2026-05-18)
3
38
 
4
39
 
@@ -6504,4 +6539,4 @@ Enjoy!
6504
6539
  * setPrimaryWallet and useSyncPrimaryWallet updates ([#2128](https://github.com/dynamic-labs/DynamicAuth/issues/2128)) ([fb47b17](https://github.com/dynamic-labs/DynamicAuth/commit/fb47b17ddc7f41c29f140a1a85a1e47dbf017fff))
6505
6540
  * update text color and add close button on extension not installed prompt ([#2122](https://github.com/dynamic-labs/DynamicAuth/issues/2122)) ([b4848a0](https://github.com/dynamic-labs/DynamicAuth/commit/b4848a0a8094b4ceac67e2667d277a9aa5e2e137))
6506
6541
 
6507
- ## [0.17.0-RC.16](https://github.com/dynamic-labs/Dyna
6542
+ ## [0.17.0-RC.16](https://github.com/dynamic-labs/Dyna
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.83.2-alpha.0";
6
+ var version = "4.84.1";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.83.2-alpha.0";
2
+ var version = "4.84.1";
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.83.2-alpha.0",
3
+ "version": "4.84.1",
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,16 @@
18
18
  "./package.json": "./package.json"
19
19
  },
20
20
  "dependencies": {
21
+ "@dynamic-labs/ethereum-gasless-core": "4.84.1",
21
22
  "@dynamic-labs/sdk-api-core": "0.0.985",
22
23
  "@dynamic-labs-sdk/client": "1.1.0",
23
- "@dynamic-labs/assert-package-version": "4.83.2-alpha.0",
24
- "@dynamic-labs/locale": "4.83.2-alpha.0",
25
- "@dynamic-labs/logger": "4.83.2-alpha.0",
26
- "@dynamic-labs/message-transport": "4.83.2-alpha.0",
27
- "@dynamic-labs/types": "4.83.2-alpha.0",
28
- "@dynamic-labs/wallet-connector-core": "4.83.2-alpha.0",
29
- "@dynamic-labs/webauthn": "4.83.2-alpha.0"
24
+ "@dynamic-labs/assert-package-version": "4.84.1",
25
+ "@dynamic-labs/locale": "4.84.1",
26
+ "@dynamic-labs/logger": "4.84.1",
27
+ "@dynamic-labs/message-transport": "4.84.1",
28
+ "@dynamic-labs/types": "4.84.1",
29
+ "@dynamic-labs/wallet-connector-core": "4.84.1",
30
+ "@dynamic-labs/webauthn": "4.84.1"
30
31
  },
31
32
  "peerDependencies": {}
32
33
  }
package/src/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export * from './lib/AuthModuleMessages';
3
3
  export * from './lib/BitcoinMessages';
4
4
  export * from './lib/ConsoleMessages';
5
5
  export * from './lib/EmbeddedWalletsModuleMessages';
6
+ export * from './lib/EthereumGaslessMessages';
6
7
  export * from './lib/EthMessages';
7
8
  export * from './lib/ExternalAuthMessages';
8
9
  export * from './lib/FetchMessages';
@@ -0,0 +1,62 @@
1
+ import type { SerializedAuthorization, SignedSponsoredTransaction, SponsoredTransactionStatusResult } from '@dynamic-labs/ethereum-gasless-core';
2
+ import { BaseWallet } from '@dynamic-labs/types';
3
+ /**
4
+ * Local alias for `viem`'s `Hex` type. `@dynamic-labs/webview-messages` is a
5
+ * chain-agnostic package and ESLint forbids it from depending on viem, so we
6
+ * mirror the `Hex` shape inline instead of importing it.
7
+ */
8
+ type Hex = `0x${string}`;
9
+ /**
10
+ * Wire-only projection of `SponsoredTransactionCall`. `bigint` does not survive
11
+ * `postMessage`, so the host serializes `value: bigint` to a string before the
12
+ * request crosses `messageTransport` and the controller deserializes it.
13
+ */
14
+ export type SponsoredTransactionCallWire = {
15
+ data: Hex;
16
+ target: Hex;
17
+ value: string;
18
+ };
19
+ /**
20
+ * Wire-only base shape for the send / relay / sign messages. Mirrors the
21
+ * unsigned-calls variant of the underlying SDK functions, with `bigint` values
22
+ * serialized to strings for transport.
23
+ */
24
+ export type EthereumGaslessUnsignedCallsArgs = {
25
+ wallet: BaseWallet;
26
+ calls: SponsoredTransactionCallWire[];
27
+ authorization?: SerializedAuthorization;
28
+ autoDelegate?: boolean;
29
+ validForSeconds?: number;
30
+ };
31
+ export type EthereumGaslessMessages = {
32
+ ethereumGasless_send: (params: EthereumGaslessUnsignedCallsArgs) => Promise<{
33
+ transactionHash: Hex;
34
+ }>;
35
+ ethereumGasless_relay: (params: EthereumGaslessUnsignedCallsArgs) => Promise<{
36
+ requestId: string;
37
+ }>;
38
+ ethereumGasless_sign: (params: EthereumGaslessUnsignedCallsArgs) => Promise<SignedSponsoredTransaction>;
39
+ ethereumGasless_waitFor: (params: {
40
+ requestId: string;
41
+ }) => Promise<{
42
+ transactionHash: Hex;
43
+ }>;
44
+ ethereumGasless_getStatus: (params: {
45
+ requestId: string;
46
+ }) => Promise<SponsoredTransactionStatusResult>;
47
+ ethereumGasless_sign7702Authorization: (params: {
48
+ wallet: BaseWallet;
49
+ chainId?: number;
50
+ }) => Promise<SerializedAuthorization>;
51
+ ethereumGasless_activate7702Delegation: (params: {
52
+ wallet: BaseWallet;
53
+ authorization?: SerializedAuthorization;
54
+ }) => Promise<{
55
+ transactionHash: Hex;
56
+ }>;
57
+ ethereumGasless_is7702DelegationActive: (params: {
58
+ wallet: BaseWallet;
59
+ }) => Promise<boolean>;
60
+ ethereumGasless_isEnabled: () => Promise<boolean>;
61
+ };
62
+ export {};
@@ -1,7 +1,11 @@
1
1
  export type ImportPrivateKeyArgs = {
2
+ chain?: string;
2
3
  privateKey: string;
3
4
  thresholdSignatureScheme?: string;
4
5
  publicAddressCheck?: string;
6
+ addressType?: string;
7
+ password?: string;
8
+ legacyWalletId?: string;
5
9
  };
6
10
  export type ExportClientKeysharesArgs = {
7
11
  accountAddress: string;
@@ -49,7 +53,13 @@ export type WalletRecoveryState = {
49
53
  isPasswordEncrypted: boolean;
50
54
  };
51
55
  export type WaasMessages = {
52
- waas_importPrivateKey: (walletId: string, args: ImportPrivateKeyArgs) => Promise<void>;
56
+ /**
57
+ * Either `walletId` or `args.chain` must be provided. If both are present,
58
+ * `args.chain` takes precedence. `walletId` is kept for backwards
59
+ * compatibility with older React Native clients; new callers should pass
60
+ * `undefined` for `walletId` and provide `args.chain` instead.
61
+ */
62
+ waas_importPrivateKey: (walletId: string | null, args: ImportPrivateKeyArgs) => Promise<void>;
53
63
  waas_exportClientKeyshares: (walletId: string, args: ExportClientKeysharesArgs) => Promise<void>;
54
64
  waas_backupKeySharesToGoogleDrive: (walletId: string, args: BackupKeySharesToGoogleDriveArgs) => Promise<void>;
55
65
  waas_delegateKeyShares: (walletId: string, args: DelegateKeySharesArgs) => Promise<void>;