@meteora-ag/dlmm 1.3.9-dp.1 → 1.3.9-dp.2
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7770,7 +7770,7 @@ declare class DLMM {
|
|
|
7770
7770
|
quoteCreatePosition({ strategy }: TQuoteCreatePositionParams): Promise<{
|
|
7771
7771
|
binArraysCount: number;
|
|
7772
7772
|
binArrayCost: number;
|
|
7773
|
-
positionCost:
|
|
7773
|
+
positionCost: number;
|
|
7774
7774
|
}>;
|
|
7775
7775
|
/**
|
|
7776
7776
|
* Creates an empty position and initializes the corresponding bin arrays if needed.
|
package/dist/index.js
CHANGED
|
@@ -11712,7 +11712,7 @@ var DLMM = class {
|
|
|
11712
11712
|
const binArraysCount = (await this.binArraysToBeCreate(lowerBinArrayIndex, upperBinArrayIndex)).length;
|
|
11713
11713
|
const binArrayCost = binArraysCount * BIN_ARRAY_FEE;
|
|
11714
11714
|
const binCount = maxBinId - minBinId + 1;
|
|
11715
|
-
const positionCost = getPositionRentExemption(
|
|
11715
|
+
const positionCost = await getPositionRentExemption(
|
|
11716
11716
|
this.program.provider.connection,
|
|
11717
11717
|
new (0, _anchor.BN)(binCount)
|
|
11718
11718
|
);
|