@tap-payments/auth-jsconnect 2.0.30-test → 2.0.32-test

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 (60) hide show
  1. package/build/@types/app.d.ts +3 -1
  2. package/build/@types/app.js +2 -0
  3. package/build/@types/form.d.ts +7 -0
  4. package/build/app/rootReducer.d.ts +2 -0
  5. package/build/app/rootReducer.js +5 -1
  6. package/build/app/store.d.ts +4 -0
  7. package/build/constants/app.d.ts +11 -0
  8. package/build/constants/app.js +49 -0
  9. package/build/features/app/entity/entityStore.d.ts +48 -0
  10. package/build/features/app/entity/entityStore.js +322 -0
  11. package/build/features/app/otp/otpStore.d.ts +28 -0
  12. package/build/features/app/otp/otpStore.js +153 -0
  13. package/build/features/entity/Entity.d.ts +7 -0
  14. package/build/features/entity/Entity.js +63 -0
  15. package/build/features/entity/index.d.ts +1 -0
  16. package/build/features/entity/index.js +1 -0
  17. package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.d.ts +5 -0
  18. package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.js +6 -0
  19. package/build/features/entity/screens/EntityInfoConfirm/index.d.ts +2 -0
  20. package/build/features/entity/screens/EntityInfoConfirm/index.js +2 -0
  21. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
  22. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +9 -0
  23. package/build/features/entity/screens/ResetPasswordSuccess/index.d.ts +3 -0
  24. package/build/features/entity/screens/ResetPasswordSuccess/index.js +2 -0
  25. package/build/features/entity/screens/Success/Success.d.ts +5 -0
  26. package/build/features/entity/screens/Success/Success.js +16 -0
  27. package/build/features/entity/screens/Success/index.d.ts +3 -0
  28. package/build/features/entity/screens/Success/index.js +2 -0
  29. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
  30. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +109 -0
  31. package/build/features/entity/screens/SuccessWithFlowButtons/index.d.ts +2 -0
  32. package/build/features/entity/screens/SuccessWithFlowButtons/index.js +2 -0
  33. package/build/features/entity/screens/Verify/OTPInput.d.ts +7 -0
  34. package/build/features/entity/screens/Verify/OTPInput.js +47 -0
  35. package/build/features/entity/screens/Verify/Verify.d.ts +5 -0
  36. package/build/features/entity/screens/Verify/Verify.js +78 -0
  37. package/build/features/entity/screens/Verify/index.d.ts +2 -0
  38. package/build/features/entity/screens/Verify/index.js +2 -0
  39. package/build/features/entity/screens/Verify/validation.d.ts +8 -0
  40. package/build/features/entity/screens/Verify/validation.js +4 -0
  41. package/build/features/featuresScreens.d.ts +2 -0
  42. package/build/features/featuresScreens.js +31 -0
  43. package/build/features/otp/OTP.d.ts +7 -0
  44. package/build/features/otp/OTP.js +55 -0
  45. package/build/features/otp/index.d.ts +0 -0
  46. package/build/features/otp/index.js +1 -0
  47. package/build/features/otp/screens/OTPVerify/OTPInput.d.ts +6 -0
  48. package/build/features/otp/screens/OTPVerify/OTPInput.js +47 -0
  49. package/build/features/otp/screens/OTPVerify/Verify.d.ts +5 -0
  50. package/build/features/otp/screens/OTPVerify/Verify.js +50 -0
  51. package/build/features/otp/screens/OTPVerify/index.d.ts +2 -0
  52. package/build/features/otp/screens/OTPVerify/index.js +2 -0
  53. package/build/features/otp/screens/OTPVerify/validation.d.ts +8 -0
  54. package/build/features/otp/screens/OTPVerify/validation.js +4 -0
  55. package/build/features/shared/Background/Background.d.ts +2 -1
  56. package/build/features/shared/Background/Background.js +3 -3
  57. package/build/hooks/useAppDispatch.d.ts +2 -0
  58. package/build/index.d.ts +4 -2
  59. package/build/index.js +7 -1
  60. package/package.json +1 -1
@@ -38,6 +38,12 @@ import SignInMobilePage from './signIn/screens/Mobile';
38
38
  import SignInEmailPage from './signIn/screens/Email';
39
39
  import SignInOTPPage from './signIn/screens/OTP';
40
40
  import SignInPasswordPage from './signIn/screens/Password';
41
+ import EntityVerifyPage from './entity/screens/Verify';
42
+ import EntityInfoConfirmPage from './entity/screens/EntityInfoConfirm';
43
+ import EntitySuccessPage from './entity/screens/Success';
44
+ import EntitySuccessWithFlowPage from './entity/screens/Success';
45
+ import EntityResetPasswordSuccessPage from './entity/screens/SuccessWithFlowButtons';
46
+ import OtpVerifyPage from '../features/otp/screens/OTPVerify';
41
47
  export var connectFeatureScreens = [
42
48
  {
43
49
  name: 'CONNECT_NID_STEP',
@@ -191,3 +197,28 @@ export var signInFeatureScreens = [
191
197
  element: SignInPasswordPage
192
198
  }
193
199
  ];
200
+ export var entityFeatureScreens = [
201
+ {
202
+ name: 'ENTITY_VERIFY_STEP',
203
+ element: EntityVerifyPage
204
+ },
205
+ {
206
+ name: 'ENTITY_INFO_STEP',
207
+ element: EntityInfoConfirmPage
208
+ },
209
+ {
210
+ name: 'ENTITY_DETAILS_SUCCESS_STEP',
211
+ element: EntitySuccessPage
212
+ },
213
+ {
214
+ name: 'ENTITY_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
215
+ element: EntitySuccessWithFlowPage
216
+ },
217
+ { name: 'ENTITY_RESET_PASSWORD_SUCCESS', element: EntityResetPasswordSuccessPage }
218
+ ];
219
+ export var otpFeatureScreens = [
220
+ {
221
+ name: 'OTP_VERIFY_STEP',
222
+ element: OtpVerifyPage
223
+ }
224
+ ];
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { LibConfig } from '../../@types';
3
+ export interface OTPLibProps extends LibConfig {
4
+ }
5
+ export declare function OTPLib(props: OTPLibProps): JSX.Element;
6
+ export declare function renderOTPLib(config: OTPLibProps, elementId: string): void;
7
+ export declare function unmountOTPLib(elementId: string): void;
@@ -0,0 +1,55 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { memo, useEffect } from 'react';
14
+ import { useAppTheme, useAppDispatch, useAppSelector, useAppConfig, useErrorListener, useStepStartedListener } from '../../hooks';
15
+ import { handleLanguage, settingsSelector } from '../../app/settings';
16
+ import AnimationFlow from '../../components/AnimationFlow';
17
+ import { store } from '../../app/store';
18
+ import { ReduxProvider, ThemeProvider } from '../../components/Providers';
19
+ import Collapse from '../../components/Collapse';
20
+ import { getParameterByName, reactElement } from '../../utils';
21
+ import { FeatureContainer } from '../shared/Containers';
22
+ import { OTP_SCREENS_NAVIGATION } from '../../constants';
23
+ import { otpFeatureScreens } from '../featuresScreens';
24
+ import CustomFooter from '../shared/Footer';
25
+ import { otpSelector } from '../app/otp/otpStore';
26
+ import Background from '../shared/Background';
27
+ var OTP = memo(function (props) {
28
+ var theme = useAppTheme().theme;
29
+ var dispatch = useAppDispatch();
30
+ var _a = useAppSelector(settingsSelector), data = _a.data, error = _a.error, loading = _a.loading;
31
+ var otpError = useAppSelector(otpSelector).error;
32
+ useAppConfig(__assign({ navigation: OTP_SCREENS_NAVIGATION }, props));
33
+ useErrorListener(otpError || error);
34
+ useStepStartedListener();
35
+ var activeScreen = data.activeScreen, isTapOrigin = data.isTapOrigin, open = data.open;
36
+ useEffect(function () {
37
+ var lang = getParameterByName('lang');
38
+ if (lang)
39
+ dispatch(handleLanguage(lang));
40
+ }, []);
41
+ return (_jsx(ThemeProvider, __assign({ theme: theme }, { children: _jsx(Background, __assign({ isTapOrigin: isTapOrigin, loading: loading, hideLogo: true }, { children: _jsx(AnimationFlow, __assign({ isTapOrigin: isTapOrigin, open: open, error: error, loading: loading, breakpoint: 'sm', footer: _jsx(CustomFooter, {}), screenId: activeScreen.name }, { children: _jsx(FeatureContainer, { children: otpFeatureScreens.map(function (_a, index) {
42
+ var Element = _a.element, name = _a.name;
43
+ var isActive = activeScreen.name === name;
44
+ return (_jsx(Collapse, __assign({ in: isActive, timeout: { enter: 1000, exit: 800 } }, { children: _jsx(Element, {}) }), index));
45
+ }) }) })) })) })));
46
+ });
47
+ export function OTPLib(props) {
48
+ return (_jsx(ReduxProvider, __assign({ store: store }, { children: _jsx(OTP, __assign({}, props)) })));
49
+ }
50
+ export function renderOTPLib(config, elementId) {
51
+ reactElement(elementId).render(_jsx(OTPLib, __assign({}, config)));
52
+ }
53
+ export function unmountOTPLib(elementId) {
54
+ reactElement(elementId).unmount();
55
+ }
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ export interface OTPProps {
3
+ loading: boolean;
4
+ }
5
+ declare const _default: React.MemoExoticComponent<({ loading }: OTPProps) => JSX.Element>;
6
+ export default _default;
@@ -0,0 +1,47 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import * as React from 'react';
14
+ import Box from '@mui/material/Box/Box';
15
+ import { styled } from '@mui/material/styles';
16
+ import OTPField from '../../../shared/OTP';
17
+ import { useController, useFormContext } from 'react-hook-form';
18
+ import { useTranslation } from 'react-i18next';
19
+ import { DEFAULT_TIMER_VALUE } from '../../../../constants';
20
+ import { useAppDispatch } from '../../../../hooks';
21
+ import { resendOTP } from '../../../app/otp/otpStore';
22
+ var BoxStyled = styled(Box)(function (_a) {
23
+ var theme = _a.theme;
24
+ return ({
25
+ display: 'flex',
26
+ flexDirection: 'column',
27
+ fontFamily: theme.typography.fontFamily
28
+ });
29
+ });
30
+ var OTPInput = function (_a) {
31
+ var loading = _a.loading;
32
+ var _b = useFormContext(), control = _b.control, setValue = _b.setValue;
33
+ var t = useTranslation().t;
34
+ var otpControl = useController({ name: 'otp', control: control });
35
+ var dispatch = useAppDispatch();
36
+ var handleOnOTPChange = function (otp) {
37
+ otpControl.field.onChange(otp);
38
+ };
39
+ var handleOnResendOTP = function () {
40
+ if (otpControl.field.value)
41
+ setValue('otp', '', { shouldValidate: true });
42
+ dispatch(resendOTP());
43
+ };
44
+ var otpValue = otpControl.field.value;
45
+ return (_jsx(BoxStyled, __assign({ dir: 'ltr' }, { children: _jsx(OTPField, { loading: loading, timeEndLabel: t('ide_otp_resend_label'), timerInSeconds: DEFAULT_TIMER_VALUE, onResetClick: handleOnResendOTP, value: otpValue, onChange: function (number) { return handleOnOTPChange(number.toString()); } }) })));
46
+ };
47
+ export default React.memo(OTPInput);
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ export interface OTPProps {
3
+ }
4
+ declare const _default: React.MemoExoticComponent<({}: OTPProps) => JSX.Element>;
5
+ export default _default;
@@ -0,0 +1,50 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import * as React from 'react';
14
+ import { useAppDispatch } from '../../../../hooks';
15
+ import { useTranslation } from 'react-i18next';
16
+ import { useForm, FormProvider } from 'react-hook-form';
17
+ import { yupResolver } from '@hookform/resolvers/yup';
18
+ import { styled } from '@mui/material/styles';
19
+ import { useLanguage, useAppSelector } from '../../../../hooks';
20
+ import Form from '../../../../components/Form';
21
+ import { ScreenContainer } from '../../../shared/Containers';
22
+ import { otpSelector, clearError, resetOTPScreen } from '../../../app/otp/otpStore';
23
+ import Button from '../../../shared/Button';
24
+ import { OTPValidation } from './validation';
25
+ import OTPInput from './OTPInput';
26
+ var FormStyled = styled(Form)(function () { return ({
27
+ display: 'flex',
28
+ flexDirection: 'column'
29
+ }); });
30
+ var Verify = function (_a) {
31
+ var dispatch = useAppDispatch();
32
+ var _b = useAppSelector(otpSelector), data = _b.data, loading = _b.loading, error = _b.error;
33
+ var methods = useForm({
34
+ resolver: yupResolver(OTPValidation),
35
+ defaultValues: data.otpData,
36
+ mode: 'onChange'
37
+ });
38
+ var t = useTranslation().t;
39
+ var isAr = useLanguage().isAr;
40
+ React.useEffect(function () {
41
+ if (methods.formState.isValid)
42
+ dispatch(clearError());
43
+ return function () {
44
+ dispatch(resetOTPScreen());
45
+ };
46
+ }, [methods.formState.isValid]);
47
+ var disabled = !methods.formState.isValid || !!error;
48
+ return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, { children: [_jsx(OTPInput, { loading: false }), _jsx(Button, __assign({ disableBack: true, disabled: disabled, isAr: isAr, loading: loading, error: t(error || '') }, { children: t('confirm') }))] }) })) }));
49
+ };
50
+ export default React.memo(Verify);
@@ -0,0 +1,2 @@
1
+ import OTP from './Verify';
2
+ export default OTP;
@@ -0,0 +1,2 @@
1
+ import OTP from './Verify';
2
+ export default OTP;
@@ -0,0 +1,8 @@
1
+ import * as yup from 'yup';
2
+ export declare const OTPValidation: yup.ObjectSchema<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
3
+ otp: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
4
+ }>, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
5
+ otp: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
6
+ }>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
7
+ otp: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
8
+ }>>>;
@@ -0,0 +1,4 @@
1
+ import * as yup from 'yup';
2
+ export var OTPValidation = yup.object().shape({
3
+ otp: yup.string().min(6, 'otp_min_length').required('otp_required')
4
+ });
@@ -5,6 +5,7 @@ declare type TapOrigin = {
5
5
  interface BackgroundProps extends TapOrigin {
6
6
  children: React.ReactNode;
7
7
  loading?: boolean;
8
+ hideLogo?: boolean;
8
9
  }
9
- declare const _default: React.MemoExoticComponent<({ children, isTapOrigin, loading }: BackgroundProps) => JSX.Element>;
10
+ declare const _default: React.MemoExoticComponent<({ children, isTapOrigin, loading, hideLogo }: BackgroundProps) => JSX.Element>;
10
11
  export default _default;
@@ -15,7 +15,7 @@ import { styled } from '@mui/material/styles';
15
15
  import Box from '@mui/material/Box';
16
16
  import LogoBackground from './LogoBackground';
17
17
  var BackgroundStyled = styled(Box, { shouldForwardProp: function (prop) { return prop !== 'isTapOrigin'; } })(function (_a) {
18
- var isTapOrigin = _a.isTapOrigin, theme = _a.theme;
18
+ var isTapOrigin = _a.isTapOrigin;
19
19
  return ({
20
20
  width: '100vw',
21
21
  height: '100vh',
@@ -23,8 +23,8 @@ var BackgroundStyled = styled(Box, { shouldForwardProp: function (prop) { return
23
23
  });
24
24
  });
25
25
  var Background = function (_a) {
26
- var children = _a.children, isTapOrigin = _a.isTapOrigin, loading = _a.loading;
26
+ var children = _a.children, isTapOrigin = _a.isTapOrigin, loading = _a.loading, hideLogo = _a.hideLogo;
27
27
  var showLogo = !loading && isTapOrigin;
28
- return (_jsxs(BackgroundStyled, __assign({ id: 'background', isTapOrigin: isTapOrigin }, { children: [showLogo && _jsx(LogoBackground, {}), children] })));
28
+ return (_jsxs(BackgroundStyled, __assign({ id: 'background', isTapOrigin: isTapOrigin }, { children: [showLogo && !hideLogo && _jsx(LogoBackground, {}), children] })));
29
29
  };
30
30
  export default memo(Background);
@@ -7,4 +7,6 @@ export declare const useAppDispatch: () => import("redux-thunk").ThunkDispatch<{
7
7
  individual: import("../features/app/individual/individualStore").IndividualState;
8
8
  password: import("../features/app/password/passwordStore").PasswordState;
9
9
  signIn: import("../features/app/signIn/signInStore").SignInState;
10
+ entity: import("../features/app/entity/entityStore").EntityState;
11
+ otp: import("../features/app/otp/otpStore").OtpState;
10
12
  }, undefined, import("redux").AnyAction> & import("redux").Dispatch<import("redux").AnyAction>;
package/build/index.d.ts CHANGED
@@ -7,5 +7,7 @@ import { IndividualLib, renderIndividualLib, IndividualLibProps, unmountIndividu
7
7
  import { BankLib, renderBankLib, BankLibProps, unmountBankLib } from './features/bank';
8
8
  import { TaxLib, renderTaxLib, TaxLibProps, unmountTaxLib } from './features/tax';
9
9
  import { SignInLib, renderSignInLib, SignInLibProps, unmountSignInLib } from './features/signIn';
10
- export type { ConnectLibProps, BusinessLibProps, PasswordLibProps, IndividualLibProps, BankLibProps, TaxLibProps, SignInLibProps };
11
- export { ConnectLib, renderConnectLib, unmountConnectLib, BusinessLib, renderBusinessLib, unmountBusinessLib, PasswordLib, renderPasswordLib, unmountPasswordLib, IndividualLib, renderIndividualLib, unmountIndividualLib, BankLib, renderBankLib, unmountBankLib, TaxLib, renderTaxLib, unmountTaxLib, SignInLib, renderSignInLib, unmountSignInLib };
10
+ import { EntityLib, EntityLibProps, renderEntityLib, unmountEntityLib } from './features/entity';
11
+ import { OTPLib, OTPLibProps, renderOTPLib, unmountOTPLib } from './features/otp/OTP';
12
+ export type { ConnectLibProps, BusinessLibProps, PasswordLibProps, IndividualLibProps, BankLibProps, TaxLibProps, EntityLibProps, OTPLibProps, SignInLibProps };
13
+ export { ConnectLib, renderConnectLib, unmountConnectLib, BusinessLib, renderBusinessLib, unmountBusinessLib, PasswordLib, renderPasswordLib, unmountPasswordLib, IndividualLib, renderIndividualLib, unmountIndividualLib, BankLib, renderBankLib, unmountBankLib, TaxLib, renderTaxLib, unmountTaxLib, EntityLib, renderEntityLib, unmountEntityLib, OTPLib, renderOTPLib, unmountOTPLib, SignInLib, renderSignInLib, unmountSignInLib };
package/build/index.js CHANGED
@@ -7,7 +7,9 @@ import { IndividualLib, renderIndividualLib, unmountIndividualLib } from './feat
7
7
  import { BankLib, renderBankLib, unmountBankLib } from './features/bank';
8
8
  import { TaxLib, renderTaxLib, unmountTaxLib } from './features/tax';
9
9
  import { SignInLib, renderSignInLib, unmountSignInLib } from './features/signIn';
10
- export { ConnectLib, renderConnectLib, unmountConnectLib, BusinessLib, renderBusinessLib, unmountBusinessLib, PasswordLib, renderPasswordLib, unmountPasswordLib, IndividualLib, renderIndividualLib, unmountIndividualLib, BankLib, renderBankLib, unmountBankLib, TaxLib, renderTaxLib, unmountTaxLib, SignInLib, renderSignInLib, unmountSignInLib };
10
+ import { EntityLib, renderEntityLib, unmountEntityLib } from './features/entity';
11
+ import { OTPLib, renderOTPLib, unmountOTPLib } from './features/otp/OTP';
12
+ export { ConnectLib, renderConnectLib, unmountConnectLib, BusinessLib, renderBusinessLib, unmountBusinessLib, PasswordLib, renderPasswordLib, unmountPasswordLib, IndividualLib, renderIndividualLib, unmountIndividualLib, BankLib, renderBankLib, unmountBankLib, TaxLib, renderTaxLib, unmountTaxLib, EntityLib, renderEntityLib, unmountEntityLib, OTPLib, renderOTPLib, unmountOTPLib, SignInLib, renderSignInLib, unmountSignInLib };
11
13
  window['TapAuth'] = {
12
14
  renderConnectLib: renderConnectLib,
13
15
  unmountConnectLib: unmountConnectLib,
@@ -21,6 +23,10 @@ window['TapAuth'] = {
21
23
  unmountBankLib: unmountBankLib,
22
24
  renderTaxLib: renderTaxLib,
23
25
  unmountTaxLib: unmountTaxLib,
26
+ renderEntityLib: renderEntityLib,
27
+ unmountEntityLib: unmountEntityLib,
28
+ renderOTPLib: renderOTPLib,
29
+ unmountOTPLib: unmountOTPLib,
24
30
  renderSignInLib: renderSignInLib,
25
31
  unmountSignInLib: unmountSignInLib
26
32
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.0.30-test",
3
+ "version": "2.0.32-test",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",