quidproquo-actionprocessor-awslambda 0.0.206 → 0.0.207

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.
@@ -12,6 +12,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  const quidproquo_core_1 = require("quidproquo-core");
13
13
  const getProcessAutoRespond = (qpqConfig) => {
14
14
  return ({ qpqEventRecord, matchResult }) => __awaiter(void 0, void 0, void 0, function* () {
15
+ // If we could not match, we can just auto respond...
16
+ if (!matchResult.src || !matchResult.runtime) {
17
+ // Just say we have finished gracefully.
18
+ return (0, quidproquo_core_1.actionResult)(true);
19
+ }
15
20
  return (0, quidproquo_core_1.actionResult)(null);
16
21
  });
17
22
  };
@@ -1,6 +1,11 @@
1
1
  import { EventActionType, actionResult } from 'quidproquo-core';
2
2
  const getProcessAutoRespond = (qpqConfig) => {
3
3
  return async ({ qpqEventRecord, matchResult }) => {
4
+ // If we could not match, we can just auto respond...
5
+ if (!matchResult.src || !matchResult.runtime) {
6
+ // Just say we have finished gracefully.
7
+ return actionResult(true);
8
+ }
4
9
  return actionResult(null);
5
10
  };
6
11
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quidproquo-actionprocessor-awslambda",
3
- "version": "0.0.206",
3
+ "version": "0.0.207",
4
4
  "description": "",
5
5
  "main": "./lib/commonjs/index.js",
6
6
  "module": "./lib/esm/index.js",
@@ -51,9 +51,9 @@
51
51
  "lodash": "^4.17.21",
52
52
  "node-cache": "^5.1.2",
53
53
  "node-match-path": "^0.6.3",
54
- "quidproquo-config-aws": "0.0.206",
55
- "quidproquo-core": "0.0.206",
56
- "quidproquo-webserver": "0.0.206"
54
+ "quidproquo-config-aws": "0.0.207",
55
+ "quidproquo-core": "0.0.207",
56
+ "quidproquo-webserver": "0.0.207"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/aws-lambda": "^8.10.109",
@@ -61,7 +61,7 @@
61
61
  "@types/jsonwebtoken": "^9.0.2",
62
62
  "@types/lodash": "^4.14.194",
63
63
  "@types/node": "^18.11.9",
64
- "quidproquo-tsconfig": "0.0.206",
64
+ "quidproquo-tsconfig": "0.0.207",
65
65
  "typescript": "^4.9.3"
66
66
  }
67
67
  }