@meteora-ag/dlmm 1.0.39-rc.21 → 1.0.39-rc.23

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
@@ -1227,11 +1227,6 @@ type LbClmm = {
1227
1227
  isMut: true;
1228
1228
  isSigner: false;
1229
1229
  },
1230
- {
1231
- name: "feeOwner";
1232
- isMut: false;
1233
- isSigner: true;
1234
- },
1235
1230
  {
1236
1231
  name: "tokenXProgram";
1237
1232
  isMut: false;
@@ -5316,7 +5311,7 @@ declare class DLMM {
5316
5311
  * @returns {Promise<Transaction>}
5317
5312
  */
5318
5313
  syncWithMarketPrice(marketPrice: number, owner: PublicKey): Promise<Transaction>;
5319
- getMaxPrice(minPrice: string, binArrays?: BinArrayAccount[]): Promise<number>;
5314
+ getMaxPrice(minPrice: string, binArrays?: BinArrayAccount[]): Promise<string>;
5320
5315
  /** Private static method */
5321
5316
  private static getBinArrays;
5322
5317
  private static getClaimableLMReward;
package/dist/index.js CHANGED
@@ -1231,11 +1231,6 @@ var IDL = {
1231
1231
  isMut: true,
1232
1232
  isSigner: false
1233
1233
  },
1234
- {
1235
- name: "feeOwner",
1236
- isMut: false,
1237
- isSigner: true
1238
- },
1239
1234
  {
1240
1235
  name: "tokenXProgram",
1241
1236
  isMut: false,
@@ -9925,7 +9920,9 @@ var DLMM = class {
9925
9920
  }
9926
9921
  }
9927
9922
  }
9928
- return Number(binPriceWithLastLiquidity) / (2 ** 64 - 1);
9923
+ return this.fromPricePerLamport(
9924
+ Number(binPriceWithLastLiquidity) / (2 ** 64 - 1)
9925
+ );
9929
9926
  }
9930
9927
  /** Private static method */
9931
9928
  static async getBinArrays(program, lbPairPubkey) {