@xfe-repo/bff-micro 1.0.0 → 1.0.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/{chunk-IWNPXJTK.mjs → chunk-F5EANDNT.mjs} +3 -2
- package/dist/{chunk-DL5PCZRQ.mjs → chunk-R2NQNPXU.mjs} +1 -1
- package/dist/{chunk-MGUWQKV3.mjs → chunk-ZAMMXFEP.mjs} +2 -2
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -3
- package/dist/micro.interceptor.js +3 -2
- package/dist/micro.interceptor.mjs +2 -2
- package/dist/micro.module.js +3 -2
- package/dist/micro.module.mjs +3 -3
- package/dist/micro.service.d.mts +1 -1
- package/dist/micro.service.d.ts +1 -1
- package/dist/micro.service.js +3 -2
- package/dist/micro.service.mjs +1 -1
- package/package.json +1 -1
|
@@ -20,13 +20,14 @@ __name(_ts_metadata, "_ts_metadata");
|
|
|
20
20
|
var _MicroService = class _MicroService {
|
|
21
21
|
constructor(httpService) {
|
|
22
22
|
__publicField(this, "httpService");
|
|
23
|
-
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
24
|
-
__publicField(this, "request", this.axiosRef.request);
|
|
25
23
|
this.httpService = httpService;
|
|
26
24
|
}
|
|
27
25
|
get axiosRef() {
|
|
28
26
|
return this.httpService.axiosRef;
|
|
29
27
|
}
|
|
28
|
+
request(config) {
|
|
29
|
+
return this.httpService.axiosRef.request(config);
|
|
30
|
+
}
|
|
30
31
|
};
|
|
31
32
|
__name(_MicroService, "MicroService");
|
|
32
33
|
var MicroService = _MicroService;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MicroInterceptor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-R2NQNPXU.mjs";
|
|
4
4
|
import {
|
|
5
5
|
MicroService,
|
|
6
6
|
__name
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-F5EANDNT.mjs";
|
|
8
8
|
|
|
9
9
|
// src/micro.module.ts
|
|
10
10
|
import { HttpModule } from "@nestjs/axios";
|
package/dist/index.js
CHANGED
|
@@ -52,13 +52,14 @@ __name(_ts_metadata, "_ts_metadata");
|
|
|
52
52
|
var _MicroService = class _MicroService {
|
|
53
53
|
constructor(httpService) {
|
|
54
54
|
__publicField(this, "httpService");
|
|
55
|
-
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
56
|
-
__publicField(this, "request", this.axiosRef.request);
|
|
57
55
|
this.httpService = httpService;
|
|
58
56
|
}
|
|
59
57
|
get axiosRef() {
|
|
60
58
|
return this.httpService.axiosRef;
|
|
61
59
|
}
|
|
60
|
+
request(config) {
|
|
61
|
+
return this.httpService.axiosRef.request(config);
|
|
62
|
+
}
|
|
62
63
|
};
|
|
63
64
|
__name(_MicroService, "MicroService");
|
|
64
65
|
var MicroService = _MicroService;
|
package/dist/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MicroModule
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZAMMXFEP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
MicroInterceptor
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-R2NQNPXU.mjs";
|
|
7
7
|
import {
|
|
8
8
|
MicroService
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-F5EANDNT.mjs";
|
|
10
10
|
|
|
11
11
|
// src/index.ts
|
|
12
12
|
export * from "axios";
|
|
@@ -46,13 +46,14 @@ __name(_ts_metadata, "_ts_metadata");
|
|
|
46
46
|
var _MicroService = class _MicroService {
|
|
47
47
|
constructor(httpService) {
|
|
48
48
|
__publicField(this, "httpService");
|
|
49
|
-
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
50
|
-
__publicField(this, "request", this.axiosRef.request);
|
|
51
49
|
this.httpService = httpService;
|
|
52
50
|
}
|
|
53
51
|
get axiosRef() {
|
|
54
52
|
return this.httpService.axiosRef;
|
|
55
53
|
}
|
|
54
|
+
request(config) {
|
|
55
|
+
return this.httpService.axiosRef.request(config);
|
|
56
|
+
}
|
|
56
57
|
};
|
|
57
58
|
__name(_MicroService, "MicroService");
|
|
58
59
|
var MicroService = _MicroService;
|
package/dist/micro.module.js
CHANGED
|
@@ -50,13 +50,14 @@ __name(_ts_metadata, "_ts_metadata");
|
|
|
50
50
|
var _MicroService = class _MicroService {
|
|
51
51
|
constructor(httpService) {
|
|
52
52
|
__publicField(this, "httpService");
|
|
53
|
-
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
54
|
-
__publicField(this, "request", this.axiosRef.request);
|
|
55
53
|
this.httpService = httpService;
|
|
56
54
|
}
|
|
57
55
|
get axiosRef() {
|
|
58
56
|
return this.httpService.axiosRef;
|
|
59
57
|
}
|
|
58
|
+
request(config) {
|
|
59
|
+
return this.httpService.axiosRef.request(config);
|
|
60
|
+
}
|
|
60
61
|
};
|
|
61
62
|
__name(_MicroService, "MicroService");
|
|
62
63
|
var MicroService = _MicroService;
|
package/dist/micro.module.mjs
CHANGED
package/dist/micro.service.d.mts
CHANGED
|
@@ -10,7 +10,7 @@ declare class MicroService {
|
|
|
10
10
|
private readonly httpService;
|
|
11
11
|
constructor(httpService: HttpService);
|
|
12
12
|
get axiosRef(): MicrAxiosInstance;
|
|
13
|
-
|
|
13
|
+
request<P = any, R = any>(config: MicroRequestConfig): Promise<R>;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export { type MicrAxiosInstance, type MicroRequest, type MicroRequestConfig, MicroService };
|
package/dist/micro.service.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ declare class MicroService {
|
|
|
10
10
|
private readonly httpService;
|
|
11
11
|
constructor(httpService: HttpService);
|
|
12
12
|
get axiosRef(): MicrAxiosInstance;
|
|
13
|
-
|
|
13
|
+
request<P = any, R = any>(config: MicroRequestConfig): Promise<R>;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export { type MicrAxiosInstance, type MicroRequest, type MicroRequestConfig, MicroService };
|
package/dist/micro.service.js
CHANGED
|
@@ -42,13 +42,14 @@ __name(_ts_metadata, "_ts_metadata");
|
|
|
42
42
|
var _MicroService = class _MicroService {
|
|
43
43
|
constructor(httpService) {
|
|
44
44
|
__publicField(this, "httpService");
|
|
45
|
-
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
46
|
-
__publicField(this, "request", this.axiosRef.request);
|
|
47
45
|
this.httpService = httpService;
|
|
48
46
|
}
|
|
49
47
|
get axiosRef() {
|
|
50
48
|
return this.httpService.axiosRef;
|
|
51
49
|
}
|
|
50
|
+
request(config) {
|
|
51
|
+
return this.httpService.axiosRef.request(config);
|
|
52
|
+
}
|
|
52
53
|
};
|
|
53
54
|
__name(_MicroService, "MicroService");
|
|
54
55
|
var MicroService = _MicroService;
|
package/dist/micro.service.mjs
CHANGED