@matchain/matchid-sdk-react 0.1.16 → 0.1.17
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 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -866,7 +866,7 @@ function useUserInfo() {
|
|
|
866
866
|
eventManager_default.emit("onLogout");
|
|
867
867
|
};
|
|
868
868
|
const loginByMethod = (method) => {
|
|
869
|
-
const link = `${endpoints.back}auth/${method}?appid=${appid}&provider=${method}&redirect=${encodeURIComponent(endpoints.auth + "login/" + method)}&authorization=${(/* @__PURE__ */ new Date()).getTime()}`;
|
|
869
|
+
const link = `${endpoints.back}api/v1/auth/${method}?appid=${appid}&provider=${method}&redirect=${encodeURIComponent(endpoints.auth + "login/" + method)}&authorization=${(/* @__PURE__ */ new Date()).getTime()}`;
|
|
870
870
|
matchlog_default.log("link", link);
|
|
871
871
|
const authWindow = window.open(
|
|
872
872
|
link,
|