turing-wallet-provider 1.4.0 → 1.4.2

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 +0 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -293,12 +293,10 @@ const params = [
293
293
  {
294
294
  flag: "FT_MINT",
295
295
  ft_data: "",
296
- broadcastEnabled?:true,
297
296
  domain?: "",
298
297
  },
299
298
  ];
300
299
  const { txid } = await wallet.sendTransaction(params);
301
- //const { txraw } = await wallet.sendTransaction(params);broadcastEnabled为false
302
300
  //const { error } = await wallet.sendTransaction(params);构建或广播交易时出现错误
303
301
  ```
304
302
 
@@ -337,12 +335,10 @@ const params = [
337
335
  lpCostAmount?: 5, //设置添加流动性扣款TBC数量
338
336
  lpPlan?: 1, //默认值为1
339
337
  isLockTime?: false, //是否具备锁仓功能 默认为false
340
- broadcastEnabled?:true,
341
338
  domain?: "",
342
339
  },
343
340
  ];
344
341
  const { txid } = await wallet.sendTransaction(params);
345
- //const { txraw } = await wallet.sendTransaction(params);broadcastEnabled为false
346
342
  //const { error } = await wallet.sendTransaction(params);构建或广播交易时出现错误
347
343
  ```
348
344
 
@@ -471,12 +467,10 @@ const params = [
471
467
  nft_contract_address: "",
472
468
  poolNFT_version?: 2,
473
469
  merge_times?: 10, //1-10次 默认为10次 不足10次会提前终止
474
- broadcastEnabled?:true,
475
470
  domain?: "",
476
471
  },
477
472
  ];
478
473
  const { txid } = await wallet.sendTransaction(params);
479
- //const { txraw } = await wallet.sendTransaction(params);broadcastEnabled为false
480
474
  //const { error } = await wallet.sendTransaction(params);构建或广播交易时出现错误
481
475
  ```
482
476
 
@@ -489,11 +483,9 @@ const params = [
489
483
  nft_contract_address: "",
490
484
  poolNFT_version?: 2,
491
485
  lockTime?: 900000, //用于手动设置解锁参数,设置为可解锁的最大高度。若不带此参数情况下若带有锁仓,会自动设置解锁参数为 (当前区块高度 - 2)
492
- broadcastEnabled?:true,
493
486
  domain?: "",
494
487
  },
495
488
  ];
496
489
  const { txid } = await wallet.sendTransaction(params);
497
- //const { txraw } = await wallet.sendTransaction(params);broadcastEnabled为false
498
490
  //const { error } = await wallet.sendTransaction(params);构建或广播交易时出现错误
499
491
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turing-wallet-provider",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [