@typus/typus-sdk 1.6.4-tk8 → 1.6.4-tk9

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.
@@ -124,7 +124,7 @@ export declare function getTransferBidReceiptTx(config: TypusConfig, tx: Transac
124
124
  export declare function getSplitBidReceiptTx(config: TypusConfig, tx: Transaction, input: {
125
125
  index: string;
126
126
  receipts: string[];
127
- share: string;
127
+ share?: string;
128
128
  recipient: string;
129
129
  }): import("@mysten/sui/transactions").TransactionResult;
130
130
  export declare function getMultiTransferBidReceiptTx(config: TypusConfig, input: {
@@ -26,7 +26,6 @@ exports.getSplitBidReceiptTx = getSplitBidReceiptTx;
26
26
  exports.getMultiTransferBidReceiptTx = getMultiTransferBidReceiptTx;
27
27
  exports.getRebateTx = getRebateTx;
28
28
  exports.getCompoundWithRedeemTx = getCompoundWithRedeemTx;
29
- var bcs_1 = require("@mysten/sui/bcs");
30
29
  var transactions_1 = require("@mysten/sui/transactions");
31
30
  var constants_1 = require("../../src/constants");
32
31
  var utils_1 = require("../../src/utils");
@@ -295,8 +294,7 @@ function getSplitBidReceiptTx(config, tx, input) {
295
294
  type: "".concat(config.packageOrigin.framework, "::vault::TypusBidReceipt"),
296
295
  elements: input.receipts.map(function (receipt) { return tx.object(receipt); }),
297
296
  }),
298
- // tx.pure([input.share]),
299
- tx.pure(bcs_1.bcs.vector(bcs_1.bcs.U64).serialize([input.share])),
297
+ tx.pure.option("u64", input.share),
300
298
  ],
301
299
  });
302
300
  var unwrap0 = tx.moveCall({
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@typus/typus-sdk",
3
3
  "author": "Typus",
4
4
  "description": "typus sdk",
5
- "version": "1.6.4-tk8",
5
+ "version": "1.6.4-tk9",
6
6
  "dependencies": {
7
7
  "@mysten/bcs": "^0.11.1",
8
8
  "@mysten/kiosk": "0.9.34",