- enhance(): update allowed Facebook API versions
-
feat(): add frictionlessRequests,hideFlashCallback to InitParams
-
feat(): add FacebookLoginClient.clear
-
enhance(): update FacebookLoginClient.init
call window.FB.init directly (not use window.fbAsyncInit
-
docs(stories): add WithMultipleApp story
-
feat(): add available versions
'v11.0', 'v12.0', 'v13.0' resolves greatSumini#190 Special Thanks to @jerryeechan
-
enhance(): remove deprecated versions
'v3.2', 'v3.3', 'v4.0', 'v5.0', 'v6.0'
-
feat(): add enable_profile_selector,profile_selector_ids to LoginOptions
-
enhance(): add auth_nonce to FacebookLoginProps.loginOptions
-
feat(): allow passing funciton for LoginOptions.auth_nonce
resolves greatSumini#56 Special Thanks to @Hamaad-Siddiqui
-
update dependencies (by @renovate-bot)
-
enhance(): update LoginOptions.auth_type type declaration
string -> string literal
- fix: 🐛 exclude onSuccess,onFail,onProfileSuccess from render props
- update dependencies (by @renovate-bot)
- fix: 🐛 fix .storybook/main.js stories glob
- chore: 🙈 add renovate.json to .npmignore
-
fix: 🔨 update prepublish script
add missing build command Special thanks to @john-dupuy
- fix: 🐛 add decodeURIComponent to paramsToObject helper
- update dependencies (by @renovate-bot)
- update README
- add storybook mdx files
-
enhance(client): update FacebookLoginClient.isRedirected verify logic
fix #4 Special thanks to @tabishmahfuz1
-
feat: ✨ add useCustomerChant prop
for who use Customer Chat plugin with Facebook login. if true, append 'xfbml.customerchat' to sdk url (ex: 'https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js') With this URL, you will still be able to access all of the Facebook Javascript SDK plus all features of the Customer Chat SDK. (ref: https://developers.facebook.com/docs/messenger-platform/discovery/customer-chat-plugin/sdk/)
resolve #55 Special thanks to @akshatamohanty
- chore: 🔧 update .npmrc
- chore: 🔥 remove format script
- test: 🔧 set jest.config.testEnvironment as 'jsdom'
- update dependencies (by @renovate-bot)
- feat: 🏷️ add LoginOptions.auth_nonce
- feat(client): ✨ add FacebookLoginClient.getFB
- enhance(client): update getLoginStatus to call callback when window.FB is not found
- enhance(client): update logout to call callback when loginStatus is not "connected"
- rename FacebookClient -> FacebookLoginClient
-
add FacebookClient
you can use facebook sdk functions diretly with FacebookClient
supports: getLoginStatus, getProfile, login, logout -
refactor directory structure (6fc3f07)
/utils -> /helpers
- upgrade dependencies (322bec3)
- ignore tsconfig.json (791db2f)
- update FacebookLoginProps.children type (9835bac)
- add className to FacebookLoginProps (b8f7b73)
- add korean guide to README.md (17e4e2c)
- remove deprecated props (isMobile, disableMobileRedirect) (d6897a2)
- rename Props to FacebookLoginProps (555c5c2)
- update README.md Usage section (43c3835)
- add CHANGELOG.md
- fix LoginStatus enum declare error
- add Props section to README.md
- add docs/params.md
- add tests (FacebookLogin, objectToParams, paramsToObject)
- rename usePopup prop to useRedirect (d06e38d)
- fix inifinite redirect at login (5e682c7)
- update tsconfig rules (0fa550f)