@merkl/api 0.10.185 → 0.10.186
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/eden/index.d.ts +31 -27
- package/dist/src/index.d.ts +1 -1
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +1 -1
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.js +1 -1
- package/dist/src/modules/v4/router.d.ts +1 -1
- package/dist/src/routes/v3/blacklist.d.ts +1 -1
- package/dist/src/routes/v3/campaigns.d.ts +1 -1
- package/dist/src/routes/v3/campaignsInfo.d.ts +1 -1
- package/dist/src/routes/v3/multiChainPositions.d.ts +1 -1
- package/dist/src/routes/v3/opportunity.d.ts +1 -1
- package/dist/src/routes/v3/positions.d.ts +1 -1
- package/dist/src/routes/v3/rewards.d.ts +1 -1
- package/dist/src/routes/v3/updates.d.ts +1 -1
- package/dist/src/routes/v3/userRewards.d.ts +1 -1
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -1580,6 +1580,21 @@ declare const eden: {
|
|
1580
1580
|
epoch: number;
|
1581
1581
|
}[];
|
1582
1582
|
}>>;
|
1583
|
+
};
|
1584
|
+
live: {
|
1585
|
+
get: (options?: {
|
1586
|
+
headers?: Record<string, unknown> | undefined;
|
1587
|
+
query?: Record<string, unknown> | undefined;
|
1588
|
+
fetch?: RequestInit | undefined;
|
1589
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1590
|
+
200: {
|
1591
|
+
live: string;
|
1592
|
+
tree: string;
|
1593
|
+
lastTree: string;
|
1594
|
+
}[];
|
1595
|
+
}>>;
|
1596
|
+
};
|
1597
|
+
engine: {
|
1583
1598
|
post: (body: {
|
1584
1599
|
timestamp: number;
|
1585
1600
|
chainId: number;
|
@@ -1600,19 +1615,6 @@ declare const eden: {
|
|
1600
1615
|
};
|
1601
1616
|
}>>;
|
1602
1617
|
};
|
1603
|
-
live: {
|
1604
|
-
get: (options?: {
|
1605
|
-
headers?: Record<string, unknown> | undefined;
|
1606
|
-
query?: Record<string, unknown> | undefined;
|
1607
|
-
fetch?: RequestInit | undefined;
|
1608
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1609
|
-
200: {
|
1610
|
-
live: string;
|
1611
|
-
tree: string;
|
1612
|
-
lastTree: string;
|
1613
|
-
}[];
|
1614
|
-
}>>;
|
1615
|
-
};
|
1616
1618
|
};
|
1617
1619
|
interaction: {
|
1618
1620
|
targets: {
|
@@ -3934,7 +3936,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3934
3936
|
};
|
3935
3937
|
} & {
|
3936
3938
|
roots: {
|
3937
|
-
|
3939
|
+
engine: {
|
3938
3940
|
post: {
|
3939
3941
|
body: {
|
3940
3942
|
timestamp: number;
|
@@ -6012,6 +6014,21 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6012
6014
|
epoch: number;
|
6013
6015
|
}[];
|
6014
6016
|
}>>;
|
6017
|
+
};
|
6018
|
+
live: {
|
6019
|
+
get: (options?: {
|
6020
|
+
headers?: Record<string, unknown> | undefined;
|
6021
|
+
query?: Record<string, unknown> | undefined;
|
6022
|
+
fetch?: RequestInit | undefined;
|
6023
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
6024
|
+
200: {
|
6025
|
+
live: string;
|
6026
|
+
tree: string;
|
6027
|
+
lastTree: string;
|
6028
|
+
}[];
|
6029
|
+
}>>;
|
6030
|
+
};
|
6031
|
+
engine: {
|
6015
6032
|
post: (body: {
|
6016
6033
|
timestamp: number;
|
6017
6034
|
chainId: number;
|
@@ -6032,19 +6049,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6032
6049
|
};
|
6033
6050
|
}>>;
|
6034
6051
|
};
|
6035
|
-
live: {
|
6036
|
-
get: (options?: {
|
6037
|
-
headers?: Record<string, unknown> | undefined;
|
6038
|
-
query?: Record<string, unknown> | undefined;
|
6039
|
-
fetch?: RequestInit | undefined;
|
6040
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
6041
|
-
200: {
|
6042
|
-
live: string;
|
6043
|
-
tree: string;
|
6044
|
-
lastTree: string;
|
6045
|
-
}[];
|
6046
|
-
}>>;
|
6047
|
-
};
|
6048
6052
|
};
|
6049
6053
|
interaction: {
|
6050
6054
|
targets: {
|
package/dist/src/index.d.ts
CHANGED
@@ -15,7 +15,7 @@ export const MerklRootController = new Elysia({ prefix: "/roots", detail: { tags
|
|
15
15
|
// ─── Get all live Merkl Roots ─────────────────────────────────────────
|
16
16
|
.get("/live", async () => await MerklRootService.fetchAll())
|
17
17
|
// ─── Create a Merkl Root Entry ────────────────────────────────────────
|
18
|
-
.post("/", async ({ body }) => {
|
18
|
+
.post("/engine", async ({ body }) => {
|
19
19
|
return await MerklRootService.create(body);
|
20
20
|
}, {
|
21
21
|
headers: AuthorizationHeadersDto,
|