@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.
- package/dist/earn/index.d.mts +2 -2
- package/dist/earn/index.d.ts +2 -2
- package/dist/earn/index.mjs +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/earn/index.d.mts
CHANGED
|
@@ -3003,7 +3003,7 @@ declare const getLendingTokenDetails: ({ lendingToken, connection, }: {
|
|
|
3003
3003
|
rewardsRate: BN;
|
|
3004
3004
|
supplyRate: BN;
|
|
3005
3005
|
}>;
|
|
3006
|
-
declare const
|
|
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,
|
|
3016
|
+
export { getAccountOwner, getDepositContext, getDepositIx, getLendingProgram, getLendingTokenDetails, getLendingTokens, getMintIx, getRedeemIx, getUserLendingPositionByAsset, getWithdrawContext, getWithdrawIx };
|
|
3017
3017
|
export type { ConnectionParams, DepositContextParams, DepositParams, MintParams, RedeemParams, WithdrawContextParams, WithdrawParams };
|
package/dist/earn/index.d.ts
CHANGED
|
@@ -3003,7 +3003,7 @@ declare const getLendingTokenDetails: ({ lendingToken, connection, }: {
|
|
|
3003
3003
|
rewardsRate: BN;
|
|
3004
3004
|
supplyRate: BN;
|
|
3005
3005
|
}>;
|
|
3006
|
-
declare const
|
|
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,
|
|
3016
|
+
export { getAccountOwner, getDepositContext, getDepositIx, getLendingProgram, getLendingTokenDetails, getLendingTokens, getMintIx, getRedeemIx, getUserLendingPositionByAsset, getWithdrawContext, getWithdrawIx };
|
|
3017
3017
|
export type { ConnectionParams, DepositContextParams, DepositParams, MintParams, RedeemParams, WithdrawContextParams, WithdrawParams };
|
package/dist/earn/index.mjs
CHANGED
|
@@ -513,7 +513,7 @@ const getLendingTokenDetails = async ({
|
|
|
513
513
|
supplyRate
|
|
514
514
|
};
|
|
515
515
|
};
|
|
516
|
-
const
|
|
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,
|
|
539
|
+
export { getAccountOwner, getDepositContext, getDepositIx, getLendingProgram, getLendingTokenDetails, getLendingTokens, getMintIx, getRedeemIx, getUserLendingPositionByAsset, getWithdrawContext, getWithdrawIx };
|
package/dist/index.mjs
CHANGED