@firebase/remote-config-compat 0.2.19 → 0.2.20-canary.cb3bdd812

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.
@@ -81,7 +81,7 @@ class RemoteConfigCompatImpl {
81
81
  }
82
82
 
83
83
  const name = "@firebase/remote-config-compat";
84
- const version = "0.2.19";
84
+ const version = "0.2.20-canary.cb3bdd812";
85
85
 
86
86
  /**
87
87
  * @license
package/dist/index.cjs.js CHANGED
@@ -87,7 +87,7 @@ class RemoteConfigCompatImpl {
87
87
  }
88
88
 
89
89
  const name = "@firebase/remote-config-compat";
90
- const version = "0.2.19";
90
+ const version = "0.2.20-canary.cb3bdd812";
91
91
 
92
92
  /**
93
93
  * @license
@@ -27,7 +27,7 @@ declare module '@firebase/app-compat' {
27
27
  }
28
28
 
29
29
  import { FirebaseApp as FirebaseAppCompat } from "@firebase/app-compat";
30
- import { type Value, type RemoteConfigOptions, type RemoteConfig, type CustomSignals, type LogLevel } from "@firebase/remote-config";
30
+ import { type Value, type RemoteConfigOptions, type RemoteConfig, type ConfigUpdateObserver, type Unsubscribe, type CustomSignals, type LogLevel } from "@firebase/remote-config";
31
31
  declare module "@firebase/remote-config" {
32
32
  function activate(remoteConfig: RemoteConfigCompat): Promise<boolean>;
33
33
  function ensureInitialized(remoteConfig: RemoteConfigCompat): Promise<void>;
@@ -39,6 +39,7 @@ declare module "@firebase/remote-config" {
39
39
  function getRemoteConfig(app?: FirebaseAppCompat, options?: RemoteConfigOptions): RemoteConfig;
40
40
  function getString(remoteConfig: RemoteConfigCompat, key: string): string;
41
41
  function getValue(remoteConfig: RemoteConfigCompat, key: string): Value;
42
+ function onConfigUpdate(remoteConfig: RemoteConfigCompat, observer: ConfigUpdateObserver): Unsubscribe;
42
43
  function setCustomSignals(remoteConfig: RemoteConfigCompat, customSignals: CustomSignals): Promise<void>;
43
44
  function setLogLevel(remoteConfig: RemoteConfigCompat, logLevel: LogLevel): void;
44
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firebase/remote-config-compat",
3
- "version": "0.2.19",
3
+ "version": "0.2.20-canary.cb3bdd812",
4
4
  "description": "The compatibility package of Remote Config",
5
5
  "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
6
6
  "main": "dist/index.cjs.js",
@@ -34,14 +34,14 @@
34
34
  },
35
35
  "license": "Apache-2.0",
36
36
  "peerDependencies": {
37
- "@firebase/app-compat": "0.x"
37
+ "@firebase/app-compat": "0.5.3-canary.cb3bdd812"
38
38
  },
39
39
  "dependencies": {
40
- "@firebase/remote-config": "0.6.6",
41
- "@firebase/remote-config-types": "0.4.0",
42
- "@firebase/util": "1.13.0",
43
- "@firebase/logger": "0.5.0",
44
- "@firebase/component": "0.7.0",
40
+ "@firebase/remote-config": "0.7.0-canary.cb3bdd812",
41
+ "@firebase/remote-config-types": "0.5.0-canary.cb3bdd812",
42
+ "@firebase/util": "1.13.0-canary.cb3bdd812",
43
+ "@firebase/logger": "0.5.0-canary.cb3bdd812",
44
+ "@firebase/component": "0.7.0-canary.cb3bdd812",
45
45
  "tslib": "^2.1.0"
46
46
  },
47
47
  "devDependencies": {
@@ -50,7 +50,7 @@
50
50
  "rollup-plugin-replace": "2.2.0",
51
51
  "rollup-plugin-typescript2": "0.36.0",
52
52
  "typescript": "5.5.4",
53
- "@firebase/app-compat": "0.5.0"
53
+ "@firebase/app-compat": "0.5.3-canary.cb3bdd812"
54
54
  },
55
55
  "repository": {
56
56
  "directory": "packages/remote-config-compat",