@lafken/queue 0.11.16 → 0.11.17

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.
@@ -98,9 +98,6 @@ class Queue extends resolver_1.lafkenResource.make(sqs_queue_1.SqsQueue) {
98
98
  if (param.source === 'attribute' && !attributeAllowedTypes.has(param.type)) {
99
99
  throw new Error(`Attribute params only support ${[...attributeAllowedTypes].join(', ')} values`);
100
100
  }
101
- if (param.source === 'body' && param.parse && !bodyParsedTypes.has(param.type)) {
102
- throw new Error(`Body params only support ${[...bodyParsedTypes].join(', ')} values`);
103
- }
104
101
  if (param?.source === 'body' && !param.parse && !bodyUnparsedTypes.has(param.type)) {
105
102
  throw new Error(`Body params only support ${[...bodyUnparsedTypes].join(', ')} values`);
106
103
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lafken/queue",
3
- "version": "0.11.16",
3
+ "version": "0.11.17",
4
4
  "private": false,
5
5
  "description": "Define SQS queues and consumers using TypeScript decorators - automatic infrastructure generation with Lafken",
6
6
  "keywords": [
@@ -55,7 +55,7 @@
55
55
  "@aws-sdk/client-sqs": "^3.1037.0",
56
56
  "aws-lambda": "^1.0.7",
57
57
  "reflect-metadata": "^0.2.2",
58
- "@lafken/resolver": "0.11.16"
58
+ "@lafken/resolver": "0.11.17"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@cdktn/provider-aws": "^23.9.0",
@@ -69,13 +69,13 @@
69
69
  "typescript": "6.0.3",
70
70
  "unplugin-swc": "^1.5.9",
71
71
  "vitest": "^4.1.5",
72
- "@lafken/common": "0.11.16"
72
+ "@lafken/common": "0.11.17"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "@cdktn/provider-aws": ">=23.0.0",
76
76
  "cdktn": ">=0.22.0",
77
77
  "constructs": "^10.4.5",
78
- "@lafken/common": "0.11.16"
78
+ "@lafken/common": "0.11.17"
79
79
  },
80
80
  "engines": {
81
81
  "node": ">=20.19"