@aikidosec/broker-client 1.0.10 → 1.0.11

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.
@@ -3,13 +3,13 @@
3
3
  */
4
4
 
5
5
  // Chunk size for streaming responses (10MB before base64 encoding)
6
- export const STREAM_CHUNK_SIZE = 30 * 1024 * 1024;
6
+ export const STREAM_CHUNK_SIZE = 10 * 1024 * 1024;
7
7
 
8
8
  // Global maximum buffer size across ALL streams
9
- export const GLOBAL_MAX_BUFFER_SIZE = STREAM_CHUNK_SIZE * 30; // 900MB
9
+ export const GLOBAL_MAX_BUFFER_SIZE = STREAM_CHUNK_SIZE * 30; // 300MB
10
10
 
11
11
  // Per-stream maximum buffer size
12
- export const PER_STREAM_MAX_BUFFER_SIZE = STREAM_CHUNK_SIZE * 5; // 150MB
12
+ export const PER_STREAM_MAX_BUFFER_SIZE = STREAM_CHUNK_SIZE * 1.5; // 15MB
13
13
 
14
14
  // Threshold for using streaming vs direct response
15
15
  export const STREAMING_THRESHOLD = STREAM_CHUNK_SIZE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aikidosec/broker-client",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Aikido Broker Client - Runs in customer network to forward requests to internal resources",
5
5
  "main": "app/client.js",
6
6
  "type": "module",