@faasjs/http 0.0.3-beta.83 → 0.0.3-beta.84
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 +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -500,6 +500,8 @@ var Http = class {
|
|
|
500
500
|
data.logger.debug("[onInvoke] Parse params from raw body");
|
|
501
501
|
this.params = data.event.body || /* @__PURE__ */ Object.create(null);
|
|
502
502
|
}
|
|
503
|
+
if (this.params && typeof this.params === "object" && this.params["_"])
|
|
504
|
+
delete this.params["_"];
|
|
503
505
|
data.logger.debug("[onInvoke] Params: %j", this.params);
|
|
504
506
|
}
|
|
505
507
|
this.cookie.invoke(this.headers.cookie);
|
package/dist/index.mjs
CHANGED
|
@@ -490,6 +490,8 @@ var Http = class {
|
|
|
490
490
|
data.logger.debug("[onInvoke] Parse params from raw body");
|
|
491
491
|
this.params = data.event.body || /* @__PURE__ */ Object.create(null);
|
|
492
492
|
}
|
|
493
|
+
if (this.params && typeof this.params === "object" && this.params["_"])
|
|
494
|
+
delete this.params["_"];
|
|
493
495
|
data.logger.debug("[onInvoke] Params: %j", this.params);
|
|
494
496
|
}
|
|
495
497
|
this.cookie.invoke(this.headers.cookie);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faasjs/http",
|
|
3
|
-
"version": "0.0.3-beta.
|
|
3
|
+
"version": "0.0.3-beta.84",
|
|
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
|
"dependencies": {
|
|
25
|
-
"@faasjs/func": "^0.0.3-beta.
|
|
26
|
-
"@faasjs/logger": "^0.0.3-beta.
|
|
25
|
+
"@faasjs/func": "^0.0.3-beta.84",
|
|
26
|
+
"@faasjs/logger": "^0.0.3-beta.84"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
29
29
|
"npm": ">=8.0.0",
|