@merkl/api 0.10.175 → 0.10.177

Sign up to get free protection for your applications and to get access to all the features.
@@ -101,7 +101,6 @@ export class OpportunityRepository {
101
101
  },
102
102
  where: { id },
103
103
  });
104
- console.debug(b);
105
104
  return b;
106
105
  }
107
106
  static async findManyWithCampaigns(filters) {
@@ -26,9 +26,7 @@ export class ClammPositionFetcher {
26
26
  };
27
27
  }
28
28
  }
29
- console.log(poolsByAmm);
30
29
  const clammPositions = await getClammUserPositions(user, chainId, poolsByAmm, false);
31
- console.log(clammPositions);
32
30
  const result = [];
33
31
  for (const opportunity of opportunities) {
34
32
  const campaign = CampaignService.formatAsCampaignParameters(opportunity.campaigns[0]);
@@ -15,7 +15,7 @@ export declare const response: import("@sinclair/typebox").TRecord<import("@sinc
15
15
  action: import("@sinclair/typebox").TString;
16
16
  status: import("@sinclair/typebox").TString;
17
17
  tags: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
18
- tokenIcons: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
18
+ tokenIcons: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>>;
19
19
  rewardTokenIcons: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
20
20
  dailyRewardTokens: import("@sinclair/typebox").TUnknown;
21
21
  campaigns: import("@sinclair/typebox").TObject<{
@@ -18,7 +18,7 @@ export const response = t.Record(t.TemplateLiteral([param.Type.type, t.Literal("
18
18
  action: t.String(),
19
19
  status: t.String(),
20
20
  tags: t.Optional(t.Array(t.String())),
21
- tokenIcons: t.Array(t.String()),
21
+ tokenIcons: t.Optional(t.Array(t.Union([t.String(), t.Null()]))),
22
22
  rewardTokenIcons: t.Array(t.String()),
23
23
  dailyRewardTokens: t.Unknown(),
24
24
  campaigns: t.Object({ type: t.Number() }, { additionalProperties: true }),