@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.
- package/dist/{chunk-DHL3JOM5.js → chunk-ZNZ4MOY2.js} +14 -2
- package/dist/{chunk-DHL3JOM5.js.map → chunk-ZNZ4MOY2.js.map} +1 -1
- package/dist/{dist-OFL2PT32.js → dist-EFTMN6BY.js} +2 -2
- package/dist/{dist-E7D67PXG.js → dist-J7ICN5BN.js} +13 -2
- package/dist/{dist-E7D67PXG.js.map → dist-J7ICN5BN.js.map} +1 -1
- package/dist/index.js +3 -3
- package/package.json +3 -3
- /package/dist/{dist-OFL2PT32.js.map → dist-EFTMN6BY.js.map} +0 -0
|
@@ -16863,6 +16863,17 @@ async function addSwapToTx(tx, client, address, input) {
|
|
|
16863
16863
|
if (input.inputCoin) {
|
|
16864
16864
|
inputCoin = input.inputCoin;
|
|
16865
16865
|
effectiveRaw = requestedRaw;
|
|
16866
|
+
} else if (fromType === "0x2::sui::SUI") {
|
|
16867
|
+
const { selectSuiCoin: selectSuiCoin2 } = await Promise.resolve().then(() => (init_coinSelection(), coinSelection_exports));
|
|
16868
|
+
const result = await selectSuiCoin2(
|
|
16869
|
+
tx,
|
|
16870
|
+
client,
|
|
16871
|
+
address,
|
|
16872
|
+
requestedRaw,
|
|
16873
|
+
input.sponsoredContext ?? false
|
|
16874
|
+
);
|
|
16875
|
+
inputCoin = result.coin;
|
|
16876
|
+
effectiveRaw = result.effectiveAmount;
|
|
16866
16877
|
} else {
|
|
16867
16878
|
const { selectAndSplitCoin: selectAndSplitCoin2 } = await Promise.resolve().then(() => (init_coinSelection(), coinSelection_exports));
|
|
16868
16879
|
const result = await selectAndSplitCoin2(tx, client, address, fromType, requestedRaw);
|
|
@@ -23620,7 +23631,8 @@ var WRITE_APPENDER_REGISTRY = {
|
|
|
23620
23631
|
overlayFee: ctx.overlayFee,
|
|
23621
23632
|
providers,
|
|
23622
23633
|
inputCoin: ctx.chainedCoin,
|
|
23623
|
-
precomputedRoute: input.precomputedRoute
|
|
23634
|
+
precomputedRoute: input.precomputedRoute,
|
|
23635
|
+
sponsoredContext: ctx.sponsoredContext
|
|
23624
23636
|
});
|
|
23625
23637
|
if (!ctx.isOutputConsumed) {
|
|
23626
23638
|
tx.transferObjects([result.coin], ctx.sender);
|
|
@@ -24245,4 +24257,4 @@ axios/dist/node/axios.cjs:
|
|
|
24245
24257
|
@scure/bip39/index.js:
|
|
24246
24258
|
(*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) *)
|
|
24247
24259
|
*/
|
|
24248
|
-
//# sourceMappingURL=chunk-
|
|
24260
|
+
//# sourceMappingURL=chunk-ZNZ4MOY2.js.map
|