@smithy/core 3.23.0 → 3.23.1
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.
|
@@ -325,7 +325,9 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
325
325
|
if (bytes.byteLength > 0) {
|
|
326
326
|
const dataFromBody = await deserializer.read(ns, bytes);
|
|
327
327
|
for (const member of nonHttpBindingMembers) {
|
|
328
|
-
|
|
328
|
+
if (dataFromBody[member] != null) {
|
|
329
|
+
dataObject[member] = dataFromBody[member];
|
|
330
|
+
}
|
|
329
331
|
}
|
|
330
332
|
}
|
|
331
333
|
}
|
|
@@ -176,7 +176,9 @@ export class HttpBindingProtocol extends HttpProtocol {
|
|
|
176
176
|
if (bytes.byteLength > 0) {
|
|
177
177
|
const dataFromBody = await deserializer.read(ns, bytes);
|
|
178
178
|
for (const member of nonHttpBindingMembers) {
|
|
179
|
-
|
|
179
|
+
if (dataFromBody[member] != null) {
|
|
180
|
+
dataObject[member] = dataFromBody[member];
|
|
181
|
+
}
|
|
180
182
|
}
|
|
181
183
|
}
|
|
182
184
|
}
|
package/package.json
CHANGED