@openlettermarketing/olc-react-sdk 2.1.5-beta.4 → 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.4";
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.4",
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/src/index.tsx CHANGED
@@ -223,7 +223,7 @@ const TemplateBuilder = ({
223
223
  // // onEditQRCode: updateQRCode,
224
224
  // // allowedTemplateSections: ['my_templates'],
225
225
  // // onGetCustomFields: getAllCustomFields,
226
- // // restrictedProducts: [9, 11, 13, 18 ],
226
+ // restrictedProducts: [38 ],
227
227
  // // disallowedProducts: ['real_penned_letter', 'postcards'],
228
228
  // // olcTemplate: olcTemplateData,
229
229
  // // onGetOneTemplate: getOneTemplate,
package/version.js CHANGED
@@ -1 +1 @@
1
- export const SDK_VERSION = '2.1.5-beta.4';
1
+ export const SDK_VERSION = '2.1.5-beta.6';