@firebase/remote-config 0.9.3-eap-sql.49c10c82f → 0.10.0-20261110194028
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.
- package/dist/esm/index.esm.js +4 -1
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/esm/src/public_types.d.ts +9 -0
- package/dist/index.cjs.js +4 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/remote-config-public.d.ts +9 -0
- package/dist/remote-config.d.ts +9 -0
- package/dist/src/global_index.d.ts +9 -0
- package/dist/src/public_types.d.ts +9 -0
- package/package.json +7 -7
package/dist/esm/index.esm.js
CHANGED
|
@@ -5,7 +5,7 @@ import { LogLevel, Logger } from '@firebase/logger';
|
|
|
5
5
|
import '@firebase/installations';
|
|
6
6
|
|
|
7
7
|
const name = "@firebase/remote-config";
|
|
8
|
-
const version = "0.
|
|
8
|
+
const version = "0.10.0-20261110194028";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @license
|
|
@@ -258,6 +258,7 @@ function getRemoteConfig(app = getApp(), options = {}) {
|
|
|
258
258
|
}
|
|
259
259
|
rcProvider.initialize({ options });
|
|
260
260
|
const rc = rcProvider.getImmediate();
|
|
261
|
+
// Deprecated: SSR hydration, see RemoteConfigOptions.initialFetchResponse.
|
|
261
262
|
if (options.initialFetchResponse) {
|
|
262
263
|
// We use these initial writes as the initialization promise since they will hydrate the same
|
|
263
264
|
// fields that `storageCache.loadFromStorage` would set.
|
|
@@ -2216,6 +2217,8 @@ function registerRemoteConfig() {
|
|
|
2216
2217
|
if (!appId) {
|
|
2217
2218
|
throw ERROR_FACTORY.create("registration-app-id" /* ErrorCode.REGISTRATION_APP_ID */);
|
|
2218
2219
|
}
|
|
2220
|
+
// Deprecated: `templateId` is deprecated, see RemoteConfigOptions.templateId.
|
|
2221
|
+
// Server templates ("firebase-server") can't be fetched from client apps.
|
|
2219
2222
|
const namespace = options?.templateId || 'firebase';
|
|
2220
2223
|
const storage = isIndexedDBAvailable()
|
|
2221
2224
|
? new IndexedDbStorage(appId, app.name, namespace)
|