@adobe/alloy 2.30.1-beta.17 → 2.30.1-beta.18

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.
Files changed (44) hide show
  1. package/libEs5/components/Personalization/createComponent.js +3 -1
  2. package/libEs5/components/Personalization/createFetchDataHandler.js +4 -3
  3. package/libEs5/components/Personalization/createNotificationHandler.js +5 -3
  4. package/libEs5/components/Personalization/createOnDecisionHandler.js +4 -3
  5. package/libEs5/components/Personalization/handlers/createProcessInAppMessage.js +2 -1
  6. package/libEs5/components/Personalization/handlers/createProcessRedirect.js +2 -1
  7. package/libEs5/components/Personalization/handlers/injectCreateProposition.js +4 -1
  8. package/libEs5/components/Personalization/in-app-message-actions/actions/displayIframeContent.js +4 -2
  9. package/libEs5/components/RulesEngine/createApplyResponse.js +3 -1
  10. package/libEs5/constants/libraryVersion.js +1 -1
  11. package/libEs5/core/createEvent.js +3 -0
  12. package/libEs5/utils/createCollect.js +4 -2
  13. package/libEs6/components/Personalization/createComponent.js +3 -1
  14. package/libEs6/components/Personalization/createFetchDataHandler.js +4 -3
  15. package/libEs6/components/Personalization/createNotificationHandler.js +5 -3
  16. package/libEs6/components/Personalization/createOnDecisionHandler.js +4 -3
  17. package/libEs6/components/Personalization/handlers/createProcessInAppMessage.js +2 -1
  18. package/libEs6/components/Personalization/handlers/createProcessRedirect.js +2 -1
  19. package/libEs6/components/Personalization/handlers/injectCreateProposition.js +4 -1
  20. package/libEs6/components/Personalization/in-app-message-actions/actions/displayIframeContent.js +4 -2
  21. package/libEs6/components/RulesEngine/createApplyResponse.js +3 -1
  22. package/libEs6/constants/libraryVersion.js +1 -1
  23. package/libEs6/core/createEvent.js +3 -0
  24. package/libEs6/utils/createCollect.js +4 -2
  25. package/package.json +1 -1
  26. package/types/components/Personalization/createComponent.d.ts.map +1 -1
  27. package/types/components/Personalization/createFetchDataHandler.d.ts +2 -1
  28. package/types/components/Personalization/createFetchDataHandler.d.ts.map +1 -1
  29. package/types/components/Personalization/createNotificationHandler.d.ts +1 -1
  30. package/types/components/Personalization/createNotificationHandler.d.ts.map +1 -1
  31. package/types/components/Personalization/createOnDecisionHandler.d.ts +2 -1
  32. package/types/components/Personalization/createOnDecisionHandler.d.ts.map +1 -1
  33. package/types/components/Personalization/handlers/createProcessInAppMessage.d.ts.map +1 -1
  34. package/types/components/Personalization/handlers/createProcessRedirect.d.ts.map +1 -1
  35. package/types/components/Personalization/handlers/injectCreateProposition.d.ts +2 -1
  36. package/types/components/Personalization/handlers/injectCreateProposition.d.ts.map +1 -1
  37. package/types/components/Personalization/in-app-message-actions/actions/displayIframeContent.d.ts.map +1 -1
  38. package/types/components/Personalization/index.d.ts.map +1 -1
  39. package/types/components/RulesEngine/createApplyResponse.d.ts.map +1 -1
  40. package/types/components/RulesEngine/index.d.ts.map +1 -1
  41. package/types/core/createEvent.d.ts +1 -0
  42. package/types/core/createEvent.d.ts.map +1 -1
  43. package/types/utils/createCollect.d.ts +2 -1
  44. package/types/utils/createCollect.d.ts.map +1 -1
@@ -84,11 +84,13 @@ var _default = ({
84
84
  if (personalizationDetails.shouldFetchData()) {
85
85
  const cacheUpdate = viewCache.createCacheUpdate(personalizationDetails.getViewName());
86
86
  onRequestFailure(() => cacheUpdate.cancel());
87
+ const identityMap = event.getUserIdentityMap();
87
88
  fetchDataHandler({
88
89
  cacheUpdate,
89
90
  personalizationDetails,
90
91
  event,
91
- onResponse
92
+ onResponse,
93
+ identityMap
92
94
  });
93
95
  } else if (personalizationDetails.shouldUseCachedData()) {
94
96
  decisionsMetaPromises.push(viewChangeHandler({
@@ -31,7 +31,8 @@ var _default = ({
31
31
  cacheUpdate,
32
32
  personalizationDetails,
33
33
  event,
34
- onResponse
34
+ onResponse,
35
+ identityMap
35
36
  }) => {
36
37
  const {
37
38
  state,
@@ -48,7 +49,7 @@ var _default = ({
48
49
 
49
50
  // This needs to be called before the response so that future sendEvent calls
50
51
  // can know to wait until this request is complete for pending display notifications.
51
- const handleNotifications = notificationHandler(personalizationDetails.isRenderDecisions(), personalizationDetails.isSendDisplayEvent(), personalizationDetails.getViewName());
52
+ const handleNotifications = notificationHandler(personalizationDetails.isRenderDecisions(), personalizationDetails.isSendDisplayEvent(), personalizationDetails.getViewName(), identityMap);
52
53
  onResponse(({
53
54
  response
54
55
  }) => {
@@ -63,7 +64,7 @@ var _default = ({
63
64
  }
64
65
  });
65
66
  }
66
- const propositions = handles.map(handle => createProposition(handle));
67
+ const propositions = handles.map(handle => createProposition(handle, true, false, identityMap));
67
68
  const {
68
69
  page: pagePropositions = [],
69
70
  view: viewPropositions = [],
@@ -16,7 +16,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
16
16
  governing permissions and limitations under the License.
17
17
  */
18
18
  var _default = (collect, renderedPropositions) => {
19
- return (isRenderDecisions, isSendDisplayEvent, viewName) => {
19
+ return (isRenderDecisions, isSendDisplayEvent, viewName, identityMap) => {
20
20
  if (!isRenderDecisions) {
21
21
  // If we aren't rendering anything, then we don't need to sendDisplayEvents.
22
22
  return () => undefined;
@@ -30,7 +30,8 @@ var _default = (collect, renderedPropositions) => {
30
30
  if ((0, _isNonEmptyArray.default)(decisionsMetaDisplay)) {
31
31
  collect({
32
32
  decisionsMeta: decisionsMetaDisplay,
33
- viewName
33
+ viewName,
34
+ identityMap
34
35
  });
35
36
  }
36
37
  if ((0, _isNonEmptyArray.default)(decisionsMetaSuppressed)) {
@@ -40,7 +41,8 @@ var _default = (collect, renderedPropositions) => {
40
41
  propositionAction: {
41
42
  reason: "Conflict"
42
43
  },
43
- viewName
44
+ viewName,
45
+ identityMap
44
46
  });
45
47
  }
46
48
  };
@@ -40,7 +40,8 @@ var _default = ({
40
40
  renderDecisions,
41
41
  propositions,
42
42
  event,
43
- personalization = {}
43
+ personalization = {},
44
+ identityMap
44
45
  }) => {
45
46
  if (!renderDecisions) {
46
47
  return Promise.resolve();
@@ -50,12 +51,12 @@ var _default = ({
50
51
  } = personalization;
51
52
  const viewName = event ? event.getViewName() : undefined;
52
53
  const shouldSuppressDisplay = createShouldSuppressDisplay();
53
- const propositionsToExecute = propositions.map(proposition => createProposition(proposition, true, shouldSuppressDisplay(proposition)));
54
+ const propositionsToExecute = propositions.map(proposition => createProposition(proposition, true, shouldSuppressDisplay(proposition), identityMap));
54
55
  const {
55
56
  render,
56
57
  returnedPropositions
57
58
  } = processPropositions(propositionsToExecute);
58
- const handleNotifications = notificationHandler(renderDecisions, sendDisplayEvent, viewName);
59
+ const handleNotifications = notificationHandler(renderDecisions, sendDisplayEvent, viewName, identityMap);
59
60
  const propositionsById = propositionsToExecute.reduce((tot, proposition) => {
60
61
  tot[proposition.getId()] = proposition;
61
62
  return tot;
@@ -73,7 +73,8 @@ var _default = ({
73
73
  render: () => {
74
74
  return shouldSuppressDisplay ? null : modules[type]({
75
75
  ...data,
76
- meta
76
+ meta,
77
+ identityMap: proposition.getIdentityMap()
77
78
  });
78
79
  },
79
80
  setRenderAttempted: true,
@@ -31,7 +31,8 @@ var _default = ({
31
31
  (0, _index.hideElements)(REDIRECT_HIDING_ELEMENT);
32
32
  return collect({
33
33
  decisionsMeta: [item.getProposition().getNotification()],
34
- documentMayUnload: true
34
+ documentMayUnload: true,
35
+ identityMap: item.getProposition().getIdentityMap()
35
36
  }).then(() => {
36
37
  logger.logOnContentRendering({
37
38
  status: "rendering-redirect",
@@ -59,7 +59,7 @@ var _default = ({
59
59
  }
60
60
  };
61
61
  };
62
- return (payload, visibleInReturnedItems = true, shouldSuppressDisplay = false) => {
62
+ return (payload, visibleInReturnedItems = true, shouldSuppressDisplay = false, identityMap = undefined) => {
63
63
  const {
64
64
  id,
65
65
  scope,
@@ -97,6 +97,9 @@ var _default = ({
97
97
  getId() {
98
98
  return id;
99
99
  },
100
+ getIdentityMap() {
101
+ return identityMap;
102
+ },
100
103
  toJSON() {
101
104
  return payload;
102
105
  },
@@ -279,7 +279,8 @@ exports.displayHTMLContentInIframe = displayHTMLContentInIframe;
279
279
  var _default = (settings, collect) => {
280
280
  return new Promise(resolve => {
281
281
  const {
282
- meta
282
+ meta,
283
+ identityMap
283
284
  } = settings;
284
285
  displayHTMLContentInIframe(settings, (action, propositionAction) => {
285
286
  const propositionEventTypes = {};
@@ -291,7 +292,8 @@ var _default = (settings, collect) => {
291
292
  decisionsMeta: [meta],
292
293
  propositionAction,
293
294
  eventType: _eventType.INTERACT,
294
- propositionEventTypes: Object.keys(propositionEventTypes)
295
+ propositionEventTypes: Object.keys(propositionEventTypes),
296
+ identityMap
295
297
  });
296
298
  });
297
299
  resolve({
@@ -28,11 +28,13 @@ var _default = ({
28
28
  // We extract them and add the events to the event registry.
29
29
  const eventPayloads = (0, _extractPayloadsFromEventHistoryOperations.default)(propositions);
30
30
  eventRegistry.addEventPayloads(eventPayloads);
31
+ const identityMap = event?.getUserIdentityMap();
31
32
  lifecycle.onDecision({
32
33
  renderDecisions,
33
34
  propositions,
34
35
  event,
35
- personalization
36
+ personalization,
37
+ identityMap
36
38
  });
37
39
  }
38
40
  return {
@@ -14,4 +14,4 @@ governing permissions and limitations under the License.
14
14
  */
15
15
  // The __VERSION__ keyword will be replace at alloy build time with the package.json version.
16
16
  // see babel-plugin-version
17
- var _default = exports.default = "2.30.1-beta.17";
17
+ var _default = exports.default = "2.30.1-beta.18";
@@ -153,6 +153,9 @@ var _default = () => {
153
153
  }
154
154
  return userXdm.web.webPageDetails.viewName;
155
155
  },
156
+ getUserIdentityMap() {
157
+ return userXdm?.identityMap;
158
+ },
156
159
  toJSON() {
157
160
  if (!isFinalized) {
158
161
  throw new Error("toJSON called before finalize");
@@ -26,11 +26,13 @@ var _default = ({
26
26
  documentMayUnload = false,
27
27
  eventType = _eventType.DISPLAY,
28
28
  propositionEventTypes = [(0, _propositionEventType.getPropositionEventType)(eventType)],
29
- viewName
29
+ viewName,
30
+ identityMap
30
31
  }) => {
31
32
  const event = eventManager.createEvent();
32
33
  const data = {
33
- eventType
34
+ eventType,
35
+ identityMap
34
36
  };
35
37
  if (viewName) {
36
38
  data.web = {
@@ -82,11 +82,13 @@ export default ({
82
82
  if (personalizationDetails.shouldFetchData()) {
83
83
  const cacheUpdate = viewCache.createCacheUpdate(personalizationDetails.getViewName());
84
84
  onRequestFailure(() => cacheUpdate.cancel());
85
+ const identityMap = event.getUserIdentityMap();
85
86
  fetchDataHandler({
86
87
  cacheUpdate,
87
88
  personalizationDetails,
88
89
  event,
89
- onResponse
90
+ onResponse,
91
+ identityMap
90
92
  });
91
93
  } else if (personalizationDetails.shouldUseCachedData()) {
92
94
  decisionsMetaPromises.push(viewChangeHandler({
@@ -27,7 +27,8 @@ export default ({
27
27
  cacheUpdate,
28
28
  personalizationDetails,
29
29
  event,
30
- onResponse
30
+ onResponse,
31
+ identityMap
31
32
  }) => {
32
33
  const {
33
34
  state,
@@ -44,7 +45,7 @@ export default ({
44
45
 
45
46
  // This needs to be called before the response so that future sendEvent calls
46
47
  // can know to wait until this request is complete for pending display notifications.
47
- const handleNotifications = notificationHandler(personalizationDetails.isRenderDecisions(), personalizationDetails.isSendDisplayEvent(), personalizationDetails.getViewName());
48
+ const handleNotifications = notificationHandler(personalizationDetails.isRenderDecisions(), personalizationDetails.isSendDisplayEvent(), personalizationDetails.getViewName(), identityMap);
48
49
  onResponse(({
49
50
  response
50
51
  }) => {
@@ -59,7 +60,7 @@ export default ({
59
60
  }
60
61
  });
61
62
  }
62
- const propositions = handles.map(handle => createProposition(handle));
63
+ const propositions = handles.map(handle => createProposition(handle, true, false, identityMap));
63
64
  const {
64
65
  page: pagePropositions = [],
65
66
  view: viewPropositions = [],
@@ -13,7 +13,7 @@ import { defer } from "../../utils/index.js";
13
13
  import { SUPPRESS } from "../../constants/eventType.js";
14
14
  import isNonEmptyArray from "../../utils/isNonEmptyArray.js";
15
15
  export default (collect, renderedPropositions) => {
16
- return (isRenderDecisions, isSendDisplayEvent, viewName) => {
16
+ return (isRenderDecisions, isSendDisplayEvent, viewName, identityMap) => {
17
17
  if (!isRenderDecisions) {
18
18
  // If we aren't rendering anything, then we don't need to sendDisplayEvents.
19
19
  return () => undefined;
@@ -27,7 +27,8 @@ export default (collect, renderedPropositions) => {
27
27
  if (isNonEmptyArray(decisionsMetaDisplay)) {
28
28
  collect({
29
29
  decisionsMeta: decisionsMetaDisplay,
30
- viewName
30
+ viewName,
31
+ identityMap
31
32
  });
32
33
  }
33
34
  if (isNonEmptyArray(decisionsMetaSuppressed)) {
@@ -37,7 +38,8 @@ export default (collect, renderedPropositions) => {
37
38
  propositionAction: {
38
39
  reason: "Conflict"
39
40
  },
40
- viewName
41
+ viewName,
42
+ identityMap
41
43
  });
42
44
  }
43
45
  };
@@ -38,7 +38,8 @@ export default ({
38
38
  renderDecisions,
39
39
  propositions,
40
40
  event,
41
- personalization = {}
41
+ personalization = {},
42
+ identityMap
42
43
  }) => {
43
44
  if (!renderDecisions) {
44
45
  return Promise.resolve();
@@ -48,12 +49,12 @@ export default ({
48
49
  } = personalization;
49
50
  const viewName = event ? event.getViewName() : undefined;
50
51
  const shouldSuppressDisplay = createShouldSuppressDisplay();
51
- const propositionsToExecute = propositions.map(proposition => createProposition(proposition, true, shouldSuppressDisplay(proposition)));
52
+ const propositionsToExecute = propositions.map(proposition => createProposition(proposition, true, shouldSuppressDisplay(proposition), identityMap));
52
53
  const {
53
54
  render,
54
55
  returnedPropositions
55
56
  } = processPropositions(propositionsToExecute);
56
- const handleNotifications = notificationHandler(renderDecisions, sendDisplayEvent, viewName);
57
+ const handleNotifications = notificationHandler(renderDecisions, sendDisplayEvent, viewName, identityMap);
57
58
  const propositionsById = propositionsToExecute.reduce((tot, proposition) => {
58
59
  tot[proposition.getId()] = proposition;
59
60
  return tot;
@@ -69,7 +69,8 @@ export default ({
69
69
  render: () => {
70
70
  return shouldSuppressDisplay ? null : modules[type]({
71
71
  ...data,
72
- meta
72
+ meta,
73
+ identityMap: proposition.getIdentityMap()
73
74
  });
74
75
  },
75
76
  setRenderAttempted: true,
@@ -27,7 +27,8 @@ export default ({
27
27
  hideElements(REDIRECT_HIDING_ELEMENT);
28
28
  return collect({
29
29
  decisionsMeta: [item.getProposition().getNotification()],
30
- documentMayUnload: true
30
+ documentMayUnload: true,
31
+ identityMap: item.getProposition().getIdentityMap()
31
32
  }).then(() => {
32
33
  logger.logOnContentRendering({
33
34
  status: "rendering-redirect",
@@ -57,7 +57,7 @@ export default ({
57
57
  }
58
58
  };
59
59
  };
60
- return (payload, visibleInReturnedItems = true, shouldSuppressDisplay = false) => {
60
+ return (payload, visibleInReturnedItems = true, shouldSuppressDisplay = false, identityMap = undefined) => {
61
61
  const {
62
62
  id,
63
63
  scope,
@@ -95,6 +95,9 @@ export default ({
95
95
  getId() {
96
96
  return id;
97
97
  },
98
+ getIdentityMap() {
99
+ return identityMap;
100
+ },
98
101
  toJSON() {
99
102
  return payload;
100
103
  },
@@ -271,7 +271,8 @@ export const displayHTMLContentInIframe = (settings = {}, interact) => {
271
271
  export default (settings, collect) => {
272
272
  return new Promise(resolve => {
273
273
  const {
274
- meta
274
+ meta,
275
+ identityMap
275
276
  } = settings;
276
277
  displayHTMLContentInIframe(settings, (action, propositionAction) => {
277
278
  const propositionEventTypes = {};
@@ -283,7 +284,8 @@ export default (settings, collect) => {
283
284
  decisionsMeta: [meta],
284
285
  propositionAction,
285
286
  eventType: INTERACT,
286
- propositionEventTypes: Object.keys(propositionEventTypes)
287
+ propositionEventTypes: Object.keys(propositionEventTypes),
288
+ identityMap
287
289
  });
288
290
  });
289
291
  resolve({
@@ -26,11 +26,13 @@ export default ({
26
26
  // We extract them and add the events to the event registry.
27
27
  const eventPayloads = extractPayloadsFromEventHistoryOperations(propositions);
28
28
  eventRegistry.addEventPayloads(eventPayloads);
29
+ const identityMap = event?.getUserIdentityMap();
29
30
  lifecycle.onDecision({
30
31
  renderDecisions,
31
32
  propositions,
32
33
  event,
33
- personalization
34
+ personalization,
35
+ identityMap
34
36
  });
35
37
  }
36
38
  return {
@@ -13,4 +13,4 @@ governing permissions and limitations under the License.
13
13
  // The __VERSION__ keyword will be replace at alloy build time with the package.json version.
14
14
  // see babel-plugin-version
15
15
 
16
- export default "2.30.1-beta.17";
16
+ export default "2.30.1-beta.18";
@@ -150,6 +150,9 @@ export default () => {
150
150
  }
151
151
  return userXdm.web.webPageDetails.viewName;
152
152
  },
153
+ getUserIdentityMap() {
154
+ return userXdm?.identityMap;
155
+ },
153
156
  toJSON() {
154
157
  if (!isFinalized) {
155
158
  throw new Error("toJSON called before finalize");
@@ -23,11 +23,13 @@ export default ({
23
23
  documentMayUnload = false,
24
24
  eventType = DISPLAY,
25
25
  propositionEventTypes = [getPropositionEventType(eventType)],
26
- viewName
26
+ viewName,
27
+ identityMap
27
28
  }) => {
28
29
  const event = eventManager.createEvent();
29
30
  const data = {
30
- eventType
31
+ eventType,
32
+ identityMap
31
33
  };
32
34
  if (viewName) {
33
35
  data.web = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/alloy",
3
- "version": "2.30.1-beta.17",
3
+ "version": "2.30.1-beta.18",
4
4
  "description": "Adobe Experience Platform Web SDK",
5
5
  "type": "module",
6
6
  "main": "libEs5/index.js",
@@ -1 +1 @@
1
- {"version":3,"file":"createComponent.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createComponent.js"],"names":[],"mappings":"AAkBe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+Gd"}
1
+ {"version":3,"file":"createComponent.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createComponent.js"],"names":[],"mappings":"AAkBe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkHd"}
@@ -8,11 +8,12 @@ declare function _default({ logger, prehidingStyle, showContainers, hideContaine
8
8
  createProposition: any;
9
9
  notificationHandler: any;
10
10
  consent: any;
11
- }): ({ cacheUpdate, personalizationDetails, event, onResponse }: {
11
+ }): ({ cacheUpdate, personalizationDetails, event, onResponse, identityMap, }: {
12
12
  cacheUpdate: any;
13
13
  personalizationDetails: any;
14
14
  event: any;
15
15
  onResponse: any;
16
+ identityMap: any;
16
17
  }) => void;
17
18
  export default _default;
18
19
  //# sourceMappingURL=createFetchDataHandler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createFetchDataHandler.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createFetchDataHandler.js"],"names":[],"mappings":"AAgBe;;;;;;;;;;KAWL;;;;;CAA0D,UAqGnE"}
1
+ {"version":3,"file":"createFetchDataHandler.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createFetchDataHandler.js"],"names":[],"mappings":"AAgBe;;;;;;;;;;KAWL;;;;;;CAMP,UAwGF"}
@@ -1,3 +1,3 @@
1
- declare function _default(collect: any, renderedPropositions: any): (isRenderDecisions: any, isSendDisplayEvent: any, viewName: any) => any;
1
+ declare function _default(collect: any, renderedPropositions: any): (isRenderDecisions: any, isSendDisplayEvent: any, viewName: any, identityMap: any) => any;
2
2
  export default _default;
3
3
  //# sourceMappingURL=createNotificationHandler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createNotificationHandler.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createNotificationHandler.js"],"names":[],"mappings":"AAee,qEACL,sBAAiB,EAAE,uBAAkB,EAAE,aAAQ,SA8BxD"}
1
+ {"version":3,"file":"createNotificationHandler.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createNotificationHandler.js"],"names":[],"mappings":"AAee,qEACL,sBAAiB,EAAE,uBAAkB,EAAE,aAAQ,EAAE,gBAAW,SAgCrE"}
@@ -2,11 +2,12 @@ declare function _default({ processPropositions, createProposition, notification
2
2
  processPropositions: any;
3
3
  createProposition: any;
4
4
  notificationHandler: any;
5
- }): ({ renderDecisions, propositions, event, personalization }: {
5
+ }): ({ renderDecisions, propositions, event, personalization, identityMap, }: {
6
6
  renderDecisions: any;
7
7
  propositions: any;
8
8
  event: any;
9
9
  personalization?: {};
10
+ identityMap: any;
10
11
  }) => Promise<void> | Promise<{
11
12
  propositions: any;
12
13
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"createOnDecisionHandler.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createOnDecisionHandler.js"],"names":[],"mappings":"AAgCe;;;;KAKL;;;;;CAA8D;;GAgDvE"}
1
+ {"version":3,"file":"createOnDecisionHandler.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createOnDecisionHandler.js"],"names":[],"mappings":"AAgCe;;;;KAKL;;;;;;CAMP;;GAsDF"}
@@ -1 +1 @@
1
- {"version":3,"file":"createProcessInAppMessage.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Personalization/handlers/createProcessInAppMessage.js"],"names":[],"mappings":"AAgDe;;;KACL,SAAI;;;;;;;;EAwCb"}
1
+ {"version":3,"file":"createProcessInAppMessage.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Personalization/handlers/createProcessInAppMessage.js"],"names":[],"mappings":"AAgDe;;;KACL,SAAI;;;;;;;;EAyCb"}
@@ -1 +1 @@
1
- {"version":3,"file":"createProcessRedirect.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Personalization/handlers/createProcessRedirect.js"],"names":[],"mappings":"AAce;;;;KACZ,SAAI;;;;;;;;EAqCJ"}
1
+ {"version":3,"file":"createProcessRedirect.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Personalization/handlers/createProcessRedirect.js"],"names":[],"mappings":"AAce;;;;KACZ,SAAI;;;;;;;;EAsCJ"}
@@ -1,7 +1,7 @@
1
1
  declare function _default({ preprocess, isPageWideSurface }: {
2
2
  preprocess: any;
3
3
  isPageWideSurface: any;
4
- }): (payload: any, visibleInReturnedItems?: boolean, shouldSuppressDisplay?: boolean) => {
4
+ }): (payload: any, visibleInReturnedItems?: boolean, shouldSuppressDisplay?: boolean, identityMap?: any) => {
5
5
  getScope(): any;
6
6
  getScopeType(): "view" | "page" | "proposition";
7
7
  getItems(): any;
@@ -11,6 +11,7 @@ declare function _default({ preprocess, isPageWideSurface }: {
11
11
  scopeDetails: any;
12
12
  };
13
13
  getId(): any;
14
+ getIdentityMap(): any;
14
15
  toJSON(): any;
15
16
  shouldSuppressDisplay(): boolean;
16
17
  addToReturnValues(propositions: any, decisions: any, includedItems: any, renderAttempted: any): void;
@@ -1 +1 @@
1
- {"version":3,"file":"injectCreateProposition.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Personalization/handlers/injectCreateProposition.js"],"names":[],"mappings":"AAmBe;;;KAwCX,YAAO,EACP,gCAA6B,EAC7B,+BAA6B;;;;;;;;;;;;;EAuDhC"}
1
+ {"version":3,"file":"injectCreateProposition.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Personalization/handlers/injectCreateProposition.js"],"names":[],"mappings":"AAmBe;;;KAwCX,YAAO,EACP,gCAA6B,EAC7B,+BAA6B,EAC7B,iBAAuB;;;;;;;;;;;;;;EA0D1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"displayIframeContent.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/components/Personalization/in-app-message-actions/actions/displayIframeContent.js"],"names":[],"mappings":"AA4BO,iIAIG,UAAK,UA8Bd;AAEM,uEAsBN;AAyBM;;;;;;;EAmDN;AAEM;;;;;;;;;EAeN;AAgFM,8EAsBN;AAEc,qEAqBd"}
1
+ {"version":3,"file":"displayIframeContent.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/components/Personalization/in-app-message-actions/actions/displayIframeContent.js"],"names":[],"mappings":"AA4BO,iIAIG,UAAK,UA8Bd;AAEM,uEAsBN;AAyBM;;;;;;;EAmDN;AAEM;;;;;;;;;EAeN;AAgFM,8EAsBN;AAEc,qEAsBd"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/index.js"],"names":[],"mappings":";AAgEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkIC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/index.js"],"names":[],"mappings":";AAgEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqIC"}
@@ -1 +1 @@
1
- {"version":3,"file":"createApplyResponse.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/RulesEngine/createApplyResponse.js"],"names":[],"mappings":"AAce;;;KACL;;;;;CAKP;;EAiBF"}
1
+ {"version":3,"file":"createApplyResponse.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/RulesEngine/createApplyResponse.js"],"names":[],"mappings":"AAce;;;KACL;;;;;CAKP;;EAoBF"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/RulesEngine/index.js"],"names":[],"mappings":";AA6BA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8GC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/RulesEngine/index.js"],"names":[],"mappings":";AA6BA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiHC"}
@@ -13,6 +13,7 @@ declare function _default(): {
13
13
  isEmpty(): boolean;
14
14
  shouldSend(): boolean;
15
15
  getViewName(): any;
16
+ getUserIdentityMap(): any;
16
17
  toJSON(): {};
17
18
  };
18
19
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"createEvent.d.ts","sourceRoot":"","sources":["../../packages/core/src/core/createEvent.js"],"names":[],"mappings":"AAgCe;;;;;;;;;;;;;;;;EA4Jd"}
1
+ {"version":3,"file":"createEvent.d.ts","sourceRoot":"","sources":["../../packages/core/src/core/createEvent.js"],"names":[],"mappings":"AAgCe;;;;;;;;;;;;;;;;;EA+Jd"}
@@ -1,13 +1,14 @@
1
1
  declare function _default({ eventManager, mergeDecisionsMeta }: {
2
2
  eventManager: any;
3
3
  mergeDecisionsMeta: any;
4
- }): ({ decisionsMeta, propositionAction, documentMayUnload, eventType, propositionEventTypes, viewName, }: {
4
+ }): ({ decisionsMeta, propositionAction, documentMayUnload, eventType, propositionEventTypes, viewName, identityMap, }: {
5
5
  decisionsMeta?: any[];
6
6
  propositionAction: any;
7
7
  documentMayUnload?: boolean;
8
8
  eventType?: string;
9
9
  propositionEventTypes?: any[];
10
10
  viewName: any;
11
+ identityMap: any;
11
12
  }) => any;
12
13
  export default _default;
13
14
  //# sourceMappingURL=createCollect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createCollect.d.ts","sourceRoot":"","sources":["../../packages/core/src/utils/createCollect.js"],"names":[],"mappings":"AAee;;;KAEL;;;;;;;CAOP,SA0BF"}
1
+ {"version":3,"file":"createCollect.d.ts","sourceRoot":"","sources":["../../packages/core/src/utils/createCollect.js"],"names":[],"mappings":"AAee;;;KAEL;;;;;;;;CAQP,SA0BF"}