@0dotxyz/p0-ts-sdk 2.2.0-alpha.0 → 2.2.0-alpha.2

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
@@ -28865,7 +28865,7 @@ var SEED_RATE_MODEL = "rate_model";
28865
28865
  var SEED_USER_SUPPLY_POSITION = "user_supply_position";
28866
28866
  var SEED_USER_CLAIM = "user_claim";
28867
28867
  var SEED_LENDING_REWARDS_RATE_MODEL = "lending_rewards_rate_model";
28868
- function getAllDerivedJupLendAccounts(mint) {
28868
+ function getAllDerivedJupLendAccounts(mint, tokenProgram) {
28869
28869
  const [fTokenMint] = deriveJupLendFTokenMint(mint);
28870
28870
  const [lending] = deriveJupLendLending(mint, fTokenMint);
28871
28871
  const [liquidity] = deriveJupLendLiquidity();
@@ -28875,7 +28875,7 @@ function getAllDerivedJupLendAccounts(mint) {
28875
28875
  supplyTokenReservesLiquidity: deriveJupLendTokenReserve(mint)[0],
28876
28876
  lendingSupplyPositionOnLiquidity: deriveJupLendLiquiditySupplyPositionPda(mint, lending)[0],
28877
28877
  rateModel: deriveJupLendRateModel(mint)[0],
28878
- vault: deriveJupLendLiquidityVaultAta(mint, liquidity),
28878
+ vault: deriveJupLendLiquidityVaultAta(mint, liquidity, tokenProgram),
28879
28879
  liquidity,
28880
28880
  rewardsRateModel: deriveJupLendLendingRewardsRateModel(mint)[0]
28881
28881
  };