@openlettermarketing/olc-react-sdk 2.1.6 → 2.1.7
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/build/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION: "2.1.
|
|
1
|
+
export const SDK_VERSION: "2.1.7";
|
package/package.json
CHANGED
|
@@ -625,11 +625,11 @@ const CustomQRCode = {
|
|
|
625
625
|
const handleEditQRCode = async (qrCode: any) => {
|
|
626
626
|
setIsEditing(true);
|
|
627
627
|
setSelectedQR(qrCode);
|
|
628
|
-
dispatch(setQrUrl(qrCode.url));
|
|
629
|
-
dispatch(setUtmSource(qrCode.
|
|
630
|
-
dispatch(setUtmMedium(qrCode.
|
|
631
|
-
dispatch(setUtmCampaignName(qrCode.utm_campaign_name
|
|
632
|
-
dispatch(setCustomUtms(qrCode.custom_utms
|
|
628
|
+
dispatch(setQrUrl(qrCode.url ?? ''));
|
|
629
|
+
dispatch(setUtmSource(qrCode.utm_source ?? ''));
|
|
630
|
+
dispatch(setUtmMedium(qrCode.utm_medium ?? ''));
|
|
631
|
+
dispatch(setUtmCampaignName(qrCode.utm_campaign_name ?? ''));
|
|
632
|
+
dispatch(setCustomUtms(qrCode.custom_utms ?? {}));
|
|
633
633
|
|
|
634
634
|
handleDialogChange('qr-modal');
|
|
635
635
|
setIsActionsOpen(null);
|
|
@@ -678,8 +678,8 @@ const CustomQRCode = {
|
|
|
678
678
|
name: utmCampaignName,
|
|
679
679
|
url: url,
|
|
680
680
|
qrImagePath: uploadedFile,
|
|
681
|
-
utm_source: utmSource,
|
|
682
|
-
utm_medium: utmMedium,
|
|
681
|
+
utm_source: utmSource || null,
|
|
682
|
+
utm_medium: utmMedium || null,
|
|
683
683
|
utm_campaign_name: utmCampaignName,
|
|
684
684
|
custom_utms: customUtms,
|
|
685
685
|
},
|
package/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = '2.1.
|
|
1
|
+
export const SDK_VERSION = '2.1.7';
|