@aztec/aztec-node 5.2.0-nightly.20260817 → 5.3.0-nightly.20260818

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.
package/dest/bin/index.js CHANGED
@@ -40,11 +40,14 @@ const logger = createLogger('node');
40
40
  ],
41
41
  maxBatchSize: aztecNodeConfig.rpcMaxBatchSize,
42
42
  maxBodySizeBytes: aztecNodeConfig.rpcMaxBodySize,
43
+ corsAllowedHeaders: aztecNodeConfig.rpcCorsAllowedHeaders ?? [],
43
44
  corsAllowedOrigins: getRpcCorsAllowedOrigins(aztecNodeConfig)
44
45
  });
45
46
  await startHttpRpcServer(rpcServer, {
46
47
  port: +AZTEC_NODE_PORT,
47
- apiPrefix: API_PREFIX
48
+ apiPrefix: API_PREFIX,
49
+ keepAliveTimeoutMs: aztecNodeConfig.rpcHttpKeepAliveTimeoutMs,
50
+ headersTimeoutMs: aztecNodeConfig.rpcHttpHeadersTimeoutMs
48
51
  });
49
52
  logger.info(`Aztec Node JSON-RPC Server listening on port ${AZTEC_NODE_PORT}`);
50
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/aztec-node",
3
- "version": "5.2.0-nightly.20260817",
3
+ "version": "5.3.0-nightly.20260818",
4
4
  "main": "dest/index.js",
5
5
  "type": "module",
6
6
  "exports": {
@@ -65,33 +65,33 @@
65
65
  ]
66
66
  },
67
67
  "dependencies": {
68
- "@aztec/archiver": "5.2.0-nightly.20260817",
69
- "@aztec/bb-prover": "5.2.0-nightly.20260817",
70
- "@aztec/bb.js": "5.2.0-nightly.20260817",
71
- "@aztec/blob-client": "5.2.0-nightly.20260817",
72
- "@aztec/blob-lib": "5.2.0-nightly.20260817",
73
- "@aztec/constants": "5.2.0-nightly.20260817",
74
- "@aztec/epoch-cache": "5.2.0-nightly.20260817",
75
- "@aztec/ethereum": "5.2.0-nightly.20260817",
76
- "@aztec/foundation": "5.2.0-nightly.20260817",
77
- "@aztec/kv-store": "5.2.0-nightly.20260817",
78
- "@aztec/l1-artifacts": "5.2.0-nightly.20260817",
79
- "@aztec/node-keystore": "5.2.0-nightly.20260817",
80
- "@aztec/node-lib": "5.2.0-nightly.20260817",
81
- "@aztec/noir-protocol-circuits-types": "5.2.0-nightly.20260817",
82
- "@aztec/p2p": "5.2.0-nightly.20260817",
83
- "@aztec/protocol-contracts": "5.2.0-nightly.20260817",
84
- "@aztec/prover-client": "5.2.0-nightly.20260817",
85
- "@aztec/prover-node": "5.2.0-nightly.20260817",
86
- "@aztec/sequencer-client": "5.2.0-nightly.20260817",
87
- "@aztec/simulator": "5.2.0-nightly.20260817",
88
- "@aztec/slasher": "5.2.0-nightly.20260817",
89
- "@aztec/standard-contracts": "5.2.0-nightly.20260817",
90
- "@aztec/stdlib": "5.2.0-nightly.20260817",
91
- "@aztec/telemetry-client": "5.2.0-nightly.20260817",
92
- "@aztec/validator-client": "5.2.0-nightly.20260817",
93
- "@aztec/validator-ha-signer": "5.2.0-nightly.20260817",
94
- "@aztec/world-state": "5.2.0-nightly.20260817",
68
+ "@aztec/archiver": "5.3.0-nightly.20260818",
69
+ "@aztec/bb-prover": "5.3.0-nightly.20260818",
70
+ "@aztec/bb.js": "5.3.0-nightly.20260818",
71
+ "@aztec/blob-client": "5.3.0-nightly.20260818",
72
+ "@aztec/blob-lib": "5.3.0-nightly.20260818",
73
+ "@aztec/constants": "5.3.0-nightly.20260818",
74
+ "@aztec/epoch-cache": "5.3.0-nightly.20260818",
75
+ "@aztec/ethereum": "5.3.0-nightly.20260818",
76
+ "@aztec/foundation": "5.3.0-nightly.20260818",
77
+ "@aztec/kv-store": "5.3.0-nightly.20260818",
78
+ "@aztec/l1-artifacts": "5.3.0-nightly.20260818",
79
+ "@aztec/node-keystore": "5.3.0-nightly.20260818",
80
+ "@aztec/node-lib": "5.3.0-nightly.20260818",
81
+ "@aztec/noir-protocol-circuits-types": "5.3.0-nightly.20260818",
82
+ "@aztec/p2p": "5.3.0-nightly.20260818",
83
+ "@aztec/protocol-contracts": "5.3.0-nightly.20260818",
84
+ "@aztec/prover-client": "5.3.0-nightly.20260818",
85
+ "@aztec/prover-node": "5.3.0-nightly.20260818",
86
+ "@aztec/sequencer-client": "5.3.0-nightly.20260818",
87
+ "@aztec/simulator": "5.3.0-nightly.20260818",
88
+ "@aztec/slasher": "5.3.0-nightly.20260818",
89
+ "@aztec/standard-contracts": "5.3.0-nightly.20260818",
90
+ "@aztec/stdlib": "5.3.0-nightly.20260818",
91
+ "@aztec/telemetry-client": "5.3.0-nightly.20260818",
92
+ "@aztec/validator-client": "5.3.0-nightly.20260818",
93
+ "@aztec/validator-ha-signer": "5.3.0-nightly.20260818",
94
+ "@aztec/world-state": "5.3.0-nightly.20260818",
95
95
  "koa": "^2.16.1",
96
96
  "koa-router": "^13.1.1",
97
97
  "tslib": "^2.4.0",
package/src/bin/index.ts CHANGED
@@ -59,9 +59,15 @@ async function main() {
59
59
  middlewares: [getOtelJsonRpcServerMetricsMiddleware(), getOtelJsonRpcPropagationMiddleware()],
60
60
  maxBatchSize: aztecNodeConfig.rpcMaxBatchSize,
61
61
  maxBodySizeBytes: aztecNodeConfig.rpcMaxBodySize,
62
+ corsAllowedHeaders: aztecNodeConfig.rpcCorsAllowedHeaders ?? [],
62
63
  corsAllowedOrigins: getRpcCorsAllowedOrigins(aztecNodeConfig),
63
64
  });
64
- await startHttpRpcServer(rpcServer, { port: +AZTEC_NODE_PORT, apiPrefix: API_PREFIX });
65
+ await startHttpRpcServer(rpcServer, {
66
+ port: +AZTEC_NODE_PORT,
67
+ apiPrefix: API_PREFIX,
68
+ keepAliveTimeoutMs: aztecNodeConfig.rpcHttpKeepAliveTimeoutMs,
69
+ headersTimeoutMs: aztecNodeConfig.rpcHttpHeadersTimeoutMs,
70
+ });
65
71
  logger.info(`Aztec Node JSON-RPC Server listening on port ${AZTEC_NODE_PORT}`);
66
72
  }
67
73