@firebase/rules-unit-testing 4.0.1-firebase-studio-sdk-integration.226be0bb1 → 4.0.1-firebase-studio-sdk-integration.bffdabd70
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.
|
@@ -44,4 +44,11 @@ export type EmulatorMockTokenOptions = ({
|
|
|
44
44
|
sub: string;
|
|
45
45
|
}) & Partial<FirebaseIdToken>;
|
|
46
46
|
export declare function createMockUserToken(token: EmulatorMockTokenOptions, projectId?: string): string;
|
|
47
|
+
/**
|
|
48
|
+
* Updates Emulator Banner. Primarily used for Firebase Studio
|
|
49
|
+
* @param name
|
|
50
|
+
* @param isRunningEmulator
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export declare function updateEmulatorBanner(name: string, isRunningEmulator: boolean): void;
|
|
47
54
|
export {};
|
|
@@ -19,4 +19,9 @@
|
|
|
19
19
|
* @public
|
|
20
20
|
*/
|
|
21
21
|
export declare function isCloudWorkstation(host: string): boolean;
|
|
22
|
-
|
|
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>;
|
|
@@ -44,4 +44,11 @@ export type EmulatorMockTokenOptions = ({
|
|
|
44
44
|
sub: string;
|
|
45
45
|
}) & Partial<FirebaseIdToken>;
|
|
46
46
|
export declare function createMockUserToken(token: EmulatorMockTokenOptions, projectId?: string): string;
|
|
47
|
+
/**
|
|
48
|
+
* Updates Emulator Banner. Primarily used for Firebase Studio
|
|
49
|
+
* @param name
|
|
50
|
+
* @param isRunningEmulator
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export declare function updateEmulatorBanner(name: string, isRunningEmulator: boolean): void;
|
|
47
54
|
export {};
|
package/dist/util/src/url.d.ts
CHANGED
|
@@ -19,4 +19,9 @@
|
|
|
19
19
|
* @public
|
|
20
20
|
*/
|
|
21
21
|
export declare function isCloudWorkstation(host: string): boolean;
|
|
22
|
-
|
|
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-firebase-studio-sdk-integration.
|
|
3
|
+
"version": "4.0.1-firebase-studio-sdk-integration.bffdabd70",
|
|
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.1-firebase-studio-sdk-integration.
|
|
46
|
+
"firebase": "11.6.1-firebase-studio-sdk-integration.bffdabd70"
|
|
47
47
|
},
|
|
48
48
|
"repository": {
|
|
49
49
|
"directory": "packages/rules-unit-testing",
|