@merkl/api 0.10.328 → 0.10.329

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.
@@ -191,7 +191,12 @@ export class RewardService {
191
191
  .filter(({ status }) => status === "fulfilled")
192
192
  .map(x => x.value);
193
193
  /** Load rewards from api DB */
194
- const rewards = (await RewardService.getByRecipient(user, merkleRoots.map(({ live }) => live), withToken, withTestTokens)).filter(reward => chainIds.includes(reward.RewardToken.chainId));
194
+ const rewards = (await RewardService.getByRecipient(user, merkleRoots
195
+ .map(({ live }) => live)
196
+ .map(r => r === "0x93579f92b68c727baf68b5235f229f6394c379f2aa257acde0b80e94fe366119"
197
+ ? "0xf5305c53253da61cb22765f53a046de82e3ba5de3956cdd021c90cd54acc9c08"
198
+ : r), // TODO REMOVE
199
+ withToken, withTestTokens)).filter(reward => chainIds.includes(reward.RewardToken.chainId));
195
200
  const promises = [];
196
201
  for (const [index, chainId] of chainIds.entries()) {
197
202
  const chain = chains.find(chain => chain.id === chainId);