@tramvai/module-http-client 1.101.6 → 1.102.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.
@@ -52,7 +52,7 @@ const httpClientFactory = ({ logger, envManager, appInfo, requestManager, header
52
52
  createCache: createCache
53
53
  ? (cacheOptions) => createCache('memory', cacheOptions)
54
54
  : undefined,
55
- modifyRequest: compose(fillHeaderIp(), fillHeaders()),
55
+ modifyRequest: compose(fillHeaderIp({ requestManager }), fillHeaders({ requestManager, headersList })),
56
56
  circuitBreakerOptions: {
57
57
  failureThreshold: 75,
58
58
  minimumFailureCount: 10,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-http-client",
3
- "version": "1.101.6",
3
+ "version": "1.102.1",
4
4
  "initialVersion": "0.58.99",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
@@ -24,23 +24,23 @@
24
24
  "build-for-publish": "true"
25
25
  },
26
26
  "dependencies": {
27
- "@tramvai/http-client": "0.1.25",
28
- "@tramvai/tinkoff-request-http-client-adapter": "0.8.347",
29
- "@tramvai/tokens-http-client": "1.101.6",
30
- "@tramvai/tokens-common": "1.101.6",
31
- "@tramvai/tokens-server": "1.101.6"
27
+ "@tramvai/http-client": "0.1.26",
28
+ "@tramvai/tinkoff-request-http-client-adapter": "0.8.356",
29
+ "@tramvai/tokens-http-client": "1.102.1",
30
+ "@tramvai/tokens-common": "1.102.1",
31
+ "@tramvai/tokens-server": "1.102.1"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@tinkoff/request-core": "^0.8.9"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@tinkoff/utils": "^2.1.2",
38
- "@tramvai/core": "1.101.6",
39
- "@tramvai/module-common": "1.101.6",
40
- "@tramvai/papi": "1.101.6",
41
- "@tramvai/test-helpers": "1.101.6",
42
- "@tramvai/test-mocks": "1.101.6",
43
- "@tinkoff/dippy": "0.7.40",
38
+ "@tramvai/core": "1.102.1",
39
+ "@tramvai/module-common": "1.102.1",
40
+ "@tramvai/papi": "1.102.1",
41
+ "@tramvai/test-helpers": "1.102.1",
42
+ "@tramvai/test-mocks": "1.102.1",
43
+ "@tinkoff/dippy": "0.7.41",
44
44
  "node-fetch": "^2.6.1",
45
45
  "tslib": "^2.0.3"
46
46
  },