@smartico/public-api 0.0.315 → 0.0.316
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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +2 -2
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/Inbox/InboxMessage.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -844,7 +844,8 @@ var InboxMessageBodyTransform = function InboxMessageBodyTransform(item) {
|
|
|
844
844
|
action: item.action,
|
|
845
845
|
icon: item.image,
|
|
846
846
|
title: item.title,
|
|
847
|
-
preview_body: item.body
|
|
847
|
+
preview_body: item.body,
|
|
848
|
+
custom_data: IntUtils.JsonOrText(item == null ? void 0 : item.custom_data)
|
|
848
849
|
};
|
|
849
850
|
if (item.action === 'dp:inbox') {
|
|
850
851
|
if (item.additional_buttons && item.additional_buttons.length) {
|
|
@@ -856,7 +857,6 @@ var InboxMessageBodyTransform = function InboxMessageBodyTransform(item) {
|
|
|
856
857
|
});
|
|
857
858
|
}
|
|
858
859
|
x.html_body = (item == null ? void 0 : item.html_body) || null;
|
|
859
|
-
x.custom_data = IntUtils.JsonOrText(item == null ? void 0 : item.custom_data);
|
|
860
860
|
}
|
|
861
861
|
return x;
|
|
862
862
|
};
|