@magmaprotocol/magma-clmm-sdk 0.5.123 → 0.5.125
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.d.ts +0 -2
- package/dist/index.js +0 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -567,8 +567,6 @@ type CreatePoolAddLiquidityParams = CreatePoolParams & {
|
|
|
567
567
|
* The upper tick index for liquidity provision.
|
|
568
568
|
*/
|
|
569
569
|
tick_upper: number;
|
|
570
|
-
metadata_a: SuiObjectIdType;
|
|
571
|
-
metadata_b: SuiObjectIdType;
|
|
572
570
|
/**
|
|
573
571
|
* The allowed slippage percentage for the liquidity provision.
|
|
574
572
|
*/
|
package/dist/index.js
CHANGED
|
@@ -5593,9 +5593,6 @@ var PoolModule = class {
|
|
|
5593
5593
|
const swpaCoinTypeB = params.coinTypeB;
|
|
5594
5594
|
params.coinTypeB = params.coinTypeA;
|
|
5595
5595
|
params.coinTypeA = swpaCoinTypeB;
|
|
5596
|
-
const metadataB = params.metadata_b;
|
|
5597
|
-
params.metadata_b = params.metadata_a;
|
|
5598
|
-
params.metadata_a = metadataB;
|
|
5599
5596
|
}
|
|
5600
5597
|
return await this.createPoolAndAddLiquidity(params);
|
|
5601
5598
|
}
|
|
@@ -5609,9 +5606,6 @@ var PoolModule = class {
|
|
|
5609
5606
|
const swpaCoinTypeB = params.coinTypeB;
|
|
5610
5607
|
params.coinTypeB = params.coinTypeA;
|
|
5611
5608
|
params.coinTypeA = swpaCoinTypeB;
|
|
5612
|
-
const metadataB = params.metadata_b;
|
|
5613
|
-
params.metadata_b = params.metadata_a;
|
|
5614
|
-
params.metadata_a = metadataB;
|
|
5615
5609
|
}
|
|
5616
5610
|
return await this.createPoolAndAddLiquidity(params);
|
|
5617
5611
|
}
|