@merkl/api 1.0.84 → 1.0.85

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.
@@ -10128,6 +10128,39 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
10128
10128
  };
10129
10129
  };
10130
10130
  };
10131
+ } & {
10132
+ v4: {
10133
+ ton: {
10134
+ users: {
10135
+ ":tonAddress": {
10136
+ get: {
10137
+ body: unknown;
10138
+ params: {
10139
+ tonAddress: string;
10140
+ };
10141
+ query: unknown;
10142
+ headers: unknown;
10143
+ response: {
10144
+ 200: {
10145
+ address: string;
10146
+ tags: string[];
10147
+ creatorId: string | null;
10148
+ };
10149
+ 422: {
10150
+ type: "validation";
10151
+ on: string;
10152
+ summary?: string;
10153
+ message?: string;
10154
+ found?: unknown;
10155
+ property?: string;
10156
+ expected?: string;
10157
+ };
10158
+ };
10159
+ };
10160
+ };
10161
+ };
10162
+ };
10163
+ };
10131
10164
  }, {
10132
10165
  derive: {};
10133
10166
  resolve: {};
@@ -19046,5 +19079,31 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
19046
19079
  };
19047
19080
  }>>;
19048
19081
  };
19082
+ ton: {
19083
+ users: ((params: {
19084
+ tonAddress: string | number;
19085
+ }) => {
19086
+ get: (options?: {
19087
+ headers?: Record<string, unknown> | undefined;
19088
+ query?: Record<string, unknown> | undefined;
19089
+ fetch?: RequestInit | undefined;
19090
+ } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
19091
+ 200: {
19092
+ address: string;
19093
+ tags: string[];
19094
+ creatorId: string | null;
19095
+ };
19096
+ 422: {
19097
+ type: "validation";
19098
+ on: string;
19099
+ summary?: string;
19100
+ message?: string;
19101
+ found?: unknown;
19102
+ property?: string;
19103
+ expected?: string;
19104
+ };
19105
+ }>>;
19106
+ }) & {};
19107
+ };
19049
19108
  };
19050
19109
  };
@@ -10129,6 +10129,39 @@ declare const app: Elysia<"", {
10129
10129
  };
10130
10130
  };
10131
10131
  };
10132
+ } & {
10133
+ v4: {
10134
+ ton: {
10135
+ users: {
10136
+ ":tonAddress": {
10137
+ get: {
10138
+ body: unknown;
10139
+ params: {
10140
+ tonAddress: string;
10141
+ };
10142
+ query: unknown;
10143
+ headers: unknown;
10144
+ response: {
10145
+ 200: {
10146
+ address: string;
10147
+ tags: string[];
10148
+ creatorId: string | null;
10149
+ };
10150
+ 422: {
10151
+ type: "validation";
10152
+ on: string;
10153
+ summary?: string;
10154
+ message?: string;
10155
+ found?: unknown;
10156
+ property?: string;
10157
+ expected?: string;
10158
+ };
10159
+ };
10160
+ };
10161
+ };
10162
+ };
10163
+ };
10164
+ };
10132
10165
  }, {
10133
10166
  derive: {};
10134
10167
  resolve: {};
@@ -8558,6 +8558,39 @@ export declare const v4: Elysia<"/v4", {
8558
8558
  };
8559
8559
  };
8560
8560
  };
8561
+ } & {
8562
+ v4: {
8563
+ ton: {
8564
+ users: {
8565
+ ":tonAddress": {
8566
+ get: {
8567
+ body: unknown;
8568
+ params: {
8569
+ tonAddress: string;
8570
+ };
8571
+ query: unknown;
8572
+ headers: unknown;
8573
+ response: {
8574
+ 200: {
8575
+ address: string;
8576
+ tags: string[];
8577
+ creatorId: string | null;
8578
+ };
8579
+ 422: {
8580
+ type: "validation";
8581
+ on: string;
8582
+ summary?: string;
8583
+ message?: string;
8584
+ found?: unknown;
8585
+ property?: string;
8586
+ expected?: string;
8587
+ };
8588
+ };
8589
+ };
8590
+ };
8591
+ };
8592
+ };
8593
+ };
8561
8594
  }, {
8562
8595
  derive: {};
8563
8596
  resolve: {};
@@ -0,0 +1,57 @@
1
+ import Elysia from "elysia";
2
+ export declare const TonController: Elysia<"ton", {
3
+ decorator: {};
4
+ store: {};
5
+ derive: {};
6
+ resolve: {};
7
+ }, {
8
+ typebox: {};
9
+ error: {};
10
+ }, {
11
+ schema: {};
12
+ standaloneSchema: {};
13
+ macro: {};
14
+ macroFn: {};
15
+ parser: {};
16
+ }, {
17
+ ton: {
18
+ users: {
19
+ ":tonAddress": {
20
+ get: {
21
+ body: unknown;
22
+ params: {
23
+ tonAddress: string;
24
+ };
25
+ query: unknown;
26
+ headers: unknown;
27
+ response: {
28
+ 200: {
29
+ address: string;
30
+ tags: string[];
31
+ creatorId: string | null;
32
+ };
33
+ 422: {
34
+ type: "validation";
35
+ on: string;
36
+ summary?: string;
37
+ message?: string;
38
+ found?: unknown;
39
+ property?: string;
40
+ expected?: string;
41
+ };
42
+ };
43
+ };
44
+ };
45
+ };
46
+ };
47
+ }, {
48
+ derive: {};
49
+ resolve: {};
50
+ schema: {};
51
+ standaloneSchema: {};
52
+ }, {
53
+ derive: {};
54
+ resolve: {};
55
+ schema: {};
56
+ standaloneSchema: {};
57
+ }>;
@@ -0,0 +1,3 @@
1
+ export declare abstract class TonService {
2
+ static getEvmAddress(tonAddress: string): Promise<`0x${string}`>;
3
+ }