@mychoice/mychoice-sdk-store 2.2.19 → 2.2.21-hotfix

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.
@@ -0,0 +1,4 @@
1
+ import { UseHandlerQuoterPhoneInterface } from './interfaces';
2
+ export declare const useHandlerCarQuoterPhone: () => UseHandlerQuoterPhoneInterface;
3
+ export declare const useHandlerHomeQuoterPhone: () => UseHandlerQuoterPhoneInterface;
4
+ export declare const useHandlerLifeQuoterPhone: () => UseHandlerQuoterPhoneInterface;
@@ -0,0 +1 @@
1
+ export { useHandlerCarQuoterPhone, useHandlerHomeQuoterPhone, useHandlerLifeQuoterPhone } from './QuoterPhoneDataHandler';
@@ -0,0 +1,4 @@
1
+ import { DataHandlerRequestState } from '../shared';
2
+ export type UseHandlerQuoterPhoneInterface = DataHandlerRequestState & {
3
+ validatePhone: (phone: string) => void;
4
+ };
package/dist/esm/index.js CHANGED
@@ -5951,7 +5951,8 @@ const useValidationVehicle = () => {
5951
5951
  return item;
5952
5952
  });
5953
5953
  });
5954
- if (isAbReformActive) {
5954
+ // MyChoice does not force AB review; the user can proceed without acknowledging.
5955
+ if (isAbReformActive && appConfigState.appType !== AppTypes.MyChoice) {
5955
5956
  vehicleState.items.forEach((item) => {
5956
5957
  if (!item.accidentbenefits.abAcknowledged) {
5957
5958
  errors.push('abAcknowledged');