@mychoice/mychoice-sdk-modules 2.2.4 → 2.2.5
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 +18 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +18 -0
- package/dist/esm/index.js.map +1 -1
- package/package.json +3 -3
package/dist/cjs/index.js
CHANGED
|
@@ -4428,6 +4428,12 @@ const RedirectWithSearchParams = ({ to, path }) => {
|
|
|
4428
4428
|
payload: { utmCampaign: query.utm_campaign },
|
|
4429
4429
|
});
|
|
4430
4430
|
}
|
|
4431
|
+
if (query.utm_producer) {
|
|
4432
|
+
dispatchCarDiscountState({
|
|
4433
|
+
type: mychoiceSdkStore.StoreFormCarDiscountActionTypes.FormCarDiscountQuoterUtmProducerSet,
|
|
4434
|
+
payload: { utmProducer: query.utm_producer },
|
|
4435
|
+
});
|
|
4436
|
+
}
|
|
4431
4437
|
if (path === 'broker' || toBasePath === 'car') {
|
|
4432
4438
|
dispatchCarDiscountState({
|
|
4433
4439
|
type: mychoiceSdkStore.StoreFormCarDiscountActionTypes.FormCarDiscountQuoterBrokerInfoSet,
|
|
@@ -4450,6 +4456,12 @@ const RedirectWithSearchParams = ({ to, path }) => {
|
|
|
4450
4456
|
payload: { utmCampaign: query.utm_campaign },
|
|
4451
4457
|
});
|
|
4452
4458
|
}
|
|
4459
|
+
if (query.utm_producer) {
|
|
4460
|
+
dispatchHomeDiscountState({
|
|
4461
|
+
type: mychoiceSdkStore.StoreFormHomeDiscountActionTypes.FormHomeUtmProducerSet,
|
|
4462
|
+
payload: { utmProducer: query.utm_producer },
|
|
4463
|
+
});
|
|
4464
|
+
}
|
|
4453
4465
|
if (path === 'broker' || ['home', 'condo', 'tenant'].includes(toBasePath)) {
|
|
4454
4466
|
dispatchHomeDiscountState({
|
|
4455
4467
|
type: mychoiceSdkStore.StoreFormHomeDiscountActionTypes.FormHomeQuoterBrokerInfoSet,
|
|
@@ -4470,6 +4482,12 @@ const RedirectWithSearchParams = ({ to, path }) => {
|
|
|
4470
4482
|
payload: { utmCampaign: query.utm_campaign },
|
|
4471
4483
|
});
|
|
4472
4484
|
}
|
|
4485
|
+
if (query.utm_producer) {
|
|
4486
|
+
dispatchLifeApplicantState({
|
|
4487
|
+
type: mychoiceSdkStore.StoreFormLifeApplicantActionTypes.FormLifeUtmProducerSet,
|
|
4488
|
+
payload: { utmProducer: query.utm_producer },
|
|
4489
|
+
});
|
|
4490
|
+
}
|
|
4473
4491
|
}
|
|
4474
4492
|
}
|
|
4475
4493
|
}
|