@faasjs/http 0.0.2-beta.423 → 0.0.2-beta.424
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 +0 -4
- package/dist/index.mjs +0 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -532,10 +532,6 @@ 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 !== "remote") {
|
|
536
|
-
data.logger.debug("[onInvoke] Response: %j", data.response);
|
|
537
|
-
return;
|
|
538
|
-
}
|
|
539
535
|
if (data.response.isBase64Encoded || typeof data.response.body !== "string" || !((_b = data.response.headers["Content-Type"]) == null ? void 0 : _b.includes("json")) || data.response.body.length < 100)
|
|
540
536
|
return;
|
|
541
537
|
const acceptEncoding = this.headers["accept-encoding"] || this.headers["Accept-Encoding"];
|
package/dist/index.mjs
CHANGED
|
@@ -522,10 +522,6 @@ 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 !== "remote") {
|
|
526
|
-
data.logger.debug("[onInvoke] Response: %j", data.response);
|
|
527
|
-
return;
|
|
528
|
-
}
|
|
529
525
|
if (data.response.isBase64Encoded || typeof data.response.body !== "string" || !((_b = data.response.headers["Content-Type"]) == null ? void 0 : _b.includes("json")) || data.response.body.length < 100)
|
|
530
526
|
return;
|
|
531
527
|
const acceptEncoding = this.headers["accept-encoding"] || this.headers["Accept-Encoding"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faasjs/http",
|
|
3
|
-
"version": "0.0.2-beta.
|
|
3
|
+
"version": "0.0.2-beta.424",
|
|
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.
|
|
27
|
-
"@faasjs/logger": "^0.0.2-beta.
|
|
26
|
+
"@faasjs/func": "^0.0.2-beta.424",
|
|
27
|
+
"@faasjs/logger": "^0.0.2-beta.424"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"tsup": "*",
|