File tree 4 files changed +11
-15
lines changed
4 files changed +11
-15
lines changed Original file line number Diff line number Diff line change 31
31
"@firebase/firestore-types" : " 1.3.0" ,
32
32
"@firebase/logger" : " 0.1.14" ,
33
33
"@firebase/webchannel-wrapper" : " 0.2.20" ,
34
+ "@grpc/grpc-js" : " 0.4.0" ,
34
35
"@grpc/proto-loader" : " ^0.5.0" ,
35
- "grpc" : " 1.20.3" ,
36
36
"tslib" : " 1.9.3"
37
37
},
38
38
"peerDependencies" : {
Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
- import * as grpc from 'grpc' ;
18
+ import * as grpc from '@ grpc/grpc-js ' ;
19
19
20
20
import firebase from '@firebase/app' ;
21
21
const SDK_VERSION = firebase . SDK_VERSION ;
22
22
23
- const grpcVersion = require ( 'grpc/package.json' ) . version ;
23
+ const grpcVersion = require ( '@ grpc/grpc-js /package.json' ) . version ;
24
24
25
25
import { Token } from '../api/credentials' ;
26
26
import { DatabaseInfo } from '../core/database_info' ;
Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
+ import * as grpc from '@grpc/grpc-js' ;
18
19
import * as protoLoader from '@grpc/proto-loader' ;
19
- import * as grpc from 'grpc' ;
20
20
import * as path from 'path' ;
21
21
import * as ProtobufJS from 'protobufjs' ;
22
22
Original file line number Diff line number Diff line change 893
893
through2 "^2.0.0"
894
894
xdg-basedir "^3.0.0"
895
895
896
+
897
+ version "0.4.0"
898
+ resolved "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-0.4.0.tgz#b20a6abf1346ce7fd696a042f83d10c94e143881"
899
+ integrity sha512-UbGDPnstJamJrSiHzCSwSavIX260IfLOZLRJYDqRKJA/jmVZa3hPMWDjhFrcCKDq2MLc/O/nauFED3r4khcZrA==
900
+ dependencies:
901
+ semver "^6.0.0"
902
+
896
903
"@grpc/proto-loader@^0.5.0":
897
904
version "0.5.0"
898
905
resolved "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.5.0.tgz#6d21930530db6089ed68a90f10a22b76fdc3387d"
6901
6908
node-pre-gyp "^0.13.0"
6902
6909
protobufjs "^5.0.3"
6903
6910
6904
-
6905
- version "1.20.3"
6906
- resolved "https://registry.npmjs.org/grpc/-/grpc-1.20.3.tgz#a74d36718f1e89c4a64f2fb9441199c3c8f78978"
6907
- integrity sha512-GsEsi0NVj6usS/xor8pF/xDbDiwZQR59aZl5NUZ59Sy2bdPQFZ3UePr5wevZjHboirRCIQCKRI1cCgvSWUe2ag==
6908
- dependencies:
6909
- lodash.camelcase "^4.3.0"
6910
- lodash.clone "^4.5.0"
6911
- nan "^2.13.2"
6912
- node-pre-gyp "^0.13.0"
6913
- protobufjs "^5.0.3"
6914
-
6915
6911
gtoken@^1.2.1, gtoken@^1.2.3:
6916
6912
version "1.2.3"
6917
6913
resolved "https://registry.npmjs.org/gtoken/-/gtoken-1.2.3.tgz#5509571b8afd4322e124cf66cf68115284c476d8"
You can’t perform that action at this time.
0 commit comments