@cetusprotocol/sui-clmm-sdk 1.2.2 → 1.2.4

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.
@@ -105,8 +105,8 @@ const amount_b = fix_amount_a ? res.coin_amount_b.toNumber() : fix_coin_amount.t
105
105
  const coin_type_a = '0x3cfe7b9f6106808a8178ebd2d5ae6656cd0ccec15d33e63fd857c180bde8da75::coin:CetusUSDT'
106
106
  const coin_type_b = '0x3cfe7b9f6106808a8178ebd2d5ae6656cd0ccec15d33e63fd857c180bde8da75::coin::CetusUSDC'
107
107
 
108
- const coin_metadata_a_id = await suiClient.fetchCoinMetadata({coinType: coin_type_a}).id
109
- const coin_metadata_b_id = await suiClient.fetchCoinMetadata({coinType: coin_type_b}).id
108
+ const coin_metadata_a_id = await suiClient.fetchCoinMetadataId({coinType: coin_type_a})
109
+ const coin_metadata_b_id = await suiClient.fetchCoinMetadataId({coinType: coin_type_b})
110
110
 
111
111
  // Build createPoolPayload
112
112
  const create_pool_payload = sdk.Pool.createPoolPayload({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cetusprotocol/sui-clmm-sdk",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "SDK for cetus clmm",
5
5
  "typings": "dist/index.d.ts",
6
6
  "main": "dist/index.js",