@firebase/util 1.11.1 → 1.11.2-20250513210731

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 {};
@@ -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 {};
@@ -956,6 +956,14 @@ export declare interface Subscribe<T> {
956
956
 
957
957
  export declare type Unsubscribe = () => void;
958
958
 
959
+ /**
960
+ * Updates Emulator Banner. Primarily used for Firebase Studio
961
+ * @param name
962
+ * @param isRunningEmulator
963
+ * @public
964
+ */
965
+ export declare function updateEmulatorBanner(name: string, isRunningEmulator: boolean): void;
966
+
959
967
  /**
960
968
  * Check to make sure the appropriate number of arguments are provided for a public function.
961
969
  * Throws an error if it fails.
package/dist/util.d.ts CHANGED
@@ -976,6 +976,14 @@ export declare interface Subscribe<T> {
976
976
 
977
977
  export declare type Unsubscribe = () => void;
978
978
 
979
+ /**
980
+ * Updates Emulator Banner. Primarily used for Firebase Studio
981
+ * @param name
982
+ * @param isRunningEmulator
983
+ * @public
984
+ */
985
+ export declare function updateEmulatorBanner(name: string, isRunningEmulator: boolean): void;
986
+
979
987
  /**
980
988
  * Check to make sure the appropriate number of arguments are provided for a public function.
981
989
  * Throws an error if it fails.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firebase/util",
3
- "version": "1.11.1",
3
+ "version": "1.11.2-20250513210731",
4
4
  "description": "",
5
5
  "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
6
6
  "main": "dist/index.node.cjs.js",