@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.mjs CHANGED
@@ -9077,10 +9077,13 @@ var GaugeModule = class {
9077
9077
  coin_type_a: coins[0],
9078
9078
  coin_type_b: coins[1],
9079
9079
  liquidity: info.info.liquidity,
9080
- tick_lower_index: info.info.tick_lower_index.bits,
9081
- tick_upper_index: info.info.tick_upper_index.bits,
9080
+ tick_lower_index: asIntN(BigInt(info.info.tick_lower_index.bits)),
9081
+ tick_upper_index: asIntN(BigInt(info.info.tick_upper_index.bits)),
9082
9082
  pos_object_id: info.info.position_id,
9083
- pool: info.pool_id
9083
+ magma_distribution_staked: info.info.magma_distribution_staked,
9084
+ pool: info.pool_id,
9085
+ earned: info.earned,
9086
+ name: info.name
9084
9087
  });
9085
9088
  });
9086
9089
  });
@@ -9127,7 +9130,7 @@ var GaugeModule = class {
9127
9130
  sender: simulationAccount.address
9128
9131
  });
9129
9132
  if (simulateRes.error != null) {
9130
- throw new Error(`all_lock_summary error code: ${simulateRes.error ?? "unknown error"}`);
9133
+ throw new Error(`getPoolGaguers error code: ${simulateRes.error ?? "unknown error"}`);
9131
9134
  }
9132
9135
  const poolGauger = /* @__PURE__ */ new Map();
9133
9136
  simulateRes.events?.forEach((item) => {