aftermath-ts-sdk 5.0.2-dev.199e2ab → 5.0.2-dev.b3ec308

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
@@ -10837,8 +10837,7 @@ var init_pools = __esm({
10837
10837
  * ```
10838
10838
  */
10839
10839
  async getPublishLpCoinTransaction(inputs) {
10840
- const { tx } = await this.fetchApiTxObject("transactions/publish-lp-coin", inputs);
10841
- return tx;
10840
+ return this.fetchApiTransaction("transactions/publish-lp-coin", inputs);
10842
10841
  }
10843
10842
  /**
10844
10843
  * Builds an unsigned transaction that creates a new pool on chain.
@@ -10877,8 +10876,7 @@ var init_pools = __esm({
10877
10876
  * ```
10878
10877
  */
10879
10878
  async getCreatePoolTransaction(inputs) {
10880
- const { tx } = await this.fetchApiTxObject("transactions/create-pool", inputs);
10881
- return tx;
10879
+ return this.fetchApiTransaction("transactions/create-pool", inputs);
10882
10880
  }
10883
10881
  /**
10884
10882
  * Resolves LP coin types to pool object IDs.