@rsdk/http.server 6.0.0-next.11 → 6.0.0-next.13
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/error-handling/index.d.ts +1 -1
- package/dist/error-handling/index.js +1 -1
- package/dist/error-handling/{no-interception.filter.js → route-not-found.filter.js} +1 -1
- package/dist/error-handling/{no-interception.filter.js.map → route-not-found.filter.js.map} +1 -1
- package/dist/http.transport.js +3 -3
- package/package.json +2 -2
- package/src/error-handling/index.ts +1 -1
- package/src/http.transport.ts +1 -1
- /package/dist/error-handling/{no-interception.filter.d.ts → route-not-found.filter.d.ts} +0 -0
- /package/src/error-handling/{no-interception.filter.ts → route-not-found.filter.ts} +0 -0
|
@@ -16,5 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./http-errors.formatter"), exports);
|
|
18
18
|
__exportStar(require("./http-errors.sender"), exports);
|
|
19
|
-
__exportStar(require("./
|
|
19
|
+
__exportStar(require("./route-not-found.filter"), exports);
|
|
20
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -49,4 +49,4 @@ exports.RouteNotFoundFilter = RouteNotFoundFilter = __decorate([
|
|
|
49
49
|
__param(0, (0, core_1.InjectLogger)(RouteNotFoundFilter)),
|
|
50
50
|
__metadata("design:paramtypes", [Object])
|
|
51
51
|
], RouteNotFoundFilter);
|
|
52
|
-
//# sourceMappingURL=
|
|
52
|
+
//# sourceMappingURL=route-not-found.filter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"route-not-found.filter.js","sourceRoot":"","sources":["../../src/error-handling/route-not-found.filter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAKwB;AACxB,qCAA6D;AAI7D,mEAA8D;AAC9D,6DAAwD;AAExD;;;;;;;;GAQG;AAEI,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAKwB;IAJrC,SAAS,GAAG,IAAI,2CAAmB,EAAE,CAAC;IACtC,MAAM,GAAG,IAAI,qCAAgB,EAAE,CAAC;IAEjD,YACsD,MAAe;QAAf,WAAM,GAAN,MAAM,CAAS;IAClE,CAAC;IAEJ,KAAK,CACH,SAAgC,EAChC,IAAmB;QAEnB,MAAM,GAAG,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QAChC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,GAAG,CAAC,UAAU,EAAE,CAAC;QAE1C,MAAM,UAAU,GAAG,IAAI,wBAAiB,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QAE5D,oCAAoC;QACpC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,0BAA0B,MAAM,IAAI,IAAI,EAAE,CAAC,CAAC;QAE9D,MAAM,WAAW,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAEtD,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;IAC7C,CAAC;CACF,CAAA;AAxBY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,cAAK,EAAC,0BAAqB,CAAC;IAMxB,WAAA,IAAA,mBAAY,EAAC,mBAAmB,CAAC,CAAA;;GALzB,mBAAmB,CAwB/B"}
|
package/dist/http.transport.js
CHANGED
|
@@ -7,7 +7,7 @@ const swagger_1 = require("@nestjs/swagger");
|
|
|
7
7
|
const common_node_1 = require("@rsdk/common.node");
|
|
8
8
|
const core_2 = require("@rsdk/core");
|
|
9
9
|
const http_openapi_1 = require("@rsdk/http.openapi");
|
|
10
|
-
const
|
|
10
|
+
const route_not_found_filter_1 = require("./error-handling/route-not-found.filter");
|
|
11
11
|
const controllers_1 = require("./controllers");
|
|
12
12
|
const error_handling_1 = require("./error-handling");
|
|
13
13
|
const http_config_1 = require("./http.config");
|
|
@@ -54,9 +54,9 @@ class AbstractHttpTransport {
|
|
|
54
54
|
modules() {
|
|
55
55
|
return [
|
|
56
56
|
{
|
|
57
|
-
module:
|
|
57
|
+
module: route_not_found_filter_1.RouteNotFoundFilter,
|
|
58
58
|
imports: [],
|
|
59
|
-
providers: [{ provide: core_1.APP_FILTER, useClass:
|
|
59
|
+
providers: [{ provide: core_1.APP_FILTER, useClass: route_not_found_filter_1.RouteNotFoundFilter }],
|
|
60
60
|
},
|
|
61
61
|
];
|
|
62
62
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdk/http.server",
|
|
3
|
-
"version": "6.0.0-next.
|
|
3
|
+
"version": "6.0.0-next.13",
|
|
4
4
|
"description": "HTTP transport for rsdk apps (needs some of HTTP adapters)",
|
|
5
5
|
"license": "Apache License 2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"reflect-metadata": "^0.1.12 || ^0.2.0",
|
|
27
27
|
"rxjs": "^7.8.1"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "8d554790cde77f281dba6a1fde1547e709d98143"
|
|
30
30
|
}
|
package/src/http.transport.ts
CHANGED
|
@@ -24,7 +24,7 @@ import { OpenApiGenerator } from '@rsdk/http.openapi';
|
|
|
24
24
|
import type { ILogger } from '@rsdk/logging';
|
|
25
25
|
import _ from 'lodash';
|
|
26
26
|
|
|
27
|
-
import { RouteNotFoundFilter } from './error-handling/
|
|
27
|
+
import { RouteNotFoundFilter } from './error-handling/route-not-found.filter';
|
|
28
28
|
import { HealthHttpController, MetricsHttpController } from './controllers';
|
|
29
29
|
import { HttpErrorsFormatter, HttpErrorsSender } from './error-handling';
|
|
30
30
|
import { HttpConfig } from './http.config';
|
|
File without changes
|
|
File without changes
|