aftermath-ts-sdk 5.0.2-dev.b3ec308 → 5.1.0-dev.e1da74f
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 +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10837,7 +10837,8 @@ var init_pools = __esm({
|
|
|
10837
10837
|
* ```
|
|
10838
10838
|
*/
|
|
10839
10839
|
async getPublishLpCoinTransaction(inputs) {
|
|
10840
|
-
|
|
10840
|
+
const { tx } = await this.fetchApiTxObject("transactions/publish-lp-coin", inputs);
|
|
10841
|
+
return tx;
|
|
10841
10842
|
}
|
|
10842
10843
|
/**
|
|
10843
10844
|
* Builds an unsigned transaction that creates a new pool on chain.
|
|
@@ -10876,7 +10877,8 @@ var init_pools = __esm({
|
|
|
10876
10877
|
* ```
|
|
10877
10878
|
*/
|
|
10878
10879
|
async getCreatePoolTransaction(inputs) {
|
|
10879
|
-
|
|
10880
|
+
const { tx } = await this.fetchApiTxObject("transactions/create-pool", inputs);
|
|
10881
|
+
return tx;
|
|
10880
10882
|
}
|
|
10881
10883
|
/**
|
|
10882
10884
|
* Resolves LP coin types to pool object IDs.
|