This repository was archived by the owner on Oct 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-12
lines changed Expand file tree Collapse file tree 4 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 11import { Injectable } from '@nestjs/common' ;
22import * as admin from 'firebase-admin' ;
3- import * as lib from 'firebase-admin/lib/auth' ;
43
54@Injectable ( )
65export class FirebaseAuthenticationService implements admin . auth . Auth {
@@ -25,7 +24,7 @@ export class FirebaseAuthenticationService implements admin.auth.Auth {
2524 deleteUser ( uid : string ) : Promise < void > {
2625 return this . auth . deleteUser ( uid ) ;
2726 }
28- deleteUsers ( uids : string [ ] ) : Promise < lib . admin . auth . DeleteUsersResult > {
27+ deleteUsers ( uids : string [ ] ) : Promise < admin . auth . DeleteUsersResult > {
2928 return this . auth . deleteUsers ( uids ) ;
3029 }
3130 getUser ( uid : string ) : Promise < admin . auth . UserRecord > {
@@ -37,7 +36,7 @@ export class FirebaseAuthenticationService implements admin.auth.Auth {
3736 getUserByPhoneNumber ( phoneNumber : string ) : Promise < admin . auth . UserRecord > {
3837 return this . auth . getUserByPhoneNumber ( phoneNumber ) ;
3938 }
40- getUsers ( identifiers : admin . auth . UserRecord [ ] ) : Promise < lib . admin . auth . GetUsersResult > {
39+ getUsers ( identifiers : admin . auth . UserRecord [ ] ) : Promise < admin . auth . GetUsersResult > {
4140 return this . auth . getUsers ( identifiers ) ;
4241 }
4342 listUsers ( maxResults ?: number , pageToken ?: string ) : Promise < admin . auth . ListUsersResult > {
Original file line number Diff line number Diff line change 11import { Injectable } from '@nestjs/common' ;
22import * as admin from 'firebase-admin' ;
3- import * as remote from 'firebase-admin/lib/remote-config' ;
43
54@Injectable ( )
65export class FirebaseRemoteConfigService implements admin . remoteConfig . RemoteConfig {
@@ -42,9 +41,7 @@ export class FirebaseRemoteConfigService implements admin.remoteConfig.RemoteCon
4241 return this . remoteConfig . rollback ( versionNumber ) ;
4342 }
4443
45- listVersions (
46- options ?: remote . admin . remoteConfig . ListVersionsOptions ,
47- ) : Promise < admin . remoteConfig . ListVersionsResult > {
44+ listVersions ( options ?: admin . remoteConfig . ListVersionsOptions ) : Promise < admin . remoteConfig . ListVersionsResult > {
4845 return this . remoteConfig . listVersions ( options ) ;
4946 }
5047}
Original file line number Diff line number Diff line change 3535 "@nestjs/core" : " ^7.1.2"
3636 },
3737 "dependencies" : {
38- "firebase-admin" : " ^9.1.0 "
38+ "firebase-admin" : " ^9.1.1 "
3939 },
4040 "devDependencies" : {
4141 "@nestjs/common" : " ^7.4.2" ,
Original file line number Diff line number Diff line change @@ -1879,10 +1879,10 @@ find-versions@^3.2.0:
18791879 dependencies :
18801880 semver-regex "^2.0.0"
18811881
1882- firebase-admin@^9.1.0 :
1883- version "9.1.0 "
1884- resolved "https://registry.yarnpkg.com/firebase-admin/-/firebase-admin-9.1.0 .tgz#c8b7f8da32cc52d5f15b0be47fd88979c5e86618 "
1885- integrity sha512-tGGREJpoRM/mbV/5bs/q9SQRZkVhxMMq1HIJEzSEh3mtz5hC9VtaCkuLt6chuAsqHMBoc1pvnrGTOC5nOme9VQ ==
1882+ firebase-admin@^9.1.1 :
1883+ version "9.1.1 "
1884+ resolved "https://registry.yarnpkg.com/firebase-admin/-/firebase-admin-9.1.1 .tgz#153aff515140a41d92ebc51231c12c7b2f4c3e69 "
1885+ integrity sha512-HkzY9yN/kOe1EQgjheURAQ4pFBerI54TBL0+nj1fwzKnAnGCpcI73Bbwx99Pk3u2x4rj6bDcsZfz9bA8y7DWtQ ==
18861886 dependencies :
18871887 " @firebase/database" " ^0.6.10"
18881888 " @firebase/database-types" " ^0.5.2"
You can’t perform that action at this time.
0 commit comments