@tramvai/module-http-client 2.24.3 → 2.26.0
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/lib/httpClientModule.d.ts +1 -1
- package/lib/index.browser.js +1 -0
- package/lib/index.es.js +1 -0
- package/lib/index.js +1 -0
- package/lib/test/unit/testApi.d.ts +0 -1
- package/package.json +14 -14
- package/tests.js +1 -0
package/lib/index.browser.js
CHANGED
|
@@ -59,6 +59,7 @@ const httpClientFactory = ({ logger, envManager, appInfo, requestManager, header
|
|
|
59
59
|
failureThreshold: 75,
|
|
60
60
|
minimumFailureCount: 10,
|
|
61
61
|
},
|
|
62
|
+
// TODO: remove any after [resolving](https://github.com/southpolesteve/node-abort-controller/issues/31)
|
|
62
63
|
signal: (_a = commandLineExecutionContext === null || commandLineExecutionContext === void 0 ? void 0 : commandLineExecutionContext()) === null || _a === void 0 ? void 0 : _a.abortSignal,
|
|
63
64
|
...environmentDependentOptions,
|
|
64
65
|
}, defaultOptions !== null && defaultOptions !== void 0 ? defaultOptions : {}), options);
|
package/lib/index.es.js
CHANGED
|
@@ -90,6 +90,7 @@ const httpClientFactory = ({ logger, envManager, appInfo, requestManager, header
|
|
|
90
90
|
failureThreshold: 75,
|
|
91
91
|
minimumFailureCount: 10,
|
|
92
92
|
},
|
|
93
|
+
// TODO: remove any after [resolving](https://github.com/southpolesteve/node-abort-controller/issues/31)
|
|
93
94
|
signal: (_a = commandLineExecutionContext === null || commandLineExecutionContext === void 0 ? void 0 : commandLineExecutionContext()) === null || _a === void 0 ? void 0 : _a.abortSignal,
|
|
94
95
|
...environmentDependentOptions,
|
|
95
96
|
}, defaultOptions !== null && defaultOptions !== void 0 ? defaultOptions : {}), options);
|
package/lib/index.js
CHANGED
|
@@ -101,6 +101,7 @@ const httpClientFactory = ({ logger, envManager, appInfo, requestManager, header
|
|
|
101
101
|
failureThreshold: 75,
|
|
102
102
|
minimumFailureCount: 10,
|
|
103
103
|
},
|
|
104
|
+
// TODO: remove any after [resolving](https://github.com/southpolesteve/node-abort-controller/issues/31)
|
|
104
105
|
signal: (_a = commandLineExecutionContext === null || commandLineExecutionContext === void 0 ? void 0 : commandLineExecutionContext()) === null || _a === void 0 ? void 0 : _a.abortSignal,
|
|
105
106
|
...environmentDependentOptions,
|
|
106
107
|
}, defaultOptions !== null && defaultOptions !== void 0 ? defaultOptions : {}), options);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-http-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.26.0",
|
|
4
4
|
"initialVersion": "0.58.99",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"build-for-publish": "true"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@tramvai/http-client": "0.2.
|
|
30
|
-
"@tramvai/tinkoff-request-http-client-adapter": "0.9.
|
|
31
|
-
"@tramvai/tokens-http-client": "2.
|
|
32
|
-
"@tramvai/tokens-common": "2.
|
|
33
|
-
"@tramvai/tokens-server": "2.
|
|
34
|
-
"@tramvai/tokens-server-private": "2.
|
|
29
|
+
"@tramvai/http-client": "0.2.3",
|
|
30
|
+
"@tramvai/tinkoff-request-http-client-adapter": "0.9.63",
|
|
31
|
+
"@tramvai/tokens-http-client": "2.26.0",
|
|
32
|
+
"@tramvai/tokens-common": "2.26.0",
|
|
33
|
+
"@tramvai/tokens-server": "2.26.0",
|
|
34
|
+
"@tramvai/tokens-server-private": "2.26.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@tinkoff/request-core": "^0.9.2",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@tinkoff/utils": "^2.1.2",
|
|
42
|
-
"@tramvai/core": "2.
|
|
43
|
-
"@tramvai/module-common": "2.
|
|
44
|
-
"@tramvai/papi": "2.
|
|
45
|
-
"@tramvai/test-helpers": "2.
|
|
46
|
-
"@tramvai/test-mocks": "2.
|
|
47
|
-
"@tinkoff/dippy": "0.8.
|
|
42
|
+
"@tramvai/core": "2.26.0",
|
|
43
|
+
"@tramvai/module-common": "2.26.0",
|
|
44
|
+
"@tramvai/papi": "2.26.0",
|
|
45
|
+
"@tramvai/test-helpers": "2.26.0",
|
|
46
|
+
"@tramvai/test-mocks": "2.26.0",
|
|
47
|
+
"@tinkoff/dippy": "0.8.5",
|
|
48
48
|
"node-fetch": "^2.6.1",
|
|
49
|
-
"tslib": "^2.0
|
|
49
|
+
"tslib": "^2.4.0"
|
|
50
50
|
},
|
|
51
51
|
"license": "Apache-2.0",
|
|
52
52
|
"module": "lib/index.es.js"
|
package/tests.js
CHANGED
|
@@ -105,6 +105,7 @@ const httpClientFactory = ({ logger, envManager, appInfo, requestManager, header
|
|
|
105
105
|
failureThreshold: 75,
|
|
106
106
|
minimumFailureCount: 10,
|
|
107
107
|
},
|
|
108
|
+
// TODO: remove any after [resolving](https://github.com/southpolesteve/node-abort-controller/issues/31)
|
|
108
109
|
signal: (_a = commandLineExecutionContext === null || commandLineExecutionContext === void 0 ? void 0 : commandLineExecutionContext()) === null || _a === void 0 ? void 0 : _a.abortSignal,
|
|
109
110
|
...environmentDependentOptions,
|
|
110
111
|
}, defaultOptions !== null && defaultOptions !== void 0 ? defaultOptions : {}), options);
|