File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
packages-exp/functions-exp Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 32
32
},
33
33
"license" : " Apache-2.0" ,
34
34
"peerDependencies" : {
35
- "@firebase/app-exp" : " 0.x" ,
36
35
"@firebase/app-exp-types" : " 0.x"
37
36
},
38
37
"devDependencies" : {
39
38
"@firebase/app-exp" : " 0.x" ,
40
- "@firebase/messaging" : " 0.6.14 " ,
39
+ "@firebase/messaging" : " 0.6.15 " ,
41
40
"rollup" : " 2.7.6" ,
42
41
"rollup-plugin-typescript2" : " 0.27.0" ,
43
42
"typescript" : " 3.8.3"
52
51
},
53
52
"typings" : " dist/index.d.ts" ,
54
53
"dependencies" : {
55
- "@firebase/component" : " 0.1.10 " ,
54
+ "@firebase/component" : " 0.1.11 " ,
56
55
"@firebase/functions-types-exp" : " 0.0.800" ,
57
56
"@firebase/messaging-types" : " 0.4.4" ,
58
57
"isomorphic-fetch" : " 2.2.1" ,
Original file line number Diff line number Diff line change 16
16
*/
17
17
18
18
import { _registerComponent } from '@firebase/app-exp' ;
19
+ import * as functionsTypes from '@firebase/functions-types-exp' ;
19
20
import { FunctionsService } from './service' ;
20
21
import {
21
22
Component ,
@@ -29,6 +30,8 @@ import {
29
30
*/
30
31
export const FUNCTIONS_TYPE = 'functions' ;
31
32
33
+ export const DEFAULT_REGION = 'us-central1' ;
34
+
32
35
const factory : InstanceFactory < 'functions' > = (
33
36
container : ComponentContainer ,
34
37
region ?: string
You can’t perform that action at this time.
0 commit comments