@miso.ai/client-sdk-ui 1.10.0-beta.5 → 1.10.0-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.
@@ -8,7 +8,7 @@ exports.processSovrnProduct = processSovrnProduct;
8
8
  var _commons = require("@miso.ai/commons");
9
9
  const _excluded = ["sovrn_aff"],
10
10
  _excluded2 = ["products"],
11
- _excluded3 = ["id", "deeplink", "headline", "currency", "retailPrice", "salePrice", "discountRate", "image", "thumbnail", "merchant"];
11
+ _excluded3 = ["id", "deeplink", "headline", "description", "currency", "retailPrice", "salePrice", "discountRate", "image", "thumbnail", "merchant"];
12
12
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
13
13
  function processData(data) {
14
14
  if (!data || !data.value) {
@@ -50,6 +50,7 @@ function processSovrnProduct(_ref2) {
50
50
  id,
51
51
  deeplink: url,
52
52
  headline: title,
53
+ description,
53
54
  currency,
54
55
  retailPrice: original_price,
55
56
  salePrice: sale_price,
@@ -65,6 +66,7 @@ function processSovrnProduct(_ref2) {
65
66
  id: `sovrn-${id}`,
66
67
  channel: 'sovrn',
67
68
  title,
69
+ description,
68
70
  cover_image,
69
71
  url,
70
72
  currency,
@@ -167,7 +167,7 @@ function affiliation(options) {
167
167
  return container(options, {
168
168
  name: 'affiliation',
169
169
  visibleWhen: 'nonempty'
170
- }, ['<hr>', '<miso-affiliation></miso-affiliation>']);
170
+ }, ['<miso-affiliation></miso-affiliation>']);
171
171
  }
172
172
  function phrase(options, _ref2) {
173
173
  let {
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = exports.default = '1.10.0-beta.5';
7
+ var _default = exports.default = '1.10.0-beta.7';
package/package.json CHANGED
@@ -26,7 +26,7 @@
26
26
  "url": "https://github.com/MisoAI/miso-client-js-sdk/issues"
27
27
  },
28
28
  "dependencies": {
29
- "@miso.ai/commons": "1.10.0-beta.5"
29
+ "@miso.ai/commons": "1.10.0-beta.7"
30
30
  },
31
- "version": "1.10.0-beta.5"
31
+ "version": "1.10.0-beta.7"
32
32
  }
@@ -35,6 +35,7 @@ export function processSovrnProduct({
35
35
  id,
36
36
  deeplink: url,
37
37
  headline: title,
38
+ description,
38
39
  currency,
39
40
  retailPrice: original_price,
40
41
  salePrice: sale_price,
@@ -50,6 +51,7 @@ export function processSovrnProduct({
50
51
  id: `sovrn-${id}`,
51
52
  channel: 'sovrn',
52
53
  title,
54
+ description,
53
55
  cover_image,
54
56
  url,
55
57
  currency,
@@ -136,7 +136,6 @@ function affiliation(options) {
136
136
  return '';
137
137
  }
138
138
  return container(options, { name: 'affiliation', visibleWhen: 'nonempty' }, [
139
- '<hr>',
140
139
  '<miso-affiliation></miso-affiliation>',
141
140
  ]);
142
141
  }
package/src/version.js CHANGED
@@ -1 +1 @@
1
- export default '1.10.0-beta.5';
1
+ export default '1.10.0-beta.7';