@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.
package/build/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION: "2.1.5-beta.
|
|
1
|
+
export const SDK_VERSION: "2.1.5-beta.6";
|
package/package.json
CHANGED
|
@@ -626,8 +626,8 @@ const CustomQRCode = {
|
|
|
626
626
|
setIsEditing(true);
|
|
627
627
|
setSelectedQR(qrCode);
|
|
628
628
|
dispatch(setQrUrl(qrCode.url));
|
|
629
|
-
dispatch(setUtmSource(qrCode.
|
|
630
|
-
dispatch(setUtmMedium(qrCode.
|
|
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
|
-
//
|
|
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.
|
|
1
|
+
export const SDK_VERSION = '2.1.5-beta.6';
|