@middy/do-not-wait-for-empty-event-loop 3.2.0 → 3.2.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/index.cjs +5 -3
  2. package/package.json +3 -3
package/index.cjs CHANGED
@@ -2,7 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- module.exports = void 0;
5
+ Object.defineProperty(exports, "default", {
6
+ enumerable: true,
7
+ get: ()=>_default
8
+ });
6
9
  const defaults = {
7
10
  runOnBefore: true,
8
11
  runOnAfter: false,
@@ -22,8 +25,7 @@ const doNotWaitForEmptyEventLoopMiddleware = (opts = {})=>{
22
25
  onError: options.runOnError ? doNotWaitForEmptyEventLoop : undefined
23
26
  };
24
27
  };
25
- var _default = doNotWaitForEmptyEventLoopMiddleware;
26
- module.exports = _default;
28
+ const _default = doNotWaitForEmptyEventLoopMiddleware;
27
29
 
28
30
 
29
31
  //# sourceMappingURL=index.cjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@middy/do-not-wait-for-empty-event-loop",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "description": "Middleware for the middy framework that allows to easily disable the wait for empty event loop in a Lambda function",
5
5
  "type": "module",
6
6
  "engines": {
@@ -59,9 +59,9 @@
59
59
  "url": "https://github.com/middyjs/middy/issues"
60
60
  },
61
61
  "homepage": "https://middy.js.org",
62
- "gitHead": "ac46270daa388b52a81472ae8f9b8808a0136940",
62
+ "gitHead": "b4169ec20b798650e934a7c25ee80ae98d11e03a",
63
63
  "devDependencies": {
64
- "@middy/core": "3.2.0",
64
+ "@middy/core": "3.2.1",
65
65
  "@types/aws-lambda": "^8.10.76"
66
66
  }
67
67
  }