@smithy/core 3.3.0 → 3.3.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.
@@ -702,7 +702,10 @@ var buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body)
702
702
  port,
703
703
  method: "POST",
704
704
  path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
705
- headers
705
+ headers: {
706
+ // intentional copy.
707
+ ...headers
708
+ }
706
709
  };
707
710
  if (resolvedHostname !== void 0) {
708
711
  contents.hostname = resolvedHostname;
@@ -67,7 +67,9 @@ export const buildHttpRpcRequest = async (context, headers, path, resolvedHostna
67
67
  port,
68
68
  method: "POST",
69
69
  path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
70
- headers,
70
+ headers: {
71
+ ...headers,
72
+ },
71
73
  };
72
74
  if (resolvedHostname !== undefined) {
73
75
  contents.hostname = resolvedHostname;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
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",