@kamino-finance/kliquidity-sdk 7.0.3 → 7.0.4

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/Kamino.js CHANGED
@@ -1632,7 +1632,7 @@ class Kamino {
1632
1632
  * @param pool pubkey of the orca whirlpool
1633
1633
  */
1634
1634
  getRaydiumPoolByAddress = (pool) => raydium_client_1.PoolState.fetch(this._connection, pool, this._raydiumService.getRaydiumProgramId());
1635
- getMeteoraPoolByAddress = (pool) => accounts_2.LbPair.fetch(this._connection, pool, this._raydiumService.getRaydiumProgramId());
1635
+ getMeteoraPoolByAddress = (pool) => accounts_2.LbPair.fetch(this._connection, pool, this._meteoraService.getMeteoraProgramId());
1636
1636
  getEventAuthorityPDA = (dex) => {
1637
1637
  if (dex.toNumber() == (0, utils_1.dexToNumber)('ORCA') || dex.toNumber() == (0, utils_1.dexToNumber)('RAYDIUM')) {
1638
1638
  return this._kaminoProgramId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kamino-finance/kliquidity-sdk",
3
- "version": "7.0.3",
3
+ "version": "7.0.4",
4
4
  "description": "Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol",
5
5
  "repository": {
6
6
  "type": "git",
package/src/Kamino.ts CHANGED
@@ -2559,7 +2559,7 @@ export class Kamino {
2559
2559
  PoolState.fetch(this._connection, pool, this._raydiumService.getRaydiumProgramId());
2560
2560
 
2561
2561
  getMeteoraPoolByAddress = (pool: PublicKey) =>
2562
- LbPair.fetch(this._connection, pool, this._raydiumService.getRaydiumProgramId());
2562
+ LbPair.fetch(this._connection, pool, this._meteoraService.getMeteoraProgramId());
2563
2563
 
2564
2564
  getEventAuthorityPDA = (dex: BN): PublicKey => {
2565
2565
  if (dex.toNumber() == dexToNumber('ORCA') || dex.toNumber() == dexToNumber('RAYDIUM')) {