turing-wallet-provider 1.3.6 → 1.3.7

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/README.md CHANGED
@@ -47,13 +47,6 @@ const wallet = useTuringWallet();
47
47
  const { tbcAddress } = await wallet.getAddress(); //tbcAddress为string类型
48
48
  ```
49
49
 
50
- ## getBalance
51
-
52
- ```ts
53
- const wallet = useTuringWallet();
54
- const { tbc } = await wallet.getBalance(); //tbc为number类型,单位为tbc
55
- ```
56
-
57
50
  ## getInfo
58
51
 
59
52
  ```ts
@@ -6,10 +6,6 @@ export type Address = {
6
6
  tbcAddress: string;
7
7
  };
8
8
 
9
- export type Balance = {
10
- tbc: number;
11
- };
12
-
13
9
  export type Info = {
14
10
  name: string;
15
11
  platform: string;
@@ -112,7 +108,6 @@ export type TuringProviderType = {
112
108
  isConnected: () => Promise<boolean>;
113
109
  getPubKey: () => Promise<PubKey | undefined>;
114
110
  getAddress: () => Promise<Address | undefined>;
115
- getBalance: () => Promise<Balance | undefined>;
116
111
  getInfo: () => Promise<Info | undefined>;
117
112
  sendTransaction: (
118
113
  params: SendTransaction[]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turing-wallet-provider",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [