@bytexbyte/berifyme-react-sdk 1.0.6 → 1.0.7

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.
@@ -48,6 +48,7 @@ import { createDeveloperLog } from '../createDeveloperLog';
48
48
  import Footer from '../Footer';
49
49
  import { processPhoneNumber } from '../phoneNumberProcesser';
50
50
  import webauthn from '../../lib/webauthb';
51
+ import LegalLinks from './legalLinks';
51
52
  var SendSns = function (_a) {
52
53
  var token = _a.token, inputValue = _a.inputValue, setInputValue = _a.setInputValue, setError = _a.setError, setPageStatus = _a.setPageStatus, setProcessedPhoneNumber = _a.setProcessedPhoneNumber, setModalHeight = _a.setModalHeight, setUser = _a.setUser, environment = _a.environment;
53
54
  var _b = useState(true), isValid = _b[0], setIsValid = _b[1];
@@ -330,7 +331,7 @@ var SendSns = function (_a) {
330
331
  React.createElement(PhoneInput, { country: 'us', value: inputValue, onChange: handleChange, containerStyle: { width: '100%', height: '50px', border: 'none' }, inputStyle: { width: '100%', height: '50px', fontSize: '18px', borderRadius: '12px', backgroundColor: '#F0F0F0' }, buttonStyle: { borderRadius: '12px 0 0 12px', backgroundColor: '#F0F0F0' }, countryCodeEditable: false }),
331
332
  React.createElement(Stack, null,
332
333
  React.createElement(Typography, { variant: 'body2', color: theme.palette.error.main, alignSelf: 'end' }, errorMessage),
333
- React.createElement(Typography, { variant: 'body2', color: theme.palette.info.light }, "By tapping \u201CContinue\u201D I agree to Berify.me\u2019s Terms and Conditions, which contain a mandatory arbitration clause, class action waiver, and consent to e-sign.")))),
334
+ React.createElement(LegalLinks, null)))),
334
335
  React.createElement(Stack, { direction: 'row', pb: 4 },
335
336
  React.createElement(Box, null,
336
337
  React.createElement(Button, { fullWidth: true, variant: 'contained', size: 'large', sx: { minWidth: 170, borderRadius: 4 }, type: "submit", disabled: (!inputValue || loading) }, loading ?
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { Typography } from '@mui/material';
3
+ import theme from "../theme";
4
+ var LegalLinks = function () {
5
+ return (React.createElement(React.Fragment, null,
6
+ React.createElement(Typography, { variant: 'body2', color: theme.palette.info.light },
7
+ "By continuing you agree to Berify's",
8
+ ' ',
9
+ React.createElement("a", { href: "https://berify.me/terms-conditions/", target: "_blank", rel: "noopener noreferrer", style: { textDecoration: 'underline', color: theme.palette.info.light } }, "Terms & Conditions"),
10
+ ' ',
11
+ "and",
12
+ ' ',
13
+ React.createElement("a", { href: "https://berify.me/privacy-policy/", target: "_blank", rel: "noopener noreferrer", style: { textDecoration: 'underline', color: theme.palette.info.light } }, "Privacy Policy"),
14
+ ".")));
15
+ };
16
+ export default LegalLinks;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const LegalLinks: () => React.JSX.Element;
3
+ export default LegalLinks;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytexbyte/berifyme-react-sdk",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/index.d.ts",