@matchain/matchid-sdk-react 0.1.27 → 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/example/src/config/index.ts +2 -1
- package/example/src/pages/User.tsx +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1155,6 +1155,7 @@ function useUserInfo() {
|
|
|
1155
1155
|
case "discord":
|
|
1156
1156
|
case "github":
|
|
1157
1157
|
case "linkedin":
|
|
1158
|
+
case "facebook":
|
|
1158
1159
|
const link = `${endpoints.back}api/v1/auth/${method}?appid=${appid}&provider=${method}&redirect=${encodeURIComponent(endpoints.auth + "bind/" + method)}&authorization=${token.includes("Bearer ") ? token.split(" ")[1] : token}`;
|
|
1159
1160
|
matchlog_default.log("link", link);
|
|
1160
1161
|
return window.open(
|