@firebase/util 1.12.0 → 1.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,7 +18,7 @@
18
18
  * Checks whether host is a cloud workstation or not.
19
19
  * @public
20
20
  */
21
- export declare function isCloudWorkstation(host: string): boolean;
21
+ export declare function isCloudWorkstation(url: string): boolean;
22
22
  /**
23
23
  * Makes a fetch request to the given server.
24
24
  * Mostly used for forwarding cookies in Firebase Studio.
package/dist/src/url.d.ts CHANGED
@@ -18,7 +18,7 @@
18
18
  * Checks whether host is a cloud workstation or not.
19
19
  * @public
20
20
  */
21
- export declare function isCloudWorkstation(host: string): boolean;
21
+ export declare function isCloudWorkstation(url: string): boolean;
22
22
  /**
23
23
  * Makes a fetch request to the given server.
24
24
  * Mostly used for forwarding cookies in Firebase Studio.
@@ -609,7 +609,7 @@ export declare function isCloudflareWorker(): boolean;
609
609
  * Checks whether host is a cloud workstation or not.
610
610
  * @public
611
611
  */
612
- export declare function isCloudWorkstation(host: string): boolean;
612
+ export declare function isCloudWorkstation(url: string): boolean;
613
613
 
614
614
  /** Detects Electron apps. */
615
615
  export declare function isElectron(): boolean;
package/dist/util.d.ts CHANGED
@@ -609,7 +609,7 @@ export declare function isCloudflareWorker(): boolean;
609
609
  * Checks whether host is a cloud workstation or not.
610
610
  * @public
611
611
  */
612
- export declare function isCloudWorkstation(host: string): boolean;
612
+ export declare function isCloudWorkstation(url: string): boolean;
613
613
 
614
614
  /** Detects Electron apps. */
615
615
  export declare function isElectron(): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firebase/util",
3
- "version": "1.12.0",
3
+ "version": "1.12.1",
4
4
  "description": "",
5
5
  "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
6
6
  "main": "dist/index.node.cjs.js",