@openlettermarketing/olc-react-sdk 2.1.5-beta.6 → 2.1.5-beta.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.
@@ -1 +1 @@
1
- export const SDK_VERSION: "2.1.5-beta.6";
1
+ export const SDK_VERSION: "2.1.5-beta.7";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openlettermarketing/olc-react-sdk",
3
3
  "private": false,
4
- "version": "2.1.5-beta.6",
4
+ "version": "2.1.5-beta.7",
5
5
  "type": "module",
6
6
  "description": "Simplify template builder integration for any product.",
7
7
  "main": "build/index.js",
@@ -623,11 +623,13 @@ const CustomQRCode = {
623
623
  };
624
624
 
625
625
  const handleEditQRCode = async (qrCode: any) => {
626
+ console.log("qrCode.utm_source:::",qrCode.utm_source);
627
+ console.log("qrCode.utm_medium",qrCode.utm_medium)
626
628
  setIsEditing(true);
627
629
  setSelectedQR(qrCode);
628
630
  dispatch(setQrUrl(qrCode.url));
629
- dispatch(setUtmSource(qrCode.utm_source ?? 'direct mail'));
630
- dispatch(setUtmMedium(qrCode.utm_medium ?? 'QR Code'));
631
+ dispatch(setUtmSource(qrCode.utm_source || 'direct mail'));
632
+ dispatch(setUtmMedium(qrCode.utm_medium || 'QR Code'));
631
633
  dispatch(setUtmCampaignName(qrCode.utm_campaign_name || ''));
632
634
  dispatch(setCustomUtms(qrCode.custom_utms || {}));
633
635
 
package/version.js CHANGED
@@ -1 +1 @@
1
- export const SDK_VERSION = '2.1.5-beta.6';
1
+ export const SDK_VERSION = '2.1.5-beta.7';