@smithy/core 3.18.1 → 3.18.2

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.
@@ -189,7 +189,7 @@ class HttpBindingProtocol extends HttpProtocol {
189
189
  for (const [memberName, memberNs] of ns.structIterator()) {
190
190
  const memberTraits = memberNs.getMergedTraits() ?? {};
191
191
  const inputMemberValue = input[memberName];
192
- if (inputMemberValue == null) {
192
+ if (inputMemberValue == null && !memberNs.isIdempotencyToken()) {
193
193
  continue;
194
194
  }
195
195
  if (memberTraits.httpPayload) {
@@ -48,7 +48,7 @@ export class HttpBindingProtocol extends HttpProtocol {
48
48
  for (const [memberName, memberNs] of ns.structIterator()) {
49
49
  const memberTraits = memberNs.getMergedTraits() ?? {};
50
50
  const inputMemberValue = input[memberName];
51
- if (inputMemberValue == null) {
51
+ if (inputMemberValue == null && !memberNs.isIdempotencyToken()) {
52
52
  continue;
53
53
  }
54
54
  if (memberTraits.httpPayload) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.18.1",
3
+ "version": "3.18.2",
4
4
  "scripts": {
5
5
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline core",