@merkl/api 0.10.422 → 0.11.1

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.
@@ -13,7 +13,11 @@ import { sync } from "./jobs/sync";
13
13
  // Axios with bun workaround
14
14
  axios.defaults.headers.common["Accept-Encoding"] = "gzip";
15
15
  const PORT = process.env.PORT || 3000;
16
- new Elysia()
16
+ new Elysia({
17
+ serve: {
18
+ idleTimeout: 0,
19
+ },
20
+ })
17
21
  .use(swagger())
18
22
  .get("/", () => "Merkl API")
19
23
  .use(campaignsCacheUpdater) // /v3/update
package/dist/src/index.js CHANGED
@@ -17,6 +17,7 @@ const app = new Elysia({
17
17
  normalize: false,
18
18
  serve: {
19
19
  maxRequestBodySize: 1024 * 1024 * 1024, // 1GB
20
+ idleTimeout: 0,
20
21
  },
21
22
  })
22
23
  .use(swagger({