@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.
@@ -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
- index: {
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: {
@@ -1961,7 +1961,7 @@ declare const app: Elysia<"", false, {
1961
1961
  };
1962
1962
  } & {
1963
1963
  roots: {
1964
- index: {
1964
+ engine: {
1965
1965
  post: {
1966
1966
  body: {
1967
1967
  timestamp: number;
@@ -54,7 +54,7 @@ export declare const MerklRootController: Elysia<"/roots", false, {
54
54
  };
55
55
  } & {
56
56
  roots: {
57
- index: {
57
+ engine: {
58
58
  post: {
59
59
  body: {
60
60
  timestamp: number;
@@ -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,
@@ -1943,7 +1943,7 @@ export declare const v4: Elysia<"/v4", false, {
1943
1943
  };
1944
1944
  } & {
1945
1945
  roots: {
1946
- index: {
1946
+ engine: {
1947
1947
  post: {
1948
1948
  body: {
1949
1949
  timestamp: number;
@@ -1967,7 +1967,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1967
1967
  };
1968
1968
  } & {
1969
1969
  roots: {
1970
- index: {
1970
+ engine: {
1971
1971
  post: {
1972
1972
  body: {
1973
1973
  timestamp: number;
@@ -1970,7 +1970,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1970
1970
  };
1971
1971
  } & {
1972
1972
  roots: {
1973
- index: {
1973
+ engine: {
1974
1974
  post: {
1975
1975
  body: {
1976
1976
  timestamp: number;
@@ -1961,7 +1961,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1961
1961
  };
1962
1962
  } & {
1963
1963
  roots: {
1964
- index: {
1964
+ engine: {
1965
1965
  post: {
1966
1966
  body: {
1967
1967
  timestamp: number;
@@ -1966,7 +1966,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1966
1966
  };
1967
1967
  } & {
1968
1968
  roots: {
1969
- index: {
1969
+ engine: {
1970
1970
  post: {
1971
1971
  body: {
1972
1972
  timestamp: number;
@@ -1984,7 +1984,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1984
1984
  };
1985
1985
  } & {
1986
1986
  roots: {
1987
- index: {
1987
+ engine: {
1988
1988
  post: {
1989
1989
  body: {
1990
1990
  timestamp: number;
@@ -1985,7 +1985,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1985
1985
  };
1986
1986
  } & {
1987
1987
  roots: {
1988
- index: {
1988
+ engine: {
1989
1989
  post: {
1990
1990
  body: {
1991
1991
  timestamp: number;
@@ -1967,7 +1967,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1967
1967
  };
1968
1968
  } & {
1969
1969
  roots: {
1970
- index: {
1970
+ engine: {
1971
1971
  post: {
1972
1972
  body: {
1973
1973
  timestamp: number;
@@ -1968,7 +1968,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1968
1968
  };
1969
1969
  } & {
1970
1970
  roots: {
1971
- index: {
1971
+ engine: {
1972
1972
  post: {
1973
1973
  body: {
1974
1974
  timestamp: number;
@@ -1970,7 +1970,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1970
1970
  };
1971
1971
  } & {
1972
1972
  roots: {
1973
- index: {
1973
+ engine: {
1974
1974
  post: {
1975
1975
  body: {
1976
1976
  timestamp: number;