@matchain/matchid-sdk-react 0.1.56-alpha.14 → 0.1.56-alpha.16

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/api.mjs CHANGED
@@ -2,11 +2,11 @@ import {
2
2
  bind_exports,
3
3
  poh_exports,
4
4
  user_exports
5
- } from "./chunk-SEACJPL6.mjs";
5
+ } from "./chunk-O2D3TKRD.mjs";
6
6
  import {
7
7
  isSuccess,
8
8
  wallet_exports
9
- } from "./chunk-EMSBFHPM.mjs";
9
+ } from "./chunk-LADAY3IL.mjs";
10
10
  import "./chunk-UA6XHZHX.mjs";
11
11
  import "./chunk-IZOOVZAD.mjs";
12
12
  import "./chunk-FQ6PYZPD.mjs";
@@ -3705,7 +3705,7 @@ var en_default = {
3705
3705
  noMore: "No more",
3706
3706
  Remove: "Remove",
3707
3707
  removeSuccess: "Remove Successfully",
3708
- loginAgreement: "By logging in, you agree to our <termsLink>Terms of Service</termsLink> and <privacyLink>Privacy Policy</privacyLink>",
3708
+ loginAgreement: "By login, you agree to our <termsLink>Terms of Service</termsLink> and <privacyLink>Privacy Policy</privacyLink>",
3709
3709
  poweredBy: "Powered by"
3710
3710
  };
3711
3711
 
@@ -4840,6 +4840,7 @@ function useUserInfo() {
4840
4840
  auth,
4841
4841
  login: loginMethod,
4842
4842
  bind,
4843
+ getBindEmailCode: getLoginEmailCode,
4843
4844
  bindByEmail,
4844
4845
  getAuthInfo,
4845
4846
  invite
@@ -4993,12 +4994,9 @@ function EmailModal({
4993
4994
  }
4994
4995
  }, [isOpen]);
4995
4996
  const verifySuccess = () => {
4996
- console.log("verifySuccess", onLogin);
4997
4997
  if (onLogin) {
4998
- console.log("verifySuccess to login");
4999
4998
  onLogin();
5000
4999
  } else {
5001
- console.log("verifySuccess to close");
5002
5000
  onClose && onClose();
5003
5001
  }
5004
5002
  };
@@ -5134,7 +5132,7 @@ function LoginBox({
5134
5132
  walletMethods: walletMethodList
5135
5133
  };
5136
5134
  }, [config.platform, recommendMethods, methods, walletMethods]);
5137
- const { open: emailOpen } = useEmailModalStore();
5135
+ const { isOpen: emailIsOpen, open: emailOpen } = useEmailModalStore();
5138
5136
  const { login } = useUserInfo();
5139
5137
  const [showWallet, setShowWallet] = useState20(false);
5140
5138
  const intl = useIntl9();
@@ -5200,7 +5198,7 @@ function LoginBox({
5200
5198
  }
5201
5199
  };
5202
5200
  const { walletMap } = useWalletConfig();
5203
- return /* @__PURE__ */ jsx30(Fragment5, { children: (!inModal || !emailOpen) && /* @__PURE__ */ jsxs16("div", { className: "matchid-login-box", children: [
5201
+ return /* @__PURE__ */ jsx30(Fragment5, { children: (!inModal || !emailIsOpen) && /* @__PURE__ */ jsxs16("div", { className: "matchid-login-box", children: [
5204
5202
  /* @__PURE__ */ jsx30("div", { className: "matchid-login-recommend-list", children: methodConfig.recommendMethods.map((m) => {
5205
5203
  return /* @__PURE__ */ jsx30(
5206
5204
  RecommendItem,
@@ -7775,4 +7773,4 @@ export {
7775
7773
  MatchProvider,
7776
7774
  useMatch
7777
7775
  };
7778
- //# sourceMappingURL=chunk-EMSBFHPM.mjs.map
7776
+ //# sourceMappingURL=chunk-LADAY3IL.mjs.map