@reown/appkit-utils 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.
@@ -0,0 +1 @@
1
+ export type * from '../src/tron/TronTypesUtil.js';
@@ -0,0 +1,24 @@
1
+ import type { CaipNetwork } from '@reown/appkit-common';
2
+ import type { Connector, Provider } from '@reown/appkit-controllers';
3
+ interface ChainAdapterConnector extends Connector {
4
+ chains: CaipNetwork[];
5
+ }
6
+ export interface TronConnector extends ChainAdapterConnector, Provider {
7
+ chains: CaipNetwork[];
8
+ signMessage(params: TronConnector.SignMessageParams): Promise<string>;
9
+ sendTransaction(params: TronConnector.SendTransactionParams): Promise<string>;
10
+ switchNetwork(chainId: string): Promise<void>;
11
+ }
12
+ export declare namespace TronConnector {
13
+ type SignMessageParams = {
14
+ message: string;
15
+ from: string;
16
+ };
17
+ type SendTransactionParams = {
18
+ to: string;
19
+ from: string;
20
+ value: string;
21
+ data?: string;
22
+ };
23
+ }
24
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit-utils",
3
- "version": "1.8.19-wcError.0",
3
+ "version": "1.8.19",
4
4
  "sideEffects": false,
5
5
  "type": "module",
6
6
  "main": "./dist/esm/exports/index.js",
@@ -40,6 +40,11 @@
40
40
  "types": "./dist/types/exports/ton.d.ts",
41
41
  "import": "./dist/esm/exports/ton.js",
42
42
  "default": "./dist/esm/exports/ton.js"
43
+ },
44
+ "./tron": {
45
+ "types": "./dist/types/exports/tron.d.ts",
46
+ "import": "./dist/esm/exports/tron.js",
47
+ "default": "./dist/esm/exports/tron.js"
43
48
  }
44
49
  },
45
50
  "typesVersions": {
@@ -52,19 +57,22 @@
52
57
  ],
53
58
  "ton": [
54
59
  "./dist/types/exports/ton.d.ts"
60
+ ],
61
+ "tron": [
62
+ "./dist/types/exports/tron.d.ts"
55
63
  ]
56
64
  }
57
65
  },
58
66
  "dependencies": {
59
67
  "@wallet-standard/wallet": "1.1.0",
60
68
  "@walletconnect/logger": "3.0.2",
61
- "@walletconnect/universal-provider": "2.23.2",
69
+ "@walletconnect/universal-provider": "2.23.7",
62
70
  "valtio": "2.1.7",
63
71
  "viem": ">=2.45.0",
64
- "@reown/appkit-common": "1.8.19-wcError.0",
65
- "@reown/appkit-controllers": "1.8.19-wcError.0",
66
- "@reown/appkit-polyfills": "1.8.19-wcError.0",
67
- "@reown/appkit-wallet": "1.8.19-wcError.0"
72
+ "@reown/appkit-common": "1.8.19",
73
+ "@reown/appkit-controllers": "1.8.19",
74
+ "@reown/appkit-polyfills": "1.8.19",
75
+ "@reown/appkit-wallet": "1.8.19"
68
76
  },
69
77
  "optionalDependencies": {
70
78
  "@base-org/account": "2.4.0",
@@ -72,7 +80,7 @@
72
80
  "@safe-global/safe-apps-sdk": "9.1.0"
73
81
  },
74
82
  "devDependencies": {
75
- "@walletconnect/types": "2.23.2",
83
+ "@walletconnect/types": "2.23.7",
76
84
  "bs58": "6.0.0",
77
85
  "@solana/web3.js": "1.98.4",
78
86
  "@wallet-standard/features": "1.1.0",