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

@react-native-firebase/app-types

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-firebase/app-types - npm Package Compare versions

Comparing version 6.0.0-alpha.1 to 6.0.0-alpha.2

66

index.d.ts

@@ -18,2 +18,4 @@ /*

import {FirebaseApp} from "./index";
export interface NativeFirebaseError extends Error {

@@ -192,1 +194,65 @@ /**

}
/**
*
* @firebase app
*/
export namespace App {
export interface FirebaseApp {
/**
* The name (identifier) for this App. '[DEFAULT]' is the default App.
*/
readonly name: string;
/**
* The (read-only) configuration options from the app initialization.
*/
readonly options: FirebaseOptions;
/**
* Make this app unusable and free up resources.
*/
delete(): Promise<void>;
}
export interface ReactNativeFirebaseNamespace {
/**
* Create (and initialize) a FirebaseApp.
*
* @param options Options to configure the services used in the App.
* @param config The optional config for your firebase app
*/
initializeApp(options: FirebaseOptions, config?: FirebaseAppConfig): FirebaseApp;
/**
* Create (and initialize) a FirebaseApp.
*
* @param options Options to configure the services used in the App.
* @param name The optional name of the app to initialize ('[DEFAULT]' if
* omitted)
*/
initializeApp(options: FirebaseOptions, name?: string): FirebaseApp;
/**
* Retrieve an instance of a FirebaseApp.
*
* @example
* ```js
* const app = firebase.app('foo');
* ```
*
* @param name The optional name of the app to return ('[DEFAULT]' if omitted)
*/
app(name?: string): FirebaseApp;
/**
* A (read-only) array of all the initialized Apps.
*/
apps: FirebaseApp[];
/**
* The current React Native Firebase version.
*/
readonly SDK_VERSION: string;
}
}

4

package.json
{
"name": "@react-native-firebase/app-types",
"version": "6.0.0-alpha.1",
"version": "6.0.0-alpha.2",
"author": "Invertase <oss@invertase.io> (http://invertase.io)",

@@ -16,3 +16,3 @@ "description": "@react-native-firebase/app-types",

"license": "Apache-2.0",
"gitHead": "5024081214e6cebd3a918274d502d56522f6b3e7",
"gitHead": "2787d4413eb70c61a687c4d6913add6a6a01f582",
"publishConfig": {

@@ -19,0 +19,0 @@ "access": "public"

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