@firebase/remote-config 0.8.3 → 0.8.4-20260526192810
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 +2 -4
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/index.cjs.js +2 -4
- package/dist/index.cjs.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -9,7 +9,7 @@ var logger = require('@firebase/logger');
|
|
|
9
9
|
require('@firebase/installations');
|
|
10
10
|
|
|
11
11
|
const name = "@firebase/remote-config";
|
|
12
|
-
const version = "0.8.
|
|
12
|
+
const version = "0.8.4-20260526192810";
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
@@ -303,9 +303,7 @@ async function activate(remoteConfig) {
|
|
|
303
303
|
return false;
|
|
304
304
|
}
|
|
305
305
|
const experiment = new Experiment(rc);
|
|
306
|
-
const updateActiveExperiments = lastSuccessfulFetchResponse.experiments
|
|
307
|
-
? experiment.updateActiveExperiments(lastSuccessfulFetchResponse.experiments)
|
|
308
|
-
: Promise.resolve();
|
|
306
|
+
const updateActiveExperiments = experiment.updateActiveExperiments(lastSuccessfulFetchResponse.experiments || []);
|
|
309
307
|
await Promise.all([
|
|
310
308
|
rc._storageCache.setActiveConfig(lastSuccessfulFetchResponse.config),
|
|
311
309
|
rc._storage.setActiveConfigEtag(lastSuccessfulFetchResponse.eTag),
|