@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
|
|
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
|
-
|
|
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({
|