@moostjs/event-http 0.6.5 → 0.6.6

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
@@ -662,6 +662,7 @@ const CONTEXT_TYPE = "HTTP";
662
662
  raw.on("end", unscope);
663
663
  } },
664
664
  targetPath,
665
+ controllerPrefix: opts.prefix,
665
666
  handlerType: handler.type
666
667
  });
667
668
  const routerBinding = handler.method === "UPGRADE" ? this.httpApp.upgrade(targetPath, fn) : this.httpApp.on(handler.method, targetPath, fn);
@@ -694,7 +695,7 @@ const CONTEXT_TYPE = "HTTP";
694
695
  image: "https://moost.org/moost-full-logo.svg",
695
696
  link: "https://moost.org/",
696
697
  poweredBy: "moostjs",
697
- version: "0.6.4"
698
+ version: "0.6.5"
698
699
  });
699
700
  if (httpApp && httpApp instanceof __wooksjs_event_http.WooksHttp) this.httpApp = httpApp;
700
701
  else if (httpApp) this.httpApp = (0, __wooksjs_event_http.createHttpApp)({
package/dist/index.mjs CHANGED
@@ -639,6 +639,7 @@ const CONTEXT_TYPE = "HTTP";
639
639
  raw.on("end", unscope);
640
640
  } },
641
641
  targetPath,
642
+ controllerPrefix: opts.prefix,
642
643
  handlerType: handler.type
643
644
  });
644
645
  const routerBinding = handler.method === "UPGRADE" ? this.httpApp.upgrade(targetPath, fn) : this.httpApp.on(handler.method, targetPath, fn);
@@ -671,7 +672,7 @@ const CONTEXT_TYPE = "HTTP";
671
672
  image: "https://moost.org/moost-full-logo.svg",
672
673
  link: "https://moost.org/",
673
674
  poweredBy: "moostjs",
674
- version: "0.6.4"
675
+ version: "0.6.5"
675
676
  });
676
677
  if (httpApp && httpApp instanceof WooksHttp) this.httpApp = httpApp;
677
678
  else if (httpApp) this.httpApp = createHttpApp({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moostjs/event-http",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "description": "@moostjs/event-http",
5
5
  "keywords": [
6
6
  "composables",
@@ -52,7 +52,7 @@
52
52
  "peerDependencies": {
53
53
  "@prostojs/infact": "^0.4.1",
54
54
  "@wooksjs/event-core": "^0.7.8",
55
- "moost": "^0.6.5"
55
+ "moost": "^0.6.6"
56
56
  },
57
57
  "scripts": {
58
58
  "pub": "pnpm publish --access public",