@mindful-web/marko-web-omeda-identity-x 1.26.1 → 1.29.3

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.
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-omeda-identity-x$1.26.1/components/identify.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-omeda-identity-x$1.29.3/components/identify.marko",
6
6
  marko_component = require("./identify.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_getCookieId = require("@mindful-web/marko-web-omeda-identity-x/utils/get-cookie-id"),
@@ -51,7 +51,7 @@ marko_template._ = marko_renderer(render, {
51
51
  }, marko_component);
52
52
 
53
53
  marko_template.meta = {
54
- id: "/@mindful-web/marko-web-omeda-identity-x$1.26.1/components/identify.marko",
54
+ id: "/@mindful-web/marko-web-omeda-identity-x$1.29.3/components/identify.marko",
55
55
  component: "./identify.marko",
56
56
  tags: [
57
57
  "@mindful-web/marko-web-identity-x/components/identify.marko",
@@ -24,6 +24,7 @@ module.exports = ({
24
24
  appendBehaviors,
25
25
  appendDemographics,
26
26
  appendPromoCodes,
27
+ appendSubscriptions,
27
28
  behavior,
28
29
  } = {}) => idxOmedaRapidIdentify({
29
30
  brandKey,
@@ -41,6 +42,7 @@ module.exports = ({
41
42
  appendBehaviors,
42
43
  appendDemographics,
43
44
  appendPromoCodes,
45
+ appendSubscriptions,
44
46
 
45
47
  // The pre-configured behavior/attribute definitions.
46
48
  behavior,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindful-web/marko-web-omeda-identity-x",
3
- "version": "1.26.1",
3
+ "version": "1.29.3",
4
4
  "description": "Marko Omeda+IdentityX integration tools",
5
5
  "repository": "https://github.com/parameter1/mindful-web/tree/main/packages/marko-web-omeda-identity-x",
6
6
  "author": "Josh Worden <josh@parameter1.com>",
@@ -29,5 +29,5 @@
29
29
  "publishConfig": {
30
30
  "access": "public"
31
31
  },
32
- "gitHead": "c6ba36cb73fa724ad4e74ab15e7a0c88b8a29c5e"
32
+ "gitHead": "a2ac0b788a855855d151eee5d5cb4331583d1198"
33
33
  }
package/rapid-identify.js CHANGED
@@ -41,6 +41,7 @@ module.exports = async ({
41
41
  appendBehaviors,
42
42
  appendDemographics,
43
43
  appendPromoCodes,
44
+ appendSubscriptions,
44
45
 
45
46
  behavior,
46
47
 
@@ -147,6 +148,13 @@ module.exports = async ({
147
148
  });
148
149
  }
149
150
 
151
+ // Append subscriptions, if specified
152
+ if (appendSubscriptions && appendSubscriptions.length) {
153
+ appendSubscriptions.forEach((subscription) => {
154
+ subscriptions.push(subscription);
155
+ });
156
+ }
157
+
150
158
  const promoCodes = [];
151
159
  if (promoCode) promoCodes.push(promoCode);
152
160