@whook/gcp-functions 10.0.1 → 10.0.4
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/services/_autoload.d.ts +2 -2
- package/dist/services/log.d.ts +1 -1
- package/dist/services/log.test.js +1 -0
- package/dist/services/log.test.js.map +1 -1
- package/dist/wrappers/googleHTTPFunction.d.ts +1 -1
- package/package.json +21 -22
- package/src/services/log.test.ts +1 -0
- package/src/wrappers/googleHTTPFunction.ts +1 -1
|
@@ -15,10 +15,10 @@ import type { LogService } from 'common-services';
|
|
|
15
15
|
* @return {Promise<Object>}
|
|
16
16
|
* A promise of an object containing the reshaped env vars.
|
|
17
17
|
*/
|
|
18
|
-
declare const _default: import("knifecycle").ServiceInitializer<import("@whook/whook/dist/services/_autoload.js").AutoloadConfig & {
|
|
18
|
+
declare const _default: import("knifecycle").ServiceInitializer<Dependencies<any> & import("@whook/whook/dist/services/_autoload.js").AutoloadConfig & {
|
|
19
19
|
PROJECT_SRC: string;
|
|
20
20
|
CONFIGS?: import("@whook/whook").CONFIGSService | undefined;
|
|
21
|
-
WRAPPERS?: import("@whook/whook").WhookWrapper<
|
|
21
|
+
WRAPPERS?: import("@whook/whook").WhookWrapper<Dependencies<any>, import("@whook/http-transaction").WhookHandler<import("knifecycle").Parameters<any>, import("@whook/http-transaction").WhookResponse<number, void | import("@whook/http-transaction").WhookHeaders, void | import("type-fest").JsonValue | import("stream").Readable>, import("@whook/http-transaction").WhookOperation<Record<string, unknown>>>>[] | undefined;
|
|
22
22
|
$injector: Injector<any>;
|
|
23
23
|
importer: import("@whook/whook").ImporterService<{
|
|
24
24
|
default: Initializer<any, Dependencies<any>>;
|
package/dist/services/log.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log.test.js","sourceRoot":"","sources":["../../src/services/log.test.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,UAAU,CAAC;AAEtC,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC9B,EAAE,CAAC,aAAa,EAAE,KAAK,IAAI,EAAE;QAC3B,MAAM,cAAc,CAAC,EAAE,CAAC,CAAC;IAC3B,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"log.test.js","sourceRoot":"","sources":["../../src/services/log.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,cAAc,MAAM,UAAU,CAAC;AAEtC,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC9B,EAAE,CAAC,aAAa,EAAE,KAAK,IAAI,EAAE;QAC3B,MAAM,cAAc,CAAC,EAAE,CAAC,CAAC;IAC3B,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -18,5 +18,5 @@ declare type HTTPWrapperDependencies = {
|
|
|
18
18
|
log?: LogService;
|
|
19
19
|
WRAPPERS: WhookWrapper<Dependencies, Service>[];
|
|
20
20
|
};
|
|
21
|
-
export default function wrapHandlerForAWSHTTPFunction<D
|
|
21
|
+
export default function wrapHandlerForAWSHTTPFunction<D extends Dependencies<any>, S extends WhookHandler>(initHandler: ServiceInitializer<D, S>): ServiceInitializer<D & HTTPWrapperDependencies, S>;
|
|
22
22
|
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whook/gcp-functions",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.4",
|
|
4
4
|
"description": "Build and deploy to GCP Cloud Functions with Whook.",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"main": "dist/index.js",
|
|
6
7
|
"types": "dist/index.d.ts",
|
|
7
8
|
"metapak": {
|
|
@@ -48,38 +49,37 @@
|
|
|
48
49
|
},
|
|
49
50
|
"homepage": "https://github.com/nfroidure/whook",
|
|
50
51
|
"dependencies": {
|
|
51
|
-
"@whook/cli": "^10.0.
|
|
52
|
-
"@whook/cors": "^10.0.
|
|
53
|
-
"@whook/http-router": "^10.0.
|
|
54
|
-
"@whook/whook": "^10.0.
|
|
52
|
+
"@whook/cli": "^10.0.4",
|
|
53
|
+
"@whook/cors": "^10.0.4",
|
|
54
|
+
"@whook/http-router": "^10.0.4",
|
|
55
|
+
"@whook/whook": "^10.0.4",
|
|
55
56
|
"ajv": "^8.11.0",
|
|
56
57
|
"ajv-formats": "^2.1.1",
|
|
57
58
|
"camelcase": "^7.0.0",
|
|
58
|
-
"common-services": "^11.0
|
|
59
|
+
"common-services": "^11.1.0",
|
|
59
60
|
"cpr": "3.0.1",
|
|
60
|
-
"knifecycle": "^14.
|
|
61
|
+
"knifecycle": "^14.1.0",
|
|
61
62
|
"mkdirp": "^1.0.4",
|
|
62
|
-
"openapi-types": "^12.0.
|
|
63
|
-
"qs": "^6.
|
|
64
|
-
"strict-qs": "^7.0.
|
|
63
|
+
"openapi-types": "^12.0.2",
|
|
64
|
+
"qs": "^6.11.0",
|
|
65
|
+
"strict-qs": "^7.0.1",
|
|
65
66
|
"yerror": "^6.1.1"
|
|
66
67
|
},
|
|
67
68
|
"devDependencies": {
|
|
68
|
-
"@
|
|
69
|
-
"@typescript-eslint/
|
|
70
|
-
"
|
|
71
|
-
"esbuild": "^0.14.46",
|
|
69
|
+
"@typescript-eslint/eslint-plugin": "^5.36.0",
|
|
70
|
+
"@typescript-eslint/parser": "^5.36.0",
|
|
71
|
+
"esbuild": "^0.15.6",
|
|
72
72
|
"esbuild-jest": "^0.5.0",
|
|
73
|
-
"eslint": "^8.
|
|
73
|
+
"eslint": "^8.23.0",
|
|
74
74
|
"eslint-config-prettier": "^8.5.0",
|
|
75
|
-
"eslint-plugin-prettier": "^4.
|
|
76
|
-
"jest": "^
|
|
75
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
76
|
+
"jest": "^29.0.1",
|
|
77
77
|
"jsdoc-to-markdown": "^7.1.1",
|
|
78
78
|
"metapak": "^4.0.4",
|
|
79
|
-
"metapak-nfroidure": "12.
|
|
80
|
-
"prettier": "^2.
|
|
79
|
+
"metapak-nfroidure": "12.3.0",
|
|
80
|
+
"prettier": "^2.7.1",
|
|
81
81
|
"rimraf": "^3.0.2",
|
|
82
|
-
"typescript": "^4.
|
|
82
|
+
"typescript": "^4.8.2"
|
|
83
83
|
},
|
|
84
84
|
"contributors": [],
|
|
85
85
|
"engines": {
|
|
@@ -168,6 +168,5 @@
|
|
|
168
168
|
"prettier": "prettier --write 'src/**/*.ts'",
|
|
169
169
|
"test": "npm run jest"
|
|
170
170
|
},
|
|
171
|
-
"
|
|
172
|
-
"gitHead": "4562e517c54f65e4469573019c8dea4744475099"
|
|
171
|
+
"gitHead": "576dd7326675f2d0d9f9e36c5fa7d312835a3687"
|
|
173
172
|
}
|
package/src/services/log.test.ts
CHANGED