@gasket/plugin-fastify 6.33.0 → 6.33.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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +3 -3
package/lib/index.js CHANGED
@@ -61,7 +61,7 @@ module.exports = {
61
61
 
62
62
  const middlewares = [];
63
63
  await gasket.execApply('middleware', async (plugin, handler) => {
64
- const middleware = handler(app);
64
+ const middleware = await handler(app);
65
65
  if (middleware) {
66
66
  if (middlewareConfig) {
67
67
  const pluginName = plugin && plugin.name ? plugin.name : '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gasket/plugin-fastify",
3
- "version": "6.33.0",
3
+ "version": "6.33.1",
4
4
  "description": "Adds fastify support to your application",
5
5
  "main": "lib",
6
6
  "types": "lib/index.d.ts",
@@ -42,7 +42,7 @@
42
42
  "compression": "^1.7.2",
43
43
  "cookie-parser": "^1.4.3",
44
44
  "diagnostics": "^2.0.2",
45
- "middie": "5.1.0"
45
+ "middie": "5.4.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@gasket/engine": "^6.26.1",
@@ -73,5 +73,5 @@
73
73
  "unicorn/filename-case": "error"
74
74
  }
75
75
  },
76
- "gitHead": "e19fab235461a16577f27ad30062b754233e05c9"
76
+ "gitHead": "043fb6791e8a3cce92b109dfd095aaa16ed83130"
77
77
  }