@firebase/remote-config 0.8.3 → 0.8.4
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 +2 -2
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.
|
|
8
|
+
const version = "0.8.4";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @license
|
|
@@ -299,9 +299,7 @@ async function activate(remoteConfig) {
|
|
|
299
299
|
return false;
|
|
300
300
|
}
|
|
301
301
|
const experiment = new Experiment(rc);
|
|
302
|
-
const updateActiveExperiments = lastSuccessfulFetchResponse.experiments
|
|
303
|
-
? experiment.updateActiveExperiments(lastSuccessfulFetchResponse.experiments)
|
|
304
|
-
: Promise.resolve();
|
|
302
|
+
const updateActiveExperiments = experiment.updateActiveExperiments(lastSuccessfulFetchResponse.experiments || []);
|
|
305
303
|
await Promise.all([
|
|
306
304
|
rc._storageCache.setActiveConfig(lastSuccessfulFetchResponse.config),
|
|
307
305
|
rc._storage.setActiveConfigEtag(lastSuccessfulFetchResponse.eTag),
|