fexios-browser 1.1.0 → 1.1.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/dist/index.cjs +1 -8
- package/dist/index.d.cts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -8
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
@@ -58,7 +58,7 @@ var InterceptorManager = class {
|
|
58
58
|
var InterceptorManager_default = InterceptorManager;
|
59
59
|
|
60
60
|
// src/index.ts
|
61
|
-
var Fexios = class
|
61
|
+
var Fexios = class {
|
62
62
|
defaults;
|
63
63
|
interceptors;
|
64
64
|
constructor(initConfig) {
|
@@ -68,13 +68,6 @@ var Fexios = class _Fexios {
|
|
68
68
|
response: new InterceptorManager_default()
|
69
69
|
};
|
70
70
|
}
|
71
|
-
create(initConfig) {
|
72
|
-
const config = {
|
73
|
-
...this.defaults,
|
74
|
-
...initConfig
|
75
|
-
};
|
76
|
-
return new _Fexios(config);
|
77
|
-
}
|
78
71
|
async request(request) {
|
79
72
|
try {
|
80
73
|
const mergedRequest = {
|
package/dist/index.d.cts
CHANGED
@@ -25,7 +25,6 @@ declare class Fexios {
|
|
25
25
|
response: InterceptorManager;
|
26
26
|
};
|
27
27
|
constructor(initConfig: InitConfig);
|
28
|
-
create(initConfig: Partial<InitConfig>): Fexios;
|
29
28
|
request(request: FRequest): Promise<FResponse>;
|
30
29
|
get(url: string | URL, request: Omit<FRequest, "url" | "method">): Promise<FResponse>;
|
31
30
|
post(url: string | URL, request: Omit<FRequest, "url" | "method">): Promise<FResponse>;
|
package/dist/index.d.ts
CHANGED
@@ -25,7 +25,6 @@ declare class Fexios {
|
|
25
25
|
response: InterceptorManager;
|
26
26
|
};
|
27
27
|
constructor(initConfig: InitConfig);
|
28
|
-
create(initConfig: Partial<InitConfig>): Fexios;
|
29
28
|
request(request: FRequest): Promise<FResponse>;
|
30
29
|
get(url: string | URL, request: Omit<FRequest, "url" | "method">): Promise<FResponse>;
|
31
30
|
post(url: string | URL, request: Omit<FRequest, "url" | "method">): Promise<FResponse>;
|
package/dist/index.js
CHANGED
@@ -3,7 +3,7 @@ import {
|
|
3
3
|
} from "./chunk-UDNTQS3I.js";
|
4
4
|
|
5
5
|
// src/index.ts
|
6
|
-
var Fexios = class
|
6
|
+
var Fexios = class {
|
7
7
|
defaults;
|
8
8
|
interceptors;
|
9
9
|
constructor(initConfig) {
|
@@ -13,13 +13,6 @@ var Fexios = class _Fexios {
|
|
13
13
|
response: new InterceptorManager_default()
|
14
14
|
};
|
15
15
|
}
|
16
|
-
create(initConfig) {
|
17
|
-
const config = {
|
18
|
-
...this.defaults,
|
19
|
-
...initConfig
|
20
|
-
};
|
21
|
-
return new _Fexios(config);
|
22
|
-
}
|
23
16
|
async request(request) {
|
24
17
|
try {
|
25
18
|
const mergedRequest = {
|