@t2000/cli 2.14.0 → 2.14.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.
@@ -139,7 +139,7 @@ import {
139
139
  validateLabel,
140
140
  verifyCetusRouteCoinMatch,
141
141
  walletExists
142
- } from "./chunk-DHL3JOM5.js";
142
+ } from "./chunk-ZNZ4MOY2.js";
143
143
  import "./chunk-ZRPJE7U5.js";
144
144
  import "./chunk-OCLKPYUU.js";
145
145
  import "./chunk-SI54PO2N.js";
@@ -291,4 +291,4 @@ export {
291
291
  verifyCetusRouteCoinMatch,
292
292
  walletExists
293
293
  };
294
- //# sourceMappingURL=dist-OFL2PT32.js.map
294
+ //# sourceMappingURL=dist-EFTMN6BY.js.map
@@ -134297,6 +134297,17 @@ async function addSwapToTx(tx, client, address2, input) {
134297
134297
  if (input.inputCoin) {
134298
134298
  inputCoin = input.inputCoin;
134299
134299
  effectiveRaw = requestedRaw;
134300
+ } else if (fromType === "0x2::sui::SUI") {
134301
+ const { selectSuiCoin: selectSuiCoin2 } = await Promise.resolve().then(() => (init_coinSelection(), coinSelection_exports));
134302
+ const result = await selectSuiCoin2(
134303
+ tx,
134304
+ client,
134305
+ address2,
134306
+ requestedRaw,
134307
+ input.sponsoredContext ?? false
134308
+ );
134309
+ inputCoin = result.coin;
134310
+ effectiveRaw = result.effectiveAmount;
134300
134311
  } else {
134301
134312
  const { selectAndSplitCoin: selectAndSplitCoin2 } = await Promise.resolve().then(() => (init_coinSelection(), coinSelection_exports));
134302
134313
  const result = await selectAndSplitCoin2(tx, client, address2, fromType, requestedRaw);
@@ -141997,7 +142008,7 @@ ${context}
141997
142008
  })
141998
142009
  );
141999
142010
  }
142000
- var PKG_VERSION = "2.14.0";
142011
+ var PKG_VERSION = "2.14.2";
142001
142012
  console.log = (...args) => console.error("[log]", ...args);
142002
142013
  console.warn = (...args) => console.error("[warn]", ...args);
142003
142014
  async function startMcpServer(opts) {
@@ -142088,4 +142099,4 @@ axios/dist/node/axios.cjs:
142088
142099
  @scure/bip39/index.js:
142089
142100
  (*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) *)
142090
142101
  */
142091
- //# sourceMappingURL=dist-E7D67PXG.js.map
142102
+ //# sourceMappingURL=dist-J7ICN5BN.js.map