Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@firebase/app-check

Package Overview
Dependencies
Maintainers
5
Versions
1336
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/app-check - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1-2021412214515

9

CHANGELOG.md
# @firebase/app-check
## 0.1.1-2021412214515
### Patch Changes
- [`60e834739`](https://github.com/firebase/firebase-js-sdk/commit/60e83473940e60f8390b1b0f97cf45a1733f66f0) [#4897](https://github.com/firebase/firebase-js-sdk/pull/4897) - Make App Check initialization explicit, to prevent unexpected errors for users who do not intend to use App Check.
- Updated dependencies [[`60e834739`](https://github.com/firebase/firebase-js-sdk/commit/60e83473940e60f8390b1b0f97cf45a1733f66f0)]:
- @firebase/app@0.6.22-2021412214515
## 0.1.0

@@ -4,0 +13,0 @@

22

dist/index.cjs.js

@@ -1152,3 +1152,3 @@ 'use strict';

var name = "@firebase/app-check";
var version = "0.1.0";
var version = "0.1.1-2021412214515";

@@ -1179,3 +1179,19 @@ /**

return factory(app);
}, "PUBLIC" /* PUBLIC */));
}, "PUBLIC" /* PUBLIC */)
/**
* AppCheck can only be initialized by explicitly calling firebase.appCheck()
* We don't want firebase products that consume AppCheck to gate on AppCheck
* if the user doesn't intend them to, just because the AppCheck component
* is registered.
*/
.setInstantiationMode("EXPLICIT" /* EXPLICIT */)
/**
* Because all firebase products that depend on app-check depend on app-check-internal directly,
* we need to initialize app-check-internal after app-check is initialized to make it
* available to other firebase products.
*/
.setInstanceCreatedCallback(function (container, _instanceIdentifier, _instance) {
var appCheckInternalProvider = container.getProvider(APP_CHECK_NAME_INTERNAL);
appCheckInternalProvider.initialize();
}));
// The internal interface used by other Firebase products

@@ -1187,3 +1203,3 @@ firebase.INTERNAL.registerComponent(new component.Component(APP_CHECK_NAME_INTERNAL, function (container) {

return internalFactory(app, platformLoggerProvider);
}, "PUBLIC" /* PUBLIC */));
}, "PUBLIC" /* PUBLIC */).setInstantiationMode("EXPLICIT" /* EXPLICIT */));
firebase.registerVersion(name, version);

@@ -1190,0 +1206,0 @@ }

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

var name = "@firebase/app-check";
var version = "0.1.0";
var version = "0.1.1-2021412214515";

@@ -1173,3 +1173,19 @@ /**

return factory(app);
}, "PUBLIC" /* PUBLIC */));
}, "PUBLIC" /* PUBLIC */)
/**
* AppCheck can only be initialized by explicitly calling firebase.appCheck()
* We don't want firebase products that consume AppCheck to gate on AppCheck
* if the user doesn't intend them to, just because the AppCheck component
* is registered.
*/
.setInstantiationMode("EXPLICIT" /* EXPLICIT */)
/**
* Because all firebase products that depend on app-check depend on app-check-internal directly,
* we need to initialize app-check-internal after app-check is initialized to make it
* available to other firebase products.
*/
.setInstanceCreatedCallback(function (container, _instanceIdentifier, _instance) {
var appCheckInternalProvider = container.getProvider(APP_CHECK_NAME_INTERNAL);
appCheckInternalProvider.initialize();
}));
// The internal interface used by other Firebase products

@@ -1181,3 +1197,3 @@ firebase.INTERNAL.registerComponent(new Component(APP_CHECK_NAME_INTERNAL, function (container) {

return internalFactory(app, platformLoggerProvider);
}, "PUBLIC" /* PUBLIC */));
}, "PUBLIC" /* PUBLIC */).setInstantiationMode("EXPLICIT" /* EXPLICIT */));
firebase.registerVersion(name, version);

@@ -1184,0 +1200,0 @@ }

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

const name = "@firebase/app-check";
const version = "0.1.0";
const version = "0.1.1-2021412214515";

@@ -1054,3 +1054,19 @@ /**

return factory(app);
}, "PUBLIC" /* PUBLIC */));
}, "PUBLIC" /* PUBLIC */)
/**
* AppCheck can only be initialized by explicitly calling firebase.appCheck()
* We don't want firebase products that consume AppCheck to gate on AppCheck
* if the user doesn't intend them to, just because the AppCheck component
* is registered.
*/
.setInstantiationMode("EXPLICIT" /* EXPLICIT */)
/**
* Because all firebase products that depend on app-check depend on app-check-internal directly,
* we need to initialize app-check-internal after app-check is initialized to make it
* available to other firebase products.
*/
.setInstanceCreatedCallback((container, _instanceIdentifier, _instance) => {
const appCheckInternalProvider = container.getProvider(APP_CHECK_NAME_INTERNAL);
appCheckInternalProvider.initialize();
}));
// The internal interface used by other Firebase products

@@ -1062,3 +1078,3 @@ firebase.INTERNAL.registerComponent(new Component(APP_CHECK_NAME_INTERNAL, container => {

return internalFactory(app, platformLoggerProvider);
}, "PUBLIC" /* PUBLIC */));
}, "PUBLIC" /* PUBLIC */).setInstantiationMode("EXPLICIT" /* EXPLICIT */));
firebase.registerVersion(name, version);

@@ -1065,0 +1081,0 @@ }

6

package.json
{
"name": "@firebase/app-check",
"version": "0.1.0",
"version": "0.1.1-2021412214515",
"description": "The App Check component of the Firebase JS SDK",

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

"peerDependencies": {
"@firebase/app": "0.x",
"@firebase/app": "0.6.22-2021412214515",
"@firebase/app-types": "0.x"

@@ -41,3 +41,3 @@ },

"devDependencies": {
"@firebase/app": "0.6.21",
"@firebase/app": "0.6.22-2021412214515",
"rollup": "2.35.1",

@@ -44,0 +44,0 @@ "@rollup/plugin-json": "4.1.0",

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

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