@merkl/api 0.10.126 → 0.10.128
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/package.json +4 -2
- package/dist/src/backgroundJobs/jobs/campaignsCacheUpdater.d.ts +2 -1
- package/dist/src/backgroundJobs/jobs/health.d.ts +2 -1
- package/dist/src/backgroundJobs/jobs/opportunityUpdater.d.ts +2 -1
- package/dist/src/backgroundJobs/jobs/priceUpdater.d.ts +2 -1
- package/dist/src/backgroundJobs/jobs/sync.d.ts +2 -1
- package/dist/src/eden/index.d.ts +237 -116
- package/dist/src/hooks/checkQueryAddressValidity.d.ts +1 -0
- package/dist/src/hooks/checkQueryChainIdValidity.d.ts +1 -0
- package/dist/src/index.d.ts +117 -76
- package/dist/src/internal/controllers/endingCampaigns.d.ts +2 -1
- package/dist/src/internal/controllers/unclaimed.d.ts +2 -1
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +3 -2
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +5 -4
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +7 -6
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +8 -0
- package/dist/src/modules/v4/chain/chain.controller.d.ts +4 -3
- package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +1 -0
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +3 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +46 -10
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +57 -6
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +48 -0
- package/dist/src/modules/v4/participate/participate.controller.d.ts +5 -4
- package/dist/src/modules/v4/price/price.controller.d.ts +6 -5
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +8 -5
- package/dist/src/modules/v4/reward/reward.controller.d.ts +20 -13
- package/dist/src/modules/v4/reward/reward.model.d.ts +4 -1
- package/dist/src/modules/v4/router.d.ts +115 -70
- package/dist/src/modules/v4/status/status.controller.d.ts +6 -5
- package/dist/src/modules/v4/token/token.controller.d.ts +6 -6
- package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.d.ts +2 -1
- package/dist/src/modules/v4/user/user.controller.d.ts +8 -5
- package/dist/src/plugins/error-handling.plugin.d.ts +1 -0
- package/dist/src/plugins/logger.plugin.d.ts +1 -0
- package/dist/src/routes/v1/allowances.d.ts +3 -2
- package/dist/src/routes/v1/balances.d.ts +3 -2
- package/dist/src/routes/v1/prices.d.ts +2 -1
- package/dist/src/routes/v1/tokens.d.ts +2 -1
- package/dist/src/routes/v2/merkl.d.ts +2 -1
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +120 -78
- package/dist/src/routes/v3/app.d.ts +3 -2
- package/dist/src/routes/v3/blacklist.d.ts +118 -77
- package/dist/src/routes/v3/campaign/delay.d.ts +6 -1
- package/dist/src/routes/v3/campaignClaims.d.ts +2 -1
- package/dist/src/routes/v3/campaignReport.d.ts +2 -1
- package/dist/src/routes/v3/campaignUnclaimed.d.ts +3 -2
- package/dist/src/routes/v3/campaigns.d.ts +120 -78
- package/dist/src/routes/v3/campaignsForMainParameter.d.ts +2 -1
- package/dist/src/routes/v3/campaignsInfo.d.ts +123 -78
- package/dist/src/routes/v3/campaignsRewardsReport.d.ts +2 -1
- package/dist/src/routes/v3/claims.d.ts +2 -1
- package/dist/src/routes/v3/compoundV2.d.ts +12 -2
- package/dist/src/routes/v3/createCampaign.d.ts +2 -1
- package/dist/src/routes/v3/dolomite.d.ts +2 -1
- package/dist/src/routes/v3/euler.d.ts +2 -1
- package/dist/src/routes/v3/exports/campaigns.d.ts +2 -1
- package/dist/src/routes/v3/fetch.d.ts +2 -1
- package/dist/src/routes/v3/health.d.ts +2 -1
- package/dist/src/routes/v3/lostyield.d.ts +2 -1
- package/dist/src/routes/v3/merkl.d.ts +2 -1
- package/dist/src/routes/v3/morphoMarkets.d.ts +2 -1
- package/dist/src/routes/v3/morphoVaults.d.ts +2 -1
- package/dist/src/routes/v3/multiChainPositions.d.ts +120 -78
- package/dist/src/routes/v3/opportunity.d.ts +122 -96
- package/dist/src/routes/v3/overview.d.ts +22 -4
- package/dist/src/routes/v3/parse.d.ts +2 -1
- package/dist/src/routes/v3/payload.d.ts +2 -1
- package/dist/src/routes/v3/poolInfo.d.ts +2 -1
- package/dist/src/routes/v3/positions.d.ts +121 -79
- package/dist/src/routes/v3/radiant.d.ts +2 -1
- package/dist/src/routes/v3/recipients.d.ts +2 -1
- package/dist/src/routes/v3/rewards.d.ts +147 -78
- package/dist/src/routes/v3/rewardsReport.d.ts +2 -1
- package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -1
- package/dist/src/routes/v3/silo.d.ts +2 -1
- package/dist/src/routes/v3/token.d.ts +3 -2
- package/dist/src/routes/v3/tokenUnclaimed.d.ts +2 -1
- package/dist/src/routes/v3/twt/participants.d.ts +2 -1
- package/dist/src/routes/v3/updates.d.ts +127 -78
- package/dist/src/routes/v3/userRewards.d.ts +119 -78
- package/dist/src/utils/error.d.ts +1 -0
- package/dist/src/utils/validation.d.ts +3 -3
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +4 -2
- package/dist/src/utils/trace.d.ts +0 -26
package/dist/package.json
CHANGED
@@ -31,6 +31,7 @@
|
|
31
31
|
"dependencies": {
|
32
32
|
"@bogeychan/elysia-logger": "^0.0.13",
|
33
33
|
"@elysiajs/cors": "^0.7.2",
|
34
|
+
"@elysiajs/opentelemetry": "^1.1.7",
|
34
35
|
"@elysiajs/swagger": "^0.7.4",
|
35
36
|
"@ethersproject/abi": "^5.7.0",
|
36
37
|
"@prisma/client": "6.0.1",
|
@@ -45,7 +46,7 @@
|
|
45
46
|
"commander": "^12.1.0",
|
46
47
|
"crypto-js": "^4.2.0",
|
47
48
|
"dd-trace": "^5.22.0",
|
48
|
-
"elysia": "1.
|
49
|
+
"elysia": "1.1.26",
|
49
50
|
"elysia-autoroutes": "^0.5.0",
|
50
51
|
"elysia-rate-limit": "^4.1.0",
|
51
52
|
"ethers": "^5.7.2",
|
@@ -72,6 +73,7 @@
|
|
72
73
|
"@types/treeify": "^1.0.3",
|
73
74
|
"@types/uuid": "^9.0.7",
|
74
75
|
"bun-types": "latest",
|
76
|
+
"chalk": "^5.3.0",
|
75
77
|
"prisma": "^6.0.1"
|
76
78
|
},
|
77
79
|
"repository": {
|
@@ -85,5 +87,5 @@
|
|
85
87
|
"access": "public",
|
86
88
|
"registry": "https://registry.npmjs.org/"
|
87
89
|
},
|
88
|
-
"version": "v0.10.
|
90
|
+
"version": "v0.10.128"
|
89
91
|
}
|
@@ -16,12 +16,13 @@ export declare const campaignsCacheUpdater: Elysia<"", false, {
|
|
16
16
|
}, {
|
17
17
|
schema: {};
|
18
18
|
macro: {};
|
19
|
+
macroFn: {};
|
19
20
|
}, {
|
20
21
|
v3: {
|
21
22
|
update: {
|
22
23
|
get: {
|
23
24
|
body: unknown;
|
24
|
-
params:
|
25
|
+
params: {};
|
25
26
|
query: {
|
26
27
|
chainId: string;
|
27
28
|
};
|
@@ -13,12 +13,13 @@ export declare const healthCheck: (app: Elysia) => Elysia<"", false, {
|
|
13
13
|
}, {
|
14
14
|
schema: {};
|
15
15
|
macro: {};
|
16
|
+
macroFn: {};
|
16
17
|
}, {
|
17
18
|
v3: {
|
18
19
|
health: {
|
19
20
|
get: {
|
20
21
|
body: unknown;
|
21
|
-
params:
|
22
|
+
params: {};
|
22
23
|
query: {};
|
23
24
|
headers: unknown;
|
24
25
|
response: {
|
@@ -12,12 +12,13 @@ export declare const opportunityUpdater: (app: Elysia) => Elysia<"", false, {
|
|
12
12
|
}, {
|
13
13
|
schema: {};
|
14
14
|
macro: {};
|
15
|
+
macroFn: {};
|
15
16
|
}, {
|
16
17
|
v3: {
|
17
18
|
updateOpportunities: {
|
18
19
|
get: {
|
19
20
|
body: unknown;
|
20
|
-
params:
|
21
|
+
params: {};
|
21
22
|
query: unknown;
|
22
23
|
headers: unknown;
|
23
24
|
response: {
|
@@ -10,12 +10,13 @@ export declare const priceUpdater: (app: Elysia) => Elysia<"", false, {
|
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
|
+
macroFn: {};
|
13
14
|
}, {
|
14
15
|
v3: {
|
15
16
|
updatePrices: {
|
16
17
|
get: {
|
17
18
|
body: unknown;
|
18
|
-
params:
|
19
|
+
params: {};
|
19
20
|
query: unknown;
|
20
21
|
headers: unknown;
|
21
22
|
response: {
|
@@ -10,13 +10,14 @@ export declare const sync: Elysia<"/jobs", false, {
|
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
|
+
macroFn: {};
|
13
14
|
}, {
|
14
15
|
jobs: {
|
15
16
|
api: {
|
16
17
|
"sync-with-engine": {
|
17
18
|
get: {
|
18
19
|
body: unknown;
|
19
|
-
params:
|
20
|
+
params: {};
|
20
21
|
query: unknown;
|
21
22
|
headers: {
|
22
23
|
authorization: string;
|