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 0.0.4-alpha.0 to 0.0.26

94

index.d.ts

@@ -45,11 +45,2 @@ /*

export type ReactNativeFirebaseModuleAndStatics<M, S = {}> = {
(): M;
/**
* This React Native Firebase module version.
*/
readonly SDK_VERSION: string;
} & S;
export type FirebaseOptions = {

@@ -87,3 +78,2 @@ /**

/**

@@ -190,4 +180,86 @@ * The Project Number from the Google Developer's console, for example "012345678901", used to

export interface ReactNativeFirebaseModule {
export class ReactNativeFirebaseModule {
app: FirebaseApp;
}
/**
*
* @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;
}
}
export type ReactNativeFirebaseModuleAndStatics<M, S = {}> = {
(): M;
/**
* This React Native Firebase module version.
*/
readonly SDK_VERSION: string;
} & S;
export type ReactNativeFirebaseModuleAndStaticsWithApp<M, S = {}> = {
(app?: FirebaseApp): M;
/**
* This React Native Firebase module version.
*/
readonly SDK_VERSION: string;
} & S;

4

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

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

"license": "Apache-2.0",
"gitHead": "a380dd1fd3994a37723b7b18c575320710e16d94",
"gitHead": "639c15d4b8ba8a972f0fe17fcc285b4a6e4af320",
"publishConfig": {

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

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