@moostjs/event-http 0.3.44 → 0.4.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 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -203,6 +203,7 @@ const LOGGER_TITLE = 'moost-http';
|
|
|
203
203
|
const CONTEXT_TYPE = 'HTTP';
|
|
204
204
|
class MoostHttp {
|
|
205
205
|
constructor(httpApp) {
|
|
206
|
+
this.name = 'http';
|
|
206
207
|
this.pathBuilders = {};
|
|
207
208
|
if (httpApp && httpApp instanceof eventHttp.WooksHttp) {
|
|
208
209
|
this.httpApp = httpApp;
|
package/dist/index.d.ts
CHANGED
|
@@ -255,6 +255,7 @@ interface THttpHandlerMeta {
|
|
|
255
255
|
* ```
|
|
256
256
|
*/
|
|
257
257
|
declare class MoostHttp implements TMoostAdapter<THttpHandlerMeta> {
|
|
258
|
+
readonly name = "http";
|
|
258
259
|
protected httpApp: WooksHttp;
|
|
259
260
|
constructor(httpApp?: WooksHttp | TWooksHttpOptions);
|
|
260
261
|
getHttpApp(): WooksHttp;
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moostjs/event-http",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "@moostjs/event-http",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"homepage": "https://github.com/moostjs/moostjs/tree/main/packages/event-http#readme",
|
|
39
39
|
"peerDependencies": {},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"moost": "0.
|
|
42
|
-
"@wooksjs/event-core": "^0.
|
|
43
|
-
"@wooksjs/event-http": "^0.
|
|
44
|
-
"@wooksjs/http-body": "^0.
|
|
41
|
+
"moost": "0.4.1",
|
|
42
|
+
"@wooksjs/event-core": "^0.5.1",
|
|
43
|
+
"@wooksjs/event-http": "^0.5.1",
|
|
44
|
+
"@wooksjs/http-body": "^0.5.1",
|
|
45
45
|
"@prostojs/infact": "^0.2.3",
|
|
46
46
|
"@prostojs/router": "^0.2.1"
|
|
47
47
|
}
|