@1delta/margin-fetcher 0.0.62 → 0.0.64

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
@@ -18398,7 +18398,7 @@ var URL = `https://coins.llama.fi/prices/current/${[
18398
18398
  datasManta,
18399
18399
  datasTelos,
18400
18400
  datasbsc
18401
- ].join(",")}?searchWidth=4h`;
18401
+ ].join(",")}`;
18402
18402
  var URL_HIST = (ref) => `https://coins.llama.fi/prices/historical/${ref}/${[
18403
18403
  datasEthereum,
18404
18404
  datasAvalanche,
@@ -18415,7 +18415,7 @@ var URL_HIST = (ref) => `https://coins.llama.fi/prices/historical/${ref}/${[
18415
18415
  datasSonic,
18416
18416
  datasSolana,
18417
18417
  datasbsc
18418
- ].join(",")}?searchWidth=4h`;
18418
+ ].join(",")}`;
18419
18419
  var SYMBOL_MAP = {
18420
18420
  weth: "WETH",
18421
18421
  usde: "USDE",
@@ -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)