moost 0.4.10 → 0.4.11

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
@@ -142,6 +142,7 @@ function defineMoostEventHandler(options) {
142
142
  const instance = await options.getControllerInstance();
143
143
  if (instance) {
144
144
  setControllerContext(instance, options.controllerMethod || '', options.targetPath);
145
+ ci.hook('Controller:registered');
145
146
  }
146
147
  const interceptorHandler = await options.getIterceptorHandler();
147
148
  if (interceptorHandler?.count) {
package/dist/index.mjs CHANGED
@@ -143,6 +143,7 @@ function defineMoostEventHandler(options) {
143
143
  const instance = await options.getControllerInstance();
144
144
  if (instance) {
145
145
  setControllerContext(instance, options.controllerMethod || '', options.targetPath);
146
+ ci.hook('Controller:registered');
146
147
  }
147
148
  const interceptorHandler = await options.getIterceptorHandler();
148
149
  if (interceptorHandler?.count) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moost",
3
- "version": "0.4.10",
3
+ "version": "0.4.11",
4
4
  "description": "moost",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",