quidproquo-actionprocessor-awslambda 0.0.202 → 0.0.204

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.
@@ -14,9 +14,8 @@ const getProcessAutoRespond = (qpqConfig) => {
14
14
  return ({ qpqEventRecord, matchResult }) => __awaiter(void 0, void 0, void 0, function* () {
15
15
  // exit if we don't know what deploy type this is, probably another stack
16
16
  const earlyExit = qpqEventRecord.deployEventType === quidproquo_core_1.DeployEventType.Unknown || qpqEventRecord.deployEventStatusType === quidproquo_core_1.DeployEventStatusType.Unknown;
17
- // THIS IS A HACK... We need to support early exit on void responses...
18
- // Maybe void reponses should just be "completed successfully"... then we can early exit as it has completed successfully
19
- return (0, quidproquo_core_1.actionResult)(earlyExit);
17
+ // This is strange, but null means don't early exit.
18
+ return (0, quidproquo_core_1.actionResult)(!earlyExit ? null : void 0);
20
19
  });
21
20
  };
22
21
  exports.default = (qpqConfig) => {
@@ -3,9 +3,8 @@ const getProcessAutoRespond = (qpqConfig) => {
3
3
  return async ({ qpqEventRecord, matchResult }) => {
4
4
  // exit if we don't know what deploy type this is, probably another stack
5
5
  const earlyExit = qpqEventRecord.deployEventType === DeployEventType.Unknown || qpqEventRecord.deployEventStatusType === DeployEventStatusType.Unknown;
6
- // THIS IS A HACK... We need to support early exit on void responses...
7
- // Maybe void reponses should just be "completed successfully"... then we can early exit as it has completed successfully
8
- return actionResult(earlyExit);
6
+ // This is strange, but null means don't early exit.
7
+ return actionResult(!earlyExit ? null : void 0);
9
8
  };
10
9
  };
11
10
  export default (qpqConfig) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quidproquo-actionprocessor-awslambda",
3
- "version": "0.0.202",
3
+ "version": "0.0.204",
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.202",
55
- "quidproquo-core": "0.0.202",
56
- "quidproquo-webserver": "0.0.202"
54
+ "quidproquo-config-aws": "0.0.204",
55
+ "quidproquo-core": "0.0.204",
56
+ "quidproquo-webserver": "0.0.204"
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.202",
64
+ "quidproquo-tsconfig": "0.0.204",
65
65
  "typescript": "^4.9.3"
66
66
  }
67
67
  }