@privy-io/react-auth 1.3.0-beta.1 → 1.3.0-beta.2
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 +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1847,7 +1847,7 @@ var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
|
1847
1847
|
var DEFAULT_FAIL_SCREEN_DURATION_MS = 1400;
|
|
1848
1848
|
var AwaitingEmailCodeScreen = () => {
|
|
1849
1849
|
var _a;
|
|
1850
|
-
const { navigate } = usePrivyModal();
|
|
1850
|
+
const { navigate, app } = usePrivyModal();
|
|
1851
1851
|
const { closePrivyModal, resendEmailCode, getAuthMeta, loginWithCode } = usePrivyInternal();
|
|
1852
1852
|
const { authenticated, user } = usePrivy();
|
|
1853
1853
|
const [code, setCode] = (0, import_react6.useState)(["", "", "", "", ""]);
|
|
@@ -1946,7 +1946,9 @@ var AwaitingEmailCodeScreen = () => {
|
|
|
1946
1946
|
children: [
|
|
1947
1947
|
"Please check ",
|
|
1948
1948
|
(_a = getAuthMeta()) == null ? void 0 : _a.email,
|
|
1949
|
-
" for an email from
|
|
1949
|
+
" for an email from ",
|
|
1950
|
+
(app == null ? void 0 : app.name) || "privy.io",
|
|
1951
|
+
" and enter your code below."
|
|
1950
1952
|
]
|
|
1951
1953
|
}),
|
|
1952
1954
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(CodeInput, {
|
|
@@ -6135,7 +6137,6 @@ var ModalWrapper = import_styled_components17.default.div`
|
|
|
6135
6137
|
textarea:focus {
|
|
6136
6138
|
outline: none;
|
|
6137
6139
|
border-color: var(--primary-color);
|
|
6138
|
-
border-width: 1px;
|
|
6139
6140
|
box-shadow: 0 0 0 1px var(--primary-color);
|
|
6140
6141
|
}
|
|
6141
6142
|
`;
|