@firebase/util 1.11.0-firebase-studio-sdk-integration.226be0bb1 → 1.11.0-firebase-studio-sdk-integration.9de25069c

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.
@@ -19,4 +19,9 @@
19
19
  * @public
20
20
  */
21
21
  export declare function isCloudWorkstation(host: string): boolean;
22
- export declare function testConnectionAlive(endpoint: string): Promise<boolean>;
22
+ /**
23
+ * Makes a fetch request to the given server.
24
+ * Mostly used for forwarding cookies in Firebase Studio.
25
+ * @public
26
+ */
27
+ export declare function pingServer(endpoint: string): Promise<boolean>;
package/dist/src/url.d.ts CHANGED
@@ -19,4 +19,9 @@
19
19
  * @public
20
20
  */
21
21
  export declare function isCloudWorkstation(host: string): boolean;
22
- export declare function testConnectionAlive(endpoint: string): Promise<boolean>;
22
+ /**
23
+ * Makes a fetch request to the given server.
24
+ * Mostly used for forwarding cookies in Firebase Studio.
25
+ * @public
26
+ */
27
+ export declare function pingServer(endpoint: string): Promise<boolean>;
@@ -784,6 +784,13 @@ export declare function ordinal(i: number): string;
784
784
 
785
785
  export declare type PartialObserver<T> = Partial<Observer<T>>;
786
786
 
787
+ /**
788
+ * Makes a fetch request to the given server.
789
+ * Mostly used for forwarding cookies in Firebase Studio.
790
+ * @public
791
+ */
792
+ export declare function pingServer(endpoint: string): Promise<boolean>;
793
+
787
794
  /* Excluded from this release type: promiseWithTimeout */
788
795
 
789
796
  /**
@@ -947,8 +954,6 @@ export declare interface Subscribe<T> {
947
954
  (observer: PartialObserver<T>): Unsubscribe;
948
955
  }
949
956
 
950
- export declare function testConnectionAlive(endpoint: string): Promise<boolean>;
951
-
952
957
  export declare type Unsubscribe = () => void;
953
958
 
954
959
  /**
package/dist/util.d.ts CHANGED
@@ -784,6 +784,13 @@ export declare function ordinal(i: number): string;
784
784
 
785
785
  export declare type PartialObserver<T> = Partial<Observer<T>>;
786
786
 
787
+ /**
788
+ * Makes a fetch request to the given server.
789
+ * Mostly used for forwarding cookies in Firebase Studio.
790
+ * @public
791
+ */
792
+ export declare function pingServer(endpoint: string): Promise<boolean>;
793
+
787
794
  /**
788
795
  * @license
789
796
  * Copyright 2022 Google LLC
@@ -967,8 +974,6 @@ export declare interface Subscribe<T> {
967
974
  (observer: PartialObserver<T>): Unsubscribe;
968
975
  }
969
976
 
970
- export declare function testConnectionAlive(endpoint: string): Promise<boolean>;
971
-
972
977
  export declare type Unsubscribe = () => void;
973
978
 
974
979
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firebase/util",
3
- "version": "1.11.0-firebase-studio-sdk-integration.226be0bb1",
3
+ "version": "1.11.0-firebase-studio-sdk-integration.9de25069c",
4
4
  "description": "",
5
5
  "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
6
6
  "main": "dist/index.node.cjs.js",