@meteora-ag/dlmm 1.0.39-rc.22 → 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 +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5311,7 +5311,7 @@ declare class DLMM {
|
|
|
5311
5311
|
* @returns {Promise<Transaction>}
|
|
5312
5312
|
*/
|
|
5313
5313
|
syncWithMarketPrice(marketPrice: number, owner: PublicKey): Promise<Transaction>;
|
|
5314
|
-
getMaxPrice(minPrice: string, binArrays?: BinArrayAccount[]): Promise<
|
|
5314
|
+
getMaxPrice(minPrice: string, binArrays?: BinArrayAccount[]): Promise<string>;
|
|
5315
5315
|
/** Private static method */
|
|
5316
5316
|
private static getBinArrays;
|
|
5317
5317
|
private static getClaimableLMReward;
|
package/dist/index.js
CHANGED
|
@@ -9920,7 +9920,9 @@ var DLMM = class {
|
|
|
9920
9920
|
}
|
|
9921
9921
|
}
|
|
9922
9922
|
}
|
|
9923
|
-
return
|
|
9923
|
+
return this.fromPricePerLamport(
|
|
9924
|
+
Number(binPriceWithLastLiquidity) / (2 ** 64 - 1)
|
|
9925
|
+
);
|
|
9924
9926
|
}
|
|
9925
9927
|
/** Private static method */
|
|
9926
9928
|
static async getBinArrays(program, lbPairPubkey) {
|