@meteora-ag/dlmm 1.6.0-rc.24 → 1.6.0-rc.25

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.mjs CHANGED
@@ -13567,7 +13567,7 @@ function createProgram(connection, opt) {
13567
13567
  AnchorProvider.defaultOptions()
13568
13568
  );
13569
13569
  return new Program2(
13570
- { ...dlmm_default, address: LBCLMM_PROGRAM_IDS[cluster] },
13570
+ { ...dlmm_default, address: opt?.programId ?? LBCLMM_PROGRAM_IDS[cluster] },
13571
13571
  provider
13572
13572
  );
13573
13573
  }
@@ -15258,7 +15258,6 @@ 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());
15262
15261
  while (!shouldStop) {
15263
15262
  const binArrayIndex = findNextBinArrayIndexWithLiquidity(
15264
15263
  swapForY,
@@ -15284,10 +15283,10 @@ var DLMM = class {
15284
15283
  const accountsToFetch = Array.from(binArraysPubkey).map(
15285
15284
  (pubkey) => new PublicKey10(pubkey)
15286
15285
  );
15287
- const binArraysAccInfoBuffer = (await chunkedGetMultipleAccountInfos(
15286
+ const binArraysAccInfoBuffer = await chunkedGetMultipleAccountInfos(
15288
15287
  this.program.provider.connection,
15289
15288
  accountsToFetch
15290
- )).filter(Boolean);
15289
+ );
15291
15290
  const binArrays = await Promise.all(
15292
15291
  binArraysAccInfoBuffer.map(async (accInfo, idx) => {
15293
15292
  const account = decodeAccount(