@merkl/api 0.10.127 → 0.10.128

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. package/dist/package.json +4 -2
  2. package/dist/src/backgroundJobs/jobs/campaignsCacheUpdater.d.ts +2 -1
  3. package/dist/src/backgroundJobs/jobs/health.d.ts +2 -1
  4. package/dist/src/backgroundJobs/jobs/opportunityUpdater.d.ts +2 -1
  5. package/dist/src/backgroundJobs/jobs/priceUpdater.d.ts +2 -1
  6. package/dist/src/backgroundJobs/jobs/sync.d.ts +2 -1
  7. package/dist/src/eden/index.d.ts +129 -116
  8. package/dist/src/hooks/checkQueryAddressValidity.d.ts +1 -0
  9. package/dist/src/hooks/checkQueryChainIdValidity.d.ts +1 -0
  10. package/dist/src/index.d.ts +81 -76
  11. package/dist/src/internal/controllers/endingCampaigns.d.ts +2 -1
  12. package/dist/src/internal/controllers/unclaimed.d.ts +2 -1
  13. package/dist/src/modules/v4/accounting/accounting.controller.d.ts +3 -2
  14. package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +5 -4
  15. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +7 -6
  16. package/dist/src/modules/v4/chain/chain.controller.d.ts +4 -3
  17. package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +1 -0
  18. package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +3 -2
  19. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +10 -10
  20. package/dist/src/modules/v4/participate/participate.controller.d.ts +5 -4
  21. package/dist/src/modules/v4/price/price.controller.d.ts +6 -5
  22. package/dist/src/modules/v4/protocol/protocol.controller.d.ts +8 -5
  23. package/dist/src/modules/v4/reward/reward.controller.d.ts +20 -13
  24. package/dist/src/modules/v4/router.d.ts +79 -70
  25. package/dist/src/modules/v4/status/status.controller.d.ts +6 -5
  26. package/dist/src/modules/v4/token/token.controller.d.ts +6 -6
  27. package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.d.ts +2 -1
  28. package/dist/src/modules/v4/user/user.controller.d.ts +8 -5
  29. package/dist/src/plugins/error-handling.plugin.d.ts +1 -0
  30. package/dist/src/plugins/logger.plugin.d.ts +1 -0
  31. package/dist/src/routes/v1/allowances.d.ts +3 -2
  32. package/dist/src/routes/v1/balances.d.ts +3 -2
  33. package/dist/src/routes/v1/prices.d.ts +2 -1
  34. package/dist/src/routes/v1/tokens.d.ts +2 -1
  35. package/dist/src/routes/v2/merkl.d.ts +2 -1
  36. package/dist/src/routes/v3/ERC20Campaigns.d.ts +84 -78
  37. package/dist/src/routes/v3/app.d.ts +3 -2
  38. package/dist/src/routes/v3/blacklist.d.ts +82 -77
  39. package/dist/src/routes/v3/campaign/delay.d.ts +6 -1
  40. package/dist/src/routes/v3/campaignClaims.d.ts +2 -1
  41. package/dist/src/routes/v3/campaignReport.d.ts +2 -1
  42. package/dist/src/routes/v3/campaignUnclaimed.d.ts +3 -2
  43. package/dist/src/routes/v3/campaigns.d.ts +84 -78
  44. package/dist/src/routes/v3/campaignsForMainParameter.d.ts +2 -1
  45. package/dist/src/routes/v3/campaignsInfo.d.ts +87 -78
  46. package/dist/src/routes/v3/campaignsRewardsReport.d.ts +2 -1
  47. package/dist/src/routes/v3/claims.d.ts +2 -1
  48. package/dist/src/routes/v3/compoundV2.d.ts +12 -2
  49. package/dist/src/routes/v3/createCampaign.d.ts +2 -1
  50. package/dist/src/routes/v3/dolomite.d.ts +2 -1
  51. package/dist/src/routes/v3/euler.d.ts +2 -1
  52. package/dist/src/routes/v3/exports/campaigns.d.ts +2 -1
  53. package/dist/src/routes/v3/fetch.d.ts +2 -1
  54. package/dist/src/routes/v3/health.d.ts +2 -1
  55. package/dist/src/routes/v3/lostyield.d.ts +2 -1
  56. package/dist/src/routes/v3/merkl.d.ts +2 -1
  57. package/dist/src/routes/v3/morphoMarkets.d.ts +2 -1
  58. package/dist/src/routes/v3/morphoVaults.d.ts +2 -1
  59. package/dist/src/routes/v3/multiChainPositions.d.ts +84 -78
  60. package/dist/src/routes/v3/opportunity.d.ts +86 -96
  61. package/dist/src/routes/v3/overview.d.ts +22 -4
  62. package/dist/src/routes/v3/parse.d.ts +2 -1
  63. package/dist/src/routes/v3/payload.d.ts +2 -1
  64. package/dist/src/routes/v3/poolInfo.d.ts +2 -1
  65. package/dist/src/routes/v3/positions.d.ts +85 -79
  66. package/dist/src/routes/v3/radiant.d.ts +2 -1
  67. package/dist/src/routes/v3/recipients.d.ts +2 -1
  68. package/dist/src/routes/v3/rewards.d.ts +111 -78
  69. package/dist/src/routes/v3/rewardsReport.d.ts +2 -1
  70. package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -1
  71. package/dist/src/routes/v3/silo.d.ts +2 -1
  72. package/dist/src/routes/v3/token.d.ts +3 -2
  73. package/dist/src/routes/v3/tokenUnclaimed.d.ts +2 -1
  74. package/dist/src/routes/v3/twt/participants.d.ts +2 -1
  75. package/dist/src/routes/v3/updates.d.ts +91 -78
  76. package/dist/src/routes/v3/userRewards.d.ts +83 -78
  77. package/dist/src/utils/error.d.ts +1 -0
  78. package/dist/src/utils/validation.d.ts +3 -3
  79. package/dist/tsconfig.package.tsbuildinfo +1 -1
  80. package/package.json +4 -2
  81. package/dist/src/utils/trace.d.ts +0 -26
package/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.0.9",
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.127"
90
+ "version": "v0.10.128"
89
91
  }
@@ -1,26 +0,0 @@
1
- import ddtrace from "dd-trace";
2
- import type Elysia from "elysia";
3
- export declare const tracer: () => (app: Elysia) => Elysia<"", false, {
4
- decorator: {};
5
- store: {};
6
- derive: {};
7
- resolve: {};
8
- }, {
9
- type: {};
10
- error: {};
11
- }, {
12
- schema: {};
13
- macro: {};
14
- }, {}, {
15
- derive: {};
16
- resolve: {};
17
- schema: {};
18
- }, {
19
- derive: {
20
- readonly tracer: ddtrace.Tracer;
21
- readonly span: ddtrace.Span;
22
- readonly trace: <R, T extends () => R>(handler: T) => R;
23
- };
24
- resolve: {};
25
- schema: {};
26
- }>;