@wooksjs/http-proxy 0.2.14 → 0.2.15
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 +4 -1
- package/dist/index.mjs +4 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -189,6 +189,9 @@ class ProstoLogger {
|
|
|
189
189
|
}, topic);
|
|
190
190
|
}
|
|
191
191
|
getMessages() {
|
|
192
|
+
var _a;
|
|
193
|
+
if ((_a = this.options) === null || _a === void 0 ? void 0 : _a.parent)
|
|
194
|
+
return this.options.parent.getMessages();
|
|
192
195
|
return this.messages;
|
|
193
196
|
}
|
|
194
197
|
clear() {
|
|
@@ -293,7 +296,7 @@ class EventLogger extends ProstoLogger {
|
|
|
293
296
|
if (!_opts.transports) {
|
|
294
297
|
_opts.transports = [
|
|
295
298
|
createConsoleTransort({
|
|
296
|
-
format:
|
|
299
|
+
format: coloredConsole,
|
|
297
300
|
}),
|
|
298
301
|
];
|
|
299
302
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -187,6 +187,9 @@ class ProstoLogger {
|
|
|
187
187
|
}, topic);
|
|
188
188
|
}
|
|
189
189
|
getMessages() {
|
|
190
|
+
var _a;
|
|
191
|
+
if ((_a = this.options) === null || _a === void 0 ? void 0 : _a.parent)
|
|
192
|
+
return this.options.parent.getMessages();
|
|
190
193
|
return this.messages;
|
|
191
194
|
}
|
|
192
195
|
clear() {
|
|
@@ -291,7 +294,7 @@ class EventLogger extends ProstoLogger {
|
|
|
291
294
|
if (!_opts.transports) {
|
|
292
295
|
_opts.transports = [
|
|
293
296
|
createConsoleTransort({
|
|
294
|
-
format:
|
|
297
|
+
format: coloredConsole,
|
|
295
298
|
}),
|
|
296
299
|
];
|
|
297
300
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wooksjs/http-proxy",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.15",
|
|
4
4
|
"description": "Proxy Wooks composable",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"url": "https://github.com/wooksjs/wooksjs/issues"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@wooksjs/event-http": "0.2.
|
|
34
|
+
"@wooksjs/event-http": "0.2.15"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"node-fetch-native": "^1.0.1"
|