turing-wallet-provider 1.2.0 → 1.2.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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -165,8 +165,8 @@ interface RequestParam = {
165
165
  ft_amount?: number;
166
166
  merge_times?:number;
167
167
  with_lock? boolean;
168
- poolNFT_version?: number; // 1或2
169
- serviceFeeRate?: number; // 0-100
168
+ poolNFT_version?: number; // 1或2
169
+ serviceFeeRate?: number; // 0-100 poolNFT_version为2有效 默认为25
170
170
  };
171
171
 
172
172
  const params = [param:RequestParam] //目前参数里只能放一个对象,有批量发送需求再扩展
@@ -178,7 +178,7 @@ const params = [param:RequestParam] //目前参数里只能放一个对象,有
178
178
  const params = [{
179
179
  flag:"P2PKH",
180
180
  satoshis: 1000,
181
- addres: "",
181
+ address: "",
182
182
  }] ;
183
183
  const { txid } = await wallet.sendTransaction(params);
184
184
  ```
@@ -210,7 +210,7 @@ const { txid } = await wallet.sendTransaction(params);
210
210
  const params = [{
211
211
  flag:"NFT_TRANSFER",
212
212
  nft_contract_address:"",
213
- addres:""
213
+ address:""
214
214
  }];
215
215
  const { txid } = await wallet.sendTransaction(params);
216
216
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turing-wallet-provider",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [