@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/cjs/index.js
CHANGED
|
@@ -5128,7 +5128,7 @@ const CarQuoteDataHandler = () => {
|
|
|
5128
5128
|
};
|
|
5129
5129
|
const postRequestQuoteOnliaUrl = async (isLoader, redirectUrl) => {
|
|
5130
5130
|
if (isLoader) {
|
|
5131
|
-
openLoader('
|
|
5131
|
+
openLoader('Just a moment, we are repopulating your details on our partners site.');
|
|
5132
5132
|
}
|
|
5133
5133
|
const requestBody = constructRequestBody(true);
|
|
5134
5134
|
if (requestBody) {
|
|
@@ -5170,11 +5170,12 @@ const CarQuoteDataHandler = () => {
|
|
|
5170
5170
|
}
|
|
5171
5171
|
else if (!isRequested) {
|
|
5172
5172
|
if (!isRecalc) {
|
|
5173
|
+
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.';
|
|
5173
5174
|
if (appConfigState.appType === mychoiceSdkComponents.AppTypes.TheBig) {
|
|
5174
5175
|
openLoader('Please wait while we fetch your lowest rates from our insurance partners.');
|
|
5175
5176
|
}
|
|
5176
5177
|
else {
|
|
5177
|
-
openLoader(
|
|
5178
|
+
openLoader(stringWithLineBreak);
|
|
5178
5179
|
}
|
|
5179
5180
|
}
|
|
5180
5181
|
else {
|
|
@@ -5432,7 +5433,7 @@ const HomeQuoteDataHandler = () => {
|
|
|
5432
5433
|
};
|
|
5433
5434
|
const postRequestQuoteOnliaUrl = async (isLoader, redirectUrl) => {
|
|
5434
5435
|
if (isLoader) {
|
|
5435
|
-
openLoader('
|
|
5436
|
+
openLoader('Just a moment, we are repopulating your details on our partners site.');
|
|
5436
5437
|
}
|
|
5437
5438
|
const requestBody = constructRequestBody(true);
|
|
5438
5439
|
if (requestBody) {
|
|
@@ -5466,11 +5467,13 @@ const HomeQuoteDataHandler = () => {
|
|
|
5466
5467
|
}
|
|
5467
5468
|
else if (!isRequested) {
|
|
5468
5469
|
if (!isRecalc) {
|
|
5470
|
+
// eslint-disable-next-line no-useless-concat
|
|
5471
|
+
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.';
|
|
5469
5472
|
if (appConfigState.appType === mychoiceSdkComponents.AppTypes.TheBig) {
|
|
5470
5473
|
openLoader('Please wait while we fetch your lowest rates from our insurance partners.');
|
|
5471
5474
|
}
|
|
5472
5475
|
else {
|
|
5473
|
-
openLoader(
|
|
5476
|
+
openLoader(stringWithLineBreak);
|
|
5474
5477
|
}
|
|
5475
5478
|
}
|
|
5476
5479
|
else {
|
|
@@ -5607,8 +5610,10 @@ const LifeQuoteDataHandler = () => {
|
|
|
5607
5610
|
checkIsExpiredWithModal();
|
|
5608
5611
|
}
|
|
5609
5612
|
else if (!isRequested) {
|
|
5613
|
+
// eslint-disable-next-line no-useless-concat
|
|
5614
|
+
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.';
|
|
5610
5615
|
if (!isRecalc) {
|
|
5611
|
-
openLoader(
|
|
5616
|
+
openLoader(stringWithLineBreak);
|
|
5612
5617
|
}
|
|
5613
5618
|
else {
|
|
5614
5619
|
openLoader('Please wait while we fetch your lowest rates from our insurance partners.');
|