@privy-io/react-auth 1.3.0-beta.1 → 1.3.0-beta.3

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -3
  2. 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 Privy and enter your code below."
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, {
@@ -5686,6 +5688,7 @@ var ConnectionStatusScreen = () => {
5686
5688
  setErrorCode(void 0);
5687
5689
  },
5688
5690
  visible: isRetryableError && numRetries < MAX_RETRIES,
5691
+ disabled: !(isRetryableError && numRetries < MAX_RETRIES),
5689
5692
  children: "Retry"
5690
5693
  }) : null
5691
5694
  ]
@@ -6135,7 +6138,6 @@ var ModalWrapper = import_styled_components17.default.div`
6135
6138
  textarea:focus {
6136
6139
  outline: none;
6137
6140
  border-color: var(--primary-color);
6138
- border-width: 1px;
6139
6141
  box-shadow: 0 0 0 1px var(--primary-color);
6140
6142
  }
6141
6143
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@privy-io/react-auth",
3
- "version": "1.3.0-beta.1",
3
+ "version": "1.3.0-beta.3",
4
4
  "description": "React client for the Privy Auth API",
5
5
  "keywords": [
6
6
  "authentication",