@faasjs/http 0.0.2-beta.411 → 0.0.2-beta.412

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
@@ -532,7 +532,7 @@ var Http = class {
532
532
  data.response = Object.assign({}, data.response, this.response);
533
533
  const originBody = data.response.body;
534
534
  data.response.originBody = originBody;
535
- if (process.env.FaasMode === "local") {
535
+ if (process.env.FaasMode !== "remote") {
536
536
  data.logger.debug("[onInvoke] Response: %j", data.response);
537
537
  return;
538
538
  }
package/dist/index.mjs CHANGED
@@ -522,7 +522,7 @@ var Http = class {
522
522
  data.response = Object.assign({}, data.response, this.response);
523
523
  const originBody = data.response.body;
524
524
  data.response.originBody = originBody;
525
- if (process.env.FaasMode === "local") {
525
+ if (process.env.FaasMode !== "remote") {
526
526
  data.logger.debug("[onInvoke] Response: %j", data.response);
527
527
  return;
528
528
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faasjs/http",
3
- "version": "0.0.2-beta.411",
3
+ "version": "0.0.2-beta.412",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -23,8 +23,8 @@
23
23
  "dist"
24
24
  ],
25
25
  "dependencies": {
26
- "@faasjs/func": "^0.0.2-beta.411",
27
- "@faasjs/logger": "^0.0.2-beta.411"
26
+ "@faasjs/func": "^0.0.2-beta.412",
27
+ "@faasjs/logger": "^0.0.2-beta.412"
28
28
  },
29
29
  "devDependencies": {
30
30
  "tsup": "*",