@faasjs/http 0.0.3-beta.14 → 0.0.3-beta.16
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 -3
- package/dist/index.mjs +0 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -432,9 +432,6 @@ var Http = class {
|
|
|
432
432
|
this.config = (config == null ? void 0 : config.config) || /* @__PURE__ */ Object.create(null);
|
|
433
433
|
if (config == null ? void 0 : config.validator)
|
|
434
434
|
this.validatorOptions = config.validator;
|
|
435
|
-
this.headers = /* @__PURE__ */ Object.create(null);
|
|
436
|
-
this.cookie = new Cookie(this.config.cookie || {});
|
|
437
|
-
this.session = this.cookie.session;
|
|
438
435
|
}
|
|
439
436
|
async onDeploy(data, next) {
|
|
440
437
|
var _a;
|
package/dist/index.mjs
CHANGED
|
@@ -422,9 +422,6 @@ var Http = class {
|
|
|
422
422
|
this.config = (config == null ? void 0 : config.config) || /* @__PURE__ */ Object.create(null);
|
|
423
423
|
if (config == null ? void 0 : config.validator)
|
|
424
424
|
this.validatorOptions = config.validator;
|
|
425
|
-
this.headers = /* @__PURE__ */ Object.create(null);
|
|
426
|
-
this.cookie = new Cookie(this.config.cookie || {});
|
|
427
|
-
this.session = this.cookie.session;
|
|
428
425
|
}
|
|
429
426
|
async onDeploy(data, next) {
|
|
430
427
|
var _a;
|
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.16",
|
|
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.3-beta.
|
|
27
|
-
"@faasjs/logger": "^0.0.3-beta.
|
|
26
|
+
"@faasjs/func": "^0.0.3-beta.16",
|
|
27
|
+
"@faasjs/logger": "^0.0.3-beta.16"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|
|
30
30
|
"npm": ">=8.0.0",
|