@merkl/api 0.10.194 → 0.10.196

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.
@@ -397,7 +397,7 @@ export async function getClammUserPositions(user, chainId, poolsByAmm, withIndiv
397
397
  }
398
398
  }
399
399
  if (res.userPositions.length > 0) {
400
- finalRes[`2_${poolDatas[p].mainParameter}`] = { ...res };
400
+ finalRes[`2_${poolDatas[p].mainParameter ?? p}`] = { ...res };
401
401
  }
402
402
  }
403
403
  catch (_e) {
@@ -217,6 +217,7 @@ export class RewardService {
217
217
  return res;
218
218
  }
219
219
  static async registerClaims(claims) {
220
+ console.log(claims);
220
221
  for (const claim of claims) {
221
222
  const tokenId = TokenService.hashId({
222
223
  chainId: claim.chainId,
@@ -18,6 +18,7 @@ export class StatusService {
18
18
  return await StatusRepository.findUnique(campaignUnique);
19
19
  }
20
20
  static async update(campaignUnique, status) {
21
+ console.log(campaignUnique, status);
21
22
  // Check if the status exists already, otherwise create it
22
23
  const campaignExists = await StatusRepository.findUnique(campaignUnique);
23
24
  if (!campaignExists) {