@jup-ag/lend 0.0.1 → 0.0.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/README.md CHANGED
@@ -41,7 +41,6 @@ import { getOperateIx } from "@jup-ag/lend/borrow";
41
41
 
42
42
  const connection = new Connection("https://api.devnet.solana.com");
43
43
  const signer = new PublicKey("signerAddress");
44
- const usdc = new PublicKey("4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU");
45
44
 
46
45
  const ixs = await getOperateIx({
47
46
  vaultId: 1,
@@ -1,7 +1,7 @@
1
1
  import { SYSVAR_INSTRUCTIONS_PUBKEY, SystemProgram, PublicKey } from '@solana/web3.js';
2
2
  import { ASSOCIATED_TOKEN_PROGRAM_ID, TOKEN_PROGRAM_ID, getAssociatedTokenAddressSync } from '@solana/spl-token';
3
3
  import { Program } from '@coral-xyz/anchor';
4
- import { c as lending, g as getLendingToken, d as getLending, e as getLiquidity, f as getLendingRewardsRateModel, h as getRateModel, i as getUserBorrowPosition, j as getUserSupplyPosition, k as getTokenReserveFromAsset, m as getClaimAccount, n as getLendingAdmin, o as liquidity } from '../shared/lend.DVqn4Bgr.mjs';
4
+ import { c as lending, g as getLendingToken, d as getLending, e as getLiquidity, f as getLendingRewardsRateModel, h as getRateModel, i as getUserBorrowPosition, j as getUserSupplyPosition, k as getTokenReserveFromAsset, m as getClaimAccount, n as getLendingAdmin, o as liquidity } from '../shared/lend.CjksRhKO.mjs';
5
5
 
6
6
  function getDepositContext({
7
7
  receipient,
@@ -0,0 +1,6 @@
1
+ export { default as lendingIdl } from "./lending.json";
2
+ export type { Lending as LendingIdl } from "./types/lending";
3
+ export { default as liquidityIdl } from "./liquidity.json";
4
+ export type { Liquidity as LiquidityIdl } from "./types/liquidity";
5
+ export { default as lendingRewardRateModelIdl } from "./lending_reward_rate_model.json";
6
+ export type { LendingRewardRateModel as LendingRewardRateModelIdl } from "./types/lendingRewardRateModel";
@@ -0,0 +1,3 @@
1
+ export { default as lendingIdl } from "./lending.json";
2
+ export { default as liquidityIdl } from "./liquidity.json";
3
+ export { default as lendingRewardRateModelIdl } from "./lending_reward_rate_model.json";