firebase-functions 3.15.6 → 3.15.7

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.
@@ -2,7 +2,7 @@ import { ParamSpec } from './params/types';
2
2
  /**
3
3
  * List of all regions supported by Cloud Functions v2
4
4
  */
5
- export declare const SUPPORTED_REGIONS: readonly ["us-west1"];
5
+ export declare const SUPPORTED_REGIONS: readonly ["us-west1", "europe-west4"];
6
6
  /**
7
7
  * A region known to be supported by CloudFunctions v2
8
8
  */
package/lib/v2/options.js CHANGED
@@ -29,7 +29,7 @@ const params_1 = require("./params");
29
29
  /**
30
30
  * List of all regions supported by Cloud Functions v2
31
31
  */
32
- exports.SUPPORTED_REGIONS = ['us-west1'];
32
+ exports.SUPPORTED_REGIONS = ['us-west1', 'europe-west4'];
33
33
  /**
34
34
  * Cloud Functions v2 min timeout value.
35
35
  */
@@ -4,7 +4,7 @@ import * as options from '../options';
4
4
  export { Request, CallableRequest, FunctionsErrorCode, HttpsError };
5
5
  export interface HttpsOptions extends Omit<options.GlobalOptions, 'region'> {
6
6
  region?: options.SupportedRegion | string | Array<options.SupportedRegion | string>;
7
- cors?: string | boolean | RegExp | (string | RegExp)[];
7
+ cors?: string | boolean | RegExp | Array<string | RegExp>;
8
8
  }
9
9
  export declare type HttpsFunction = ((req: Request, res: express.Response) => void | Promise<void>) & {
10
10
  __trigger: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firebase-functions",
3
- "version": "3.15.6",
3
+ "version": "3.15.7",
4
4
  "description": "Firebase SDK for Cloud Functions",
5
5
  "keywords": [
6
6
  "firebase",