@noxfly/noxus 1.1.7 → 1.1.8

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/noxus.js CHANGED
@@ -1030,7 +1030,7 @@ var _Router = class _Router {
1030
1030
  const guardIndex = i - middlewares2.length;
1031
1031
  const guardType = routeDef.guards[guardIndex];
1032
1032
  await this.runGuard(request, guardType);
1033
- dispatch(i + 1);
1033
+ await dispatch(i + 1);
1034
1034
  return;
1035
1035
  }
1036
1036
  const action = controllerInstance[routeDef.handler];
package/dist/noxus.mjs CHANGED
@@ -953,7 +953,7 @@ var _Router = class _Router {
953
953
  const guardIndex = i - middlewares2.length;
954
954
  const guardType = routeDef.guards[guardIndex];
955
955
  await this.runGuard(request, guardType);
956
- dispatch(i + 1);
956
+ await dispatch(i + 1);
957
957
  return;
958
958
  }
959
959
  const action = controllerInstance[routeDef.handler];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noxfly/noxus",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "main": "dist/noxus.js",
5
5
  "types": "dist/noxus.d.ts",
6
6
  "scripts": {
package/src/router.ts CHANGED
@@ -257,7 +257,7 @@ export class Router {
257
257
  const guardIndex = i - middlewares.length;
258
258
  const guardType = routeDef.guards[guardIndex]!;
259
259
  await this.runGuard(request, guardType);
260
- dispatch(i + 1);
260
+ await dispatch(i + 1);
261
261
  return;
262
262
  }
263
263