@tap-payments/auth-jsconnect 2.1.37-test → 2.1.38-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 (46) hide show
  1. package/build/@types/form.d.ts +1 -1
  2. package/build/api/auth.d.ts +4 -3
  3. package/build/api/auth.js +8 -4
  4. package/build/api/index.d.ts +5 -4
  5. package/build/components/SimpleList/SimpleList.d.ts +1 -1
  6. package/build/components/SimpleList/SimpleList.js +3 -3
  7. package/build/constants/api.d.ts +2 -0
  8. package/build/constants/api.js +4 -0
  9. package/build/features/app/auth/authStore.js +1 -1
  10. package/build/features/app/connect/connectStore.js +21 -33
  11. package/build/features/app/connectExpress/connectExpressStore.d.ts +18 -5
  12. package/build/features/app/connectExpress/connectExpressStore.js +197 -6
  13. package/build/features/app/signIn/signInStore.js +13 -41
  14. package/build/features/brand/screens/BrandActivities/ActivitiesList.js +1 -1
  15. package/build/features/brand/screens/BrandInfo/SalesChannels.js +6 -6
  16. package/build/features/brand/screens/BrandInfo/Segments.js +1 -1
  17. package/build/features/brand/screens/BrandInfo/TeamSize.js +1 -1
  18. package/build/features/business/screens/Activities/ActivitiesList.js +1 -1
  19. package/build/features/connect/screens/Merchant/SalesChannels.js +4 -3
  20. package/build/features/connectExpress/ConnectExpress.d.ts +3 -2
  21. package/build/features/connectExpress/ConnectExpress.js +7 -14
  22. package/build/features/connectExpress/screens/CivilID/CivilID.js +13 -31
  23. package/build/features/connectExpress/screens/CivilID/IDNumber.js +0 -4
  24. package/build/features/connectExpress/screens/Mobile/Mobile.js +25 -49
  25. package/build/features/connectExpress/screens/NID/DOB.js +2 -2
  26. package/build/features/connectExpress/screens/NID/IDNumber.js +1 -5
  27. package/build/features/connectExpress/screens/NID/NID.js +11 -16
  28. package/build/features/connectExpress/screens/OTP/OTP.js +13 -23
  29. package/build/features/entity/screens/EntityCapital/ActivityList.js +1 -1
  30. package/build/features/shared/Address/CountryList.js +1 -1
  31. package/build/features/shared/Address/InputSelect.js +1 -1
  32. package/build/features/shared/SalesChannels/SalesChannel.d.ts +3 -2
  33. package/build/features/shared/SalesChannels/SalesChannel.js +25 -11
  34. package/build/hooks/index.d.ts +1 -0
  35. package/build/hooks/index.js +1 -0
  36. package/build/hooks/useCountry.d.ts +4 -0
  37. package/build/hooks/useCountry.js +7 -0
  38. package/build/index.d.ts +2 -2
  39. package/build/index.js +2 -3
  40. package/package.json +1 -1
  41. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +0 -0
  42. package/build/features/shared/UploadMultipleFile/UploadFile.js +0 -1
  43. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +0 -0
  44. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.js +0 -1
  45. package/build/features/shared/UploadMultipleFile/index.d.ts +0 -0
  46. package/build/features/shared/UploadMultipleFile/index.js +0 -1
@@ -9,27 +9,16 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
- var __rest = (this && this.__rest) || function (s, e) {
13
- var t = {};
14
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
- t[p] = s[p];
16
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
- t[p[i]] = s[p[i]];
20
- }
21
- return t;
22
- };
23
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
13
  import Box from '@mui/material/Box/Box';
25
14
  import { styled } from '@mui/material/styles';
26
15
  import * as React from 'react';
27
16
  import { useTranslation } from 'react-i18next';
28
17
  import Text from '../../../../components/Text';
29
- import { clearError, connectSelector, resetOTPScreen, verifyAuth } from '../../../app/connect/connectStore';
18
+ import { clearError, connectExpressSelector, verifyOtpAsync, resetOTPValue } from '../../../app/connectExpress/connectExpressStore';
30
19
  import Button from '../../../shared/Button';
31
20
  import { ScreenContainer } from '../../../shared/Containers';
32
- import { useAppDispatch, useAppSelector, useSetFromDefaultValues } from '../../../../hooks';
21
+ import { useAppDispatch, useAppSelector } from '../../../../hooks';
33
22
  import { handlePrevScreenStep } from '../../../../app/settings';
34
23
  import { useLanguage } from '../../../../hooks';
35
24
  import { AuthForType } from '../../../../@types';
@@ -61,29 +50,30 @@ var FormStyled = styled(Form)(function () { return ({
61
50
  var OTP = function () {
62
51
  var _a;
63
52
  var dispatch = useAppDispatch();
64
- var _b = useAppSelector(connectSelector), data = _b.data, loading = _b.loading, error = _b.error;
65
- var _c = data.otpData, responseBody = _c.responseBody, defaultValues = __rest(_c, ["responseBody"]);
53
+ var _b = useAppSelector(connectExpressSelector), data = _b.data, loading = _b.loading, error = _b.error;
54
+ var t = useTranslation().t;
55
+ var isAr = useLanguage().isAr;
66
56
  var methods = useForm({
67
57
  resolver: yupResolver(OTPValidation),
68
- defaultValues: defaultValues,
58
+ defaultValues: data.otpData,
69
59
  mode: 'onChange'
70
60
  });
71
- useSetFromDefaultValues(methods, defaultValues);
72
- var t = useTranslation().t;
73
- var isAr = useLanguage().isAr;
74
61
  var startWithNID = data.otpData.authFor === AuthForType.NATIONAL_ID;
75
62
  React.useEffect(function () {
76
63
  if (error)
77
64
  dispatch(clearError());
65
+ }, [methods.formState.isValid]);
66
+ React.useEffect(function () {
78
67
  return function () {
79
- dispatch(resetOTPScreen());
68
+ dispatch(resetOTPValue());
80
69
  };
81
- }, [methods.formState.isValid]);
70
+ }, []);
82
71
  var onSubmit = function (formData) {
83
- dispatch(verifyAuth(formData));
72
+ dispatch(verifyOtpAsync(formData));
84
73
  };
85
74
  var onBack = function () {
86
- dispatch(handlePrevScreenStep(startWithNID ? 'CONNECT_NID_STEP' : 'CONNECT_MOBILE_STEP'));
75
+ var screen = startWithNID ? 'CONNECT_EXPRESS_NID_STEP' : 'CONNECT_EXPRESS_MOBILE_STEP';
76
+ dispatch(handlePrevScreenStep(screen));
87
77
  };
88
78
  var disabled = !methods.formState.isValid || !!error;
89
79
  var phone = ((_a = data.mobileData.countryCode) === null || _a === void 0 ? void 0 : _a.idd_prefix) + (data.mobileData.mobile || '');
@@ -167,7 +167,7 @@ var ActivitiesList = function (_a) {
167
167
  var getSelectedActivityFlag = function (item) {
168
168
  return controlValue === null || controlValue === void 0 ? void 0 : controlValue.find(function (activity) { return activity.id === item.id; });
169
169
  };
170
- return (_jsxs(ScreenContainer, { children: [_jsxs(LabelContainerStyled, { children: [_jsx(InputLabelStyled, { children: t(isCR ? 'activities' : 'category') }), _jsx(Tooltip, __assign({ title: t('activities_name_hint'), onMouseOver: function () { return setIsHovered(true); }, onMouseLeave: function () { return setIsHovered(false); }, onTouchStartCapture: function () { return setIsHovered(true); } }, { children: isHovered ? _jsx(InfoIconStyled, {}) : _jsx(InfoOutlinedIconStyled, {}) }))] }), _jsxs(Box, { children: [_jsx(InputStyled, { readOnly: true, disabled: disabled, value: getSelectedActivities() || '', placeholder: isCR ? t('choose_activities') : t('category_name'), onClick: disabled ? undefined : !!anchorEl ? function () { return onCloseList(); } : onOpenList, endAdornment: disabled ? _jsx(_Fragment, {}) : _jsx(ExpandIcon, { anchorEl: !!anchorEl }) }), _jsx(Collapse, __assign({ in: !!anchorEl, timeout: 300 }, { children: _jsx(SimpleListStyled, { searchKeyPath: 'name.en', searchValuePath: isAr ? 'name.ar' : 'name.en', list: activitiesMenuList, onSelectItem: onSelectItem, renderItem: function (item) {
170
+ return (_jsxs(ScreenContainer, { children: [_jsxs(LabelContainerStyled, { children: [_jsx(InputLabelStyled, { children: t(isCR ? 'activities' : 'category') }), _jsx(Tooltip, __assign({ title: t('activities_name_hint'), onMouseOver: function () { return setIsHovered(true); }, onMouseLeave: function () { return setIsHovered(false); }, onTouchStartCapture: function () { return setIsHovered(true); } }, { children: isHovered ? _jsx(InfoIconStyled, {}) : _jsx(InfoOutlinedIconStyled, {}) }))] }), _jsxs(Box, { children: [_jsx(InputStyled, { readOnly: true, disabled: disabled, value: getSelectedActivities() || '', placeholder: isCR ? t('choose_activities') : t('category_name'), onClick: disabled ? undefined : !!anchorEl ? function () { return onCloseList(); } : onOpenList, endAdornment: disabled ? _jsx(_Fragment, {}) : _jsx(ExpandIcon, { anchorEl: !!anchorEl }) }), _jsx(Collapse, __assign({ in: !!anchorEl, timeout: 300 }, { children: _jsx(SimpleListStyled, { searchKeyPath: 'name.en', searchValuePath: ['name.ar', 'name.en'], list: activitiesMenuList, onSelectItem: onSelectItem, renderItem: function (item) {
171
171
  var _a, _b, _c;
172
172
  return (_jsxs(_Fragment, { children: [_jsx(Box, __assign({ display: 'flex' }, { children: _jsx(NameContainer, __assign({ isSelected: item.id === ((_a = getSelectedActivityFlag(item)) === null || _a === void 0 ? void 0 : _a.id) }, { children: isAr ? (_b = item === null || item === void 0 ? void 0 : item.name) === null || _b === void 0 ? void 0 : _b.ar : (_c = item === null || item === void 0 ? void 0 : item.name) === null || _c === void 0 ? void 0 : _c.en })) })), getSelectedActivityFlag(item) && _jsx(CheckIconStyled, {})] }));
173
173
  } }) }))] })] }));
@@ -80,7 +80,7 @@ function CountryList(_a) {
80
80
  return '';
81
81
  return isAr ? item.name.arabic : item.name.english;
82
82
  }, [isAr, list, value]);
83
- return (_jsxs(Box, { children: [_jsx(LabelContainerStyled, { children: _jsxs(InputLabelStyled, { children: [t(label), " ", isRequired && _jsx(MandatoryStyled, { children: "*" })] }) }), _jsxs(Box, { children: [_jsx(InputStyled, { readOnly: true, value: nameValue, placeholder: placeholder, onClick: handleListOpenClose, endAdornment: !disabled && _jsx(ExpandIcon, { anchorEl: !!anchorEl }) }), _jsx(Collapse, __assign({ in: !!anchorEl }, { children: _jsx(SimpleListStyled, { searchValuePath: 'name.english', searchKeyPath: 'name.english', list: list, onSelectItem: handleValueChange, renderItem: function (item) {
83
+ return (_jsxs(Box, { children: [_jsx(LabelContainerStyled, { children: _jsxs(InputLabelStyled, { children: [t(label), " ", isRequired && _jsx(MandatoryStyled, { children: "*" })] }) }), _jsxs(Box, { children: [_jsx(InputStyled, { readOnly: true, value: nameValue, placeholder: placeholder, onClick: handleListOpenClose, endAdornment: !disabled && _jsx(ExpandIcon, { anchorEl: !!anchorEl }) }), _jsx(Collapse, __assign({ in: !!anchorEl }, { children: _jsx(SimpleListStyled, { searchValuePath: ['name.english', 'name.arabic'], searchKeyPath: 'name.english', list: list, onSelectItem: handleValueChange, renderItem: function (item) {
84
84
  var _a, _b;
85
85
  var isChecked = item.countryId === value;
86
86
  return (_jsxs(_Fragment, { children: [_jsx(Box, __assign({ display: 'flex' }, { children: _jsx(NameContainer, __assign({ isSelected: isChecked }, { children: isAr ? (_a = item.name) === null || _a === void 0 ? void 0 : _a.arabic : (_b = item.name) === null || _b === void 0 ? void 0 : _b.english })) })), isChecked && _jsx(CheckIconStyled, {})] }));
@@ -141,7 +141,7 @@ function InputSelect(_a) {
141
141
  return React.useMemo(function () {
142
142
  if (data.length === 0 && countryIso2)
143
143
  return (_jsx(InputText, { label: label, onChange: function (value) { return onSelect(value); }, placeholder: placeholder, isRequired: isRequired, value: value, error: error }, 'input-text'));
144
- return (_jsxs(Box, { children: [_jsx(LabelContainerStyled, { children: _jsxs(InputLabelStyled, { children: [t(label), " ", isRequired && _jsx(MandatoryStyled, { children: "*" })] }) }), _jsxs(Box, { children: [_jsx(InputStyled, { readOnly: true, value: nameValue, placeholder: placeholder, onClick: handleListOpenClose, endAdornment: loading ? _jsx(CircularProgress, { size: 25, thickness: 5 }) : _jsx(ExpandIcon, { anchorEl: !!anchorEl }) }), _jsx(Collapse, __assign({ in: !!anchorEl }, { children: _jsx(SimpleListStyled, { searchValuePath: 'name.en', searchKeyPath: 'name.en', list: data, onSelectItem: function (item) {
144
+ return (_jsxs(Box, { children: [_jsx(LabelContainerStyled, { children: _jsxs(InputLabelStyled, { children: [t(label), " ", isRequired && _jsx(MandatoryStyled, { children: "*" })] }) }), _jsxs(Box, { children: [_jsx(InputStyled, { readOnly: true, value: nameValue, placeholder: placeholder, onClick: handleListOpenClose, endAdornment: loading ? _jsx(CircularProgress, { size: 25, thickness: 5 }) : _jsx(ExpandIcon, { anchorEl: !!anchorEl }) }), _jsx(Collapse, __assign({ in: !!anchorEl }, { children: _jsx(SimpleListStyled, { searchValuePath: ['name.en', 'name.ar'], searchKeyPath: 'name.en', list: data, onSelectItem: function (item) {
145
145
  onSelect(item.id);
146
146
  setAnchorEl(null);
147
147
  }, renderItem: function (item) {
@@ -4,7 +4,8 @@ interface SalesChannelProps {
4
4
  list: SaleChannel[];
5
5
  error: string | undefined;
6
6
  onChange: (channel: SaleChannel[]) => void;
7
- defaultValues?: SaleChannel[];
7
+ defaultValue?: SaleChannel[];
8
+ selectFirstIconListener?: string | number | boolean;
8
9
  }
9
- declare const _default: React.MemoExoticComponent<({ list, onChange, error, defaultValues }: SalesChannelProps) => JSX.Element>;
10
+ declare const _default: React.MemoExoticComponent<({ list, onChange, error, defaultValue, selectFirstIconListener }: SalesChannelProps) => JSX.Element>;
10
11
  export default _default;
@@ -74,9 +74,9 @@ var CollapseStyled = styled(Collapse)(function (_a) {
74
74
  });
75
75
  });
76
76
  var SalesChannel = function (_a) {
77
- var _b = _a.list, list = _b === void 0 ? [] : _b, onChange = _a.onChange, error = _a.error, _c = _a.defaultValues, defaultValues = _c === void 0 ? [] : _c;
78
- var _d = React.useState([]), selectedSalas = _d[0], setSelectedSales = _d[1];
77
+ var _b = _a.list, list = _b === void 0 ? [] : _b, onChange = _a.onChange, error = _a.error, _c = _a.defaultValue, defaultValue = _c === void 0 ? [] : _c, _d = _a.selectFirstIconListener, selectFirstIconListener = _d === void 0 ? '' : _d;
79
78
  var _e = React.useState(''), activeSaleIconId = _e[0], setActiveSaleIconId = _e[1];
79
+ var _f = React.useState([]), selectedSalas = _f[0], setSelectedSales = _f[1];
80
80
  var t = useTranslation().t;
81
81
  var isAr = useLanguage().isAr;
82
82
  var isChecked = function (id) {
@@ -85,19 +85,28 @@ var SalesChannel = function (_a) {
85
85
  var onChangeActiveSaleIcon = function (id) {
86
86
  setActiveSaleIconId(id);
87
87
  };
88
+ var selectFirstIcon = function (salesChannels) {
89
+ var firstItem = salesChannels.at(0);
90
+ if (firstItem)
91
+ onChangeActiveSaleIcon(findFirstId([firstItem]));
92
+ };
93
+ var selectLastIcon = function (salesChannels) {
94
+ var lastItem = salesChannels.at(-1);
95
+ if (lastItem)
96
+ onChangeActiveSaleIcon(findFirstId([lastItem]));
97
+ };
88
98
  var onSelectSalesChannel = function (channel) {
89
99
  if (isChecked(channel.id)) {
90
100
  var newSelectedSales = selectedSalas.filter(function (item) { return item.id !== channel.id; });
91
101
  setSelectedSales(newSelectedSales);
92
102
  onChange(newSelectedSales);
93
- var item = newSelectedSales.at(-1);
94
- if (item)
95
- onChangeActiveSaleIcon(findFirstId([item]));
103
+ selectLastIcon(newSelectedSales);
96
104
  return;
97
105
  }
98
106
  onChangeActiveSaleIcon(findFirstId([channel]));
99
107
  setSelectedSales(__spreadArray(__spreadArray([], selectedSalas, true), [channel], false));
100
108
  onChange(__spreadArray(__spreadArray([], selectedSalas, true), [channel], false));
109
+ selectLastIcon(__spreadArray(__spreadArray([], selectedSalas, true), [channel], false));
101
110
  };
102
111
  var onValueChange = function (value, id) {
103
112
  var newSelectedSales = selectedSalas.map(function (item) {
@@ -120,13 +129,18 @@ var SalesChannel = function (_a) {
120
129
  onChange(newSelectedSales);
121
130
  };
122
131
  React.useEffect(function () {
123
- if (defaultValues.length >= 0) {
124
- setSelectedSales(defaultValues);
125
- var lastItem = defaultValues.at(-1);
126
- if (lastItem)
127
- onChangeActiveSaleIcon(findFirstId([lastItem]));
132
+ if (defaultValue.length && !activeSaleIconId) {
133
+ selectFirstIcon(defaultValue);
134
+ }
135
+ }, [defaultValue]);
136
+ React.useEffect(function () {
137
+ setSelectedSales(defaultValue);
138
+ }, [defaultValue]);
139
+ React.useEffect(function () {
140
+ if (defaultValue.length) {
141
+ selectFirstIcon(defaultValue);
128
142
  }
129
- }, [defaultValues]);
143
+ }, [selectFirstIconListener]);
130
144
  return (_jsxs(_Fragment, { children: [_jsxs(Box, __assign({ sx: { mb: 3 } }, { children: [_jsxs(InputLabelStyled, { children: [t('channel_of_service'), " ", _jsx(MandatoryStyled, { children: "*" })] }), list.map(function (channel, index) {
131
145
  var _a, _b;
132
146
  return (_jsxs(ContainerStyled, { children: [_jsx(CheckBoxStyled, { id: channel.id, disableRipple: true, disableFocusRipple: true, focusRipple: false, checked: isChecked(channel.id), onChange: function () { return onSelectSalesChannel(channel); } }), _jsxs(TextStyled, { children: [isAr ? (_a = channel === null || channel === void 0 ? void 0 : channel.name) === null || _a === void 0 ? void 0 : _a.ar : (_b = channel === null || channel === void 0 ? void 0 : channel.name) === null || _b === void 0 ? void 0 : _b.en, " "] })] }, "".concat(channel.id, "-indx").concat(index)));
@@ -13,3 +13,4 @@ export * from './useStepStartedListener';
13
13
  export * from './useScreen';
14
14
  export * from './useSetFromDefaultValues';
15
15
  export * from './useCountUp';
16
+ export * from './useCountry';
@@ -13,3 +13,4 @@ export * from './useStepStartedListener';
13
13
  export * from './useScreen';
14
14
  export * from './useSetFromDefaultValues';
15
15
  export * from './useCountUp';
16
+ export * from './useCountry';
@@ -0,0 +1,4 @@
1
+ export declare const useCountry: (code: string) => {
2
+ isKuwait: boolean;
3
+ isSaudi: boolean;
4
+ };
@@ -0,0 +1,7 @@
1
+ import { isKW } from '../utils';
2
+ import { useMemo } from 'react';
3
+ export var useCountry = function (code) {
4
+ var isKuwait = useMemo(function () { return isKW(code); }, [code]);
5
+ var isSaudi = useMemo(function () { return isKW(code); }, [code]);
6
+ return { isKuwait: isKuwait, isSaudi: isSaudi };
7
+ };
package/build/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import './index.css';
2
2
  import './i18n';
3
3
  import { ConnectLib, renderConnectLib, ConnectLibProps, unmountConnectLib } from './features/connect';
4
- import { ConnectExpressLib, renderConnectExpressLib, ConnectExpressLibProps, unmountConnectExpressLib } from './features/connectExpress';
4
+ import { ConnectExpressLib, renderConnectExpressLib, ConnectExpressLibProps } from './features/connectExpress';
5
5
  import { BusinessLib, renderBusinessLib, BusinessLibProps, unmountBusinessLib } from './features/business';
6
6
  import { PasswordLib, renderPasswordLib, PasswordLibProps, unmountPasswordLib } from './features/password';
7
7
  import { IndividualLib, renderIndividualLib, IndividualLibProps, unmountIndividualLib } from './features/individual';
@@ -12,4 +12,4 @@ import { EntityLib, EntityLibProps, renderEntityLib, unmountEntityLib } from './
12
12
  import { BrandLib, BrandLibProps, renderBrandLib, unmountBrandLib } from './features/brand';
13
13
  import { AuthLib, AuthLibProps, renderAuthLib, unmountAuthLib } from './features/auth';
14
14
  export type { ConnectLibProps, ConnectExpressLibProps, BusinessLibProps, PasswordLibProps, IndividualLibProps, BankLibProps, TaxLibProps, EntityLibProps, BrandLibProps, AuthLibProps, SignInLibProps };
15
- export { ConnectLib, renderConnectLib, unmountConnectLib, ConnectExpressLib, renderConnectExpressLib, unmountConnectExpressLib, BusinessLib, renderBusinessLib, unmountBusinessLib, PasswordLib, renderPasswordLib, unmountPasswordLib, IndividualLib, renderIndividualLib, unmountIndividualLib, BankLib, renderBankLib, unmountBankLib, TaxLib, renderTaxLib, unmountTaxLib, EntityLib, renderEntityLib, unmountEntityLib, BrandLib, unmountBrandLib, renderBrandLib, SignInLib, renderSignInLib, unmountSignInLib, AuthLib, renderAuthLib, unmountAuthLib };
15
+ export { ConnectLib, renderConnectLib, unmountConnectLib, ConnectExpressLib, renderConnectExpressLib, BusinessLib, renderBusinessLib, unmountBusinessLib, PasswordLib, renderPasswordLib, unmountPasswordLib, IndividualLib, renderIndividualLib, unmountIndividualLib, BankLib, renderBankLib, unmountBankLib, TaxLib, renderTaxLib, unmountTaxLib, EntityLib, renderEntityLib, unmountEntityLib, BrandLib, unmountBrandLib, renderBrandLib, SignInLib, renderSignInLib, unmountSignInLib, AuthLib, renderAuthLib, unmountAuthLib };
package/build/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import './index.css';
2
2
  import './i18n';
3
3
  import { ConnectLib, renderConnectLib, unmountConnectLib } from './features/connect';
4
- import { ConnectExpressLib, renderConnectExpressLib, unmountConnectExpressLib } from './features/connectExpress';
4
+ import { ConnectExpressLib, renderConnectExpressLib } from './features/connectExpress';
5
5
  import { BusinessLib, renderBusinessLib, unmountBusinessLib } from './features/business';
6
6
  import { PasswordLib, renderPasswordLib, unmountPasswordLib } from './features/password';
7
7
  import { IndividualLib, renderIndividualLib, unmountIndividualLib } from './features/individual';
@@ -11,12 +11,11 @@ import { SignInLib, renderSignInLib, unmountSignInLib } from './features/signIn'
11
11
  import { EntityLib, renderEntityLib, unmountEntityLib } from './features/entity';
12
12
  import { BrandLib, renderBrandLib, unmountBrandLib } from './features/brand';
13
13
  import { AuthLib, renderAuthLib, unmountAuthLib } from './features/auth';
14
- export { ConnectLib, renderConnectLib, unmountConnectLib, ConnectExpressLib, renderConnectExpressLib, unmountConnectExpressLib, BusinessLib, renderBusinessLib, unmountBusinessLib, PasswordLib, renderPasswordLib, unmountPasswordLib, IndividualLib, renderIndividualLib, unmountIndividualLib, BankLib, renderBankLib, unmountBankLib, TaxLib, renderTaxLib, unmountTaxLib, EntityLib, renderEntityLib, unmountEntityLib, BrandLib, unmountBrandLib, renderBrandLib, SignInLib, renderSignInLib, unmountSignInLib, AuthLib, renderAuthLib, unmountAuthLib };
14
+ export { ConnectLib, renderConnectLib, unmountConnectLib, ConnectExpressLib, renderConnectExpressLib, BusinessLib, renderBusinessLib, unmountBusinessLib, PasswordLib, renderPasswordLib, unmountPasswordLib, IndividualLib, renderIndividualLib, unmountIndividualLib, BankLib, renderBankLib, unmountBankLib, TaxLib, renderTaxLib, unmountTaxLib, EntityLib, renderEntityLib, unmountEntityLib, BrandLib, unmountBrandLib, renderBrandLib, SignInLib, renderSignInLib, unmountSignInLib, AuthLib, renderAuthLib, unmountAuthLib };
15
15
  window['TapAuth'] = {
16
16
  renderConnectLib: renderConnectLib,
17
17
  unmountConnectLib: unmountConnectLib,
18
18
  renderConnectExpressLib: renderConnectExpressLib,
19
- unmountConnectExpressLib: unmountConnectExpressLib,
20
19
  renderBusinessLib: renderBusinessLib,
21
20
  unmountBusinessLib: unmountBusinessLib,
22
21
  renderPasswordLib: renderPasswordLib,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.1.37-test",
3
+ "version": "2.1.38-test",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- "use strict";