@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 +1 -1
- package/package.json +1 -1
- package/src/Kamino.ts +1 -1
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.
|
|
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
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.
|
|
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')) {
|