turing-wallet-provider 1.5.1 → 1.5.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.
package/README.md CHANGED
@@ -314,7 +314,7 @@ interface RequestParam {
314
314
  poolNFT_version?: 1 | 2; // 强制为 2,若提供为别的值转为 2
315
315
  serviceFeeRate?: number;
316
316
  serverProvider_tag?: string;
317
- lpPlan?: 1 | 2; // 默认 1
317
+ lpPlan?: 1 | 2 | 3 | 4 | 5; // 默认 1
318
318
  domain?: string;
319
319
  isLockTime?: boolean;
320
320
  lockTime?: number | string; // 锁仓至指定区块高度(POOLNFT 相关),或冻结至指定 unix 时间戳(STABLECOIN_FREEZE),大数请使用 string
@@ -481,12 +481,12 @@ const params = [
481
481
  ft_contract_address: "", // 必填,FT 合约地址
482
482
  serverProvider_tag: "", // 必填,服务提供商标签
483
483
  poolNFT_version: 2, // 可选,强制为 2
484
- serviceFeeRate: 25, // 可选,0-100 整数,默认 25
484
+ serviceFeeRate: 25, // 可选,正整数,默认 25
485
485
  with_lock: false, // 可选,默认 false;为 true 时创建带哈希锁的池子
486
486
  pubKeyLock: ["pubkey1", "pubkey2"], // with_lock 为 true 时必填
487
487
  lpCostAddress: "", // with_lock 为 true 时必填,扣除流动性添加成本的地址
488
488
  lpCostAmount: 0, // with_lock 为 true 时必填,扣除流动性添加成本的 TBC 数量
489
- lpPlan: 1, // 可选,1 或 2,默认 1
489
+ lpPlan: 1, // 可选,1-5,默认 1
490
490
  isLockTime: false, // 可选,默认 false
491
491
  broadcastEnabled: true, // 可选,默认 true
492
492
  domain: "", // 可选
@@ -600,7 +600,7 @@ const params = [
600
600
  address: "", // 必填,接收地址
601
601
  tbc_amount: 0, // 必填,用于交换的 TBC 数量
602
602
  poolNFT_version: 2, // 可选,强制为 2
603
- lpPlan: 1, // 可选,1 或 2,默认 1
603
+ lpPlan: 1, // 可选,1-5,默认 1
604
604
  broadcastEnabled: true, // 可选,默认 true
605
605
  domain: "", // 可选
606
606
  },
@@ -623,7 +623,7 @@ const params = [
623
623
  address: "", // 必填,接收地址
624
624
  ft_amount: 0, // 必填,用于交换的 FT 数量
625
625
  poolNFT_version: 2, // 可选,强制为 2
626
- lpPlan: 1, // 可选,1 或 2,默认 1
626
+ lpPlan: 1, // 可选,1-5,默认 1
627
627
  broadcastEnabled: true, // 可选,默认 true
628
628
  domain: "", // 可选
629
629
  },
@@ -62,7 +62,7 @@ export type SendTransaction = {
62
62
  poolNFT_version?: 1 | 2;
63
63
  serviceFeeRate?: number;
64
64
  serviceProvider_flag?: string;
65
- lpPlan?: 1 | 2;
65
+ lpPlan?: 1 | 2 | 3 | 4 | 5;
66
66
  domain?: string;
67
67
  isLockTime?: boolean;
68
68
  lockTime?: number | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turing-wallet-provider",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [