@tramvai/module-http-client 2.149.1 → 2.150.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.
- package/lib/httpClient/createUserAgent.d.ts +1 -0
- package/lib/httpClient/httpClient.d.ts +1 -0
- package/lib/httpClient/httpClientFactory.d.ts +1 -0
- package/lib/httpClientModule.d.ts +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/papi/papiService.browser.d.ts +1 -0
- package/lib/papi/papiService.d.ts +1 -0
- package/lib/papiClientModule.browser.d.ts +1 -0
- package/lib/papiClientModule.d.ts +1 -0
- package/lib/test/index.d.ts +1 -0
- package/lib/test/unit/testApi.d.ts +2 -0
- package/lib/utils/fillHeaders.browser.d.ts +1 -0
- package/lib/utils/fillHeaders.d.ts +1 -0
- package/lib/utils/index.d.ts +1 -0
- package/package.json +12 -12
- package/tests.d.ts +1 -0
|
@@ -20,3 +20,4 @@ export declare const httpClientFactory: ({ logger, envManager, appInfo, requestM
|
|
|
20
20
|
defaultInterceptors: HttpClientInterceptor[] | null;
|
|
21
21
|
commandLineExecutionContext: ExtractDependencyType<typeof COMMAND_LINE_EXECUTION_CONTEXT_TOKEN> | null;
|
|
22
22
|
}) => ExtractTokenType<typeof HTTP_CLIENT_FACTORY>;
|
|
23
|
+
//# sourceMappingURL=httpClientFactory.d.ts.map
|
package/lib/index.d.ts
CHANGED
package/lib/test/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="jest" />
|
|
1
2
|
import { getDiWrapper } from '@tramvai/test-helpers';
|
|
2
3
|
import type { createMockEnvManager } from '@tramvai/test-mocks';
|
|
3
4
|
type Options = Parameters<typeof getDiWrapper>[0] & {
|
|
@@ -10,3 +11,4 @@ export declare const testApi: (options: Options) => {
|
|
|
10
11
|
clearCaches: () => void;
|
|
11
12
|
};
|
|
12
13
|
export {};
|
|
14
|
+
//# sourceMappingURL=testApi.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { HttpClientRequest } from '@tramvai/http-client';
|
|
2
2
|
export declare const fillHeaders: (deps: any) => (params: HttpClientRequest) => HttpClientRequest;
|
|
3
3
|
export declare const fillHeaderIp: (deps: any) => (params: HttpClientRequest) => HttpClientRequest;
|
|
4
|
+
//# sourceMappingURL=fillHeaders.browser.d.ts.map
|
|
@@ -9,3 +9,4 @@ export declare const fillHeaders: ({ requestManager, headersList, }: {
|
|
|
9
9
|
requestManager: ExtractDependencyType<typeof REQUEST_MANAGER_TOKEN> | null;
|
|
10
10
|
headersList: ExtractDependencyType<typeof API_CLIENT_PASS_HEADERS> | null;
|
|
11
11
|
}) => (params: HttpClientRequest) => HttpClientRequest;
|
|
12
|
+
//# sourceMappingURL=fillHeaders.d.ts.map
|
package/lib/utils/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-http-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.150.1",
|
|
4
4
|
"initialVersion": "0.58.99",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@tramvai/http-client": "0.2.10",
|
|
29
|
-
"@tramvai/tinkoff-request-http-client-adapter": "0.9.
|
|
30
|
-
"@tramvai/tokens-http-client": "2.
|
|
31
|
-
"@tramvai/tokens-common": "2.
|
|
32
|
-
"@tramvai/tokens-server": "2.
|
|
33
|
-
"@tramvai/tokens-server-private": "2.
|
|
29
|
+
"@tramvai/tinkoff-request-http-client-adapter": "0.9.435",
|
|
30
|
+
"@tramvai/tokens-http-client": "2.150.1",
|
|
31
|
+
"@tramvai/tokens-common": "2.150.1",
|
|
32
|
+
"@tramvai/tokens-server": "2.150.1",
|
|
33
|
+
"@tramvai/tokens-server-private": "2.150.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@tinkoff/request-core": "^0.9.2",
|
|
@@ -39,12 +39,12 @@
|
|
|
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-unit": "2.
|
|
47
|
-
"@tramvai/test-mocks": "2.
|
|
42
|
+
"@tramvai/core": "2.150.1",
|
|
43
|
+
"@tramvai/module-common": "2.150.1",
|
|
44
|
+
"@tramvai/papi": "2.150.1",
|
|
45
|
+
"@tramvai/test-helpers": "2.150.1",
|
|
46
|
+
"@tramvai/test-unit": "2.150.1",
|
|
47
|
+
"@tramvai/test-mocks": "2.150.1",
|
|
48
48
|
"@tinkoff/dippy": "0.8.16",
|
|
49
49
|
"node-fetch": "^2.6.1",
|
|
50
50
|
"tslib": "^2.4.0"
|
package/tests.d.ts
CHANGED