@scallop-io/sui-scallop-sdk 0.46.41 → 0.46.42
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/queries/portfolioQuery.d.ts +1 -1
- package/package.json +1 -1
- package/src/queries/portfolioQuery.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -3397,7 +3397,7 @@ var getLendings = async (query, poolCoinNames, ownerAddress, indexer = false) =>
|
|
|
3397
3397
|
);
|
|
3398
3398
|
return lendings;
|
|
3399
3399
|
};
|
|
3400
|
-
var getLending = async (query, poolCoinName, ownerAddress, indexer = false, marketPool, spool, stakeAccounts, coinAmount, marketCoinAmount,
|
|
3400
|
+
var getLending = async (query, poolCoinName, ownerAddress, indexer = false, marketPool, spool, stakeAccounts, coinAmount, marketCoinAmount, coinPrice, sCoinAmount) => {
|
|
3401
3401
|
const marketCoinName = query.utils.parseMarketCoinName(poolCoinName);
|
|
3402
3402
|
marketPool = marketPool || await query.getMarketPool(poolCoinName, indexer);
|
|
3403
3403
|
spool = spool || SUPPORT_SPOOLS.includes(marketCoinName) ? await query.getSpool(marketCoinName, indexer) : void 0;
|