@@ -27,7 +27,6 @@ import { Provider } from '@firebase/component';
27
27
import { FirebaseAuthInternalName } from '@firebase/auth-interop-types' ;
28
28
import { FirebaseOptions } from '@firebase/app-types-exp' ;
29
29
import * as constants from '../src/implementation/constants' ;
30
- import { requestMaker } from './implementation/requestmaker' ;
31
30
import * as errorsExports from './implementation/error' ;
32
31
33
32
/**
@@ -42,8 +41,6 @@ export class StorageService {
42
41
private readonly internals_ : ServiceInternals ;
43
42
private readonly authProvider_ : Provider < FirebaseAuthInternalName > ;
44
43
private readonly appId_ : string | null = null ;
45
-
46
- private readonly requestMaker_ : requestMaker ;
47
44
private readonly pool_ : XhrIoPool ;
48
45
private readonly requests_ : Set < Request < unknown > > ;
49
46
private deleted_ : boolean = false ;
@@ -58,7 +55,6 @@ export class StorageService {
58
55
) {
59
56
this . app_ = app ;
60
57
this . authProvider_ = authProvider ;
61
- this . requestMaker_ = makeRequest ;
62
58
this . maxOperationRetryTime_ = constants . DEFAULT_MAX_OPERATION_RETRY_TIME ;
63
59
this . maxUploadRetryTime_ = constants . DEFAULT_MAX_UPLOAD_RETRY_TIME ;
64
60
this . requests_ = new Set ( ) ;
@@ -115,7 +111,7 @@ export class StorageService {
115
111
authToken : string | null
116
112
) : Request < T > {
117
113
if ( ! this . deleted_ ) {
118
- const request = this . requestMaker_ (
114
+ const request = makeRequest (
119
115
requestInfo ,
120
116
this . appId_ ,
121
117
authToken ,
0 commit comments