File tree 6 files changed +8
-24
lines changed
scripts/emulator-testing/emulators 6 files changed +8
-24
lines changed Original file line number Diff line number Diff line change 44
44
"api-report:api-json" : " rm -rf temp && api-extractor run --local --verbose" ,
45
45
"doc" : " api-documenter markdown --input temp --output docs" ,
46
46
"typings:public" : " node ../../scripts/build/use_typings.js ./dist/public.d.ts"
47
- },
47
+ },
48
48
"license" : " Apache-2.0" ,
49
49
"peerDependencies" : {
50
50
"@firebase/app" : " 0.x"
51
51
},
52
52
"dependencies" : {
53
53
"@firebase/auth-interop-types" : " 0.2.3" ,
54
- "@firebase/component" : " 0.6.8 " ,
54
+ "@firebase/component" : " 0.6.9 " ,
55
55
"@firebase/logger" : " 0.4.2" ,
56
56
"@firebase/util" : " 1.10.0" ,
57
57
"tslib" : " ^2.1.0"
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export function urlBuilder(
37
37
'Incorrect type for port passed in!'
38
38
) ;
39
39
}
40
- return `${ baseUrl } /v1alpha /projects/${ project } /locations/${ location } /services/${ service } /connectors/${ connector } ` ;
40
+ return `${ baseUrl } /v1beta /projects/${ project } /locations/${ location } /services/${ service } /connectors/${ connector } ` ;
41
41
}
42
42
export function addToken ( url : string , apiKey ?: string ) : string {
43
43
if ( ! apiKey ) {
Original file line number Diff line number Diff line change 1
- specVersion : " v1alpha "
1
+ specVersion : " v1beta "
2
2
serviceId : " dataconnect"
3
3
location : " us-west2"
4
4
schema :
Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ export async function setupQueries(
82
82
connection_string :
83
83
'postgresql://postgres:secretpassword@localhost:5432/postgres?sslmode=disable'
84
84
} ;
85
- fs . writeFileSync ( './emulator.json' , JSON . stringify ( toWrite ) ) ;
86
85
return fetch ( `http://localhost:${ EMULATOR_PORT } /setupSchema` , {
87
86
method : 'POST' ,
88
87
body : JSON . stringify ( toWrite )
Original file line number Diff line number Diff line change 18
18
import { platform } from 'os' ;
19
19
import { Emulator } from './emulator' ;
20
20
21
- const DATABASE_EMULATOR_VERSION = '1.3.5 ' ;
21
+ const DATABASE_EMULATOR_VERSION = '1.3.7 ' ;
22
22
23
23
export class DataConnectEmulator extends Emulator {
24
24
// namespace: string;
@@ -29,15 +29,15 @@ export class DataConnectEmulator extends Emulator {
29
29
switch ( os ) {
30
30
case 'darwin' :
31
31
urlString =
32
- 'https://firebasestorage.googleapis.com/v0/b/firemat-preview-drop/o/emulator%2Fdataconnect-emulator-macos-v1.3.5 ?alt=media&token=52c3db6e-2a2a-4094-a482-a8c85ae67a88 ' ;
32
+ 'https://firebasestorage.googleapis.com/v0/b/firemat-preview-drop/o/emulator%2Fdataconnect-emulator-macos-v1.3.7 ?alt=media&token=2cf32435-d479-4929-b963-a97ae1ac3f0b ' ;
33
33
break ;
34
34
case 'linux' :
35
35
urlString =
36
- 'https://firebasestorage.googleapis.com/v0/b/firemat-preview-drop/o/emulator%2Fdataconnect-emulator-linux-v1.3.5 ?alt=media&token=bafb1f81-2a27-4851-b655-59934985b492 ' ;
36
+ 'https://firebasestorage.googleapis.com/v0/b/firemat-preview-drop/o/emulator%2Fdataconnect-emulator-linux-v1.3.7 ?alt=media&token=fd33b4fc-2e27-4874-893a-2d1f0ecbf116 ' ;
37
37
break ;
38
38
case 'win32' :
39
39
urlString =
40
- 'https://firebasestorage.googleapis.com/v0/b/firemat-preview-drop/o/emulator%2Fdataconnect-emulator-windows-v1.3.5 ?alt=media&token=d3d04c57-992f-4a4b-931d-5c90efd54c5a ' ;
40
+ 'https://firebasestorage.googleapis.com/v0/b/firemat-preview-drop/o/emulator%2Fdataconnect-emulator-windows-v1.3.7 ?alt=media&token=bd6e60b0-50b4-46db-aa6c-5fcc6e991f39 ' ;
41
41
break ;
42
42
default :
43
43
throw new Error (
Original file line number Diff line number Diff line change 1639
1639
resolved "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz#ef20350fec605a7f7035a01764731b2de0f3782b"
1640
1640
integrity sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==
1641
1641
1642
-
1643
- version "0.6.8"
1644
- resolved "https://registry.npmjs.org/@firebase/component/-/component-0.6.8.tgz#899b9318c0ce0586580e8cda7eaf61296f7fb43b"
1645
- integrity sha512-LcNvxGLLGjBwB0dJUsBGCej2fqAepWyBubs4jt1Tiuns7QLbXHuyObZ4aMeBjZjWx4m8g1LoVI9QFpSaq/k4/g==
1646
- dependencies:
1647
- "@firebase/util" "1.9.7"
1648
- tslib "^2.1.0"
1649
-
1650
-
1651
- version "1.9.7"
1652
- resolved "https://registry.npmjs.org/@firebase/util/-/util-1.9.7.tgz#c03b0ae065b3bba22800da0bd5314ef030848038"
1653
- integrity sha512-fBVNH/8bRbYjqlbIhZ+lBtdAAS4WqZumx03K06/u7fJSpz1TGjEMm1ImvKD47w+xaFKIP2ori6z8BrbakRfjJA==
1654
- dependencies:
1655
- tslib "^2.1.0"
1656
-
1657
1642
"@gar/promisify@^1.0.1":
1658
1643
version "1.1.2"
1659
1644
resolved "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.2.tgz"
You can’t perform that action at this time.
0 commit comments