@meteora-ag/dlmm 1.6.0-rc.23 → 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.js +29 -29
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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
|
}
|
|
@@ -15283,10 +15283,10 @@ var DLMM = class {
|
|
|
15283
15283
|
const accountsToFetch = Array.from(binArraysPubkey).map(
|
|
15284
15284
|
(pubkey) => new PublicKey10(pubkey)
|
|
15285
15285
|
);
|
|
15286
|
-
const binArraysAccInfoBuffer =
|
|
15286
|
+
const binArraysAccInfoBuffer = await chunkedGetMultipleAccountInfos(
|
|
15287
15287
|
this.program.provider.connection,
|
|
15288
15288
|
accountsToFetch
|
|
15289
|
-
)
|
|
15289
|
+
);
|
|
15290
15290
|
const binArrays = await Promise.all(
|
|
15291
15291
|
binArraysAccInfoBuffer.map(async (accInfo, idx) => {
|
|
15292
15292
|
const account = decodeAccount(
|