File tree 3 files changed +7
-2
lines changed
3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
+ import { isCloudWorkstation } from '@firebase/util' ;
19
+
18
20
import {
19
21
Code ,
20
22
DataConnectError ,
21
23
DataConnectOperationError ,
22
24
DataConnectOperationFailureResponse
23
25
} from '../core/error' ;
24
26
import { SDK_VERSION } from '../core/version' ;
25
- import { logDebug , logError } from '../logger' ;
27
+ import { logError } from '../logger' ;
26
28
27
29
import { CallerSdkType , CallerSdkTypeEnum } from './transport' ;
28
- import { isCloudWorkstation } from '@firebase/util' ;
29
30
30
31
let connectFetch : typeof fetch | null = globalThis . fetch ;
31
32
export function initializeFetch ( fetchImpl : typeof fetch ) : void {
Original file line number Diff line number Diff line change @@ -42,3 +42,4 @@ export * from './src/exponential_backoff';
42
42
export * from './src/formatters' ;
43
43
export * from './src/compat' ;
44
44
export * from './src/global' ;
45
+ export * from './src/url' ;
Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
+ /**
19
+ * Checks whether a host url is a cloud workstation.
20
+ */
18
21
export function isCloudWorkstation ( url : string ) : boolean {
19
22
return url . endsWith ( '.cloudworkstations.dev' ) ;
20
23
}
You can’t perform that action at this time.
0 commit comments