@matchain/matchid-sdk-react 0.1.56-alpha.13 → 0.1.56-alpha.14
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.js.map +1 -1
- package/dist/api.mjs +2 -2
- package/dist/{chunk-RPATABCS.mjs → chunk-EMSBFHPM.mjs} +13 -3
- package/dist/chunk-EMSBFHPM.mjs.map +1 -0
- package/dist/{chunk-7K4E64WH.mjs → chunk-SEACJPL6.mjs} +2 -2
- package/dist/components.js +11 -1
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +1 -1
- package/dist/hooks.js.map +1 -1
- package/dist/hooks.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/ui.js.map +1 -1
- package/dist/ui.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-RPATABCS.mjs.map +0 -1
- /package/dist/{chunk-7K4E64WH.mjs.map → chunk-SEACJPL6.mjs.map} +0 -0
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-
|
|
5
|
+
} from "./chunk-SEACJPL6.mjs";
|
|
6
6
|
import {
|
|
7
7
|
isSuccess,
|
|
8
8
|
wallet_exports
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EMSBFHPM.mjs";
|
|
10
10
|
import "./chunk-UA6XHZHX.mjs";
|
|
11
11
|
import "./chunk-IZOOVZAD.mjs";
|
|
12
12
|
import "./chunk-FQ6PYZPD.mjs";
|
|
@@ -3219,7 +3219,7 @@ function BusinessProvider({ children }) {
|
|
|
3219
3219
|
{
|
|
3220
3220
|
isOpen: EmailModalStore.isOpen && (EmailModalStore.type == "login" && !overview && !token || EmailModalStore.type == "bind" && !!token && !!overview),
|
|
3221
3221
|
onClose: EmailModalStore.close,
|
|
3222
|
-
onLogin:
|
|
3222
|
+
onLogin: EmailModalStore.close,
|
|
3223
3223
|
type: EmailModalStore.type,
|
|
3224
3224
|
zIndex: 199
|
|
3225
3225
|
}
|
|
@@ -4992,6 +4992,16 @@ function EmailModal({
|
|
|
4992
4992
|
setEmailVal("");
|
|
4993
4993
|
}
|
|
4994
4994
|
}, [isOpen]);
|
|
4995
|
+
const verifySuccess = () => {
|
|
4996
|
+
console.log("verifySuccess", onLogin);
|
|
4997
|
+
if (onLogin) {
|
|
4998
|
+
console.log("verifySuccess to login");
|
|
4999
|
+
onLogin();
|
|
5000
|
+
} else {
|
|
5001
|
+
console.log("verifySuccess to close");
|
|
5002
|
+
onClose && onClose();
|
|
5003
|
+
}
|
|
5004
|
+
};
|
|
4995
5005
|
return /* @__PURE__ */ jsx29(
|
|
4996
5006
|
ModalWithHeader,
|
|
4997
5007
|
{
|
|
@@ -5005,7 +5015,7 @@ function EmailModal({
|
|
|
5005
5015
|
children: step === "input" ? /* @__PURE__ */ jsx29(StepEmail, { email: emailVal, onContinue: (email) => {
|
|
5006
5016
|
setEmailVal(email);
|
|
5007
5017
|
setStep("verify");
|
|
5008
|
-
} }) : /* @__PURE__ */ jsx29(StepVerify, { email: emailVal, type, onSuccess:
|
|
5018
|
+
} }) : /* @__PURE__ */ jsx29(StepVerify, { email: emailVal, type, onSuccess: verifySuccess })
|
|
5009
5019
|
}
|
|
5010
5020
|
);
|
|
5011
5021
|
}
|
|
@@ -7765,4 +7775,4 @@ export {
|
|
|
7765
7775
|
MatchProvider,
|
|
7766
7776
|
useMatch
|
|
7767
7777
|
};
|
|
7768
|
-
//# sourceMappingURL=chunk-
|
|
7778
|
+
//# sourceMappingURL=chunk-EMSBFHPM.mjs.map
|