@magmaprotocol/magma-clmm-sdk 0.5.60 → 0.5.61

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 CHANGED
@@ -1730,7 +1730,7 @@ type EventPositionLiquidity = {
1730
1730
  liquidity: number | string;
1731
1731
  x_equivalent: number | string;
1732
1732
  y_equivalent: number | string;
1733
- bin_ids: number[] | string[];
1733
+ bin_real_ids: number[];
1734
1734
  bin_x_eq: number[] | string[];
1735
1735
  bin_y_eq: number[] | string[];
1736
1736
  bin_liquidity: number[] | string[];
package/dist/index.js CHANGED
@@ -11247,7 +11247,7 @@ var DlmmModule = class {
11247
11247
  liquidity: 0,
11248
11248
  x_equivalent: 0,
11249
11249
  y_equivalent: 0,
11250
- bin_ids: [],
11250
+ bin_real_ids: [],
11251
11251
  bin_x_eq: [],
11252
11252
  bin_y_eq: [],
11253
11253
  bin_liquidity: []
@@ -11258,7 +11258,7 @@ var DlmmModule = class {
11258
11258
  out.liquidity = item.parsedJson.liquidity;
11259
11259
  out.x_equivalent = item.parsedJson.x_equivalent;
11260
11260
  out.y_equivalent = item.parsedJson.y_equivalent;
11261
- out.bin_ids = item.parsedJson.bin_ids;
11261
+ out.bin_real_ids = item.parsedJson.bin_ids.map((id) => (0, import_calc_dlmm3.get_real_id)(id));
11262
11262
  out.bin_x_eq = item.parsedJson.bin_x_eq;
11263
11263
  out.bin_y_eq = item.parsedJson.bin_y_eq;
11264
11264
  out.bin_liquidity = item.parsedJson.bin_liquidity;