@firebase/rules-unit-testing 4.0.1-canary.e99683b17 → 4.0.1-canary.ec91a8611

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 {};
@@ -69,6 +69,8 @@ export declare function isUWP(): boolean;
69
69
  export declare function isNodeSdk(): boolean;
70
70
  /** Returns true if we are running in Safari. */
71
71
  export declare function isSafari(): boolean;
72
+ /** Returns true if we are running in Safari or WebKit */
73
+ export declare function isSafariOrWebkit(): boolean;
72
74
  /**
73
75
  * This method checks if indexedDB is supported by current browser/service worker context
74
76
  * @return true if indexedDB is supported by current browser/service worker context
@@ -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 {};
@@ -69,6 +69,8 @@ export declare function isUWP(): boolean;
69
69
  export declare function isNodeSdk(): boolean;
70
70
  /** Returns true if we are running in Safari. */
71
71
  export declare function isSafari(): boolean;
72
+ /** Returns true if we are running in Safari or WebKit */
73
+ export declare function isSafariOrWebkit(): boolean;
72
74
  /**
73
75
  * This method checks if indexedDB is supported by current browser/service worker context
74
76
  * @return true if indexedDB is supported by current browser/service worker context
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firebase/rules-unit-testing",
3
- "version": "4.0.1-canary.e99683b17",
3
+ "version": "4.0.1-canary.ec91a8611",
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.7.1-canary.e99683b17"
46
+ "firebase": "11.8.1-canary.ec91a8611"
47
47
  },
48
48
  "repository": {
49
49
  "directory": "packages/rules-unit-testing",