@openlettermarketing/olc-react-sdk 2.1.5-beta.5 → 2.1.5-beta.6

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.5";
1
+ export const SDK_VERSION: "2.1.5-beta.6";
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.5",
4
+ "version": "2.1.5-beta.6",
5
5
  "type": "module",
6
6
  "description": "Simplify template builder integration for any product.",
7
7
  "main": "build/index.js",
@@ -626,8 +626,8 @@ const CustomQRCode = {
626
626
  setIsEditing(true);
627
627
  setSelectedQR(qrCode);
628
628
  dispatch(setQrUrl(qrCode.url));
629
- dispatch(setUtmSource(qrCode.utmSource || 'direct mail'));
630
- dispatch(setUtmMedium(qrCode.utmMedium || 'QR Code'));
629
+ dispatch(setUtmSource(qrCode.utm_source ?? 'direct mail'));
630
+ dispatch(setUtmMedium(qrCode.utm_medium ?? 'QR Code'));
631
631
  dispatch(setUtmCampaignName(qrCode.utm_campaign_name || ''));
632
632
  dispatch(setCustomUtms(qrCode.custom_utms || {}));
633
633
 
package/version.js CHANGED
@@ -1 +1 @@
1
- export const SDK_VERSION = '2.1.5-beta.5';
1
+ export const SDK_VERSION = '2.1.5-beta.6';