@t2000/cli 1.6.0 → 1.7.0
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-JYCRPG45.js → chunk-33M73WY4.js} +9 -2
- package/dist/{chunk-JYCRPG45.js.map → chunk-33M73WY4.js.map} +1 -1
- package/dist/{dist-2AU3C2PU.js → dist-LMVL6TMD.js} +2 -2
- package/dist/{dist-YCYX7NPI.js → dist-OAYJYTLW.js} +2 -2
- package/dist/{dist-YCYX7NPI.js.map → dist-OAYJYTLW.js.map} +1 -1
- package/dist/index.js +3 -3
- package/package.json +3 -3
- /package/dist/{dist-2AU3C2PU.js.map → dist-LMVL6TMD.js.map} +0 -0
|
@@ -23781,6 +23781,9 @@ var WRITE_APPENDER_REGISTRY = {
|
|
|
23781
23781
|
assetInfo.type,
|
|
23782
23782
|
rawAmount
|
|
23783
23783
|
);
|
|
23784
|
+
if (ctx.feeHooks?.save_deposit) {
|
|
23785
|
+
await ctx.feeHooks.save_deposit({ tx, coin, input, sender: ctx.sender });
|
|
23786
|
+
}
|
|
23784
23787
|
await addSaveToTx(tx, ctx.client, ctx.sender, coin, { asset });
|
|
23785
23788
|
return {
|
|
23786
23789
|
toolName: "save_deposit",
|
|
@@ -23815,6 +23818,9 @@ var WRITE_APPENDER_REGISTRY = {
|
|
|
23815
23818
|
input.amount,
|
|
23816
23819
|
{ asset, skipPythUpdate: ctx.sponsoredContext }
|
|
23817
23820
|
);
|
|
23821
|
+
if (ctx.feeHooks?.borrow) {
|
|
23822
|
+
await ctx.feeHooks.borrow({ tx, coin, input, sender: ctx.sender });
|
|
23823
|
+
}
|
|
23818
23824
|
tx.transferObjects([coin], ctx.sender);
|
|
23819
23825
|
return { toolName: "borrow", effectiveAmount: input.amount, asset };
|
|
23820
23826
|
},
|
|
@@ -23962,7 +23968,8 @@ async function composeTx(opts) {
|
|
|
23962
23968
|
client: opts.client,
|
|
23963
23969
|
sender: opts.sender,
|
|
23964
23970
|
sponsoredContext: opts.sponsoredContext ?? false,
|
|
23965
|
-
overlayFee: opts.overlayFee
|
|
23971
|
+
overlayFee: opts.overlayFee,
|
|
23972
|
+
feeHooks: opts.feeHooks
|
|
23966
23973
|
};
|
|
23967
23974
|
const previews = [];
|
|
23968
23975
|
for (const step of opts.steps) {
|
|
@@ -24329,4 +24336,4 @@ axios/dist/node/axios.cjs:
|
|
|
24329
24336
|
@scure/bip39/index.js:
|
|
24330
24337
|
(*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) *)
|
|
24331
24338
|
*/
|
|
24332
|
-
//# sourceMappingURL=chunk-
|
|
24339
|
+
//# sourceMappingURL=chunk-33M73WY4.js.map
|