@cetusprotocol/deepbook-utils 1.4.3 → 1.4.4

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/dist/index.d.ts CHANGED
@@ -424,7 +424,7 @@ declare class DeepbookUtilsModule implements IModule {
424
424
  amountToWithdraw: string;
425
425
  returnAssets?: boolean;
426
426
  txb?: Transaction;
427
- }): Transaction | _mysten_sui_transactions.TransactionResult;
427
+ }): Promise<Transaction | _mysten_sui_transactions.TransactionResult>;
428
428
  /**
429
429
  * Withdraws free balances from multiple managers into the owner account.
430
430
  */
@@ -1777,7 +1777,7 @@ declare class TransactionUtil {
1777
1777
  newTx?: Transaction;
1778
1778
  }>;
1779
1779
  static buildCoinForAmount(tx: Transaction, allCoins: CoinAsset[], amount: bigint, coinType: string, buildVector?: boolean, fixAmount?: boolean): BuildCoinResult;
1780
- private static buildCoin;
1780
+ static buildCoin(tx: Transaction, allCoins: CoinAsset[], coinAssets: CoinAsset[], amount: bigint, coinType: string, buildVector?: boolean, fixAmount?: boolean): BuildCoinResult;
1781
1781
  private static buildZeroValueCoin;
1782
1782
  static buildCoinForAmountInterval(tx: Transaction, allCoins: CoinAsset[], amounts: CoinInputInterval, coinType: string, buildVector?: boolean): BuildCoinResult;
1783
1783
  static callMintZeroValueCoin: (txb: Transaction, coinType: string) => _mysten_sui_transactions.TransactionResult;