aftermath-ts-sdk 3.3.1 → 3.3.2-dev.78a381f

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 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: tx.serialize()
14066
+ serializedTx: await tx.toJSON()
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: tx.serialize(),
15866
+ serializedTx: await tx.toJSON(),
15867
15867
  walletAddress,
15868
15868
  gasCoinType
15869
15869
  });