gcf-common-lib 0.21.1 → 0.21.3

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/index.ts +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gcf-common-lib",
3
3
  "description": "",
4
- "version": "0.21.1",
4
+ "version": "0.21.3",
5
5
  "publishConfig": {
6
6
  "access": "public",
7
7
  "branches": [
@@ -9,8 +9,8 @@
9
9
  ]
10
10
  },
11
11
  "engines": {
12
- "node": "14",
13
- "npm": "8"
12
+ "node": ">=14",
13
+ "npm": ">=8"
14
14
  },
15
15
  "main": "src/index",
16
16
  "scripts": {
package/src/index.ts CHANGED
@@ -157,7 +157,7 @@ export class GcfCommon {
157
157
  return {topic, requestId, env};
158
158
  }
159
159
 
160
- static async getOptions(event: TEvent, context: TContext) {
160
+ static async getOptions(event: TEvent, context: TContext): Promise<Dict<any>> {
161
161
  switch (context?.eventType) {
162
162
  case 'google.storage.object.finalize': {
163
163
  const gsEvent = event as TGSEvent;