@jup-ag/lend 0.0.95 → 0.0.97

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.
@@ -3003,7 +3003,7 @@ declare const getLendingTokenDetails: ({ lendingToken, connection, }: {
3003
3003
  rewardsRate: BN;
3004
3004
  supplyRate: BN;
3005
3005
  }>;
3006
- declare const getUserPosition: ({ user, asset, connection, }: {
3006
+ declare const getUserLendingPositionByAsset: ({ user, asset, connection, }: {
3007
3007
  user: PublicKey;
3008
3008
  asset: PublicKey;
3009
3009
  connection: Connection;
@@ -3013,5 +3013,5 @@ declare const getUserPosition: ({ user, asset, connection, }: {
3013
3013
  underlyingBalance: BN;
3014
3014
  }>;
3015
3015
 
3016
- export { getAccountOwner, getDepositContext, getDepositIx, getLendingProgram, getLendingTokenDetails, getLendingTokens, getMintIx, getRedeemIx, getUserPosition, getWithdrawContext, getWithdrawIx };
3016
+ export { getAccountOwner, getDepositContext, getDepositIx, getLendingProgram, getLendingTokenDetails, getLendingTokens, getMintIx, getRedeemIx, getUserLendingPositionByAsset, getWithdrawContext, getWithdrawIx };
3017
3017
  export type { ConnectionParams, DepositContextParams, DepositParams, MintParams, RedeemParams, WithdrawContextParams, WithdrawParams };
@@ -3003,7 +3003,7 @@ declare const getLendingTokenDetails: ({ lendingToken, connection, }: {
3003
3003
  rewardsRate: BN;
3004
3004
  supplyRate: BN;
3005
3005
  }>;
3006
- declare const getUserPosition: ({ user, asset, connection, }: {
3006
+ declare const getUserLendingPositionByAsset: ({ user, asset, connection, }: {
3007
3007
  user: PublicKey;
3008
3008
  asset: PublicKey;
3009
3009
  connection: Connection;
@@ -3013,5 +3013,5 @@ declare const getUserPosition: ({ user, asset, connection, }: {
3013
3013
  underlyingBalance: BN;
3014
3014
  }>;
3015
3015
 
3016
- export { getAccountOwner, getDepositContext, getDepositIx, getLendingProgram, getLendingTokenDetails, getLendingTokens, getMintIx, getRedeemIx, getUserPosition, getWithdrawContext, getWithdrawIx };
3016
+ export { getAccountOwner, getDepositContext, getDepositIx, getLendingProgram, getLendingTokenDetails, getLendingTokens, getMintIx, getRedeemIx, getUserLendingPositionByAsset, getWithdrawContext, getWithdrawIx };
3017
3017
  export type { ConnectionParams, DepositContextParams, DepositParams, MintParams, RedeemParams, WithdrawContextParams, WithdrawParams };
@@ -513,7 +513,7 @@ const getLendingTokenDetails = async ({
513
513
  supplyRate
514
514
  };
515
515
  };
516
- const getUserPosition = async ({
516
+ const getUserLendingPositionByAsset = async ({
517
517
  user,
518
518
  asset,
519
519
  connection
@@ -536,4 +536,4 @@ const getUserPosition = async ({
536
536
  };
537
537
  };
538
538
 
539
- export { getAccountOwner, getDepositContext, getDepositIx, getLendingProgram, getLendingTokenDetails, getLendingTokens, getMintIx, getRedeemIx, getUserPosition, getWithdrawContext, getWithdrawIx };
539
+ export { getAccountOwner, getDepositContext, getDepositIx, getLendingProgram, getLendingTokenDetails, getLendingTokens, getMintIx, getRedeemIx, getUserLendingPositionByAsset, getWithdrawContext, getWithdrawIx };
package/dist/index.mjs CHANGED
@@ -8,6 +8,6 @@ import './shared/lend.CioR9-te.mjs';
8
8
  import '@solana/spl-token';
9
9
  import 'bn.js';
10
10
 
11
- const version = "0.0.95";
11
+ const version = "0.0.97";
12
12
 
13
13
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jup-ag/lend",
3
- "version": "0.0.95",
3
+ "version": "0.0.97",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "type": "module",