@merkl/api 0.10.206 → 0.10.208
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/database/api/.generated/edge.js +5 -4
- package/dist/database/api/.generated/index-browser.js +2 -1
- package/dist/database/api/.generated/index.d.ts +2 -1
- package/dist/database/api/.generated/index.js +5 -4
- package/dist/database/api/.generated/package.json +1 -1
- package/dist/database/api/.generated/schema.prisma +1 -0
- package/dist/database/api/.generated/wasm.js +2 -1
- package/dist/src/eden/index.d.ts +8672 -2
- package/dist/src/index.d.ts +3358 -1
- package/dist/src/index.js +4 -4
- package/dist/src/modules/v4/campaign/campaign.model.js +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +2 -0
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +31 -1
- package/dist/src/modules/v4/protocol/protocol.controller.js +8 -1
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +11 -0
- package/dist/src/modules/v4/protocol/protocol.model.js +8 -0
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +2 -2
- package/dist/src/modules/v4/protocol/protocol.repository.js +12 -3
- package/dist/src/modules/v4/protocol/protocol.service.d.ts +9 -1
- package/dist/src/modules/v4/protocol/protocol.service.js +3 -0
- package/dist/src/modules/v4/router.d.ts +33 -3
- package/dist/src/routes/v2/merkl.d.ts +4 -4
- package/dist/src/routes/v2/router.d.ts +4 -4
- package/dist/src/routes/v3/blacklist.d.ts +38 -2
- package/dist/src/routes/v3/campaigns.d.ts +41 -2
- package/dist/src/routes/v3/campaignsInfo.d.ts +40 -2
- package/dist/src/routes/v3/claims.d.ts +1 -1
- package/dist/src/routes/v3/multiChainPositions.d.ts +39 -2
- package/dist/src/routes/v3/opportunity.d.ts +42 -2
- package/dist/src/routes/v3/positions.d.ts +38 -2
- package/dist/src/routes/v3/rewards.d.ts +66 -2
- package/dist/src/routes/v3/router.d.ts +773 -1
- package/dist/src/routes/v3/updates.d.ts +42 -2
- package/dist/src/routes/v3/userRewards.d.ts +56 -2
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/utils/rateLimit.d.ts +0 -63
- package/dist/src/utils/rateLimit.js +0 -13
@@ -1,4 +1,4 @@
|
|
1
|
-
import type
|
1
|
+
import type Elysia from "elysia";
|
2
2
|
import { type TSchema } from "elysia";
|
3
3
|
export declare const query: import("@sinclair/typebox").TObject<{
|
4
4
|
chainId: import("@sinclair/typebox").TUnion<TSchema[]>;
|
@@ -23,5 +23,41 @@ export declare const response: import("@sinclair/typebox").TRecord<import("@sinc
|
|
23
23
|
balance: import("@sinclair/typebox").TNumber;
|
24
24
|
}>)[]>>;
|
25
25
|
}>>;
|
26
|
-
declare const _default: (app:
|
26
|
+
declare const _default: (app: Elysia) => Elysia<"", false, {
|
27
|
+
decorator: {};
|
28
|
+
store: {};
|
29
|
+
derive: {};
|
30
|
+
resolve: {};
|
31
|
+
}, {
|
32
|
+
type: {};
|
33
|
+
error: {};
|
34
|
+
}, {
|
35
|
+
schema: {};
|
36
|
+
macro: {};
|
37
|
+
macroFn: {};
|
38
|
+
}, {
|
39
|
+
positions: {
|
40
|
+
get: {
|
41
|
+
body: unknown;
|
42
|
+
params: {};
|
43
|
+
query: {
|
44
|
+
chainId: never;
|
45
|
+
user: string;
|
46
|
+
};
|
47
|
+
headers: unknown;
|
48
|
+
response: {
|
49
|
+
[x: string]: any;
|
50
|
+
200: any;
|
51
|
+
};
|
52
|
+
};
|
53
|
+
};
|
54
|
+
}, {
|
55
|
+
derive: {};
|
56
|
+
resolve: {};
|
57
|
+
schema: {};
|
58
|
+
}, {
|
59
|
+
derive: {};
|
60
|
+
resolve: {};
|
61
|
+
schema: {};
|
62
|
+
}>;
|
27
63
|
export default _default;
|
@@ -1,8 +1,72 @@
|
|
1
|
-
import type
|
1
|
+
import type Elysia from "elysia";
|
2
2
|
export declare const query: import("@sinclair/typebox").TObject<{
|
3
3
|
chainIds: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>]>>;
|
4
4
|
user: import("@sinclair/typebox").TString;
|
5
5
|
creatorTag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
6
6
|
}>;
|
7
|
-
declare const _default: (app:
|
7
|
+
declare const _default: (app: Elysia) => Elysia<"", false, {
|
8
|
+
decorator: {};
|
9
|
+
store: {};
|
10
|
+
derive: {};
|
11
|
+
resolve: {};
|
12
|
+
}, {
|
13
|
+
type: {};
|
14
|
+
error: {};
|
15
|
+
}, {
|
16
|
+
schema: {};
|
17
|
+
macro: {};
|
18
|
+
macroFn: {};
|
19
|
+
}, {
|
20
|
+
rewards: {
|
21
|
+
get: {
|
22
|
+
body: unknown;
|
23
|
+
params: {};
|
24
|
+
query: {
|
25
|
+
creatorTag?: string | undefined;
|
26
|
+
chainIds?: string | string[] | undefined;
|
27
|
+
user: string;
|
28
|
+
};
|
29
|
+
headers: unknown;
|
30
|
+
response: {
|
31
|
+
200: {
|
32
|
+
[x: string]: {
|
33
|
+
campaignData: {
|
34
|
+
[x: string]: {
|
35
|
+
[x: string]: {
|
36
|
+
pending?: string | undefined;
|
37
|
+
symbol: string;
|
38
|
+
token: string;
|
39
|
+
mainParameter: string;
|
40
|
+
decimals: number;
|
41
|
+
auxiliaryData1: string;
|
42
|
+
auxiliaryData2: string;
|
43
|
+
unclaimed: string;
|
44
|
+
accumulated: string;
|
45
|
+
};
|
46
|
+
};
|
47
|
+
};
|
48
|
+
tokenData: {
|
49
|
+
[x: string]: {
|
50
|
+
pending?: string | undefined;
|
51
|
+
symbol: string;
|
52
|
+
decimals: number;
|
53
|
+
proof: string[];
|
54
|
+
unclaimed: string;
|
55
|
+
accumulated: string;
|
56
|
+
};
|
57
|
+
};
|
58
|
+
};
|
59
|
+
};
|
60
|
+
};
|
61
|
+
};
|
62
|
+
};
|
63
|
+
}, {
|
64
|
+
derive: {};
|
65
|
+
resolve: {};
|
66
|
+
schema: {};
|
67
|
+
}, {
|
68
|
+
derive: {};
|
69
|
+
resolve: {};
|
70
|
+
schema: {};
|
71
|
+
}>;
|
8
72
|
export default _default;
|