@0dotxyz/p0-ts-sdk 2.1.1 → 2.1.3

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/vendor.cjs CHANGED
@@ -28841,7 +28841,7 @@ var SEED_RATE_MODEL = "rate_model";
28841
28841
  var SEED_USER_SUPPLY_POSITION = "user_supply_position";
28842
28842
  var SEED_USER_CLAIM = "user_claim";
28843
28843
  var SEED_LENDING_REWARDS_RATE_MODEL = "lending_rewards_rate_model";
28844
- function getAllDerivedJupLendAccounts(mint) {
28844
+ function getAllDerivedJupLendAccounts(mint, tokenProgram) {
28845
28845
  const [fTokenMint] = deriveJupLendFTokenMint(mint);
28846
28846
  const [lending] = deriveJupLendLending(mint, fTokenMint);
28847
28847
  const [liquidity] = deriveJupLendLiquidity();
@@ -28851,7 +28851,7 @@ function getAllDerivedJupLendAccounts(mint) {
28851
28851
  supplyTokenReservesLiquidity: deriveJupLendTokenReserve(mint)[0],
28852
28852
  lendingSupplyPositionOnLiquidity: deriveJupLendLiquiditySupplyPositionPda(mint, lending)[0],
28853
28853
  rateModel: deriveJupLendRateModel(mint)[0],
28854
- vault: deriveJupLendLiquidityVaultAta(mint, liquidity),
28854
+ vault: deriveJupLendLiquidityVaultAta(mint, liquidity, tokenProgram),
28855
28855
  liquidity,
28856
28856
  rewardsRateModel: deriveJupLendLendingRewardsRateModel(mint)[0]
28857
28857
  };