@tramvai/module-http-client 1.47.0 → 1.49.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.
Files changed (2) hide show
  1. package/README.md +3 -5
  2. package/package.json +11 -11
package/README.md CHANGED
@@ -26,7 +26,7 @@ createApp({
26
26
 
27
27
  The `http-client` module adds functionality to the application related to API requests. Available providers allow you to create new services to work with any API and create more specific services with preset settings for specific APIs.
28
28
 
29
- The module implements interfaces from the library [@tramvai/http-client](references/libs/http-client.md) using a special library - adapter [@tramvai/tinkoff-request-http-client-adapter](references/libs/tinkoff-request-http-client-adapter.md), running on top of [@tinkoff/request](https://tinkoffcreditsystems.github.io/tinkoff-request/).
29
+ The module implements interfaces from the library [@tramvai/http-client](references/libs/http-client.md) using a special library - adapter [@tramvai/tinkoff-request-http-client-adapter](references/libs/tinkoff-request-http-client-adapter.md), running on top of [@tinkoff/request](https://tinkoff.github.io/tinkoff-request/).
30
30
 
31
31
  ## Concepts
32
32
 
@@ -198,9 +198,7 @@ describe('testApi', () => {
198
198
 
199
199
  ### Logging
200
200
 
201
- By default, `@tinkoff/request` will log every failed requests with level `error`.
202
- You can disable logging by pass `{ silent: true }` parameter to request parameters.
203
- Useful meta information about request will be available in `error.__meta` property.
201
+ By default, `@tinkoff/request` will log every failed requests with level `error`. You can disable logging by pass `{ silent: true }` parameter to request parameters. Useful meta information about request will be available in `error.__meta` property.
204
202
 
205
203
  Example:
206
204
 
@@ -234,4 +232,4 @@ NODE_DEBUG=request tramvai start<appName>
234
232
  ## Environment Variables
235
233
 
236
234
  - `HTTP_CLIENT_CACHE_DISABLED` - disable caching for all HTTP clients
237
- - `HTTP_CLIENT_CIRCUIT_BREAKER_DISABLED` - disable plugin https://tinkoffcreditsystems.github.io/tinkoff-request/docs/plugins/circuit-breaker.html
235
+ - `HTTP_CLIENT_CIRCUIT_BREAKER_DISABLED` - disable plugin https://tinkoff.github.io/tinkoff-request/docs/plugins/circuit-breaker.html
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-http-client",
3
- "version": "1.47.0",
3
+ "version": "1.49.0",
4
4
  "initialVersion": "0.58.99",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
@@ -16,7 +16,7 @@
16
16
  "sideEffects": false,
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "git@github.com:TinkoffCreditSystems/tramvai.git"
19
+ "url": "git@github.com:Tinkoff/tramvai.git"
20
20
  },
21
21
  "scripts": {
22
22
  "build": "tramvai-build --for-publish",
@@ -25,21 +25,21 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@tramvai/http-client": "0.1.23",
28
- "@tramvai/tinkoff-request-http-client-adapter": "0.8.212",
29
- "@tramvai/tokens-http-client": "1.47.0",
30
- "@tramvai/tokens-common": "1.47.0",
31
- "@tramvai/tokens-server": "1.47.0"
28
+ "@tramvai/tinkoff-request-http-client-adapter": "0.8.217",
29
+ "@tramvai/tokens-http-client": "1.49.0",
30
+ "@tramvai/tokens-common": "1.49.0",
31
+ "@tramvai/tokens-server": "1.49.0"
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.47.0",
39
- "@tramvai/module-common": "1.47.0",
40
- "@tramvai/papi": "1.47.0",
41
- "@tramvai/test-helpers": "1.47.0",
42
- "@tramvai/test-mocks": "1.47.0",
38
+ "@tramvai/core": "1.49.0",
39
+ "@tramvai/module-common": "1.49.0",
40
+ "@tramvai/papi": "1.49.0",
41
+ "@tramvai/test-helpers": "1.49.0",
42
+ "@tramvai/test-mocks": "1.49.0",
43
43
  "@tinkoff/dippy": "0.7.36",
44
44
  "node-fetch": "^2.6.1",
45
45
  "tslib": "^2.0.3"