@bfra.me/api-core 0.1.7 → 0.1.8
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/dist/{chunk-7NM3WYHE.js → chunk-LRDJQ4US.js} +2 -2
- package/dist/errors/{fetchError.js → FetchError.js} +2 -2
- package/dist/index.js +1 -1
- package/package.json +4 -4
- package/src/index.ts +1 -1
- /package/dist/errors/{fetchError.d.ts → FetchError.d.ts} +0 -0
- /package/src/errors/{fetchError.ts → FetchError.ts} +0 -0
@@ -2,7 +2,7 @@ import {
|
|
2
2
|
__name
|
3
3
|
} from "./chunk-7QVYU63E.js";
|
4
4
|
|
5
|
-
// src/errors/
|
5
|
+
// src/errors/FetchError.ts
|
6
6
|
var FetchError = class _FetchError extends Error {
|
7
7
|
static {
|
8
8
|
__name(this, "FetchError");
|
@@ -29,4 +29,4 @@ var FetchError = class _FetchError extends Error {
|
|
29
29
|
export {
|
30
30
|
FetchError
|
31
31
|
};
|
32
|
-
//# sourceMappingURL=chunk-
|
32
|
+
//# sourceMappingURL=chunk-LRDJQ4US.js.map
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@bfra.me/api-core",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.8",
|
4
4
|
"description": "The magic behind `api` 🧙",
|
5
5
|
"homepage": "https://api.readme.dev",
|
6
6
|
"bugs": {
|
@@ -20,7 +20,7 @@
|
|
20
20
|
"import": "./dist/index.js"
|
21
21
|
},
|
22
22
|
"./errors/fetchError": {
|
23
|
-
"import": "./dist/errors/
|
23
|
+
"import": "./dist/errors/FetchError.js"
|
24
24
|
},
|
25
25
|
"./lib": {
|
26
26
|
"import": "./dist/lib/index.js"
|
@@ -57,8 +57,8 @@
|
|
57
57
|
"fetch-mock": "11.1.5",
|
58
58
|
"get-stream": "9.0.1",
|
59
59
|
"typescript": "5.7.2",
|
60
|
-
"@bfra.me/api-core": "0.1.
|
61
|
-
"@bfra.me/eslint-config": "0.
|
60
|
+
"@bfra.me/api-core": "0.1.8",
|
61
|
+
"@bfra.me/eslint-config": "0.11.0"
|
62
62
|
},
|
63
63
|
"engines": {
|
64
64
|
"node": ">=18"
|
package/src/index.ts
CHANGED
@@ -8,7 +8,7 @@ import oasToHar from '@readme/oas-to-har'
|
|
8
8
|
import fetchHar from 'fetch-har'
|
9
9
|
import Oas from 'oas'
|
10
10
|
|
11
|
-
import FetchError from './errors/
|
11
|
+
import FetchError from './errors/FetchError.js'
|
12
12
|
import {parseResponse, prepareAuth, prepareParams, prepareServer} from './lib/index.js'
|
13
13
|
|
14
14
|
export default class APICore {
|
File without changes
|
File without changes
|