construct-hub 0.3.304 → 0.3.305

Sign up to get free protection for your applications and to get access to all the features.
package/.jsii CHANGED
@@ -14589,6 +14589,6 @@
14589
14589
  "symbolId": "src/package-sources/npmjs:NpmJsProps"
14590
14590
  }
14591
14591
  },
14592
- "version": "0.3.304",
14593
- "fingerprint": "kdrpQY8nBwseYt0Njp4sUB29JU6YZZ/bMOExLS1IgXs="
14592
+ "version": "0.3.305",
14593
+ "fingerprint": "B6mCxGXAEnQxSfSOEJH3nzPVl0N7s3tz6Jo47Lxnuhc="
14594
14594
  }
package/changelog.md CHANGED
@@ -1,2 +1,7 @@
1
1
 
2
- ### [0.3.304](https://github.com/cdklabs/construct-hub/compare/v0.3.303...v0.3.304) (2022-04-04)
2
+ ### [0.3.305](https://github.com/cdklabs/construct-hub/compare/v0.3.304...v0.3.305) (2022-04-05)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * remove error messages from redriven messages ([#834](https://github.com/cdklabs/construct-hub/issues/834)) ([9784b19](https://github.com/cdklabs/construct-hub/commit/9784b196a9f0efd406f2bb6351e37bef6d71b6f9))
@@ -21,6 +21,18 @@ var __spreadValues = (a, b) => {
21
21
  return a;
22
22
  };
23
23
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
24
+ var __objRest = (source, exclude) => {
25
+ var target = {};
26
+ for (var prop in source)
27
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
28
+ target[prop] = source[prop];
29
+ if (source != null && __getOwnPropSymbols)
30
+ for (var prop of __getOwnPropSymbols(source)) {
31
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
32
+ target[prop] = source[prop];
33
+ }
34
+ return target;
35
+ };
24
36
  var __commonJS = (cb, mod) => function __require() {
25
37
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
26
38
  };
@@ -6010,9 +6022,10 @@ async function handler(event, context) {
6010
6022
  for await (const message of messagesToRedrive(queueUrl)) {
6011
6023
  const input = JSON.parse(message.Body);
6012
6024
  console.log(`Redriving message ${JSON.stringify(input, null, 2)}`);
6025
+ const _a = input, { docGen } = _a, formatted = __objRest(_a, ["docGen"]);
6013
6026
  const { executionArn } = await sfn.startExecution({
6014
6027
  stateMachineArn,
6015
- input: JSON.stringify(__spreadProps(__spreadValues({}, input), {
6028
+ input: JSON.stringify(__spreadProps(__spreadValues({}, formatted), {
6016
6029
  _error: void 0,
6017
6030
  _redrive: {
6018
6031
  lambdaRequestId: context.awsRequestId,