@capsara/sdk 1.0.4 → 1.0.5
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.
|
@@ -12,7 +12,7 @@ export const DEFAULT_TIMEOUT_CONFIG = {
|
|
|
12
12
|
downloadTimeout: 60 * 1000, // 1 minute for file downloads (Azure Blob Storage should be fast)
|
|
13
13
|
connectTimeout: 30 * 1000, // 30 seconds for socket connection
|
|
14
14
|
keepAliveInterval: 30 * 1000, // 30 seconds keep-alive probe interval
|
|
15
|
-
maxSockets:
|
|
15
|
+
maxSockets: 10, // Max 10 concurrent sockets per host
|
|
16
16
|
maxFreeSockets: 10, // Keep 10 idle sockets alive
|
|
17
17
|
};
|
|
18
18
|
export function createHttpAgent(config = DEFAULT_TIMEOUT_CONFIG) {
|
|
@@ -23,7 +23,7 @@ export const DEFAULT_TIMEOUT_CONFIG = {
|
|
|
23
23
|
downloadTimeout: 60 * 1000, // 1 minute for file downloads
|
|
24
24
|
connectTimeout: 30 * 1000, // 30 seconds for socket connection
|
|
25
25
|
keepAliveInterval: 30 * 1000, // 30 seconds keep-alive probe interval
|
|
26
|
-
maxSockets:
|
|
26
|
+
maxSockets: 10, // Max 10 concurrent sockets per host
|
|
27
27
|
maxFreeSockets: 10, // Keep 10 idle sockets alive
|
|
28
28
|
};
|
|
29
29
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capsara/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Capsara SDK for TypeScript",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"node": ">=20.0.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"axios": "^1.
|
|
44
|
+
"axios": "^1.15.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@eslint/js": "^9.39.1",
|