turing-wallet-provider 1.3.10 → 1.3.12

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
@@ -310,8 +310,8 @@ const params = [
310
310
  flag: "POOLNFT_MINT",
311
311
  ft_contract_address: "",
312
312
  poolNFT_version?: 2,
313
- serverProvider_tag: "",
314
- serviceFeeRate: 25, // poolNFT_version为2时此参数有效,默认为25
313
+ serverProvider_tag?: "",
314
+ serviceFeeRate?: 25, // poolNFT_version为2时此参数有效,默认为25
315
315
  with_lock?: false, //默认值为false,为true则创建带哈希锁的poolNFT
316
316
  pubKeyLock?: ["pubkey1", "pubkey2"],
317
317
  lpCostAddress?: "", //设置添加流动性扣款地址
@@ -334,7 +334,7 @@ const params = [{
334
334
  tbc_amount:30,
335
335
  ft_amount:1000,
336
336
  poolNFT_version?: 2,
337
- locktime?: 900000,锁仓至指定区块高度
337
+ lockTime?: 900000,锁仓至指定区块高度
338
338
  domain?: "",
339
339
  }];
340
340
  const { txid } = await wallet.sendTransaction(params);
@@ -349,7 +349,7 @@ const params = [{
349
349
  address:"",
350
350
  tbc_amount:3,
351
351
  poolNFT_version?: 2,
352
- locktime?: 900000,锁仓至指定区块高度
352
+ lockTime?: 900000,锁仓至指定区块高度
353
353
  domain?: "",
354
354
  }];
355
355
  const { txid } = await wallet.sendTransaction(params);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turing-wallet-provider",
3
- "version": "1.3.10",
3
+ "version": "1.3.12",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [