@pristine-ts/core 2.0.10 → 2.0.12
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/lib/cjs/enums/execution-context-keyname.enum.js +12 -0
- package/dist/lib/cjs/enums/execution-context-keyname.enum.js.map +1 -1
- package/dist/lib/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/lib/esm/enums/execution-context-keyname.enum.js +12 -0
- package/dist/lib/esm/enums/execution-context-keyname.enum.js.map +1 -1
- package/dist/lib/esm/tsconfig.tsbuildinfo +1 -1
- package/dist/types/enums/execution-context-keyname.enum.d.ts +13 -1
- package/package.json +7 -7
|
@@ -9,5 +9,17 @@ export declare enum ExecutionContextKeynameEnum {
|
|
|
9
9
|
*/
|
|
10
10
|
Http = "HTTP",
|
|
11
11
|
Jest = "JEST",
|
|
12
|
-
Cli = "CLI"
|
|
12
|
+
Cli = "CLI",
|
|
13
|
+
/**
|
|
14
|
+
* GCP Cloud Functions (Gen 1 HTTP-trigger or Gen 2 with a CloudEvent envelope). Set by the
|
|
15
|
+
* entry-point shim that calls `kernel.handle(rawEvent, { keyname: GcpCloudFunction, context })`.
|
|
16
|
+
* `@pristine-ts/gcp-functions` HTTP event mappers gate on this value in `supportsMapping(...)`.
|
|
17
|
+
*/
|
|
18
|
+
GcpCloudFunction = "GCP_CLOUD_FUNCTION",
|
|
19
|
+
/**
|
|
20
|
+
* GCP Cloud Run. Set by the entry-point shim when running inside a Cloud Run container
|
|
21
|
+
* fronted by the framework's HTTP entry. `@pristine-ts/gcp-functions`'s
|
|
22
|
+
* `CloudRunHttpEventMapper` gates on this value.
|
|
23
|
+
*/
|
|
24
|
+
GcpCloudRun = "GCP_CLOUD_RUN"
|
|
13
25
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pristine-ts/core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.12",
|
|
4
4
|
"description": "",
|
|
5
5
|
"module": "dist/lib/esm/core.module.js",
|
|
6
6
|
"main": "dist/lib/cjs/core.module.js",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@pristine-ts/common": "^2.0.
|
|
24
|
-
"@pristine-ts/configuration": "^2.0.
|
|
25
|
-
"@pristine-ts/logging": "^2.0.
|
|
26
|
-
"@pristine-ts/security": "^2.0.
|
|
27
|
-
"@pristine-ts/telemetry": "^2.0.
|
|
23
|
+
"@pristine-ts/common": "^2.0.12",
|
|
24
|
+
"@pristine-ts/configuration": "^2.0.12",
|
|
25
|
+
"@pristine-ts/logging": "^2.0.12",
|
|
26
|
+
"@pristine-ts/security": "^2.0.12",
|
|
27
|
+
"@pristine-ts/telemetry": "^2.0.12",
|
|
28
28
|
"uuid": "^9.0.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"src/*.{js,ts}"
|
|
65
65
|
]
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "814b7d1ef17c09d183a79cdfd1947b005e898bbe",
|
|
68
68
|
"repository": {
|
|
69
69
|
"type": "git",
|
|
70
70
|
"url": "https://github.com/magieno/pristine-ts.git",
|