@merkl/api 0.10.298 → 0.10.299

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.
@@ -2269,13 +2269,11 @@ declare const eden: {
2269
2269
  score: string;
2270
2270
  }[] | {
2271
2271
  addresses: string[];
2272
- }, options: {
2273
- headers: {
2274
- authorization: string;
2275
- };
2272
+ }, options?: {
2273
+ headers?: Record<string, unknown> | undefined;
2276
2274
  query?: Record<string, unknown> | undefined;
2277
2275
  fetch?: RequestInit | undefined;
2278
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
2276
+ } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
2279
2277
  200: {
2280
2278
  address: string;
2281
2279
  boost: string;
@@ -5702,9 +5700,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5702
5700
  }[];
5703
5701
  params: {};
5704
5702
  query: unknown;
5705
- headers: {
5706
- authorization: string;
5707
- };
5703
+ headers: unknown;
5708
5704
  response: {
5709
5705
  200: {
5710
5706
  address: string;
@@ -8744,13 +8740,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8744
8740
  score: string;
8745
8741
  }[] | {
8746
8742
  addresses: string[];
8747
- }, options: {
8748
- headers: {
8749
- authorization: string;
8750
- };
8743
+ }, options?: {
8744
+ headers?: Record<string, unknown> | undefined;
8751
8745
  query?: Record<string, unknown> | undefined;
8752
8746
  fetch?: RequestInit | undefined;
8753
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
8747
+ } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
8754
8748
  200: {
8755
8749
  address: string;
8756
8750
  boost: string;
@@ -2834,9 +2834,7 @@ declare const app: Elysia<"", false, {
2834
2834
  }[];
2835
2835
  params: {};
2836
2836
  query: unknown;
2837
- headers: {
2838
- authorization: string;
2839
- };
2837
+ headers: unknown;
2840
2838
  response: {
2841
2839
  200: {
2842
2840
  address: string;
@@ -23,9 +23,7 @@ export declare const BoostController: Elysia<"/boosts", false, {
23
23
  }[];
24
24
  params: {};
25
25
  query: unknown;
26
- headers: {
27
- authorization: string;
28
- };
26
+ headers: unknown;
29
27
  response: {
30
28
  200: {
31
29
  address: string;
@@ -1,4 +1,3 @@
1
- import { AuthorizationHeadersDto, BackOfficeGuard } from "../../../guards/BackOffice.guard";
2
1
  import Elysia from "elysia";
3
2
  import { getEulerBoostBody } from "./boost.model";
4
3
  import { BoostService } from "./boost.service";
@@ -6,9 +5,5 @@ export const BoostController = new Elysia({ prefix: "/boosts", detail: { tags: [
6
5
  // ─── Get Euler Boost ─────────────────────────────────────────────────
7
6
  .post("/euler", async ({ body }) => await BoostService.getEulerBoost(), {
8
7
  body: getEulerBoostBody,
9
- headers: AuthorizationHeadersDto,
10
- beforeHandle: async ({ headers }) => {
11
- await BackOfficeGuard({ headers });
12
- },
13
8
  detail: { hide: true },
14
9
  });
@@ -2712,9 +2712,7 @@ export declare const v4: Elysia<"/v4", false, {
2712
2712
  }[];
2713
2713
  params: {};
2714
2714
  query: unknown;
2715
- headers: {
2716
- authorization: string;
2717
- };
2715
+ headers: unknown;
2718
2716
  response: {
2719
2717
  200: {
2720
2718
  address: string;