@7kprotocol/sdk-ts 1.2.0 → 1.2.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 +5 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -44,7 +44,7 @@ const tx = await buildTx({
44
44
  accountAddress: "0xSenderAddress",
45
45
  slippage: 0.01, // 1%
46
46
  commission: {
47
- partner: "<address to receive partner fee if any>",
47
+ partner: "<address to receive fee if any>",
48
48
  commissionBps: 0, // 0 means no fee, 1bps = 0.01%, for example, 20bps = 0.2%
49
49
  },
50
50
  });
@@ -64,7 +64,7 @@ await buildTx({
64
64
  accountAddress: "0xSenderAddress",
65
65
  slippage: 0.01, // 1%
66
66
  commission: {
67
- partner: "<address to receive partner fee if any>",
67
+ partner: "<address to receive fee if any>",
68
68
  commissionBps: 0, // 0 means no fee, 1bps = 0.01%, for example, 20bps = 0.2%
69
69
  },
70
70
  });
@@ -92,7 +92,7 @@ const tx = await buildTx({
92
92
  accountAddress: "0xSenderAddress",
93
93
  slippage: 0.01, // 1%
94
94
  commission: {
95
- partner: "<address to receive partner fee if any>",
95
+ partner: "<address to receive fee if any>",
96
96
  commissionBps: 0, // 0 means no fee, 1bps = 0.01%, for example, 20bps = 0.2%
97
97
  },
98
98
  });
@@ -110,7 +110,7 @@ const feeInUsd = await estimateGasFee({
110
110
  accountAddress: "0xSenderAddress",
111
111
  slippage: 0.01, // 1%
112
112
  commission: {
113
- partner: "<address to receive partner fee if any>",
113
+ partner: "<address to receive fee if any>",
114
114
  commissionBps: 0, // 0 means no fee, 1bps = 0.01%, for example, 20bps = 0.2%
115
115
  },
116
116
  });
@@ -130,7 +130,7 @@ const feeInUsd = await estimateGasFee({
130
130
  slippage: 0.01, // 1%
131
131
  suiPrice,
132
132
  commission: {
133
- partner: "<address to receive partner fee if any>",
133
+ partner: "<address to receive fee if any>",
134
134
  commissionBps: 0, // 0 means no fee, 1bps = 0.01%, for example, 20bps = 0.2%
135
135
  },
136
136
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@7kprotocol/sdk-ts",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {