@mychoice/mychoice-sdk-store 2.1.13 → 2.1.17
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.
- package/dist/cjs/index.js +10 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +10 -5
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -2
package/dist/esm/index.js
CHANGED
|
@@ -5119,7 +5119,7 @@ const CarQuoteDataHandler = () => {
|
|
|
5119
5119
|
};
|
|
5120
5120
|
const postRequestQuoteOnliaUrl = async (isLoader, redirectUrl) => {
|
|
5121
5121
|
if (isLoader) {
|
|
5122
|
-
openLoader('
|
|
5122
|
+
openLoader('Just a moment, we are repopulating your details on our partners site.');
|
|
5123
5123
|
}
|
|
5124
5124
|
const requestBody = constructRequestBody(true);
|
|
5125
5125
|
if (requestBody) {
|
|
@@ -5161,11 +5161,12 @@ const CarQuoteDataHandler = () => {
|
|
|
5161
5161
|
}
|
|
5162
5162
|
else if (!isRequested) {
|
|
5163
5163
|
if (!isRecalc) {
|
|
5164
|
+
const stringWithLineBreak = 'Sit tight, while we work hard to save you money...\nPlease note: As insurance premiums are based on the information you provide it is important that it be 100% accurate and up to date. If you are not sure it is best to check and edit your information in the next step.';
|
|
5164
5165
|
if (appConfigState.appType === AppTypes.TheBig) {
|
|
5165
5166
|
openLoader('Please wait while we fetch your lowest rates from our insurance partners.');
|
|
5166
5167
|
}
|
|
5167
5168
|
else {
|
|
5168
|
-
openLoader(
|
|
5169
|
+
openLoader(stringWithLineBreak);
|
|
5169
5170
|
}
|
|
5170
5171
|
}
|
|
5171
5172
|
else {
|
|
@@ -5423,7 +5424,7 @@ const HomeQuoteDataHandler = () => {
|
|
|
5423
5424
|
};
|
|
5424
5425
|
const postRequestQuoteOnliaUrl = async (isLoader, redirectUrl) => {
|
|
5425
5426
|
if (isLoader) {
|
|
5426
|
-
openLoader('
|
|
5427
|
+
openLoader('Just a moment, we are repopulating your details on our partners site.');
|
|
5427
5428
|
}
|
|
5428
5429
|
const requestBody = constructRequestBody(true);
|
|
5429
5430
|
if (requestBody) {
|
|
@@ -5457,11 +5458,13 @@ const HomeQuoteDataHandler = () => {
|
|
|
5457
5458
|
}
|
|
5458
5459
|
else if (!isRequested) {
|
|
5459
5460
|
if (!isRecalc) {
|
|
5461
|
+
// eslint-disable-next-line no-useless-concat
|
|
5462
|
+
const stringWithLineBreak = 'Sit tight, while we work hard to save you money...\nPlease note: As insurance premiums are based on the information you provide it is important that it be 100% accurate and up to date. If you are not sure it is best to check and edit your information in the next step.';
|
|
5460
5463
|
if (appConfigState.appType === AppTypes.TheBig) {
|
|
5461
5464
|
openLoader('Please wait while we fetch your lowest rates from our insurance partners.');
|
|
5462
5465
|
}
|
|
5463
5466
|
else {
|
|
5464
|
-
openLoader(
|
|
5467
|
+
openLoader(stringWithLineBreak);
|
|
5465
5468
|
}
|
|
5466
5469
|
}
|
|
5467
5470
|
else {
|
|
@@ -5598,8 +5601,10 @@ const LifeQuoteDataHandler = () => {
|
|
|
5598
5601
|
checkIsExpiredWithModal();
|
|
5599
5602
|
}
|
|
5600
5603
|
else if (!isRequested) {
|
|
5604
|
+
// eslint-disable-next-line no-useless-concat
|
|
5605
|
+
const stringWithLineBreak = 'Sit tight, while we work hard to save you money...\nPlease note: As insurance premiums are based on the information you provide it is important that it be 100% accurate and up to date. If you are not sure it is best to check and edit your information in the next step.';
|
|
5601
5606
|
if (!isRecalc) {
|
|
5602
|
-
openLoader(
|
|
5607
|
+
openLoader(stringWithLineBreak);
|
|
5603
5608
|
}
|
|
5604
5609
|
else {
|
|
5605
5610
|
openLoader('Please wait while we fetch your lowest rates from our insurance partners.');
|