@api-client/core 0.10.0 → 0.10.2
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/package.json +11 -5
- package/SECURITY.md +0 -14
- package/legacy.ts +0 -41
- package/src/models/legacy/request/Legacy.ts +0 -45
package/package.json
CHANGED
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@api-client/core",
|
|
3
3
|
"description": "The API Client's core client library. Works in NodeJS and in a ES enabled browser.",
|
|
4
|
-
"version": "0.10.
|
|
4
|
+
"version": "0.10.2",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
|
-
|
|
7
6
|
"exports": {
|
|
7
|
+
"./build/esm/browser.js": {
|
|
8
|
+
"default": "./build/esm/browser.js",
|
|
9
|
+
"types": "./build/esm/browser.d.ts"
|
|
10
|
+
},
|
|
11
|
+
"./build/esm/legacy.js": {
|
|
12
|
+
"default": "./build/esm/legacy.js",
|
|
13
|
+
"types": "./build/esm/legacy.d.ts"
|
|
14
|
+
},
|
|
8
15
|
".": {
|
|
9
16
|
"import": "./build/esm/index.js",
|
|
10
|
-
"require": "./build/cjs/index.
|
|
11
|
-
"types": "./build/esm/index.d.ts"
|
|
17
|
+
"require": "./build/cjs/index.js"
|
|
12
18
|
}
|
|
13
19
|
},
|
|
14
|
-
|
|
20
|
+
"main": "./build/cjs/index.js",
|
|
15
21
|
"type": "module",
|
|
16
22
|
"author": {
|
|
17
23
|
"name": "Pawel Uchida-Psztyc",
|
package/SECURITY.md
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# Security Policy
|
|
2
|
-
|
|
3
|
-
## Supported Versions
|
|
4
|
-
|
|
5
|
-
We support only latest major version of the package. For previous major versions, please, upgrade the package to the newest version or introduce a PR with a fix.
|
|
6
|
-
|
|
7
|
-
| Version | Supported |
|
|
8
|
-
| ------- | ------------------ |
|
|
9
|
-
| >= 0.8.0 | :white_check_mark: |
|
|
10
|
-
| < 0.8.0 | :x: |
|
|
11
|
-
|
|
12
|
-
## Reporting a Vulnerability
|
|
13
|
-
|
|
14
|
-
Please, contact me at "jarrodek @ gmail . com" to report a security issue. I will respond as soon as I read the email.
|
package/legacy.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export * from './src/mocking/LegacyMock.js';
|
|
2
|
-
export * from './src/mocking/LegacyInterfaces.js';
|
|
3
|
-
export * from './src/mocking/legacy/Authorization.js';
|
|
4
|
-
export * from './src/mocking/legacy/Certificates.js';
|
|
5
|
-
export * from './src/mocking/legacy/Cookies.js';
|
|
6
|
-
export * from './src/mocking/legacy/HostRules.js';
|
|
7
|
-
export * from './src/mocking/legacy/Http.js';
|
|
8
|
-
export * from './src/mocking/legacy/HttpResponse.js';
|
|
9
|
-
export * from './src/mocking/legacy/RestApi.js';
|
|
10
|
-
export * from './src/mocking/legacy/Urls.js';
|
|
11
|
-
export * from './src/mocking/legacy/Variables.js';
|
|
12
|
-
|
|
13
|
-
export * from './src/models/legacy/actions/Actions.js';
|
|
14
|
-
export * from './src/models/legacy/authorization/Authorization.js';
|
|
15
|
-
export * from './src/models/legacy/models/ApiTypes.js';
|
|
16
|
-
export * from './src/models/legacy/models/ArcLegacyProject.js';
|
|
17
|
-
export * from './src/models/legacy/models/AuthData.js';
|
|
18
|
-
export * from './src/models/legacy/models/base.js';
|
|
19
|
-
export * from './src/models/legacy/models/ClientCertificate.js';
|
|
20
|
-
export * from './src/models/legacy/models/Cookies.js';
|
|
21
|
-
export * from './src/models/legacy/models/HostRule.js';
|
|
22
|
-
export * from './src/models/legacy/models/RestApi.js';
|
|
23
|
-
export * from './src/models/legacy/models/UrlHistory.js';
|
|
24
|
-
export * from './src/models/legacy/models/Variable.js';
|
|
25
|
-
export * from './src/models/legacy/request/ArcRequest.js';
|
|
26
|
-
export * from './src/models/legacy/request/ArcResponse.js';
|
|
27
|
-
export * from './src/models/legacy/request/HistoryData.js';
|
|
28
|
-
export * from './src/models/legacy/request/Legacy.js';
|
|
29
|
-
export * from './src/models/legacy/request/RequestBody.js';
|
|
30
|
-
export * from './src/models/legacy/DataExport.js';
|
|
31
|
-
export * from './src/models/legacy/Normalizer.js';
|
|
32
|
-
|
|
33
|
-
export * from './src/models/transformers/ArcDexieTransformer.js';
|
|
34
|
-
export * from './src/models/transformers/ArcLegacyNormalizer.js';
|
|
35
|
-
export * from './src/models/transformers/ArcLegacyTransformer.js';
|
|
36
|
-
export * from './src/models/transformers/ArcPouchTransformer.js';
|
|
37
|
-
export * from './src/models/transformers/BaseTransformer.js';
|
|
38
|
-
export * as Har from './src/models/transformers/har.js';
|
|
39
|
-
export * as ImportUtils from './src/models/transformers/ImportUtils.js';
|
|
40
|
-
export * from './src/models/transformers/LegacyDataExportToApiProject.js';
|
|
41
|
-
export * from './src/models/transformers/LegacyExportProcessor.js';
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { RequestTime } from "./ArcResponse.js";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated This is no longer used in ARC except for internal processing of the data model
|
|
5
|
-
*/
|
|
6
|
-
export interface LegacyResponseMeta {
|
|
7
|
-
/**
|
|
8
|
-
* Request loading time
|
|
9
|
-
*/
|
|
10
|
-
loadingTime: number;
|
|
11
|
-
/**
|
|
12
|
-
* Whether the request was made using web APIs.
|
|
13
|
-
*/
|
|
14
|
-
responseIsXhr: boolean;
|
|
15
|
-
redirects: LegacyRedirect[];
|
|
16
|
-
redirectsTiming: RequestTime[];
|
|
17
|
-
/**
|
|
18
|
-
* Request timings.
|
|
19
|
-
*/
|
|
20
|
-
timing: RequestTime;
|
|
21
|
-
/**
|
|
22
|
-
* sent message by the transport
|
|
23
|
-
*/
|
|
24
|
-
sourceMessage: string;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @deprecated This is no longer used in ARC except for internal processing of the data model
|
|
29
|
-
*/
|
|
30
|
-
export interface LegacyRedirect {
|
|
31
|
-
status: number;
|
|
32
|
-
statusText: string;
|
|
33
|
-
headers: string;
|
|
34
|
-
url: string;
|
|
35
|
-
payload: string|Buffer|ArrayBuffer;
|
|
36
|
-
sentHttpMessage: string;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* @deprecated This is no longer used in ARC except for internal processing of the data model
|
|
41
|
-
*/
|
|
42
|
-
export interface LegacyResponse extends LegacyRedirect {
|
|
43
|
-
stats: RequestTime;
|
|
44
|
-
redirects: LegacyRedirect[];
|
|
45
|
-
}
|