@1delta/margin-fetcher 0.0.197 → 0.0.198

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
@@ -31408,6 +31408,7 @@ function selectAssetGroupPrices(structuredPrices, lists = {}, tvlMap = {}, prior
31408
31408
  for (const [chainId, lenders] of Object.entries(structuredPrices)) {
31409
31409
  const tokenList = lists[chainId] ?? {};
31410
31410
  for (const [lender, entries] of Object.entries(lenders)) {
31411
+ if (!Array.isArray(entries)) continue;
31411
31412
  const prio = computePriority(lender, chainId, priorityCfg);
31412
31413
  if (prio < 0) continue;
31413
31414
  const tvl = tvlMap[lender] ?? 0;