@merkl/api 0.10.177 → 0.10.180

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. package/dist/database/api/.generated/edge.js +6 -6
  2. package/dist/database/api/.generated/index-browser.js +4 -4
  3. package/dist/database/api/.generated/index.d.ts +2 -2
  4. package/dist/database/api/.generated/index.js +6 -6
  5. package/dist/database/api/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
  6. package/dist/database/api/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
  7. package/dist/database/api/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
  8. package/dist/database/api/.generated/package.json +1 -1
  9. package/dist/database/api/.generated/runtime/edge-esm.js +15 -15
  10. package/dist/database/api/.generated/runtime/edge.js +16 -16
  11. package/dist/database/api/.generated/runtime/library.d.ts +23 -34
  12. package/dist/database/api/.generated/runtime/library.js +56 -56
  13. package/dist/database/api/.generated/runtime/react-native.js +23 -23
  14. package/dist/database/api/.generated/runtime/wasm.js +15 -15
  15. package/dist/database/api/.generated/wasm.js +4 -4
  16. package/dist/database/engine/.generated/edge.js +6 -6
  17. package/dist/database/engine/.generated/index-browser.js +4 -4
  18. package/dist/database/engine/.generated/index.d.ts +2 -2
  19. package/dist/database/engine/.generated/index.js +6 -6
  20. package/dist/database/engine/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
  21. package/dist/database/engine/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
  22. package/dist/database/engine/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
  23. package/dist/database/engine/.generated/package.json +1 -1
  24. package/dist/database/engine/.generated/runtime/edge-esm.js +15 -15
  25. package/dist/database/engine/.generated/runtime/edge.js +16 -16
  26. package/dist/database/engine/.generated/runtime/library.d.ts +23 -34
  27. package/dist/database/engine/.generated/runtime/library.js +56 -56
  28. package/dist/database/engine/.generated/runtime/react-native.js +23 -23
  29. package/dist/database/engine/.generated/runtime/wasm.js +15 -15
  30. package/dist/database/engine/.generated/wasm.js +4 -4
  31. package/dist/src/eden/index.d.ts +336 -51
  32. package/dist/src/index.d.ts +136 -17
  33. package/dist/src/index.js +1 -1
  34. package/dist/src/libs/campaigns/campaignTypes/CLAMMDynamicData.js +2 -2
  35. package/dist/src/modules/v4/bucket/bucket.service.d.ts +5 -0
  36. package/dist/src/modules/v4/bucket/bucket.service.js +11 -0
  37. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +11 -13
  38. package/dist/src/modules/v4/campaign/campaign.controller.js +3 -3
  39. package/dist/src/modules/v4/campaign/campaign.repository.js +1 -1
  40. package/dist/src/modules/v4/chain/chain.controller.d.ts +24 -0
  41. package/dist/src/modules/v4/chain/chain.controller.js +8 -2
  42. package/dist/src/modules/v4/chain/chain.model.d.ts +4 -0
  43. package/dist/src/modules/v4/chain/chain.model.js +4 -0
  44. package/dist/src/modules/v4/chain/chain.repository.d.ts +6 -1
  45. package/dist/src/modules/v4/chain/chain.repository.js +3 -0
  46. package/dist/src/modules/v4/chain/chain.service.d.ts +6 -1
  47. package/dist/src/modules/v4/chain/chain.service.js +7 -0
  48. package/dist/src/modules/v4/enso/enso.service.d.ts +1 -1
  49. package/dist/src/modules/v4/interaction/interaction.controller.d.ts +1 -1
  50. package/dist/src/modules/v4/{position → liquidity}/implementations/AjnaPositionFetcher.d.ts +1 -1
  51. package/dist/src/modules/v4/{position → liquidity}/implementations/BadgerPositionFetcher.d.ts +1 -1
  52. package/dist/src/modules/v4/{position → liquidity}/implementations/ClammPositionFetcher.d.ts +1 -1
  53. package/dist/src/modules/v4/{position → liquidity}/implementations/DolomitePositionFetcher.d.ts +1 -1
  54. package/dist/src/modules/v4/{position → liquidity}/implementations/DolomitePositionFetcher.js +2 -2
  55. package/dist/src/modules/v4/{position → liquidity}/implementations/ERC20PositionFetcher.d.ts +1 -1
  56. package/dist/src/modules/v4/{position → liquidity}/implementations/EulerPositionFetcher.d.ts +1 -1
  57. package/dist/src/modules/v4/liquidity/index.d.ts +2 -0
  58. package/dist/src/modules/v4/liquidity/index.js +2 -0
  59. package/dist/src/modules/v4/{position/position.controller.d.ts → liquidity/liquidity.controller.d.ts} +3 -3
  60. package/dist/src/modules/v4/{position/position.controller.js → liquidity/liquidity.controller.js} +4 -4
  61. package/dist/src/modules/v4/{position/position.repository.d.ts → liquidity/liquidity.repository.d.ts} +1 -1
  62. package/dist/src/modules/v4/{position/position.repository.js → liquidity/liquidity.repository.js} +1 -1
  63. package/dist/src/modules/v4/liquidity/liquidity.service.d.ts +5 -0
  64. package/dist/src/modules/v4/{position/position.service.js → liquidity/liquidity.service.js} +2 -2
  65. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +34 -0
  66. package/dist/src/modules/v4/opportunity/opportunity.controller.js +11 -2
  67. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +8 -0
  68. package/dist/src/modules/v4/opportunity/opportunity.model.js +5 -0
  69. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +29 -1
  70. package/dist/src/modules/v4/opportunity/opportunity.repository.js +6 -0
  71. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +15 -1
  72. package/dist/src/modules/v4/opportunity/opportunity.service.js +7 -6
  73. package/dist/src/modules/v4/protocol/protocol.controller.d.ts +30 -1
  74. package/dist/src/modules/v4/protocol/protocol.controller.js +9 -2
  75. package/dist/src/modules/v4/protocol/protocol.model.d.ts +10 -1
  76. package/dist/src/modules/v4/protocol/protocol.model.js +9 -0
  77. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +9 -1
  78. package/dist/src/modules/v4/protocol/protocol.repository.js +4 -1
  79. package/dist/src/modules/v4/protocol/protocol.service.d.ts +11 -3
  80. package/dist/src/modules/v4/protocol/protocol.service.js +38 -32
  81. package/dist/src/modules/v4/reward/subservices/converter.js +2 -2
  82. package/dist/src/modules/v4/router.d.ts +136 -17
  83. package/dist/src/modules/v4/router.js +2 -2
  84. package/dist/src/modules/v4/token/token.controller.d.ts +34 -0
  85. package/dist/src/modules/v4/token/token.controller.js +11 -3
  86. package/dist/src/modules/v4/token/token.model.d.ts +9 -0
  87. package/dist/src/modules/v4/token/token.model.js +7 -0
  88. package/dist/src/modules/v4/token/token.repository.d.ts +14 -1
  89. package/dist/src/modules/v4/token/token.repository.js +3 -0
  90. package/dist/src/modules/v4/token/token.service.d.ts +14 -1
  91. package/dist/src/modules/v4/token/token.service.js +7 -0
  92. package/dist/src/routes/v3/blacklist.d.ts +136 -17
  93. package/dist/src/routes/v3/campaigns.d.ts +136 -17
  94. package/dist/src/routes/v3/campaignsInfo.d.ts +136 -17
  95. package/dist/src/routes/v3/multiChainPositions.d.ts +136 -17
  96. package/dist/src/routes/v3/opportunity.d.ts +136 -17
  97. package/dist/src/routes/v3/positions.d.ts +136 -17
  98. package/dist/src/routes/v3/rewards.d.ts +136 -17
  99. package/dist/src/routes/v3/updates.d.ts +136 -17
  100. package/dist/src/routes/v3/userRewards.d.ts +136 -17
  101. package/dist/src/utils/logger.d.ts +12 -6
  102. package/dist/tsconfig.package.tsbuildinfo +1 -1
  103. package/package.json +24 -24
  104. package/dist/src/modules/v4/position/index.d.ts +0 -2
  105. package/dist/src/modules/v4/position/index.js +0 -2
  106. package/dist/src/modules/v4/position/position.service.d.ts +0 -5
  107. /package/dist/src/modules/v4/{position → liquidity}/implementations/AjnaPositionFetcher.js +0 -0
  108. /package/dist/src/modules/v4/{position → liquidity}/implementations/BadgerPositionFetcher.js +0 -0
  109. /package/dist/src/modules/v4/{position → liquidity}/implementations/ClammPositionFetcher.js +0 -0
  110. /package/dist/src/modules/v4/{position → liquidity}/implementations/ERC20PositionFetcher.js +0 -0
  111. /package/dist/src/modules/v4/{position → liquidity}/implementations/EulerPositionFetcher.js +0 -0
  112. /package/dist/src/modules/v4/{position/position.model.d.ts → liquidity/liquidity.model.d.ts} +0 -0
  113. /package/dist/src/modules/v4/{position/position.model.js → liquidity/liquidity.model.js} +0 -0
package/package.json CHANGED
@@ -29,55 +29,55 @@
29
29
  "test": "bun test"
30
30
  },
31
31
  "dependencies": {
32
- "@bogeychan/elysia-logger": "^0.0.13",
33
- "@elysiajs/cors": "^0.7.2",
32
+ "@bogeychan/elysia-logger": "^0.1.6",
33
+ "@elysiajs/cors": "^1.1.1",
34
34
  "@elysiajs/eden": "^1.1.3",
35
35
  "@elysiajs/opentelemetry": "^1.1.7",
36
36
  "@elysiajs/swagger": "^0.7.4",
37
37
  "@ethersproject/abi": "^5.7.0",
38
- "@opentelemetry/auto-instrumentations-node": "^0.54.0",
39
- "@opentelemetry/instrumentation": "^0.56.0",
40
- "@prisma/client": "6.0.1",
41
- "@prisma/instrumentation": "^6.0.1",
42
- "@sinclair/typebox": "^0.33.4",
43
- "@types/crypto-js": "^4.2.1",
44
- "@types/lodash": "^4.17.12",
45
- "@types/node": "^22.7.9",
46
- "axios": "^1.7.3",
47
- "big.js": "^6.2.1",
38
+ "@google-cloud/storage": "^7.14.0",
39
+ "@opentelemetry/auto-instrumentations-node": "^0.55.0",
40
+ "@opentelemetry/instrumentation": "^0.57.0",
41
+ "@prisma/client": "6.1.0",
42
+ "@prisma/instrumentation": "^6.1.0",
43
+ "@sinclair/typebox": "^0.34.12",
44
+ "@types/crypto-js": "^4.2.2",
45
+ "@types/lodash": "^4.17.13",
46
+ "@types/node": "^22.10.2",
47
+ "axios": "^1.7.9",
48
+ "big.js": "^6.2.2",
48
49
  "brotli": "^1.3.3",
49
50
  "buffer-reverse": "^1.0.1",
50
51
  "commander": "^12.1.0",
51
52
  "crypto-js": "^4.2.0",
52
- "dd-trace": "^5.22.0",
53
53
  "elysia": "1.1.26",
54
54
  "elysia-autoroutes": "^0.5.0",
55
55
  "elysia-rate-limit": "^4.1.0",
56
56
  "ethers": "^5.7.2",
57
57
  "ethers-types": "3.17.0",
58
- "graphql-request": "^3.6.1",
58
+ "graphql-request": "^7.1.2",
59
59
  "jsbi": "^4.3.0",
60
60
  "json-shrink": "^0.0.124",
61
61
  "lodash": "^4.17.21",
62
- "moment": "^2.29.4",
62
+ "moment": "^2.30.1",
63
63
  "node-cache": "^5.1.2",
64
- "pino": "^8.17.1",
65
- "pino-pretty": "^10.3.0",
64
+ "pino": "^9.5.0",
65
+ "pino-pretty": "^13.0.0",
66
66
  "redis": "^4.7.0",
67
67
  "treeify": "^1.1.0",
68
68
  "tscpaths": "^0.0.9",
69
- "uuid": "^9.0.1",
70
- "viem": "^2.21.27"
69
+ "uuid": "^11.0.3",
70
+ "viem": "^2.21.55"
71
71
  },
72
72
  "devDependencies": {
73
- "@biomejs/biome": "^1.6.3",
73
+ "@biomejs/biome": "^1.9.4",
74
74
  "@types/big.js": "^6.2.2",
75
75
  "@types/bun": "^1.1.14",
76
76
  "@types/treeify": "^1.0.3",
77
- "@types/uuid": "^9.0.7",
78
- "bun-types": "latest",
77
+ "@types/uuid": "^10.0.0",
78
+ "bun-types": "^1.1.40",
79
79
  "chalk": "^5.3.0",
80
- "prisma": "^6.0.1"
80
+ "prisma": "^6.1.0"
81
81
  },
82
82
  "repository": {
83
83
  "type": "git",
@@ -90,5 +90,5 @@
90
90
  "access": "public",
91
91
  "registry": "https://registry.npmjs.org/"
92
92
  },
93
- "version": "v0.10.177"
93
+ "version": "v0.10.180"
94
94
  }
@@ -1,2 +0,0 @@
1
- export * from "./position.model";
2
- export * from "./position.service";
@@ -1,2 +0,0 @@
1
- export * from "./position.model";
2
- export * from "./position.service";
@@ -1,5 +0,0 @@
1
- import type { PositionsInputModel } from "./position.model";
2
- export declare class PositionService {
3
- #private;
4
- static fetchPositions(query: PositionsInputModel): Promise<any[]>;
5
- }