File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1515 * limitations under the License.
1616 */
1717
18+ import { isCloudWorkstation } from '@firebase/util' ;
19+
1820import {
1921 Code ,
2022 DataConnectError ,
2123 DataConnectOperationError ,
2224 DataConnectOperationFailureResponse
2325} from '../core/error' ;
2426import { SDK_VERSION } from '../core/version' ;
25- import { logDebug , logError } from '../logger' ;
27+ import { logError } from '../logger' ;
2628
2729import { CallerSdkType , CallerSdkTypeEnum } from './transport' ;
28- import { isCloudWorkstation } from '@firebase/util' ;
2930
3031let connectFetch : typeof fetch | null = globalThis . fetch ;
3132export 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';
4242export * from './src/formatters' ;
4343export * from './src/compat' ;
4444export * from './src/global' ;
45+ export * from './src/url' ;
Original file line number Diff line number Diff line change 1515 * limitations under the License.
1616 */
1717
18+ /**
19+ * Checks whether a host url is a cloud workstation.
20+ */
1821export function isCloudWorkstation ( url : string ) : boolean {
1922 return url . endsWith ( '.cloudworkstations.dev' ) ;
2023}
You can’t perform that action at this time.
0 commit comments