@scallop-io/sui-scallop-sdk 0.46.66 → 0.46.68

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 CHANGED
@@ -2396,6 +2396,8 @@ var queryMarket = async (query, indexer = false) => {
2396
2396
  }
2397
2397
  for (const collateral of marketData?.collaterals ?? []) {
2398
2398
  const coinType = (0, import_utils3.normalizeStructTag)(collateral.type.name);
2399
+ if (coinType === NATIVE_USDC)
2400
+ continue;
2399
2401
  const collateralCoinName = query.utils.parseCoinNameFromType(coinType);
2400
2402
  const coinPrice = coinPrices[collateralCoinName] ?? 0;
2401
2403
  if (!SUPPORT_COLLATERALS.includes(collateralCoinName)) {
@@ -3343,6 +3345,8 @@ var queryBorrowIncentivePools = async (query, borrowIncentiveCoinNames = [
3343
3345
  const borrowIncentivePoolPoints = {};
3344
3346
  const parsedBorrowIncentivePoolData = parseOriginBorrowIncentivePoolData(pool);
3345
3347
  const poolCoinType = (0, import_utils7.normalizeStructTag)(pool.pool_type.name);
3348
+ if (poolCoinType === NATIVE_USDC)
3349
+ continue;
3346
3350
  const poolCoinName = query.utils.parseCoinNameFromType(
3347
3351
  poolCoinType
3348
3352
  );