@magmaprotocol/magma-clmm-sdk 0.5.15 → 0.5.16

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
@@ -9280,10 +9280,13 @@ var GaugeModule = class {
9280
9280
  coin_type_a: coins[0],
9281
9281
  coin_type_b: coins[1],
9282
9282
  liquidity: info.info.liquidity,
9283
- tick_lower_index: info.info.tick_lower_index.bits,
9284
- tick_upper_index: info.info.tick_upper_index.bits,
9283
+ tick_lower_index: asIntN(BigInt(info.info.tick_lower_index.bits)),
9284
+ tick_upper_index: asIntN(BigInt(info.info.tick_upper_index.bits)),
9285
9285
  pos_object_id: info.info.position_id,
9286
- pool: info.pool_id
9286
+ magma_distribution_staked: info.info.magma_distribution_staked,
9287
+ pool: info.pool_id,
9288
+ earned: info.earned,
9289
+ name: info.name
9287
9290
  });
9288
9291
  });
9289
9292
  });
@@ -9330,7 +9333,7 @@ var GaugeModule = class {
9330
9333
  sender: simulationAccount.address
9331
9334
  });
9332
9335
  if (simulateRes.error != null) {
9333
- throw new Error(`all_lock_summary error code: ${simulateRes.error ?? "unknown error"}`);
9336
+ throw new Error(`getPoolGaguers error code: ${simulateRes.error ?? "unknown error"}`);
9334
9337
  }
9335
9338
  const poolGauger = /* @__PURE__ */ new Map();
9336
9339
  simulateRes.events?.forEach((item) => {