New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@firebase/remote-config-compat

Package Overview
Dependencies
Maintainers
4
Versions
1146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/remote-config-compat - npm Package Compare versions

Comparing version 0.2.9-canary.beaa4dffb to 0.2.9-vertexai-preview.36cb0178c

2

dist/esm/index.esm2017.js

@@ -84,3 +84,3 @@ import firebase from '@firebase/app-compat';

const name = "@firebase/remote-config-compat";
const version = "0.2.9-canary.beaa4dffb";
const version = "0.2.9-vertexai-preview.36cb0178c";

@@ -87,0 +87,0 @@ /**

@@ -27,47 +27,31 @@ 'use strict';

*/
var RemoteConfigCompatImpl = /** @class */ (function () {
function RemoteConfigCompatImpl(app, _delegate) {
class RemoteConfigCompatImpl {
constructor(app, _delegate) {
this.app = app;
this._delegate = _delegate;
}
Object.defineProperty(RemoteConfigCompatImpl.prototype, "defaultConfig", {
get: function () {
return this._delegate.defaultConfig;
},
set: function (value) {
this._delegate.defaultConfig = value;
},
enumerable: false,
configurable: true
});
Object.defineProperty(RemoteConfigCompatImpl.prototype, "fetchTimeMillis", {
get: function () {
return this._delegate.fetchTimeMillis;
},
enumerable: false,
configurable: true
});
Object.defineProperty(RemoteConfigCompatImpl.prototype, "lastFetchStatus", {
get: function () {
return this._delegate.lastFetchStatus;
},
enumerable: false,
configurable: true
});
Object.defineProperty(RemoteConfigCompatImpl.prototype, "settings", {
get: function () {
return this._delegate.settings;
},
set: function (value) {
this._delegate.settings = value;
},
enumerable: false,
configurable: true
});
RemoteConfigCompatImpl.prototype.activate = function () {
get defaultConfig() {
return this._delegate.defaultConfig;
}
set defaultConfig(value) {
this._delegate.defaultConfig = value;
}
get fetchTimeMillis() {
return this._delegate.fetchTimeMillis;
}
get lastFetchStatus() {
return this._delegate.lastFetchStatus;
}
get settings() {
return this._delegate.settings;
}
set settings(value) {
this._delegate.settings = value;
}
activate() {
return remoteConfig.activate(this._delegate);
};
RemoteConfigCompatImpl.prototype.ensureInitialized = function () {
}
ensureInitialized() {
return remoteConfig.ensureInitialized(this._delegate);
};
}
/**

@@ -78,33 +62,32 @@ * @throws a {@link ErrorCode.FETCH_CLIENT_TIMEOUT} if the request takes longer than

*/
RemoteConfigCompatImpl.prototype.fetch = function () {
fetch() {
return remoteConfig.fetchConfig(this._delegate);
};
RemoteConfigCompatImpl.prototype.fetchAndActivate = function () {
}
fetchAndActivate() {
return remoteConfig.fetchAndActivate(this._delegate);
};
RemoteConfigCompatImpl.prototype.getAll = function () {
}
getAll() {
return remoteConfig.getAll(this._delegate);
};
RemoteConfigCompatImpl.prototype.getBoolean = function (key) {
}
getBoolean(key) {
return remoteConfig.getBoolean(this._delegate, key);
};
RemoteConfigCompatImpl.prototype.getNumber = function (key) {
}
getNumber(key) {
return remoteConfig.getNumber(this._delegate, key);
};
RemoteConfigCompatImpl.prototype.getString = function (key) {
}
getString(key) {
return remoteConfig.getString(this._delegate, key);
};
RemoteConfigCompatImpl.prototype.getValue = function (key) {
}
getValue(key) {
return remoteConfig.getValue(this._delegate, key);
};
}
// Based on packages/firestore/src/util/log.ts but not static because we need per-instance levels
// to differentiate 2p and 3p use-cases.
RemoteConfigCompatImpl.prototype.setLogLevel = function (logLevel) {
setLogLevel(logLevel) {
remoteConfig.setLogLevel(this._delegate, logLevel);
};
return RemoteConfigCompatImpl;
}());
}
}
var name = "@firebase/remote-config-compat";
var version = "0.2.9-canary.beaa4dffb";
const name = "@firebase/remote-config-compat";
const version = "0.2.9-vertexai-preview.36cb0178c";

@@ -133,7 +116,6 @@ /**

}
function remoteConfigFactory(container, _a) {
var namespace = _a.instanceIdentifier;
var app = container.getProvider('app-compat').getImmediate();
function remoteConfigFactory(container, { instanceIdentifier: namespace }) {
const app = container.getProvider('app-compat').getImmediate();
// The following call will always succeed because rc `import {...} from '@firebase/remote-config'`
var remoteConfig = container.getProvider('remote-config').getImmediate({
const remoteConfig = container.getProvider('remote-config').getImmediate({
identifier: namespace

@@ -140,0 +122,0 @@ });

{
"name": "@firebase/remote-config-compat",
"version": "0.2.9-canary.beaa4dffb",
"version": "0.2.9-vertexai-preview.36cb0178c",
"description": "The compatibility package of Remote Config",

@@ -9,3 +9,2 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",

"module": "dist/esm/index.esm2017.js",
"esm5": "dist/esm/index.esm5.js",
"exports": {

@@ -15,3 +14,2 @@ ".": {

"require": "./dist/index.cjs.js",
"esm5": "./dist/esm/index.esm5.js",
"default": "./dist/esm/index.esm2017.js"

@@ -41,10 +39,10 @@ },

"peerDependencies": {
"@firebase/app-compat": "0.2.41-canary.beaa4dffb"
"@firebase/app-compat": "0.2.41-vertexai-preview.36cb0178c"
},
"dependencies": {
"@firebase/remote-config": "0.4.9-canary.beaa4dffb",
"@firebase/remote-config-types": "0.3.2-canary.beaa4dffb",
"@firebase/util": "1.10.0-canary.beaa4dffb",
"@firebase/logger": "0.4.2-canary.beaa4dffb",
"@firebase/component": "0.6.9-canary.beaa4dffb",
"@firebase/remote-config": "0.4.9-vertexai-preview.36cb0178c",
"@firebase/remote-config-types": "0.3.2-vertexai-preview.36cb0178c",
"@firebase/util": "1.10.0-vertexai-preview.36cb0178c",
"@firebase/logger": "0.4.2-vertexai-preview.36cb0178c",
"@firebase/component": "0.6.9-vertexai-preview.36cb0178c",
"tslib": "^2.1.0"

@@ -58,3 +56,3 @@ },

"typescript": "4.7.4",
"@firebase/app-compat": "0.2.41-canary.beaa4dffb"
"@firebase/app-compat": "0.2.41-vertexai-preview.36cb0178c"
},

@@ -61,0 +59,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc