@capacitor-community/facebook-login
Advanced tools
Comparing version 6.1.0 to 6.1.1
@@ -16,10 +16,2 @@ export interface AccessToken { | ||
} | ||
export interface LimitedFacebookLoginResponse { | ||
authenticationToken: { | ||
token: string; | ||
userId?: string; | ||
name?: string; | ||
email?: string; | ||
}; | ||
} | ||
export interface FacebookCurrentAccessTokenResponse { | ||
@@ -26,0 +18,0 @@ accessToken: AccessToken | null; |
import { WebPlugin } from '@capacitor/core'; | ||
import type { FacebookLoginPlugin, FacebookLoginResponse, FacebookCurrentAccessTokenResponse, LimitedFacebookLoginResponse, FacebookConfiguration } from './definitions'; | ||
import type { FacebookLoginPlugin, FacebookLoginResponse, FacebookCurrentAccessTokenResponse, FacebookConfiguration } from './definitions'; | ||
declare global { | ||
@@ -14,7 +14,2 @@ interface Window { | ||
}): Promise<FacebookLoginResponse>; | ||
limitedLogin(options: { | ||
permissions: string[]; | ||
tracking?: 'limited' | 'enabled'; | ||
nonce?: string; | ||
}): Promise<LimitedFacebookLoginResponse>; | ||
logout(): Promise<void>; | ||
@@ -21,0 +16,0 @@ reauthorize(): Promise<FacebookLoginResponse>; |
@@ -49,8 +49,2 @@ import { WebPlugin } from '@capacitor/core'; | ||
} | ||
async limitedLogin(options) { | ||
return new Promise((_, reject) => { | ||
console.log(options); | ||
reject('Not implemented'); | ||
}); | ||
} | ||
async logout() { | ||
@@ -57,0 +51,0 @@ return new Promise((resolve) => FB.logout(() => resolve())); |
@@ -56,8 +56,2 @@ 'use strict'; | ||
} | ||
async limitedLogin(options) { | ||
return new Promise((_, reject) => { | ||
console.log(options); | ||
reject('Not implemented'); | ||
}); | ||
} | ||
async logout() { | ||
@@ -64,0 +58,0 @@ return new Promise((resolve) => FB.logout(() => resolve())); |
@@ -55,8 +55,2 @@ var capacitorFacebookLogin = (function (exports, core) { | ||
} | ||
async limitedLogin(options) { | ||
return new Promise((_, reject) => { | ||
console.log(options); | ||
reject('Not implemented'); | ||
}); | ||
} | ||
async logout() { | ||
@@ -63,0 +57,0 @@ return new Promise((resolve) => FB.logout(() => resolve())); |
{ | ||
"name": "@capacitor-community/facebook-login", | ||
"version": "6.1.0", | ||
"version": "6.1.1", | ||
"description": "A native plugin for Facebook Login", | ||
@@ -5,0 +5,0 @@ "engines": { |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1095
93476