@magmaprotocol/magma-clmm-sdk 0.5.82 → 0.5.83

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
@@ -1722,6 +1722,7 @@ type EventBin = {
1722
1722
  rewarder_growth: number[] | string[];
1723
1723
  distribution_growth: number | string;
1724
1724
  distribution_last_updated: number | string;
1725
+ real_bin_id: number;
1725
1726
  };
1726
1727
  type EventPositionLiquidity = {
1727
1728
  shares: number | string;
package/dist/index.js CHANGED
@@ -11029,7 +11029,10 @@ var DlmmModule = class {
11029
11029
  res = bins;
11030
11030
  }
11031
11031
  });
11032
- return res;
11032
+ res.forEach((bin) => {
11033
+ bin.real_bin_id = (0, import_calc_dlmm3.get_real_id)(Number(bin.storage_id));
11034
+ });
11035
+ return res.sort((a, b) => a.real_bin_id - b.real_bin_id);
11033
11036
  }
11034
11037
  /**
11035
11038
  * Gets a list of positions for the given account address.