@1delta/margin-fetcher 0.0.62 → 0.0.63

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
@@ -20170,9 +20170,9 @@ var fetchMainPrices = async (chainIds, rpcOverrides, lists = {}) => {
20170
20170
  const multicallPromises = chainIds.map(async (chainId) => {
20171
20171
  let aaveForks = aaves?.[chainId];
20172
20172
  if (chainId === Chain.KAIA_MAINNET)
20173
- aaveForks = aaveForks.filter((a) => a !== Lender.KLAYBANK);
20173
+ aaveForks = aaveForks?.filter((a) => a !== Lender.KLAYBANK);
20174
20174
  if (chainId === Chain.GNOSIS)
20175
- aaveForks = aaveForks.filter((a) => a !== Lender.AGAVE);
20175
+ aaveForks = aaveForks?.filter((a) => a !== Lender.AGAVE);
20176
20176
  const reservesToQuery = aaveForks?.map((a) => ({
20177
20177
  fork: a,
20178
20178
  assets: getAaveAssets(chainId, a)