@firebase/remote-config-compat
Advanced tools
Comparing version 0.1.0 to 0.1.1-202182121215
# @firebase/remote-config-compat | ||
## 0.1.1-202182121215 | ||
### Patch Changes | ||
- Updated dependencies [[`f90c1d081`](https://github.com/firebase/firebase-js-sdk/commit/f90c1d081ee6be472b3a372e1f01f7a5cace3155)]: | ||
- @firebase/remote-config@0.3.0-202182121215 | ||
## 0.1.0 | ||
### Minor Changes | ||
- [`cdada6c68`](https://github.com/firebase/firebase-js-sdk/commit/cdada6c68f9740d13dd6674bcb658e28e68253b6) [#5345](https://github.com/firebase/firebase-js-sdk/pull/5345) (fixes [#5015](https://github.com/firebase/firebase-js-sdk/issues/5015)) - Release modularized SDKs | ||
### Patch Changes | ||
@@ -12,0 +17,0 @@ |
@@ -107,3 +107,3 @@ 'use strict'; | ||
var name = "@firebase/remote-config-compat"; | ||
var version = "0.1.0"; | ||
var version = "0.1.1-202182121215"; | ||
@@ -127,3 +127,5 @@ /** | ||
function registerRemoteConfigCompat(firebaseInstance) { | ||
firebaseInstance.INTERNAL.registerComponent(new component.Component('remoteConfig-compat', remoteConfigFactory, "PUBLIC" /* PUBLIC */).setMultipleInstances(true)); | ||
firebaseInstance.INTERNAL.registerComponent(new component.Component('remoteConfig-compat', remoteConfigFactory, "PUBLIC" /* PUBLIC */) | ||
.setMultipleInstances(true) | ||
.setServiceProps({ isSupported: remoteConfig.isSupported })); | ||
firebaseInstance.registerVersion(name, version); | ||
@@ -130,0 +132,0 @@ } |
import firebase from '@firebase/app-compat'; | ||
import { Component } from '@firebase/component'; | ||
import { activate, ensureInitialized, fetchConfig, fetchAndActivate, getAll, getBoolean, getNumber, getString, getValue, setLogLevel } from '@firebase/remote-config'; | ||
import { activate, ensureInitialized, fetchConfig, fetchAndActivate, getAll, getBoolean, getNumber, getString, getValue, setLogLevel, isSupported } from '@firebase/remote-config'; | ||
@@ -84,3 +84,3 @@ /** | ||
const name = "@firebase/remote-config-compat"; | ||
const version = "0.1.0"; | ||
const version = "0.1.1-202182121215"; | ||
@@ -104,3 +104,5 @@ /** | ||
function registerRemoteConfigCompat(firebaseInstance) { | ||
firebaseInstance.INTERNAL.registerComponent(new Component('remoteConfig-compat', remoteConfigFactory, "PUBLIC" /* PUBLIC */).setMultipleInstances(true)); | ||
firebaseInstance.INTERNAL.registerComponent(new Component('remoteConfig-compat', remoteConfigFactory, "PUBLIC" /* PUBLIC */) | ||
.setMultipleInstances(true) | ||
.setServiceProps({ isSupported })); | ||
firebaseInstance.registerVersion(name, version); | ||
@@ -107,0 +109,0 @@ } |
import firebase from '@firebase/app-compat'; | ||
import { Component } from '@firebase/component'; | ||
import { activate, ensureInitialized, fetchConfig, fetchAndActivate, getAll, getBoolean, getNumber, getString, getValue, setLogLevel } from '@firebase/remote-config'; | ||
import { activate, ensureInitialized, fetchConfig, fetchAndActivate, getAll, getBoolean, getNumber, getString, getValue, setLogLevel, isSupported } from '@firebase/remote-config'; | ||
@@ -101,3 +101,3 @@ /** | ||
var name = "@firebase/remote-config-compat"; | ||
var version = "0.1.0"; | ||
var version = "0.1.1-202182121215"; | ||
@@ -121,3 +121,5 @@ /** | ||
function registerRemoteConfigCompat(firebaseInstance) { | ||
firebaseInstance.INTERNAL.registerComponent(new Component('remoteConfig-compat', remoteConfigFactory, "PUBLIC" /* PUBLIC */).setMultipleInstances(true)); | ||
firebaseInstance.INTERNAL.registerComponent(new Component('remoteConfig-compat', remoteConfigFactory, "PUBLIC" /* PUBLIC */) | ||
.setMultipleInstances(true) | ||
.setServiceProps({ isSupported: isSupported })); | ||
firebaseInstance.registerVersion(name, version); | ||
@@ -124,0 +126,0 @@ } |
@@ -19,3 +19,4 @@ /** | ||
import { Value as ValueCompat, FetchStatus as FetchSTatusCompat, Settings as SettingsCompat, LogLevel as RemoteConfigLogLevel, RemoteConfig as RemoteConfigCompat } from '@firebase/remote-config-types'; | ||
import { RemoteConfig } from '@firebase/remote-config'; | ||
import { RemoteConfig, isSupported } from '@firebase/remote-config'; | ||
export { isSupported }; | ||
export declare class RemoteConfigCompatImpl implements RemoteConfigCompat, _FirebaseService { | ||
@@ -22,0 +23,0 @@ app: FirebaseApp; |
{ | ||
"name": "@firebase/remote-config-compat", | ||
"version": "0.1.0", | ||
"version": "0.1.1-202182121215", | ||
"description": "The compatibility package of Remote Config", | ||
@@ -24,3 +24,3 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)", | ||
"test:browser:debug": "karma start --browsers Chrome --auto-watch", | ||
"add-compat-overloads": "ts-node-script ../../scripts/exp/create-overloads.ts -i ../remote-config/dist/remote-config-public.d.ts -o dist/src/index.d.ts -a -r RemoteConfig:RemoteConfigCompat -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/remote-config" | ||
"add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../remote-config/dist/remote-config-public.d.ts -o dist/src/index.d.ts -a -r RemoteConfig:RemoteConfigCompat -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/remote-config" | ||
}, | ||
@@ -32,3 +32,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@firebase/remote-config": "0.2.0", | ||
"@firebase/remote-config": "0.3.0-202182121215", | ||
"@firebase/remote-config-types": "0.2.0", | ||
@@ -41,3 +41,3 @@ "@firebase/util": "1.3.0", | ||
"devDependencies": { | ||
"rollup": "2.52.2", | ||
"rollup": "2.56.3", | ||
"@rollup/plugin-json": "4.1.0", | ||
@@ -47,3 +47,3 @@ "rollup-plugin-replace": "2.2.0", | ||
"typescript": "4.2.2", | ||
"@firebase/app-compat": "0.1.0" | ||
"@firebase/app-compat": "0.1.1" | ||
}, | ||
@@ -50,0 +50,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
47487
529
+ Added@firebase/remote-config@0.3.0-202182121215(transitive)
- Removed@firebase/remote-config@0.2.0(transitive)