@tap-payments/auth-jsconnect 1.0.25 → 1.0.26

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.
@@ -232,7 +232,14 @@ export var updateLeadIndividual = createAsyncThunk('updateLeadIndividual', funct
232
232
  : undefined
233
233
  },
234
234
  step_name: CONNECT_STEP_NAMES.UPDATE_LEAD_INDIVIDUAL,
235
- encryption_contract: ['name', 'contact.email', 'contact.phone.country_code', 'contact.phone.number']
235
+ encryption_contract: [
236
+ 'name.first',
237
+ 'name.middle',
238
+ 'name.last',
239
+ 'contact.email',
240
+ 'contact.phone.country_code',
241
+ 'contact.phone.number'
242
+ ]
236
243
  };
237
244
  return [4, API.leadService.updateLead(payload, { headers: headers })];
238
245
  case 1:
@@ -115,6 +115,6 @@ var Mobile = function (_a) {
115
115
  var listActive = isBusinessListActive || isCountryListActive;
116
116
  var isLoading = settingsStore.loading || loading;
117
117
  var disabled = !methods.formState.isValid || !!error;
118
- return (_jsxs(ScreenContainer, { children: [_jsx(MIDTitle, { show: !listActive, title: t('join_our_community'), description: t('ide_terms_and_conditions_description') }), _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsxs(InputsContainerStyled, { children: [_jsx(BusinessCountry, { show: !isCountryListActive }), _jsx(MobileNumber, { show: !isBusinessListActive, setMobileLength: setMobileLength, countries: data.countries, onListOpen: function () { return handleMenuListClick(ListType.CountryCodeList); }, onListClose: function () { return handleMenuListClick(); } })] }), _jsxs(Collapse, __assign({ in: !listActive }, { children: [_jsx(Button, __assign({ isAr: isAr, disabled: disabled, disableBack: true, loading: isLoading, error: t(error || '') }, { children: t('next') })), _jsxs(OrBoxStyled, { children: [_jsx(DividerStyled, {}), _jsx(TextStyled, { children: t('or') }), _jsx(DividerStyled, {})] }), _jsx(AbsherButton, __assign({ isAr: isAr, onClick: onAbsherButtonClicked }, { children: t('absher_button_label') }))] }))] })) }))] }));
118
+ return (_jsxs(ScreenContainer, { children: [_jsx(MIDTitle, { show: !listActive, title: t('join_our_community'), description: t('ide_terms_and_conditions_description') }), _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsxs(InputsContainerStyled, { children: [_jsx(BusinessCountry, { show: !isCountryListActive }), _jsx(MobileNumber, { show: !isBusinessListActive, setMobileLength: setMobileLength, countries: data.countries, onListOpen: function () { return handleMenuListClick(ListType.CountryCodeList); }, onListClose: function () { return handleMenuListClick(); } })] }), _jsxs(Collapse, __assign({ in: !listActive }, { children: [_jsx(Button, __assign({ isAr: isAr, disabled: disabled, disableBack: true, loading: isLoading, error: t(error || '') }, { children: t('next') })), _jsxs(OrBoxStyled, { children: [_jsx(DividerStyled, {}), _jsx(TextStyled, { children: t('or') }), _jsx(DividerStyled, {})] }), _jsx(AbsherButton, __assign({ disabled: loading, isAr: isAr, onClick: onAbsherButtonClicked }, { children: t('absher_button_label') }))] }))] })) }))] }));
119
119
  };
120
120
  export default React.memo(Mobile);
@@ -67,6 +67,7 @@ var ButtonStyled = styled(Button, { shouldForwardProp: function (prop) { return
67
67
  var BackButtonStyled = styled(Button, { shouldForwardProp: function (prop) { return prop !== 'isAr'; } })(function (_a) {
68
68
  var theme = _a.theme, isAr = _a.isAr;
69
69
  return ({
70
+ minWidth: theme.spacing(5),
70
71
  paddingInlineStart: theme.spacing(2.5),
71
72
  width: '10%',
72
73
  zIndex: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",