@reown/appkit 1.8.19-wcError.0 → 1.8.19

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.
@@ -1 +1 @@
1
- export declare const PACKAGE_VERSION = "1.8.19-wcError.0";
1
+ export declare const PACKAGE_VERSION = "1.8.19";
@@ -141,7 +141,7 @@ export declare abstract class AppKitBaseClient {
141
141
  getActiveChainNamespace: () => ChainNamespace | undefined;
142
142
  setRequestedCaipNetworks: (typeof ChainController)['setRequestedCaipNetworks'];
143
143
  getApprovedCaipNetworkIds: (typeof ChainController)['getAllApprovedCaipNetworkIds'];
144
- getCaipAddress: (chainNamespace?: ChainNamespace) => `eip155:${string}:${string}` | `eip155:${number}:${string}` | `solana:${string}:${string}` | `solana:${number}:${string}` | `polkadot:${string}:${string}` | `polkadot:${number}:${string}` | `bip122:${string}:${string}` | `bip122:${number}:${string}` | `cosmos:${string}:${string}` | `cosmos:${number}:${string}` | `sui:${string}:${string}` | `sui:${number}:${string}` | `stacks:${string}:${string}` | `stacks:${number}:${string}` | `ton:${string}:${string}` | `ton:${number}:${string}` | undefined;
144
+ getCaipAddress: (chainNamespace?: ChainNamespace) => `eip155:${string}:${string}` | `eip155:${number}:${string}` | `solana:${string}:${string}` | `solana:${number}:${string}` | `polkadot:${string}:${string}` | `polkadot:${number}:${string}` | `bip122:${string}:${string}` | `bip122:${number}:${string}` | `cosmos:${string}:${string}` | `cosmos:${number}:${string}` | `sui:${string}:${string}` | `sui:${number}:${string}` | `stacks:${string}:${string}` | `stacks:${number}:${string}` | `ton:${string}:${string}` | `ton:${number}:${string}` | `tron:${string}:${string}` | `tron:${number}:${string}` | undefined;
145
145
  setClientId: (typeof BlockchainApiController)['setClientId'];
146
146
  getProvider: <T>(namespace: ChainNamespace) => T | undefined;
147
147
  getProviderType: (namespace: ChainNamespace) => ConnectorType | undefined;
@@ -254,8 +254,16 @@ export declare abstract class AppKitBaseClient {
254
254
  type: "eoa";
255
255
  publicKey?: undefined;
256
256
  path?: undefined;
257
+ } | {
258
+ namespace: "tron";
259
+ address: string;
260
+ chainId?: import("@reown/appkit-common").ChainId;
261
+ caipAddress?: CaipAddress;
262
+ type: "eoa";
263
+ publicKey?: undefined;
264
+ path?: undefined;
257
265
  })[];
258
- caipAddress: `eip155:${string}:${string}` | `eip155:${number}:${string}` | `solana:${string}:${string}` | `solana:${number}:${string}` | `polkadot:${string}:${string}` | `polkadot:${number}:${string}` | `bip122:${string}:${string}` | `bip122:${number}:${string}` | `cosmos:${string}:${string}` | `cosmos:${number}:${string}` | `sui:${string}:${string}` | `sui:${number}:${string}` | `stacks:${string}:${string}` | `stacks:${number}:${string}` | `ton:${string}:${string}` | `ton:${number}:${string}` | undefined;
266
+ caipAddress: `eip155:${string}:${string}` | `eip155:${number}:${string}` | `solana:${string}:${string}` | `solana:${number}:${string}` | `polkadot:${string}:${string}` | `polkadot:${number}:${string}` | `bip122:${string}:${string}` | `bip122:${number}:${string}` | `cosmos:${string}:${string}` | `cosmos:${number}:${string}` | `sui:${string}:${string}` | `sui:${number}:${string}` | `stacks:${string}:${string}` | `stacks:${number}:${string}` | `ton:${string}:${string}` | `ton:${number}:${string}` | `tron:${string}:${string}` | `tron:${number}:${string}` | undefined;
259
267
  address: `0x${string}` | undefined;
260
268
  isConnected: boolean;
261
269
  status: "reconnecting" | "connected" | "disconnected" | "connecting" | undefined;
@@ -2,6 +2,7 @@ export * from 'viem/chains';
2
2
  export * from './solana/index.js';
3
3
  export * from './bitcoin.js';
4
4
  export * from './ton/index.js';
5
+ export * from './tron/index.js';
5
6
  export * from './utils.js';
6
7
  export type { AppKitNetwork, ChainNamespace } from '@reown/appkit-common';
7
8
  export { AVAILABLE_NAMESPACES } from '@reown/appkit-common';
@@ -0,0 +1,3 @@
1
+ export * from './tron.js';
2
+ export * from './tronShasta.js';
3
+ export * from './tronNile.js';
@@ -0,0 +1,54 @@
1
+ export declare const tronMainnet: {
2
+ blockExplorers: {
3
+ readonly default: {
4
+ readonly name: "Tronscan";
5
+ readonly url: "https://tronscan.org";
6
+ };
7
+ };
8
+ blockTime?: number | undefined | undefined;
9
+ contracts?: {
10
+ [x: string]: import("viem").ChainContract | {
11
+ [sourceId: number]: import("viem").ChainContract | undefined;
12
+ } | undefined;
13
+ ensRegistry?: import("viem").ChainContract | undefined;
14
+ ensUniversalResolver?: import("viem").ChainContract | undefined;
15
+ multicall3?: import("viem").ChainContract | undefined;
16
+ erc6492Verifier?: import("viem").ChainContract | undefined;
17
+ } | undefined;
18
+ ensTlds?: readonly string[] | undefined;
19
+ name: "TRON";
20
+ nativeCurrency: {
21
+ readonly name: "TRX";
22
+ readonly symbol: "TRX";
23
+ readonly decimals: 6;
24
+ };
25
+ experimental_preconfirmationTime?: number | undefined | undefined;
26
+ rpcUrls: {
27
+ readonly default: {
28
+ readonly http: readonly ["https://rpc.walletconnect.org/v1"];
29
+ };
30
+ };
31
+ sourceId?: number | undefined | undefined;
32
+ testnet: false;
33
+ custom?: Record<string, unknown> | undefined;
34
+ extendSchema?: Record<string, unknown> | undefined;
35
+ fees?: import("viem").ChainFees<undefined> | undefined;
36
+ formatters?: undefined;
37
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
38
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
39
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
40
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
41
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
42
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
43
+ }] | undefined;
44
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
45
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
46
+ id: "0x2b6653dc";
47
+ chainNamespace: "tron";
48
+ caipNetworkId: "tron:0x2b6653dc";
49
+ assets?: {
50
+ imageId: string | undefined;
51
+ imageUrl: string | undefined;
52
+ } | undefined;
53
+ readonly network: "tron-mainnet";
54
+ };
@@ -0,0 +1,54 @@
1
+ export declare const tronNileTestnet: {
2
+ blockExplorers: {
3
+ readonly default: {
4
+ readonly name: "Tronscan";
5
+ readonly url: "https://nile.tronscan.org";
6
+ };
7
+ };
8
+ blockTime?: number | undefined | undefined;
9
+ contracts?: {
10
+ [x: string]: import("viem").ChainContract | {
11
+ [sourceId: number]: import("viem").ChainContract | undefined;
12
+ } | undefined;
13
+ ensRegistry?: import("viem").ChainContract | undefined;
14
+ ensUniversalResolver?: import("viem").ChainContract | undefined;
15
+ multicall3?: import("viem").ChainContract | undefined;
16
+ erc6492Verifier?: import("viem").ChainContract | undefined;
17
+ } | undefined;
18
+ ensTlds?: readonly string[] | undefined;
19
+ name: "TRON Nile";
20
+ nativeCurrency: {
21
+ readonly name: "TRX";
22
+ readonly symbol: "TRX";
23
+ readonly decimals: 6;
24
+ };
25
+ experimental_preconfirmationTime?: number | undefined | undefined;
26
+ rpcUrls: {
27
+ readonly default: {
28
+ readonly http: readonly ["https://rpc.walletconnect.org/v1"];
29
+ };
30
+ };
31
+ sourceId?: number | undefined | undefined;
32
+ testnet: true;
33
+ custom?: Record<string, unknown> | undefined;
34
+ extendSchema?: Record<string, unknown> | undefined;
35
+ fees?: import("viem").ChainFees<undefined> | undefined;
36
+ formatters?: undefined;
37
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
38
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
39
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
40
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
41
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
42
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
43
+ }] | undefined;
44
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
45
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
46
+ id: "0xcd8690dc";
47
+ chainNamespace: "tron";
48
+ caipNetworkId: "tron:0xcd8690dc";
49
+ assets?: {
50
+ imageId: string | undefined;
51
+ imageUrl: string | undefined;
52
+ } | undefined;
53
+ readonly network: "tron-nile";
54
+ };
@@ -0,0 +1,54 @@
1
+ export declare const tronShastaTestnet: {
2
+ blockExplorers: {
3
+ readonly default: {
4
+ readonly name: "Tronscan";
5
+ readonly url: "https://shasta.tronscan.org";
6
+ };
7
+ };
8
+ blockTime?: number | undefined | undefined;
9
+ contracts?: {
10
+ [x: string]: import("viem").ChainContract | {
11
+ [sourceId: number]: import("viem").ChainContract | undefined;
12
+ } | undefined;
13
+ ensRegistry?: import("viem").ChainContract | undefined;
14
+ ensUniversalResolver?: import("viem").ChainContract | undefined;
15
+ multicall3?: import("viem").ChainContract | undefined;
16
+ erc6492Verifier?: import("viem").ChainContract | undefined;
17
+ } | undefined;
18
+ ensTlds?: readonly string[] | undefined;
19
+ name: "TRON Shasta";
20
+ nativeCurrency: {
21
+ readonly name: "TRX";
22
+ readonly symbol: "TRX";
23
+ readonly decimals: 6;
24
+ };
25
+ experimental_preconfirmationTime?: number | undefined | undefined;
26
+ rpcUrls: {
27
+ readonly default: {
28
+ readonly http: readonly ["https://rpc.walletconnect.org/v1"];
29
+ };
30
+ };
31
+ sourceId?: number | undefined | undefined;
32
+ testnet: true;
33
+ custom?: Record<string, unknown> | undefined;
34
+ extendSchema?: Record<string, unknown> | undefined;
35
+ fees?: import("viem").ChainFees<undefined> | undefined;
36
+ formatters?: undefined;
37
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
38
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
39
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
40
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
41
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
42
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
43
+ }] | undefined;
44
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
45
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
46
+ id: "0x94a9059e";
47
+ chainNamespace: "tron";
48
+ caipNetworkId: "tron:0x94a9059e";
49
+ assets?: {
50
+ imageId: string | undefined;
51
+ imageUrl: string | undefined;
52
+ } | undefined;
53
+ readonly network: "tron-shasta";
54
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit",
3
- "version": "1.8.19-wcError.0",
3
+ "version": "1.8.19",
4
4
  "type": "module",
5
5
  "main": "./dist/esm/exports/index.js",
6
6
  "types": "./dist/types/exports/index.d.ts",
@@ -103,22 +103,22 @@
103
103
  }
104
104
  },
105
105
  "dependencies": {
106
- "@walletconnect/universal-provider": "2.23.2",
106
+ "@walletconnect/universal-provider": "2.23.7",
107
107
  "bs58": "6.0.0",
108
108
  "semver": "7.7.2",
109
109
  "valtio": "2.1.7",
110
110
  "viem": ">=2.45.0",
111
- "@reown/appkit-common": "1.8.19-wcError.0",
112
- "@reown/appkit-controllers": "1.8.19-wcError.0",
113
- "@reown/appkit-pay": "1.8.19-wcError.0",
114
- "@reown/appkit-polyfills": "1.8.19-wcError.0",
115
- "@reown/appkit-scaffold-ui": "1.8.19-wcError.0",
116
- "@reown/appkit-ui": "1.8.19-wcError.0",
117
- "@reown/appkit-utils": "1.8.19-wcError.0",
118
- "@reown/appkit-wallet": "1.8.19-wcError.0"
111
+ "@reown/appkit-common": "1.8.19",
112
+ "@reown/appkit-controllers": "1.8.19",
113
+ "@reown/appkit-pay": "1.8.19",
114
+ "@reown/appkit-polyfills": "1.8.19",
115
+ "@reown/appkit-scaffold-ui": "1.8.19",
116
+ "@reown/appkit-ui": "1.8.19",
117
+ "@reown/appkit-utils": "1.8.19",
118
+ "@reown/appkit-wallet": "1.8.19"
119
119
  },
120
120
  "devDependencies": {
121
- "@walletconnect/types": "2.23.2",
121
+ "@walletconnect/types": "2.23.7",
122
122
  "@testing-library/react": "16.3.0",
123
123
  "@types/react": "19.1.15",
124
124
  "@types/react-dom": "19.1.9",
@@ -129,7 +129,7 @@
129
129
  "react-dom": "19.1.2",
130
130
  "vitest": "3.1.3",
131
131
  "vue": "3.x",
132
- "@reown/appkit-siwe": "1.8.19-wcError.0"
132
+ "@reown/appkit-siwe": "1.8.19"
133
133
  },
134
134
  "optionalDependencies": {
135
135
  "@lit/react": "1.0.8"