@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.
- package/dist/src/eden/index.d.ts +15 -5
- package/dist/src/index.d.ts +3 -1
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +3 -1
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +3 -0
- package/dist/src/modules/v4/campaign/campaign.model.js +3 -0
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +3 -1
- package/dist/src/modules/v4/campaign/campaign.service.js +1 -1
- package/dist/src/modules/v4/router.d.ts +3 -1
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -1058,7 +1058,9 @@ declare const eden: {
|
|
1058
1058
|
};
|
1059
1059
|
fetch?: RequestInit | undefined;
|
1060
1060
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1061
|
-
200:
|
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:
|
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:
|
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:
|
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:
|
15409
|
+
200: {
|
15410
|
+
campaignId: string;
|
15411
|
+
};
|
15402
15412
|
}>>;
|
15403
15413
|
};
|
15404
15414
|
};
|
package/dist/src/index.d.ts
CHANGED
@@ -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<
|
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;
|