@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 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
@@ -202,6 +202,7 @@ const LOGGER_TITLE = 'moost-http';
202
202
  const CONTEXT_TYPE = 'HTTP';
203
203
  class MoostHttp {
204
204
  constructor(httpApp) {
205
+ this.name = 'http';
205
206
  this.pathBuilders = {};
206
207
  if (httpApp && httpApp instanceof WooksHttp) {
207
208
  this.httpApp = httpApp;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moostjs/event-http",
3
- "version": "0.3.44",
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.3.44",
42
- "@wooksjs/event-core": "^0.4.35",
43
- "@wooksjs/event-http": "^0.4.35",
44
- "@wooksjs/http-body": "^0.4.35",
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
  }