aftermath-ts-sdk 3.3.1-dev.69fa3d6 → 3.3.1
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.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14063,7 +14063,7 @@ var init_router = __esm({
|
|
|
14063
14063
|
const { tx, ...otherInputs } = inputs;
|
|
14064
14064
|
const { tx: newTx, coinOutId } = await this.fetchApi("transactions/add-trade", {
|
|
14065
14065
|
...otherInputs,
|
|
14066
|
-
serializedTx:
|
|
14066
|
+
serializedTx: tx.serialize()
|
|
14067
14067
|
});
|
|
14068
14068
|
return {
|
|
14069
14069
|
tx: Transaction7.from(newTx),
|
|
@@ -15863,7 +15863,7 @@ var init_dynamicGas = __esm({
|
|
|
15863
15863
|
async getUseDynamicGasForTx(inputs) {
|
|
15864
15864
|
const { tx, walletAddress, gasCoinType } = inputs;
|
|
15865
15865
|
return this.fetchApi("", {
|
|
15866
|
-
serializedTx:
|
|
15866
|
+
serializedTx: tx.serialize(),
|
|
15867
15867
|
walletAddress,
|
|
15868
15868
|
gasCoinType
|
|
15869
15869
|
});
|