@merkl/api 0.15.30 → 0.15.31
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 +10 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +1 -0
- package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +1 -0
- package/dist/src/modules/v4/merklRoot/merklRoot.repository.js +2 -2
- package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +2 -0
- package/dist/src/modules/v4/router.d.ts +2 -0
- package/dist/src/modules/v4/status/status.controller.d.ts +1 -0
- package/dist/src/modules/v4/status/status.service.d.ts +1 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -2271,6 +2271,7 @@ declare const eden: {
|
|
2271
2271
|
tree: string;
|
2272
2272
|
lastTree: string;
|
2273
2273
|
endOfDisputePeriod: number;
|
2274
|
+
disputer: string;
|
2274
2275
|
};
|
2275
2276
|
};
|
2276
2277
|
}>>;
|
@@ -2718,6 +2719,7 @@ declare const eden: {
|
|
2718
2719
|
distributor: string;
|
2719
2720
|
distributionCreator: string;
|
2720
2721
|
endOfDisputePeriod: number;
|
2722
|
+
disputer: string;
|
2721
2723
|
delayed: Awaited<ReturnType<typeof import("../modules/v4/status").StatusService.findManyDelay>>;
|
2722
2724
|
};
|
2723
2725
|
};
|
@@ -5352,6 +5354,7 @@ declare const eden: {
|
|
5352
5354
|
tree: string;
|
5353
5355
|
lastTree: string;
|
5354
5356
|
endOfDisputePeriod: number;
|
5357
|
+
disputer: string;
|
5355
5358
|
};
|
5356
5359
|
};
|
5357
5360
|
}>>;
|
@@ -5799,6 +5802,7 @@ declare const eden: {
|
|
5799
5802
|
distributor: string;
|
5800
5803
|
distributionCreator: string;
|
5801
5804
|
endOfDisputePeriod: number;
|
5805
|
+
disputer: string;
|
5802
5806
|
delayed: Awaited<ReturnType<typeof import("../modules/v4/status").StatusService.findManyDelay>>;
|
5803
5807
|
};
|
5804
5808
|
};
|
@@ -9645,6 +9649,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9645
9649
|
tree: string;
|
9646
9650
|
lastTree: string;
|
9647
9651
|
endOfDisputePeriod: number;
|
9652
|
+
disputer: string;
|
9648
9653
|
};
|
9649
9654
|
};
|
9650
9655
|
};
|
@@ -10209,6 +10214,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
10209
10214
|
distributor: string;
|
10210
10215
|
distributionCreator: string;
|
10211
10216
|
endOfDisputePeriod: number;
|
10217
|
+
disputer: string;
|
10212
10218
|
delayed: Awaited<ReturnType<typeof import("../modules/v4/status").StatusService.findManyDelay>>;
|
10213
10219
|
};
|
10214
10220
|
};
|
@@ -13863,6 +13869,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13863
13869
|
tree: string;
|
13864
13870
|
lastTree: string;
|
13865
13871
|
endOfDisputePeriod: number;
|
13872
|
+
disputer: string;
|
13866
13873
|
};
|
13867
13874
|
};
|
13868
13875
|
}>>;
|
@@ -14310,6 +14317,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14310
14317
|
distributor: string;
|
14311
14318
|
distributionCreator: string;
|
14312
14319
|
endOfDisputePeriod: number;
|
14320
|
+
disputer: string;
|
14313
14321
|
delayed: Awaited<ReturnType<typeof import("../modules/v4/status").StatusService.findManyDelay>>;
|
14314
14322
|
};
|
14315
14323
|
};
|
@@ -16944,6 +16952,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16944
16952
|
tree: string;
|
16945
16953
|
lastTree: string;
|
16946
16954
|
endOfDisputePeriod: number;
|
16955
|
+
disputer: string;
|
16947
16956
|
};
|
16948
16957
|
};
|
16949
16958
|
}>>;
|
@@ -17391,6 +17400,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17391
17400
|
distributor: string;
|
17392
17401
|
distributionCreator: string;
|
17393
17402
|
endOfDisputePeriod: number;
|
17403
|
+
disputer: string;
|
17394
17404
|
delayed: Awaited<ReturnType<typeof import("../modules/v4/status").StatusService.findManyDelay>>;
|
17395
17405
|
};
|
17396
17406
|
};
|
package/dist/src/index.d.ts
CHANGED
@@ -2785,6 +2785,7 @@ declare const app: Elysia<"", false, {
|
|
2785
2785
|
tree: string;
|
2786
2786
|
lastTree: string;
|
2787
2787
|
endOfDisputePeriod: number;
|
2788
|
+
disputer: string;
|
2788
2789
|
};
|
2789
2790
|
};
|
2790
2791
|
};
|
@@ -3349,6 +3350,7 @@ declare const app: Elysia<"", false, {
|
|
3349
3350
|
distributor: string;
|
3350
3351
|
distributionCreator: string;
|
3351
3352
|
endOfDisputePeriod: number;
|
3353
|
+
disputer: string;
|
3352
3354
|
delayed: Awaited<ReturnType<typeof import("./modules/v4/status").StatusService.findManyDelay>>;
|
3353
3355
|
};
|
3354
3356
|
};
|
@@ -24,8 +24,8 @@ export class MerklRootRepository {
|
|
24
24
|
return [res[0], res[1]];
|
25
25
|
}
|
26
26
|
static async fetch(chainId) {
|
27
|
-
const { live, tree, lastTree, endOfDisputePeriod } = await DistributorService(chainId).fetchUpdateData();
|
28
|
-
return { live, tree, lastTree, endOfDisputePeriod };
|
27
|
+
const { live, tree, lastTree, endOfDisputePeriod, disputer } = await DistributorService(chainId).fetchUpdateData();
|
28
|
+
return { live, tree, lastTree, endOfDisputePeriod, disputer };
|
29
29
|
}
|
30
30
|
static async create(x) {
|
31
31
|
return await apiDbClient.merklRoot.create({
|
@@ -23,6 +23,7 @@ export declare class MerklRootService {
|
|
23
23
|
tree: any;
|
24
24
|
lastTree: any;
|
25
25
|
endOfDisputePeriod: any;
|
26
|
+
disputer: any;
|
26
27
|
}>;
|
27
28
|
/**
|
28
29
|
* Fetch all roots for the provided chains
|
@@ -34,6 +35,7 @@ export declare class MerklRootService {
|
|
34
35
|
tree: string;
|
35
36
|
lastTree: string;
|
36
37
|
endOfDisputePeriod: number;
|
38
|
+
disputer: string;
|
37
39
|
}>>;
|
38
40
|
static create(x: CreateRootModel): Promise<{
|
39
41
|
timestamp: bigint;
|
@@ -2655,6 +2655,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2655
2655
|
tree: string;
|
2656
2656
|
lastTree: string;
|
2657
2657
|
endOfDisputePeriod: number;
|
2658
|
+
disputer: string;
|
2658
2659
|
};
|
2659
2660
|
};
|
2660
2661
|
};
|
@@ -3219,6 +3220,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
3219
3220
|
distributor: string;
|
3220
3221
|
distributionCreator: string;
|
3221
3222
|
endOfDisputePeriod: number;
|
3223
|
+
disputer: string;
|
3222
3224
|
delayed: Awaited<ReturnType<typeof import("./status").StatusService.findManyDelay>>;
|
3223
3225
|
};
|
3224
3226
|
};
|
@@ -169,6 +169,7 @@ export declare const StatusController: Elysia<"/campaign-status", false, {
|
|
169
169
|
distributor: string;
|
170
170
|
distributionCreator: string;
|
171
171
|
endOfDisputePeriod: number;
|
172
|
+
disputer: string;
|
172
173
|
delayed: Awaited<ReturnType<typeof StatusService.findManyDelay>>;
|
173
174
|
};
|
174
175
|
};
|
@@ -44,6 +44,7 @@ export declare class StatusService {
|
|
44
44
|
distributor: string;
|
45
45
|
distributionCreator: string;
|
46
46
|
endOfDisputePeriod: number;
|
47
|
+
disputer: string;
|
47
48
|
delayed: Awaited<ReturnType<typeof StatusService.findManyDelay>>;
|
48
49
|
}>>;
|
49
50
|
static findManyDelay(query: DelayModel): Promise<{
|