@merkl/api 0.13.6 → 0.13.7

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.
@@ -1058,7 +1058,9 @@ declare const eden: {
1058
1058
  };
1059
1059
  fetch?: RequestInit | undefined;
1060
1060
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1061
- 200: string;
1061
+ 200: {
1062
+ campaignId: string;
1063
+ };
1062
1064
  }>>;
1063
1065
  };
1064
1066
  };
@@ -4067,7 +4069,9 @@ declare const eden: {
4067
4069
  };
4068
4070
  fetch?: RequestInit | undefined;
4069
4071
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4070
- 200: string;
4072
+ 200: {
4073
+ campaignId: string;
4074
+ };
4071
4075
  }>>;
4072
4076
  };
4073
4077
  };
@@ -7931,7 +7935,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
7931
7935
  authorization: string;
7932
7936
  };
7933
7937
  response: {
7934
- 200: string;
7938
+ 200: {
7939
+ campaignId: string;
7940
+ };
7935
7941
  };
7936
7942
  };
7937
7943
  };
@@ -12389,7 +12395,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
12389
12395
  };
12390
12396
  fetch?: RequestInit | undefined;
12391
12397
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
12392
- 200: string;
12398
+ 200: {
12399
+ campaignId: string;
12400
+ };
12393
12401
  }>>;
12394
12402
  };
12395
12403
  };
@@ -15398,7 +15406,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
15398
15406
  };
15399
15407
  fetch?: RequestInit | undefined;
15400
15408
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
15401
- 200: string;
15409
+ 200: {
15410
+ campaignId: string;
15411
+ };
15402
15412
  }>>;
15403
15413
  };
15404
15414
  };
@@ -1224,7 +1224,9 @@ declare const app: Elysia<"", false, {
1224
1224
  authorization: string;
1225
1225
  };
1226
1226
  response: {
1227
- 200: string;
1227
+ 200: {
1228
+ campaignId: string;
1229
+ };
1228
1230
  };
1229
1231
  };
1230
1232
  };
@@ -260,7 +260,9 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
260
260
  authorization: string;
261
261
  };
262
262
  response: {
263
- 200: string;
263
+ 200: {
264
+ campaignId: string;
265
+ };
264
266
  };
265
267
  };
266
268
  };
@@ -43,6 +43,9 @@ export declare const campaignTypeToEnumMap: {
43
43
  readonly HYPERDRIVELOGPROCESSOR: any;
44
44
  readonly HYPERDRIVELOGFIXPROCESSOR: any;
45
45
  readonly AMBIENTPROCESSOR: any;
46
+ readonly M0: any;
47
+ readonly MORPHOSUPPLY: any;
48
+ readonly SYNCSWAP_VAULT: any;
46
49
  };
47
50
  export type ConvertedCampaignType<C extends CampaignType> = (typeof campaignTypeToEnumMap)[C];
48
51
  export declare const CampaignUniqueDto: import("@sinclair/typebox").TObject<{
@@ -30,6 +30,9 @@ export const campaignTypeToEnumMap = {
30
30
  HYPERDRIVELOGPROCESSOR: CampaignTypeEnum.HYPERDRIVELOGPROCESSOR,
31
31
  HYPERDRIVELOGFIXPROCESSOR: CampaignTypeEnum.HYPERDRIVELOGFIXPROCESSOR,
32
32
  AMBIENTPROCESSOR: CampaignTypeEnum.AMBIENTPROCESSOR,
33
+ M0: CampaignTypeEnum.M0,
34
+ MORPHOSUPPLY: CampaignTypeEnum.MORPHOSUPPLY,
35
+ SYNCSWAP_VAULT: CampaignTypeEnum.SYNCSWAP_VAULT,
33
36
  };
34
37
  // ─── DTOs ────────────────────────────────────────────────────────────────────
35
38
  export const CampaignUniqueDto = t.Object({
@@ -137,7 +137,9 @@ export declare abstract class CampaignService {
137
137
  }[];
138
138
  campaignId: string;
139
139
  }[]>;
140
- static pickCampaignToProcess(chainId: ChainId): Promise<string>;
140
+ static pickCampaignToProcess(chainId: ChainId): Promise<{
141
+ campaignId: string;
142
+ }>;
141
143
  static fill(campaigns: CampaignUnique[]): Promise<{
142
144
  success: number;
143
145
  fail: number;
@@ -161,7 +161,7 @@ export class CampaignService {
161
161
  distributionChain: chainId,
162
162
  campaignId: campaign.campaignId,
163
163
  }, { value: "PROCESSING" });
164
- return campaign.campaignId;
164
+ return { campaignId: campaign.campaignId };
165
165
  }
166
166
  catch { }
167
167
  }
@@ -1094,7 +1094,9 @@ export declare const v4: Elysia<"/v4", false, {
1094
1094
  authorization: string;
1095
1095
  };
1096
1096
  response: {
1097
- 200: string;
1097
+ 200: {
1098
+ campaignId: string;
1099
+ };
1098
1100
  };
1099
1101
  };
1100
1102
  };