@merkl/api 0.20.30 → 0.20.32

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.
@@ -242,7 +242,8 @@ export class UniswapV4DynamicData {
242
242
  sqrtPrice,
243
243
  tick: tick,
244
244
  priceRewardToken: priceRewardToken,
245
- tvl: poolBalanceToken0 * priceToken0 + poolBalanceToken1 * priceToken1,
245
+ tvl: (!!priceToken0 ? poolBalanceToken0 * priceToken0 : 0) +
246
+ (!!priceToken1 ? poolBalanceToken1 * priceToken1 : 0),
246
247
  });
247
248
  }
248
249
  }