@capacitor-community/facebook-login
Advanced tools
Comparing version 6.1.0 to 7.0.0-0
@@ -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())); |
@@ -32,3 +32,3 @@ 'use strict'; | ||
script.id = scriptId; | ||
script.src = `https://connect.facebook.net/${locale !== null && locale !== void 0 ? locale : 'en_US'}/sdk.js`; | ||
script.src = `https://connect.facebook.net/${locale !== null && locale !== undefined ? locale : 'en_US'}/sdk.js`; | ||
head.appendChild(script); | ||
@@ -57,8 +57,2 @@ }); | ||
} | ||
async limitedLogin(options) { | ||
return new Promise((_, reject) => { | ||
console.log(options); | ||
reject('Not implemented'); | ||
}); | ||
} | ||
async logout() { | ||
@@ -65,0 +59,0 @@ return new Promise((resolve) => FB.logout(() => resolve())); |
@@ -31,3 +31,3 @@ var capacitorFacebookLogin = (function (exports, core) { | ||
script.id = scriptId; | ||
script.src = `https://connect.facebook.net/${locale !== null && locale !== void 0 ? locale : 'en_US'}/sdk.js`; | ||
script.src = `https://connect.facebook.net/${locale !== null && locale !== undefined ? locale : 'en_US'}/sdk.js`; | ||
head.appendChild(script); | ||
@@ -56,8 +56,2 @@ }); | ||
} | ||
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())); |
{ | ||
"name": "@capacitor-community/facebook-login", | ||
"version": "6.1.0", | ||
"version": "7.0.0-0", | ||
"description": "A native plugin for Facebook Login", | ||
"engines": { | ||
"node": ">=18.0.0" | ||
"node": ">=20.0.0" | ||
}, | ||
@@ -45,9 +45,9 @@ "main": "dist/plugin.cjs.js", | ||
"prepublishOnly": "npm run build", | ||
"release": "np --no-tests" | ||
"release": "np --no-tests --any-branch" | ||
}, | ||
"devDependencies": { | ||
"@capacitor/android": "^6.0.0", | ||
"@capacitor/core": "^6.0.0", | ||
"@capacitor/docgen": "^0.2.2", | ||
"@capacitor/ios": "^6.0.0", | ||
"@capacitor/android": "^7.0.0", | ||
"@capacitor/core": "^7.0.0", | ||
"@capacitor/docgen": "^0.3.0", | ||
"@capacitor/ios": "^7.0.0", | ||
"@ionic/eslint-config": "^0.4.0", | ||
@@ -58,6 +58,6 @@ "@ionic/prettier-config": "^4.0.0", | ||
"np": "^10.1.0", | ||
"prettier": "^3.3.3", | ||
"prettier-plugin-java": "^2.6.4", | ||
"prettier": "^3.4.2", | ||
"prettier-plugin-java": "^2.6.6", | ||
"rimraf": "^6.0.1", | ||
"rollup": "^4.24.0", | ||
"rollup": "^4.30.1", | ||
"swiftlint": "^2.0.0", | ||
@@ -67,3 +67,3 @@ "typescript": "~4.1.5" | ||
"dependencies": { | ||
"@capacitor/core": "^6.0.0" | ||
"@capacitor/core": "^7.0.0" | ||
}, | ||
@@ -70,0 +70,0 @@ "prettier": "@ionic/prettier-config", |
@@ -9,4 +9,3 @@ <p align="center"><br><img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" /></p> | ||
<p align="center"> | ||
<img src="https://img.shields.io/maintenance/yes/2024?style=flat-square" /> | ||
<!-- <a href="https://github.com/capacitor-community/example/actions?query=workflow%3A%22CI%22"><img src="https://img.shields.io/github/workflow/status/capacitor-community/example/CI?style=flat-square" /></a> --> | ||
<img src="https://img.shields.io/maintenance/yes/2025?style=flat-square" /> | ||
<a href="https://www.npmjs.com/package/@capacitor-community/facebook-login"><img src="https://img.shields.io/npm/l/@capacitor-community/facebook-login?style=flat-square" /></a> | ||
@@ -45,6 +44,6 @@ <br> | ||
Users of Capacitor v5 should use version v5 of the Plugin. | ||
Users of Capacitor v6 should use version v6 of the Plugin. | ||
```bash | ||
% npm install @capacitor-community/facebook-login@5 | ||
% npm install @capacitor-community/facebook-login@6 | ||
``` | ||
@@ -51,0 +50,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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1095
93271
2
453
+ Added@capacitor/core@7.0.1(transitive)
- Removed@capacitor/core@6.2.0(transitive)
Updated@capacitor/core@^7.0.0