@meteora-ag/dlmm 1.6.0-rc.22 → 1.6.0-rc.24
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.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15258,6 +15258,7 @@ var DLMM = class {
|
|
|
15258
15258
|
const binArraysPubkey = /* @__PURE__ */ new Set();
|
|
15259
15259
|
let shouldStop = false;
|
|
15260
15260
|
let activeIdToLoop = this.lbPair.activeId;
|
|
15261
|
+
console.log(this.program.programId.toBase58());
|
|
15261
15262
|
while (!shouldStop) {
|
|
15262
15263
|
const binArrayIndex = findNextBinArrayIndexWithLiquidity(
|
|
15263
15264
|
swapForY,
|
|
@@ -15283,10 +15284,10 @@ var DLMM = class {
|
|
|
15283
15284
|
const accountsToFetch = Array.from(binArraysPubkey).map(
|
|
15284
15285
|
(pubkey) => new (0, _web3js.PublicKey)(pubkey)
|
|
15285
15286
|
);
|
|
15286
|
-
const binArraysAccInfoBuffer = await chunkedGetMultipleAccountInfos(
|
|
15287
|
+
const binArraysAccInfoBuffer = (await chunkedGetMultipleAccountInfos(
|
|
15287
15288
|
this.program.provider.connection,
|
|
15288
15289
|
accountsToFetch
|
|
15289
|
-
);
|
|
15290
|
+
)).filter(Boolean);
|
|
15290
15291
|
const binArrays = await Promise.all(
|
|
15291
15292
|
binArraysAccInfoBuffer.map(async (accInfo, idx) => {
|
|
15292
15293
|
const account = decodeAccount(
|