@meteora-ag/dlmm 1.3.9-dp.0 → 1.3.9-dp.1

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 CHANGED
@@ -8523,6 +8523,7 @@ declare function toStrategyParameters({ maxBinId, minBinId, strategyType, single
8523
8523
  */
8524
8524
  declare function getTokensMintFromPoolAddress(connection: Connection, poolAddress: string, opt?: {
8525
8525
  cluster?: Cluster;
8526
+ programId?: PublicKey;
8526
8527
  }): Promise<{
8527
8528
  tokenXMint: PublicKey;
8528
8529
  tokenYMint: PublicKey;
package/dist/index.js CHANGED
@@ -9634,7 +9634,7 @@ async function getTokensMintFromPoolAddress(connection, poolAddress, opt) {
9634
9634
  );
9635
9635
  const program = new (0, _anchor.Program)(
9636
9636
  IDL,
9637
- LBCLMM_PROGRAM_IDS[_nullishCoalesce(_optionalChain([opt, 'optionalAccess', _21 => _21.cluster]), () => ( "mainnet-beta"))],
9637
+ _nullishCoalesce(opt.programId, () => ( LBCLMM_PROGRAM_IDS[_nullishCoalesce(_optionalChain([opt, 'optionalAccess', _21 => _21.cluster]), () => ( "mainnet-beta"))])),
9638
9638
  provider
9639
9639
  );
9640
9640
  const poolAccount = await program.account.lbPair.fetchNullable(