@movmo_app/react-common 0.11.6 → 0.12.0
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.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -326,6 +326,11 @@ export declare interface SignInModalProps {
|
|
|
326
326
|
getCurrentUser: () => Promise<User>;
|
|
327
327
|
onLoginSuccess: (user: User) => void;
|
|
328
328
|
hideCloseButton?: boolean;
|
|
329
|
+
/**
|
|
330
|
+
* Show the phone input alongside email. Defaults to false (MOVMO-445):
|
|
331
|
+
* sign-in is email-only — email → Continue → OTP to the email. Pass true
|
|
332
|
+
* only for legacy flows that still collect a phone at sign-in.
|
|
333
|
+
*/
|
|
329
334
|
showPhone?: boolean;
|
|
330
335
|
/**
|
|
331
336
|
* Predicate used to detect HTTP 429 rate-limit rejections. Defaults to an
|
package/dist/index.es.js
CHANGED
|
@@ -11653,10 +11653,10 @@ const xg = (e) => {
|
|
|
11653
11653
|
getCurrentUser: n,
|
|
11654
11654
|
onLoginSuccess: o,
|
|
11655
11655
|
hideCloseButton: s = !1,
|
|
11656
|
-
showPhone: l = !
|
|
11656
|
+
showPhone: l = !1,
|
|
11657
11657
|
isRateLimitError: i = xg
|
|
11658
11658
|
}) => {
|
|
11659
|
-
const u = l
|
|
11659
|
+
const u = l, [c, d] = ke(""), [m, A] = ke(null), [y, C] = ke(""), [p, I] = ke(null), [S, R] = ke(!1), [E, h] = ke(null), [P, T] = ke(6), [F, U] = ke(
|
|
11660
11660
|
null
|
|
11661
11661
|
), [Y, de] = ke(!1), [X, Z] = ke(""), [N, V] = ke(tt.OTPAction.EMAILED), [D, Q] = ke("us"), [re, Ee] = ke(!1), [_, M] = ke(null), [z, te] = ke(null), [k, g] = ke(null), ce = st(null), ue = st(null), ie = st(null), he = st(!1);
|
|
11662
11662
|
yt(() => {
|