@faasjs/http 0.0.2-beta.387 → 0.0.2-beta.388

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.
package/dist/index.js CHANGED
@@ -495,7 +495,7 @@ var Http = class {
495
495
  "Content-Type": "application/json; charset=utf-8",
496
496
  "Cache-Control": "no-cache, no-store"
497
497
  }, this.cookie.headers(), this.response.headers);
498
- data.response = __spreadValues(__spreadValues({}, data.response), this.response);
498
+ data.response = Object.assign(data.response, this.response);
499
499
  const originBody = data.response.body;
500
500
  data.response.originBody = originBody;
501
501
  if (process.env.FaasMode === "local") {
package/dist/index.mjs CHANGED
@@ -488,7 +488,7 @@ var Http = class {
488
488
  "Content-Type": "application/json; charset=utf-8",
489
489
  "Cache-Control": "no-cache, no-store"
490
490
  }, this.cookie.headers(), this.response.headers);
491
- data.response = __spreadValues(__spreadValues({}, data.response), this.response);
491
+ data.response = Object.assign(data.response, this.response);
492
492
  const originBody = data.response.body;
493
493
  data.response.originBody = originBody;
494
494
  if (process.env.FaasMode === "local") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faasjs/http",
3
- "version": "0.0.2-beta.387",
3
+ "version": "0.0.2-beta.388",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,8 +22,8 @@
22
22
  "dist"
23
23
  ],
24
24
  "peerDependencies": {
25
- "@faasjs/func": "^0.0.2-beta.387",
26
- "@faasjs/logger": "^0.0.2-beta.387"
25
+ "@faasjs/func": "^0.0.2-beta.388",
26
+ "@faasjs/logger": "^0.0.2-beta.388"
27
27
  },
28
28
  "devDependencies": {
29
29
  "tsup": "*",