diff --git a/firebase.d.ts b/firebase.d.ts index d00edce8..5fb3e8cd 100644 --- a/firebase.d.ts +++ b/firebase.d.ts @@ -93,6 +93,13 @@ declare module "nativescript-plugin-firebase" { password: string; } + /** + * The options object passed into the resetPassword function. + */ + export interface ResetPasswordOptions { + email: string; + } + /** * The returned object in the callback handlers * of the addChildEventListener and addValueEventListener functions. @@ -106,6 +113,7 @@ declare module "nativescript-plugin-firebase" { export function init(options: InitOptions): Promise; export function login(options: LoginOptions): Promise; export function createUser(options: CreateUserOptions): Promise; + export function resetPassword(options: ResetPasswordOptions): Promise; export function push(path: string, value: any): Promise; export function setValue(path: string, value: any): Promise; export function remove(path: string): Promise; diff --git a/package.json b/package.json index d50bfa99..ce353199 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nativescript-plugin-firebase", - "version": "2.1.1", + "version": "2.1.2", "description" : "Fire. Base. Firebase!", "main" : "firebase.js", "nativescript": {