@firebase/rules-unit-testing 4.0.1-auth-redirect-credentials.b424e5897 → 4.0.1-canary.050c1b6a0

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.
@@ -15,6 +15,13 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  /**
18
- * Checks whether a host url is a cloud workstation.
18
+ * Checks whether host is a cloud workstation or not.
19
+ * @public
19
20
  */
20
- export declare function isCloudWorkstation(url: string): boolean;
21
+ export declare function isCloudWorkstation(host: string): 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>;
@@ -15,6 +15,13 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  /**
18
- * Checks whether a host url is a cloud workstation.
18
+ * Checks whether host is a cloud workstation or not.
19
+ * @public
19
20
  */
20
- export declare function isCloudWorkstation(url: string): boolean;
21
+ export declare function isCloudWorkstation(host: string): 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firebase/rules-unit-testing",
3
- "version": "4.0.1-auth-redirect-credentials.b424e5897",
3
+ "version": "4.0.1-canary.050c1b6a0",
4
4
  "description": "",
5
5
  "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
6
6
  "main": "dist/index.cjs.js",
@@ -43,7 +43,7 @@
43
43
  "rollup-plugin-typescript2": "0.36.0"
44
44
  },
45
45
  "peerDependencies": {
46
- "firebase": "11.6.0-auth-redirect-credentials.b424e5897"
46
+ "firebase": "11.7.1-canary.050c1b6a0"
47
47
  },
48
48
  "repository": {
49
49
  "directory": "packages/rules-unit-testing",