@dynamic-labs/webview-messages 5.20.0 → 5.21.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 CHANGED
@@ -1,4 +1,17 @@
1
1
 
2
+ ## [5.21.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.20.0...v5.21.0) (2026-11-26)
3
+
4
+
5
+ ### Features
6
+
7
+ * **sdk-react-core:** export hasElevatedAccessToken ([#12835](https://github.com/dynamic-labs/dynamic-auth/issues/12835)) ([671c52f](https://github.com/dynamic-labs/dynamic-auth/commit/671c52f8f2d7c715de30c2b6daa714f293b947bc))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * **aleo:** pin [@provablehq](https://github.com/provablehq) packages to matching 1.0.0 set ([#12445](https://github.com/dynamic-labs/dynamic-auth/issues/12445)) ([ad73fb3](https://github.com/dynamic-labs/dynamic-auth/commit/ad73fb33a1ed911bb3f629861499c2f87c7a13f4))
13
+ * **sdk-react-core:** match wallet connectors by name with the chain suffix ([#12836](https://github.com/dynamic-labs/dynamic-auth/issues/12836)) ([9366ab7](https://github.com/dynamic-labs/dynamic-auth/commit/9366ab7d25f2e7bd501073d96c44b1244faf2b4c))
14
+
2
15
  ## [5.20.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.19.0...v5.20.0) (2026-11-20)
3
16
 
4
17
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "5.20.0";
6
+ var version = "5.21.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "5.20.0";
2
+ var version = "5.21.0";
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.20.0",
3
+ "version": "5.21.0",
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.20.0",
22
- "@dynamic-labs/sdk-api-core": "0.181.0",
23
- "@dynamic-labs-sdk/client": "1.53.0",
24
- "@dynamic-labs-wallet/core": "1.1.71",
25
- "@dynamic-labs/assert-package-version": "5.20.0",
26
- "@dynamic-labs/locale": "5.20.0",
27
- "@dynamic-labs/logger": "5.20.0",
28
- "@dynamic-labs/message-transport": "5.20.0",
29
- "@dynamic-labs/types": "5.20.0",
30
- "@dynamic-labs/wallet-connector-core": "5.20.0",
31
- "@dynamic-labs/webauthn": "5.20.0"
21
+ "@dynamic-labs/ethereum-gasless-core": "5.21.0",
22
+ "@dynamic-labs/sdk-api-core": "0.187.0",
23
+ "@dynamic-labs-sdk/client": "1.55.0",
24
+ "@dynamic-labs-wallet/core": "1.1.78",
25
+ "@dynamic-labs/assert-package-version": "5.21.0",
26
+ "@dynamic-labs/locale": "5.21.0",
27
+ "@dynamic-labs/logger": "5.21.0",
28
+ "@dynamic-labs/message-transport": "5.21.0",
29
+ "@dynamic-labs/types": "5.21.0",
30
+ "@dynamic-labs/wallet-connector-core": "5.21.0",
31
+ "@dynamic-labs/webauthn": "5.21.0"
32
32
  },
33
33
  "peerDependencies": {}
34
34
  }
package/src/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './lib/AccountAbstractionMessages';
2
+ export * from './lib/AleoMessages';
2
3
  export * from './lib/AuthModuleMessages';
3
4
  export * from './lib/BitcoinMessages';
4
5
  export * from './lib/BusinessAccountsMessages';
@@ -12,6 +13,7 @@ export * from './lib/FetchMessages';
12
13
  export * from './lib/GlobalWalletModuleMessages';
13
14
  export * from './lib/LocaleModuleMessages';
14
15
  export * from './lib/MfaMessages';
16
+ export * from './lib/MidnightMessages';
15
17
  export * from './lib/NetworksModuleMessages';
16
18
  export * from './lib/OtpMessages';
17
19
  export * from './lib/PasskeyMessages';
@@ -24,6 +26,7 @@ export * from './lib/StellarMessages';
24
26
  export * from './lib/StepUpAuthMessages';
25
27
  export * from './lib/StorageMessages';
26
28
  export * from './lib/SuiMessages';
29
+ export * from './lib/TempoMessages';
27
30
  export * from './lib/TonMessages';
28
31
  export * from './lib/TronMessages';
29
32
  export * from './lib/TurnkeyIframeEventProxyMessages';
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Messages exchanged for Aleo requests.
3
+ */
4
+ export type AleoMessages = {
5
+ aleo_signMessage: (arg: {
6
+ walletId: string;
7
+ message: string;
8
+ }) => Promise<{
9
+ signature: string;
10
+ }>;
11
+ aleo_sendBalance: (arg: {
12
+ walletId: string;
13
+ toAddress: string;
14
+ amount: string;
15
+ /** Token contract address. Omit for native credits */
16
+ tokenAddress?: string;
17
+ tokenDecimals?: number;
18
+ /** 'individual' consumes a private record; 'exchange' settles publicly */
19
+ mode?: 'exchange' | 'individual';
20
+ }) => Promise<{
21
+ hash: string;
22
+ }>;
23
+ aleo_getBalance: (arg: {
24
+ walletId: string;
25
+ }) => Promise<{
26
+ balance: string;
27
+ }>;
28
+ aleo_getNetwork: (arg: {
29
+ walletId: string;
30
+ }) => Promise<{
31
+ network: string;
32
+ }>;
33
+ };
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Messages exchanged for Midnight requests.
3
+ */
4
+ export type MidnightMessages = {
5
+ midnight_signMessage: (arg: {
6
+ walletId: string;
7
+ message: string;
8
+ }) => Promise<{
9
+ signature: string;
10
+ }>;
11
+ midnight_sendBalance: (arg: {
12
+ walletId: string;
13
+ toAddress: string;
14
+ amount: string;
15
+ /** Token type. Omit for the native token */
16
+ tokenAddress?: string;
17
+ tokenDecimals?: number;
18
+ }) => Promise<{
19
+ hash: string;
20
+ }>;
21
+ midnight_getBalance: (arg: {
22
+ walletId: string;
23
+ }) => Promise<{
24
+ balance: string;
25
+ }>;
26
+ midnight_getNetwork: (arg: {
27
+ walletId: string;
28
+ }) => Promise<{
29
+ network: string | number;
30
+ }>;
31
+ };
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Messages exchanged for Tempo requests.
3
+ */
4
+ export type TempoMessages = {
5
+ tempo_signMessage: (arg: {
6
+ walletId: string;
7
+ message: string;
8
+ }) => Promise<{
9
+ signature: string;
10
+ }>;
11
+ tempo_sendBalance: (arg: {
12
+ walletId: string;
13
+ toAddress: string;
14
+ amount: string;
15
+ /** TIP-20 token contract address. Tempo has no native token */
16
+ tokenAddress: string;
17
+ /** Defaults to 6 (TIP-20) */
18
+ tokenDecimals?: number;
19
+ }) => Promise<{
20
+ hash: string;
21
+ }>;
22
+ tempo_getBalance: (arg: {
23
+ walletId: string;
24
+ /** TIP-20 token contract address. Omit for the native balance (always 0) */
25
+ tokenAddress?: string;
26
+ /** Defaults to 6 (TIP-20) */
27
+ tokenDecimals?: number;
28
+ }) => Promise<{
29
+ balance: string;
30
+ }>;
31
+ tempo_getNetwork: (arg: {
32
+ walletId: string;
33
+ }) => Promise<{
34
+ network: string | number;
35
+ }>;
36
+ };