@adobe/alloy 2.23.0 → 2.24.0-beta.1

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 (347) hide show
  1. package/libEs5/components/{MachineLearning/index.js → Consent/configValidators.js} +6 -13
  2. package/libEs5/components/{Privacy → Consent}/index.js +5 -3
  3. package/libEs5/components/{LegacyMediaAnalytics → MediaAnalyticsBridge}/index.js +5 -5
  4. package/libEs5/components/Personalization/createApplyPropositions.js +2 -1
  5. package/libEs5/components/Personalization/createNotificationHandler.js +15 -3
  6. package/libEs5/components/Personalization/createOnDecisionHandler.js +30 -2
  7. package/libEs5/components/Personalization/handlers/createProcessInAppMessage.js +4 -2
  8. package/libEs5/components/Personalization/handlers/createProcessPropositions.js +33 -15
  9. package/libEs5/components/Personalization/handlers/injectCreateProposition.js +4 -1
  10. package/libEs5/components/Personalization/handlers/processDefaultContent.js +2 -0
  11. package/libEs5/components/Personalization/validateApplyPropositionsOptions.js +1 -1
  12. package/libEs5/components/{DecisioningEngine → RulesEngine}/createDecisionProvider.js +8 -1
  13. package/libEs5/components/{DecisioningEngine → RulesEngine}/createEvaluableRulesetPayload.js +1 -0
  14. package/libEs5/components/{DecisioningEngine → RulesEngine}/index.js +4 -4
  15. package/libEs5/components/StreamingMedia/createMediaEventManager.js +7 -4
  16. package/libEs5/components/StreamingMedia/createTrackMediaSession.js +4 -2
  17. package/libEs5/components/StreamingMedia/validateMediaSessionOptions.js +4 -2
  18. package/libEs5/constants/eventType.js +2 -1
  19. package/libEs5/constants/libraryVersion.js +1 -1
  20. package/libEs5/constants/propositionEventType.js +6 -3
  21. package/libEs5/core/componentCreators.js +14 -21
  22. package/libEs5/core/config/createCoreConfigs.js +0 -2
  23. package/libEs5/core/consent/createConsentStateMachine.js +1 -1
  24. package/libEs5/core/createLifecycle.js +1 -1
  25. package/libEs5/utils/request/createRequestParams.js +7 -2
  26. package/libEs6/baseCode/index.js +2 -2
  27. package/libEs6/components/ActivityCollector/attachClickActivityCollector.js +2 -2
  28. package/libEs6/components/ActivityCollector/createClickActivityStorage.js +2 -2
  29. package/libEs6/components/ActivityCollector/createClickedElementProperties.js +2 -2
  30. package/libEs6/components/ActivityCollector/createGetClickedElementProperties.js +2 -2
  31. package/libEs6/components/ActivityCollector/createInjectClickedElementProperties.js +2 -2
  32. package/libEs6/components/ActivityCollector/createRecallAndInjectClickedElementProperties.js +2 -2
  33. package/libEs6/components/ActivityCollector/createStorePageViewProperties.js +2 -2
  34. package/libEs6/components/ActivityCollector/getLinkName.js +2 -2
  35. package/libEs6/components/ActivityCollector/getLinkRegion.js +2 -2
  36. package/libEs6/components/ActivityCollector/utils/activityMapExtensionEnabled.js +1 -1
  37. package/libEs6/components/ActivityCollector/utils/createTransientStorage.js +2 -2
  38. package/libEs6/components/ActivityCollector/utils/determineLinkType.js +2 -2
  39. package/libEs6/components/ActivityCollector/utils/dom/elementHasClickHandler.js +2 -2
  40. package/libEs6/components/ActivityCollector/utils/dom/extractDomain.js +2 -2
  41. package/libEs6/components/ActivityCollector/utils/dom/findClickableElement.js +2 -2
  42. package/libEs6/components/ActivityCollector/utils/dom/getAbsoluteUrlFromAnchorElement.js +2 -2
  43. package/libEs6/components/ActivityCollector/utils/dom/isButtonSubmitElement.js +2 -2
  44. package/libEs6/components/ActivityCollector/utils/dom/isDownloadLink.js +2 -2
  45. package/libEs6/components/ActivityCollector/utils/dom/isExitLink.js +2 -2
  46. package/libEs6/components/ActivityCollector/utils/dom/isInputSubmitElement.js +2 -2
  47. package/libEs6/components/ActivityCollector/utils/dom/isSupportedAnchorElement.js +2 -2
  48. package/libEs6/components/ActivityCollector/utils/dom/isSupportedTextNode.js +2 -2
  49. package/libEs6/components/ActivityCollector/utils/hasPageName.js +2 -2
  50. package/libEs6/components/ActivityCollector/utils/isDifferentDomains.js +2 -2
  51. package/libEs6/components/ActivityCollector/utils/trimQueryFromUrl.js +2 -2
  52. package/libEs6/components/ActivityCollector/utils/truncateWhiteSpace.js +2 -2
  53. package/libEs6/components/ActivityCollector/utils/urlStartsWithScheme.js +2 -2
  54. package/libEs6/components/Audiences/injectProcessDestinations.js +2 -2
  55. package/libEs6/components/Audiences/injectProcessResponse.js +2 -2
  56. package/libEs6/components/{Privacy → Consent}/computeConsentHash.js +2 -2
  57. package/libEs6/components/{MachineLearning/processResponse.js → Consent/configValidators.js} +6 -8
  58. package/libEs6/components/{Privacy → Consent}/createComponent.js +2 -2
  59. package/libEs6/components/{Privacy → Consent}/createConsentHashStore.js +2 -2
  60. package/libEs6/components/{Privacy → Consent}/createConsentRequest.js +2 -2
  61. package/libEs6/components/{Privacy → Consent}/createConsentRequestPayload.js +2 -2
  62. package/libEs6/components/{Privacy → Consent}/createStoredConsent.js +2 -2
  63. package/libEs6/components/{Privacy → Consent}/index.js +5 -3
  64. package/libEs6/components/{Privacy → Consent}/injectSendSetConsentRequest.js +2 -2
  65. package/libEs6/components/{Privacy → Consent}/parseConsentCookie.js +2 -2
  66. package/libEs6/components/Context/createComponent.js +2 -2
  67. package/libEs6/components/Context/implementationDetails.js +2 -2
  68. package/libEs6/components/Context/injectDevice.js +2 -2
  69. package/libEs6/components/Context/injectEnvironment.js +2 -2
  70. package/libEs6/components/Context/injectHighEntropyUserAgentHints.js +2 -2
  71. package/libEs6/components/Context/injectPlaceContext.js +2 -2
  72. package/libEs6/components/Context/injectTimestamp.js +2 -2
  73. package/libEs6/components/Context/injectWeb.js +2 -2
  74. package/libEs6/components/DataCollector/validateApplyResponse.js +2 -2
  75. package/libEs6/components/DataCollector/validateUserEventOptions.js +2 -2
  76. package/libEs6/components/EventMerge/createComponent.js +2 -2
  77. package/libEs6/components/EventMerge/createEventMergeId.js +2 -2
  78. package/libEs6/components/Identity/addEcidToPayload.js +2 -2
  79. package/libEs6/components/Identity/appendIdentityToUrl/injectAppendIdentityToUrl.js +2 -2
  80. package/libEs6/components/Identity/createComponent.js +2 -2
  81. package/libEs6/components/Identity/createLegacyIdentity.js +2 -2
  82. package/libEs6/components/Identity/getIdentity/createGetIdentity.js +2 -2
  83. package/libEs6/components/Identity/getIdentity/createGetIdentityOptionsValidator.js +2 -2
  84. package/libEs6/components/Identity/getIdentity/createIdentityRequest.js +2 -2
  85. package/libEs6/components/Identity/getIdentity/createIdentityRequestPayload.js +2 -2
  86. package/libEs6/components/Identity/getNamespacesFromResponse.js +2 -2
  87. package/libEs6/components/Identity/injectAddEcidQueryToPayload.js +2 -2
  88. package/libEs6/components/Identity/injectAddLegacyEcidToPayload.js +2 -2
  89. package/libEs6/components/Identity/injectAddQueryStringIdentityToPayload.js +2 -2
  90. package/libEs6/components/Identity/injectAwaitIdentityCookie.js +2 -2
  91. package/libEs6/components/Identity/injectEnsureSingleIdentity.js +2 -2
  92. package/libEs6/components/Identity/injectHandleResponseForIdSyncs.js +2 -2
  93. package/libEs6/components/Identity/injectProcessIdSyncs.js +2 -2
  94. package/libEs6/components/Identity/injectSetDomainForInitialIdentityPayload.js +2 -2
  95. package/libEs6/components/Identity/visitorService/awaitVisitorOptIn.js +2 -2
  96. package/libEs6/components/Identity/visitorService/getVisitor.js +2 -2
  97. package/libEs6/components/Identity/visitorService/injectGetEcidFromVisitor.js +2 -2
  98. package/libEs6/components/{LegacyMediaAnalytics → MediaAnalyticsBridge}/createGetInstance.js +2 -2
  99. package/libEs6/components/{LegacyMediaAnalytics/createLegacyMediaComponent.js → MediaAnalyticsBridge/createMediaAnalyticsBridgeComponent.js} +2 -2
  100. package/libEs6/components/{LegacyMediaAnalytics → MediaAnalyticsBridge}/createMediaHelper.js +2 -2
  101. package/libEs6/components/{LegacyMediaAnalytics → MediaAnalyticsBridge}/index.js +5 -5
  102. package/libEs6/components/Personalization/createActionsProvider.js +2 -2
  103. package/libEs6/components/Personalization/createApplyPropositions.js +5 -4
  104. package/libEs6/components/Personalization/createClickStorage.js +2 -2
  105. package/libEs6/components/Personalization/createComponent.js +2 -2
  106. package/libEs6/components/Personalization/createFetchDataHandler.js +2 -2
  107. package/libEs6/components/Personalization/createGetPageLocation.js +2 -2
  108. package/libEs6/components/Personalization/createHandleConsentFlicker.js +2 -2
  109. package/libEs6/components/Personalization/createInteractionStorage.js +2 -2
  110. package/libEs6/components/Personalization/createNotificationHandler.js +17 -5
  111. package/libEs6/components/Personalization/createOnClickHandler.js +2 -2
  112. package/libEs6/components/Personalization/createOnDecisionHandler.js +32 -4
  113. package/libEs6/components/Personalization/createPersonalizationDetails.js +2 -2
  114. package/libEs6/components/Personalization/createPreprocessors.js +2 -2
  115. package/libEs6/components/Personalization/createSetTargetMigration.js +2 -2
  116. package/libEs6/components/Personalization/createViewCacheManager.js +2 -2
  117. package/libEs6/components/Personalization/createViewChangeHandler.js +2 -2
  118. package/libEs6/components/Personalization/dom-actions/addNonceToInlineStyleElements.js +2 -2
  119. package/libEs6/components/Personalization/dom-actions/appendHtml.js +2 -2
  120. package/libEs6/components/Personalization/dom-actions/clicks/collectClicks.js +2 -2
  121. package/libEs6/components/Personalization/dom-actions/clicks/collectInteractions.js +2 -2
  122. package/libEs6/components/Personalization/dom-actions/collectInteractions.js +2 -2
  123. package/libEs6/components/Personalization/dom-actions/createPreprocess.js +2 -2
  124. package/libEs6/components/Personalization/dom-actions/createRedirect.js +2 -2
  125. package/libEs6/components/Personalization/dom-actions/dom/createFragment.js +2 -2
  126. package/libEs6/components/Personalization/dom-actions/dom/getAttribute.js +2 -2
  127. package/libEs6/components/Personalization/dom-actions/dom/getChildNodes.js +2 -2
  128. package/libEs6/components/Personalization/dom-actions/dom/getChildren.js +2 -2
  129. package/libEs6/components/Personalization/dom-actions/dom/getElementById.js +2 -2
  130. package/libEs6/components/Personalization/dom-actions/dom/getFirstChild.js +2 -2
  131. package/libEs6/components/Personalization/dom-actions/dom/getNextSibling.js +2 -2
  132. package/libEs6/components/Personalization/dom-actions/dom/getNonce.js +2 -2
  133. package/libEs6/components/Personalization/dom-actions/dom/getParent.js +2 -2
  134. package/libEs6/components/Personalization/dom-actions/dom/insertAfter.js +2 -2
  135. package/libEs6/components/Personalization/dom-actions/dom/insertBefore.js +2 -2
  136. package/libEs6/components/Personalization/dom-actions/dom/isDomElement.js +1 -1
  137. package/libEs6/components/Personalization/dom-actions/dom/matchesSelectorWithEq.js +2 -2
  138. package/libEs6/components/Personalization/dom-actions/dom/removeAttribute.js +2 -2
  139. package/libEs6/components/Personalization/dom-actions/dom/setAttribute.js +2 -2
  140. package/libEs6/components/Personalization/dom-actions/dom/setStyle.js +2 -2
  141. package/libEs6/components/Personalization/dom-actions/initDomActionsModules.js +2 -2
  142. package/libEs6/components/Personalization/dom-actions/insertHtmlAfter.js +2 -2
  143. package/libEs6/components/Personalization/dom-actions/insertHtmlBefore.js +2 -2
  144. package/libEs6/components/Personalization/dom-actions/prependHtml.js +2 -2
  145. package/libEs6/components/Personalization/dom-actions/rearrangeChildren.js +2 -2
  146. package/libEs6/components/Personalization/dom-actions/remapCustomCodeOffers.js +2 -2
  147. package/libEs6/components/Personalization/dom-actions/remapHeadOffers.js +2 -2
  148. package/libEs6/components/Personalization/dom-actions/replaceHtml.js +2 -2
  149. package/libEs6/components/Personalization/dom-actions/setAttributes.js +2 -2
  150. package/libEs6/components/Personalization/dom-actions/setHtml.js +2 -2
  151. package/libEs6/components/Personalization/dom-actions/setStyles.js +2 -2
  152. package/libEs6/components/Personalization/dom-actions/setText.js +2 -2
  153. package/libEs6/components/Personalization/dom-actions/swapImage.js +2 -2
  154. package/libEs6/components/Personalization/handlers/createProcessDomAction.js +2 -2
  155. package/libEs6/components/Personalization/handlers/createProcessHtmlContent.js +2 -2
  156. package/libEs6/components/Personalization/handlers/createProcessInAppMessage.js +6 -4
  157. package/libEs6/components/Personalization/handlers/createProcessPropositions.js +36 -18
  158. package/libEs6/components/Personalization/handlers/createProcessRedirect.js +2 -2
  159. package/libEs6/components/Personalization/handlers/injectCreateProposition.js +6 -3
  160. package/libEs6/components/Personalization/handlers/processDefaultContent.js +4 -2
  161. package/libEs6/components/Personalization/in-app-message-actions/actions/displayIframeContent.js +2 -2
  162. package/libEs6/components/Personalization/in-app-message-actions/initInAppMessageActionsModules.js +2 -2
  163. package/libEs6/components/Personalization/utils/addRenderAttemptedToDecisions.js +2 -2
  164. package/libEs6/components/Personalization/utils/createAsyncArray.js +2 -2
  165. package/libEs6/components/Personalization/utils/isAuthoringModeEnabled.js +2 -2
  166. package/libEs6/components/Personalization/validateApplyPropositionsOptions.js +3 -3
  167. package/libEs6/components/{DecisioningEngine → RulesEngine}/consequenceAdapters/inAppMessageConsequenceAdapter.js +2 -2
  168. package/libEs6/components/{DecisioningEngine → RulesEngine}/consequenceAdapters/schemaTypeConsequenceAdapter.js +2 -2
  169. package/libEs6/components/{DecisioningEngine → RulesEngine}/createApplyResponse.js +2 -2
  170. package/libEs6/components/{DecisioningEngine → RulesEngine}/createConsequenceAdapter.js +2 -2
  171. package/libEs6/components/{DecisioningEngine → RulesEngine}/createContextProvider.js +2 -2
  172. package/libEs6/components/{DecisioningEngine → RulesEngine}/createDecisionHistory.js +2 -2
  173. package/libEs6/components/{DecisioningEngine → RulesEngine}/createDecisionProvider.js +10 -3
  174. package/libEs6/components/{DecisioningEngine → RulesEngine}/createEvaluableRulesetPayload.js +3 -2
  175. package/libEs6/components/{DecisioningEngine → RulesEngine}/createEvaluateRulesetsCommand.js +2 -2
  176. package/libEs6/components/{DecisioningEngine → RulesEngine}/createEventRegistry.js +2 -2
  177. package/libEs6/components/{DecisioningEngine → RulesEngine}/createOnResponseHandler.js +2 -2
  178. package/libEs6/components/{DecisioningEngine → RulesEngine}/createSubscribeRulesetItems.js +2 -2
  179. package/libEs6/components/{DecisioningEngine → RulesEngine}/index.js +4 -4
  180. package/libEs6/components/StreamingMedia/createMediaEventManager.js +9 -6
  181. package/libEs6/components/StreamingMedia/createMediaRequest.js +2 -2
  182. package/libEs6/components/StreamingMedia/createMediaResponseHandler.js +2 -2
  183. package/libEs6/components/StreamingMedia/createMediaSessionCacheManager.js +2 -2
  184. package/libEs6/components/StreamingMedia/createStreamingMediaComponent.js +2 -2
  185. package/libEs6/components/StreamingMedia/createTrackMediaEvent.js +2 -2
  186. package/libEs6/components/StreamingMedia/createTrackMediaSession.js +6 -4
  187. package/libEs6/components/StreamingMedia/validateMediaEventOptions.js +2 -2
  188. package/libEs6/components/StreamingMedia/validateMediaSessionOptions.js +6 -4
  189. package/libEs6/constants/eventType.js +1 -0
  190. package/libEs6/constants/libraryVersion.js +1 -1
  191. package/libEs6/constants/propositionEventType.js +7 -4
  192. package/libEs6/core/buildAndValidateConfig.js +2 -2
  193. package/libEs6/core/componentCreators.js +3 -4
  194. package/libEs6/core/config/createCoreConfigs.js +3 -5
  195. package/libEs6/core/consent/createConsent.js +2 -2
  196. package/libEs6/core/consent/createConsentStateMachine.js +3 -3
  197. package/libEs6/core/createComponentRegistry.js +2 -2
  198. package/libEs6/core/createCookieTransfer.js +2 -2
  199. package/libEs6/core/createEvent.js +2 -2
  200. package/libEs6/core/createEventManager.js +2 -2
  201. package/libEs6/core/createInstanceFunction.js +2 -2
  202. package/libEs6/core/createLifecycle.js +3 -3
  203. package/libEs6/core/createLogController.js +2 -2
  204. package/libEs6/core/createLogger.js +2 -2
  205. package/libEs6/core/edgeNetwork/handleRequestFailure.js +2 -2
  206. package/libEs6/core/edgeNetwork/injectApplyResponse.js +2 -2
  207. package/libEs6/core/edgeNetwork/injectExtractEdgeInfo.js +2 -2
  208. package/libEs6/core/edgeNetwork/injectGetLocationHint.js +2 -2
  209. package/libEs6/core/edgeNetwork/injectProcessWarningsAndErrors.js +2 -2
  210. package/libEs6/core/edgeNetwork/injectSendEdgeNetworkRequest.js +2 -2
  211. package/libEs6/core/edgeNetwork/mergeLifecycleResponses.js +2 -2
  212. package/libEs6/core/index.js +2 -2
  213. package/libEs6/core/initializeComponents.js +2 -2
  214. package/libEs6/core/injectCreateResponse.js +2 -2
  215. package/libEs6/core/injectExecuteCommand.js +2 -2
  216. package/libEs6/core/injectHandleError.js +2 -2
  217. package/libEs6/core/injectShouldTransferCookie.js +2 -2
  218. package/libEs6/core/network/getRequestRetryDelay.js +2 -2
  219. package/libEs6/core/network/injectSendNetworkRequest.js +2 -2
  220. package/libEs6/core/network/isRequestRetryable.js +2 -2
  221. package/libEs6/core/network/requestMethods/injectSendBeaconRequest.js +2 -2
  222. package/libEs6/core/network/requestMethods/injectSendFetchRequest.js +2 -2
  223. package/libEs6/core/validateCommandOptions.js +2 -2
  224. package/libEs6/utils/assignConcatArrayValues.js +2 -2
  225. package/libEs6/utils/clone.js +1 -1
  226. package/libEs6/utils/createCallbackAggregator.js +2 -2
  227. package/libEs6/utils/createCollect.js +2 -2
  228. package/libEs6/utils/createLoggingCookieJar.js +2 -2
  229. package/libEs6/utils/createMerger.js +2 -2
  230. package/libEs6/utils/createTaskQueue.js +2 -2
  231. package/libEs6/utils/decodeUriComponentSafely.js +2 -2
  232. package/libEs6/utils/deduplicateArray.js +2 -2
  233. package/libEs6/utils/deepAssign.js +2 -2
  234. package/libEs6/utils/defer.js +2 -2
  235. package/libEs6/utils/dom/appendNode.js +2 -2
  236. package/libEs6/utils/dom/awaitSelector.js +2 -2
  237. package/libEs6/utils/dom/createNode.js +2 -2
  238. package/libEs6/utils/dom/isShadowSelector.js +1 -1
  239. package/libEs6/utils/dom/matchesSelector.js +2 -2
  240. package/libEs6/utils/dom/querySelectorAll.js +2 -2
  241. package/libEs6/utils/dom/removeNode.js +2 -2
  242. package/libEs6/utils/dom/selectNodes.js +2 -2
  243. package/libEs6/utils/dom/selectNodesWithShadow.js +2 -2
  244. package/libEs6/utils/fireImage.js +2 -2
  245. package/libEs6/utils/flattenObject.js +2 -2
  246. package/libEs6/utils/getApexDomain.js +2 -2
  247. package/libEs6/utils/getLastArrayItems.js +1 -1
  248. package/libEs6/utils/getNamespacedCookieName.js +1 -1
  249. package/libEs6/utils/groupBy.js +2 -2
  250. package/libEs6/utils/injectAreThirdPartyCookiesSupportedByDefault.js +2 -2
  251. package/libEs6/utils/injectDoesIdentityCookieExist.js +2 -2
  252. package/libEs6/utils/injectFireReferrerHideableImage.js +2 -2
  253. package/libEs6/utils/injectGetBrowser.js +2 -2
  254. package/libEs6/utils/injectStorage.js +2 -2
  255. package/libEs6/utils/intersection.js +1 -1
  256. package/libEs6/utils/isBlankString.js +1 -1
  257. package/libEs6/utils/isBoolean.js +1 -1
  258. package/libEs6/utils/isEmptyObject.js +1 -1
  259. package/libEs6/utils/isFunction.js +1 -1
  260. package/libEs6/utils/isInteger.js +2 -2
  261. package/libEs6/utils/isNamespacedCookieName.js +1 -1
  262. package/libEs6/utils/isNil.js +1 -1
  263. package/libEs6/utils/isNonEmptyArray.js +1 -1
  264. package/libEs6/utils/isNonEmptyString.js +1 -1
  265. package/libEs6/utils/isNumber.js +1 -1
  266. package/libEs6/utils/isObject.js +1 -1
  267. package/libEs6/utils/isString.js +1 -1
  268. package/libEs6/utils/isUnique.js +2 -2
  269. package/libEs6/utils/isValidRegExp.js +2 -2
  270. package/libEs6/utils/lazy.js +2 -2
  271. package/libEs6/utils/noop.js +1 -1
  272. package/libEs6/utils/prepareConfigOverridesForEdge.js +2 -2
  273. package/libEs6/utils/request/createAddIdentity.js +2 -2
  274. package/libEs6/utils/request/createDataCollectionRequest.js +2 -2
  275. package/libEs6/utils/request/createDataCollectionRequestPayload.js +2 -2
  276. package/libEs6/utils/request/createGetAssuranceValidationTokenParams.js +2 -2
  277. package/libEs6/utils/request/createHasIdentity.js +2 -2
  278. package/libEs6/utils/request/createRequest.js +2 -2
  279. package/libEs6/utils/request/createRequestParams.js +10 -4
  280. package/libEs6/utils/request/createRequestPayload.js +2 -2
  281. package/libEs6/utils/sanitizeOrgIdForCookieName.js +1 -1
  282. package/libEs6/utils/stackError.js +2 -2
  283. package/libEs6/utils/stringToBoolean.js +2 -2
  284. package/libEs6/utils/toArray.js +2 -2
  285. package/libEs6/utils/toError.js +2 -2
  286. package/libEs6/utils/toISOStringLocal.js +2 -2
  287. package/libEs6/utils/toInteger.js +2 -2
  288. package/libEs6/utils/updateErrorMessage.js +2 -2
  289. package/libEs6/utils/validation/booleanValidator.js +2 -2
  290. package/libEs6/utils/validation/callbackValidator.js +2 -2
  291. package/libEs6/utils/validation/createAnyOfValidator.js +2 -2
  292. package/libEs6/utils/validation/createArrayOfValidator.js +2 -2
  293. package/libEs6/utils/validation/createDefaultValidator.js +2 -2
  294. package/libEs6/utils/validation/createDeprecatedValidator.js +2 -2
  295. package/libEs6/utils/validation/createLiteralValidator.js +2 -2
  296. package/libEs6/utils/validation/createMapOfValuesValidator.js +2 -2
  297. package/libEs6/utils/validation/createMaximumValidator.js +2 -2
  298. package/libEs6/utils/validation/createMinimumValidator.js +2 -2
  299. package/libEs6/utils/validation/createNoUnknownFieldsValidator.js +2 -2
  300. package/libEs6/utils/validation/createNonEmptyValidator.js +2 -2
  301. package/libEs6/utils/validation/createObjectOfValidator.js +2 -2
  302. package/libEs6/utils/validation/createRenamedValidator.js +2 -2
  303. package/libEs6/utils/validation/createUniqueItemsValidator.js +2 -2
  304. package/libEs6/utils/validation/createUniqueValidator.js +2 -2
  305. package/libEs6/utils/validation/domainValidator.js +2 -2
  306. package/libEs6/utils/validation/integerValidator.js +2 -2
  307. package/libEs6/utils/validation/matchesRegexpValidator.js +2 -2
  308. package/libEs6/utils/validation/numberValidator.js +2 -2
  309. package/libEs6/utils/validation/regexpValidator.js +2 -2
  310. package/libEs6/utils/validation/requiredValidator.js +2 -2
  311. package/libEs6/utils/validation/stringValidator.js +2 -2
  312. package/package.json +30 -30
  313. package/rollup.config.js +1 -0
  314. package/scripts/alloyBuilder.js +24 -29
  315. package/libEs5/components/MachineLearning/processResponse.js +0 -21
  316. package/libEs6/components/MachineLearning/index.js +0 -23
  317. /package/libEs5/components/{Privacy → Consent}/computeConsentHash.js +0 -0
  318. /package/libEs5/components/{Privacy → Consent}/createComponent.js +0 -0
  319. /package/libEs5/components/{Privacy → Consent}/createConsentHashStore.js +0 -0
  320. /package/libEs5/components/{Privacy → Consent}/createConsentRequest.js +0 -0
  321. /package/libEs5/components/{Privacy → Consent}/createConsentRequestPayload.js +0 -0
  322. /package/libEs5/components/{Privacy → Consent}/createStoredConsent.js +0 -0
  323. /package/libEs5/components/{Privacy → Consent}/injectSendSetConsentRequest.js +0 -0
  324. /package/libEs5/components/{Privacy → Consent}/parseConsentCookie.js +0 -0
  325. /package/libEs5/components/{Privacy → Consent}/validateSetConsentOptions.js +0 -0
  326. /package/libEs5/components/{LegacyMediaAnalytics → MediaAnalyticsBridge}/constants/constants.js +0 -0
  327. /package/libEs5/components/{LegacyMediaAnalytics → MediaAnalyticsBridge}/constants/mediaKeysToXdmConverter.js +0 -0
  328. /package/libEs5/components/{LegacyMediaAnalytics → MediaAnalyticsBridge}/createGetInstance.js +0 -0
  329. /package/libEs5/components/{LegacyMediaAnalytics/createLegacyMediaComponent.js → MediaAnalyticsBridge/createMediaAnalyticsBridgeComponent.js} +0 -0
  330. /package/libEs5/components/{LegacyMediaAnalytics → MediaAnalyticsBridge}/createMediaHelper.js +0 -0
  331. /package/libEs5/components/{DecisioningEngine → RulesEngine}/consequenceAdapters/inAppMessageConsequenceAdapter.js +0 -0
  332. /package/libEs5/components/{DecisioningEngine → RulesEngine}/consequenceAdapters/schemaTypeConsequenceAdapter.js +0 -0
  333. /package/libEs5/components/{DecisioningEngine → RulesEngine}/constants.js +0 -0
  334. /package/libEs5/components/{DecisioningEngine → RulesEngine}/createApplyResponse.js +0 -0
  335. /package/libEs5/components/{DecisioningEngine → RulesEngine}/createConsequenceAdapter.js +0 -0
  336. /package/libEs5/components/{DecisioningEngine → RulesEngine}/createContextProvider.js +0 -0
  337. /package/libEs5/components/{DecisioningEngine → RulesEngine}/createDecisionHistory.js +0 -0
  338. /package/libEs5/components/{DecisioningEngine → RulesEngine}/createEvaluateRulesetsCommand.js +0 -0
  339. /package/libEs5/components/{DecisioningEngine → RulesEngine}/createEventRegistry.js +0 -0
  340. /package/libEs5/components/{DecisioningEngine → RulesEngine}/createOnResponseHandler.js +0 -0
  341. /package/libEs5/components/{DecisioningEngine → RulesEngine}/createSubscribeRulesetItems.js +0 -0
  342. /package/libEs5/components/{DecisioningEngine → RulesEngine}/utils.js +0 -0
  343. /package/libEs6/components/{Privacy → Consent}/validateSetConsentOptions.js +0 -0
  344. /package/libEs6/components/{LegacyMediaAnalytics → MediaAnalyticsBridge}/constants/constants.js +0 -0
  345. /package/libEs6/components/{LegacyMediaAnalytics → MediaAnalyticsBridge}/constants/mediaKeysToXdmConverter.js +0 -0
  346. /package/libEs6/components/{DecisioningEngine → RulesEngine}/constants.js +0 -0
  347. /package/libEs6/components/{DecisioningEngine → RulesEngine}/utils.js +0 -0
@@ -15,7 +15,7 @@ import highEntropyUserAgentHints from "../../constants/highEntropyUserAgentClien
15
15
  const browserSupportsUserAgentClientHints = navigator => {
16
16
  return typeof navigator.userAgentData !== "undefined";
17
17
  };
18
- export default (navigator => {
18
+ export default navigator => {
19
19
  if (!browserSupportsUserAgentClientHints(navigator)) {
20
20
  return noop;
21
21
  }
@@ -42,4 +42,4 @@ export default (navigator => {
42
42
  return noop;
43
43
  }
44
44
  };
45
- });
45
+ };
@@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
10
10
  governing permissions and limitations under the License.
11
11
  */
12
12
  import { deepAssign, toISOStringLocal, toInteger } from "../../utils/index.js";
13
- export default (dateProvider => {
13
+ export default dateProvider => {
14
14
  return xdm => {
15
15
  const date = dateProvider();
16
16
  const placeContext = {};
@@ -26,4 +26,4 @@ export default (dateProvider => {
26
26
  placeContext
27
27
  });
28
28
  };
29
- });
29
+ };
@@ -11,11 +11,11 @@ governing permissions and limitations under the License.
11
11
  */
12
12
 
13
13
  import { deepAssign } from "../../utils/index.js";
14
- export default (dateProvider => {
14
+ export default dateProvider => {
15
15
  return xdm => {
16
16
  const timestamp = dateProvider().toISOString();
17
17
  deepAssign(xdm, {
18
18
  timestamp
19
19
  });
20
20
  };
21
- });
21
+ };
@@ -11,7 +11,7 @@ governing permissions and limitations under the License.
11
11
  */
12
12
 
13
13
  import { deepAssign } from "../../utils/index.js";
14
- export default (window => {
14
+ export default window => {
15
15
  return xdm => {
16
16
  const web = {
17
17
  webPageDetails: {
@@ -25,4 +25,4 @@ export default (window => {
25
25
  web
26
26
  });
27
27
  };
28
- });
28
+ };
@@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
10
10
  governing permissions and limitations under the License.
11
11
  */
12
12
  import { anything, arrayOf, boolean, mapOfValues, objectOf, string } from "../../utils/validation/index.js";
13
- export default (({
13
+ export default ({
14
14
  options
15
15
  }) => {
16
16
  const validator = objectOf({
@@ -30,4 +30,4 @@ export default (({
30
30
  })
31
31
  }).noUnknownFields();
32
32
  return validator(options);
33
- });
33
+ };
@@ -17,7 +17,7 @@ import { validateConfigOverride, validateIdentityMap } from "../../utils/index.j
17
17
  * @param {*} options The user event options to validate
18
18
  * @returns {*} Validated options
19
19
  */
20
- export default (({
20
+ export default ({
21
21
  options
22
22
  }) => {
23
23
  const eventOptionsValidator = objectOf({
@@ -46,4 +46,4 @@ export default (({
46
46
  initializePersonalization: boolean()
47
47
  }).required().noUnknownFields();
48
48
  return eventOptionsValidator(options);
49
- });
49
+ };
@@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
10
10
  governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- export default (({
13
+ export default ({
14
14
  createEventMergeId
15
15
  }) => {
16
16
  return {
@@ -20,4 +20,4 @@ export default (({
20
20
  }
21
21
  }
22
22
  };
23
- });
23
+ };
@@ -11,8 +11,8 @@ governing permissions and limitations under the License.
11
11
  */
12
12
 
13
13
  import { uuid } from "../../utils/index.js";
14
- export default (() => {
14
+ export default () => {
15
15
  return {
16
16
  eventMergeId: uuid()
17
17
  };
18
- });
18
+ };
@@ -11,8 +11,8 @@ governing permissions and limitations under the License.
11
11
  */
12
12
 
13
13
  import ecidNamespace from "../../constants/ecidNamespace.js";
14
- export default ((payload, ecid) => {
14
+ export default (payload, ecid) => {
15
15
  payload.addIdentity(ecidNamespace, {
16
16
  id: ecid
17
17
  });
18
- });
18
+ };
@@ -19,7 +19,7 @@ const getSeparator = queryString => {
19
19
  }
20
20
  return "&";
21
21
  };
22
- export default (({
22
+ export default ({
23
23
  dateProvider,
24
24
  orgId
25
25
  }) => (ecid, url) => {
@@ -28,4 +28,4 @@ export default (({
28
28
  const [, location, queryString, fragment] = url.match(URL_REGEX);
29
29
  const separator = getSeparator(queryString);
30
30
  return `${location}${queryString}${separator}adobe_mc=${adobemc}${fragment}`;
31
- });
31
+ };
@@ -11,7 +11,7 @@ governing permissions and limitations under the License.
11
11
  */
12
12
  import appendIdentityToUrlOptionsValidator from "./appendIdentityToUrl/appendIdentityToUrlOptionsValidator.js";
13
13
  import ecidNamespace from "../../constants/ecidNamespace.js";
14
- export default (({
14
+ export default ({
15
15
  addEcidQueryToPayload,
16
16
  addQueryStringIdentityToPayload,
17
17
  ensureSingleIdentity,
@@ -99,4 +99,4 @@ export default (({
99
99
  }
100
100
  }
101
101
  };
102
- });
102
+ };
@@ -13,7 +13,7 @@ governing permissions and limitations under the License.
13
13
  /**
14
14
  * Handles migration of ECID to and from Visitor.js.
15
15
  */
16
- export default (({
16
+ export default ({
17
17
  config,
18
18
  getEcidFromVisitor,
19
19
  apexDomain,
@@ -66,4 +66,4 @@ export default (({
66
66
  }
67
67
  }
68
68
  };
69
- });
69
+ };
@@ -11,7 +11,7 @@ governing permissions and limitations under the License.
11
11
  */
12
12
 
13
13
  import { createRequestParams } from "../../../utils/request/index.js";
14
- export default (({
14
+ export default ({
15
15
  sendEdgeNetworkRequest,
16
16
  createIdentityRequestPayload,
17
17
  createIdentityRequest,
@@ -31,4 +31,4 @@ export default (({
31
31
  request
32
32
  });
33
33
  };
34
- });
34
+ };
@@ -27,7 +27,7 @@ const validator = objectOf({
27
27
  }).noUnknownFields().default({
28
28
  namespaces: [ecidNamespace]
29
29
  });
30
- export default (({
30
+ export default ({
31
31
  thirdPartyCookiesEnabled
32
32
  }) => {
33
33
  return options => {
@@ -37,4 +37,4 @@ export default (({
37
37
  }
38
38
  return validatedOptions;
39
39
  };
40
- });
40
+ };
@@ -11,7 +11,7 @@ governing permissions and limitations under the License.
11
11
  */
12
12
 
13
13
  import { createRequest } from "../../../utils/request/index.js";
14
- export default (({
14
+ export default ({
15
15
  payload,
16
16
  datastreamIdOverride
17
17
  }) => {
@@ -25,4 +25,4 @@ export default (({
25
25
  return false;
26
26
  }
27
27
  });
28
- });
28
+ };
@@ -11,7 +11,7 @@ governing permissions and limitations under the License.
11
11
  */
12
12
 
13
13
  import { createAddIdentity, createHasIdentity, createRequestPayload } from "../../../utils/request/index.js";
14
- export default (namespaces => {
14
+ export default namespaces => {
15
15
  const content = {
16
16
  query: {
17
17
  identity: {
@@ -24,4 +24,4 @@ export default (namespaces => {
24
24
  addIdentity: createAddIdentity(content),
25
25
  hasIdentity: createHasIdentity(content)
26
26
  });
27
- });
27
+ };
@@ -9,7 +9,7 @@ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTA
9
9
  OF ANY KIND, either express or implied. See the License for the specific language
10
10
  governing permissions and limitations under the License.
11
11
  */
12
- export default (response => {
12
+ export default response => {
13
13
  const identityResultPayloads = response.getPayloadsByType("identity:result");
14
14
  return identityResultPayloads.reduce((acc, payload) => {
15
15
  if (payload.namespace && payload.namespace.code) {
@@ -17,4 +17,4 @@ export default (response => {
17
17
  }
18
18
  return acc;
19
19
  }, {});
20
- });
20
+ };
@@ -12,7 +12,7 @@ governing permissions and limitations under the License.
12
12
 
13
13
  import ecidNamespace from "../../constants/ecidNamespace.js";
14
14
  import coreNamespace from "../../constants/coreNamespace.js";
15
- export default (({
15
+ export default ({
16
16
  thirdPartyCookiesEnabled,
17
17
  areThirdPartyCookiesSupportedByDefault
18
18
  }) => {
@@ -27,4 +27,4 @@ export default (({
27
27
  return payload => {
28
28
  payload.mergeQuery(query);
29
29
  };
30
- });
30
+ };
@@ -11,7 +11,7 @@ governing permissions and limitations under the License.
11
11
  */
12
12
 
13
13
  import ecidNamespace from "../../constants/ecidNamespace.js";
14
- export default (({
14
+ export default ({
15
15
  getLegacyEcid,
16
16
  addEcidToPayload
17
17
  }) => {
@@ -27,4 +27,4 @@ export default (({
27
27
  }
28
28
  });
29
29
  };
30
- });
30
+ };
@@ -18,7 +18,7 @@ import ecidNamespace from "../../constants/ecidNamespace.js";
18
18
  import decodeUriComponentSafely from "../../utils/decodeUriComponentSafely.js";
19
19
  const LINK_TTL_SECONDS = 300; // 5 minute link time to live
20
20
 
21
- export default (({
21
+ export default ({
22
22
  locationSearch,
23
23
  dateProvider,
24
24
  orgId,
@@ -57,4 +57,4 @@ export default (({
57
57
  } else {
58
58
  logger.info("Detected invalid or expired adobe_mc query string parameter.");
59
59
  }
60
- });
60
+ };
@@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
10
10
  governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- export default (({
13
+ export default ({
14
14
  doesIdentityCookieExist,
15
15
  orgId,
16
16
  logger
@@ -49,4 +49,4 @@ export default (({
49
49
  });
50
50
  });
51
51
  };
52
- });
52
+ };
@@ -11,7 +11,7 @@ governing permissions and limitations under the License.
11
11
  */
12
12
 
13
13
  // TO-DOCUMENT: We queue subsequent requests until we have an identity cookie.
14
- export default (({
14
+ export default ({
15
15
  doesIdentityCookieExist,
16
16
  setDomainForInitialIdentityPayload,
17
17
  addLegacyEcidToPayload,
@@ -95,4 +95,4 @@ export default (({
95
95
  obtainedIdentityPromise.catch(() => undefined);
96
96
  return allowRequestToGoWithoutIdentity(request);
97
97
  };
98
- });
98
+ };
@@ -10,10 +10,10 @@ OF ANY KIND, either express or implied. See the License for the specific languag
10
10
  governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- export default (({
13
+ export default ({
14
14
  processIdSyncs
15
15
  }) => {
16
16
  return response => {
17
17
  return processIdSyncs(response.getPayloadsByType("identity:exchange"));
18
18
  };
19
- });
19
+ };
@@ -13,7 +13,7 @@ import { noop } from "../../utils/index.js";
13
13
  const createResultLogMessage = (idSync, success) => {
14
14
  return `ID sync ${success ? "succeeded" : "failed"}: ${idSync.spec.url}`;
15
15
  };
16
- export default (({
16
+ export default ({
17
17
  fireReferrerHideableImage,
18
18
  logger
19
19
  }) => idSyncs => {
@@ -31,4 +31,4 @@ export default (({
31
31
  logger.error(createResultLogMessage(idSync, false));
32
32
  });
33
33
  })).then(noop);
34
- });
34
+ };
@@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
10
10
  governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- export default (({
13
+ export default ({
14
14
  thirdPartyCookiesEnabled,
15
15
  areThirdPartyCookiesSupportedByDefault
16
16
  }) => {
@@ -28,4 +28,4 @@ export default (({
28
28
  request.setUseIdThirdPartyDomain();
29
29
  }
30
30
  };
31
- });
31
+ };
@@ -11,7 +11,7 @@ governing permissions and limitations under the License.
11
11
  */
12
12
 
13
13
  import { isObject } from "../../../utils/index.js";
14
- export default (({
14
+ export default ({
15
15
  logger
16
16
  }) => {
17
17
  return new Promise((resolve, reject) => {
@@ -30,4 +30,4 @@ export default (({
30
30
  resolve();
31
31
  }
32
32
  });
33
- });
33
+ };
@@ -11,7 +11,7 @@ governing permissions and limitations under the License.
11
11
  */
12
12
 
13
13
  import { isFunction } from "../../../utils/index.js";
14
- export default (window => {
14
+ export default window => {
15
15
  const Visitor = window.Visitor;
16
16
  return isFunction(Visitor) && isFunction(Visitor.getInstance) && Visitor;
17
- });
17
+ };
@@ -11,7 +11,7 @@ governing permissions and limitations under the License.
11
11
  */
12
12
 
13
13
  import getVisitor from "./getVisitor.js";
14
- export default (({
14
+ export default ({
15
15
  logger,
16
16
  orgId,
17
17
  awaitVisitorOptIn
@@ -45,4 +45,4 @@ export default (({
45
45
  }
46
46
  return Promise.resolve();
47
47
  };
48
- });
48
+ };
@@ -12,7 +12,7 @@ governing permissions and limitations under the License.
12
12
  import { EVENT, MEDIA_EVENTS_INTERNAL } from "./constants/constants.js";
13
13
  import { isEmptyObject, isNil, isNonEmptyArray, isNumber } from "../../utils/index.js";
14
14
  import { adsToXdmKeys, mediaToXdmKeys } from "./constants/mediaKeysToXdmConverter.js";
15
- export default (({
15
+ export default ({
16
16
  logger,
17
17
  trackMediaSession,
18
18
  trackMediaEvent,
@@ -236,4 +236,4 @@ export default (({
236
236
  trackerState = null;
237
237
  }
238
238
  };
239
- });
239
+ };
@@ -12,7 +12,7 @@ governing permissions and limitations under the License.
12
12
 
13
13
  import { noop, uuid } from "../../utils/index.js";
14
14
  import { AD_METADATA_KEYS as AdMetadataKeys, AUDIO_METADATA_KEYS as AudioMetadataKeys, EVENT as Event, MEDIA_OBJECT_KEYS as MediaObjectKey, MEDIA_TYPE as MediaType, PLAYER_STATE as PlayerState, STREAM_TYPE as StreamType, VIDEO_METADATA_KEYS as VideoMetadataKeys } from "./constants/constants.js";
15
- export default (({
15
+ export default ({
16
16
  trackMediaEvent,
17
17
  trackMediaSession,
18
18
  mediaResponseHandler,
@@ -82,4 +82,4 @@ export default (({
82
82
  }
83
83
  }
84
84
  };
85
- });
85
+ };
@@ -11,7 +11,7 @@ governing permissions and limitations under the License.
11
11
  */
12
12
 
13
13
  import { number, objectOf, string } from "../../utils/validation/index.js";
14
- export default (({
14
+ export default ({
15
15
  logger
16
16
  }) => {
17
17
  const createMediaObject = (friendlyName, name, length, contentType, streamType) => {
@@ -177,4 +177,4 @@ export default (({
177
177
  createStateObject,
178
178
  createQoEObject
179
179
  };
180
- });
180
+ };
@@ -16,11 +16,11 @@ import createMediaSessionCacheManager from "../StreamingMedia/createMediaSession
16
16
  import createTrackMediaEvent from "../StreamingMedia/createTrackMediaEvent.js";
17
17
  import createTrackMediaSession from "../StreamingMedia/createTrackMediaSession.js";
18
18
  import createMediaResponseHandler from "../StreamingMedia/createMediaResponseHandler.js";
19
- import createLegacyMediaComponent from "./createLegacyMediaComponent.js";
19
+ import createMediaAnalyticsBridgeComponent from "./createMediaAnalyticsBridgeComponent.js";
20
20
  import createMediaHelper from "./createMediaHelper.js";
21
21
  import createGetInstance from "./createGetInstance.js";
22
22
  import injectTimestamp from "../Context/injectTimestamp.js";
23
- const createLegacyMediaAnalytics = ({
23
+ const createMediaAnalyticsBridge = ({
24
24
  eventManager,
25
25
  sendEdgeNetworkRequest,
26
26
  config,
@@ -53,7 +53,7 @@ const createLegacyMediaAnalytics = ({
53
53
  config,
54
54
  trackMediaEvent
55
55
  });
56
- return createLegacyMediaComponent({
56
+ return createMediaAnalyticsBridgeComponent({
57
57
  mediaResponseHandler,
58
58
  trackMediaSession,
59
59
  trackMediaEvent,
@@ -63,5 +63,5 @@ const createLegacyMediaAnalytics = ({
63
63
  config
64
64
  });
65
65
  };
66
- createLegacyMediaAnalytics.namespace = "Legacy Media Analytics";
67
- export default createLegacyMediaAnalytics;
66
+ createMediaAnalyticsBridge.namespace = "Legacy Media Analytics";
67
+ export default createMediaAnalyticsBridge;
@@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
10
10
  governing permissions and limitations under the License.
11
11
  */
12
12
  import createPreprocessors from "./createPreprocessors.js";
13
- export default (({
13
+ export default ({
14
14
  modules,
15
15
  preprocessors = createPreprocessors(),
16
16
  logger
@@ -69,4 +69,4 @@ export default (({
69
69
  return {
70
70
  executeAction
71
71
  };
72
- });
72
+ };
@@ -11,7 +11,7 @@ governing permissions and limitations under the License.
11
11
  */
12
12
 
13
13
  import { defer, isEmptyObject, isNonEmptyArray } from "../../utils/index.js";
14
- import { DOM_ACTION, HTML_CONTENT_ITEM, JSON_CONTENT_ITEM, MESSAGE_IN_APP } from "../../constants/schema.js";
14
+ import { DEFAULT_CONTENT_ITEM, DOM_ACTION, HTML_CONTENT_ITEM, JSON_CONTENT_ITEM, MESSAGE_IN_APP } from "../../constants/schema.js";
15
15
  import PAGE_WIDE_SCOPE from "../../constants/pageWideScope.js";
16
16
  import { DOM_ACTION_COLLECT_INTERACTIONS } from "./dom-actions/initDomActionsModules.js";
17
17
  const isInteractionTrackingItem = (schema, actionType) => schema === JSON_CONTENT_ITEM && actionType === DOM_ACTION_COLLECT_INTERACTIONS;
@@ -19,10 +19,11 @@ const SUPPORTED_SCHEMAS = {
19
19
  [DOM_ACTION]: () => true,
20
20
  [HTML_CONTENT_ITEM]: () => true,
21
21
  [JSON_CONTENT_ITEM]: isInteractionTrackingItem,
22
- [MESSAGE_IN_APP]: () => true
22
+ [MESSAGE_IN_APP]: () => true,
23
+ [DEFAULT_CONTENT_ITEM]: () => true
23
24
  };
24
25
  const filterItemsPredicate = (schema, actionType) => typeof SUPPORTED_SCHEMAS[schema] === "function" && SUPPORTED_SCHEMAS[schema](schema, actionType);
25
- export default (({
26
+ export default ({
26
27
  processPropositions,
27
28
  createProposition,
28
29
  renderedPropositions,
@@ -115,4 +116,4 @@ export default (({
115
116
  };
116
117
  });
117
118
  };
118
- });
119
+ };
@@ -18,7 +18,7 @@ const metasToArray = metas => {
18
18
  };
19
19
  });
20
20
  };
21
- export default (() => {
21
+ export default () => {
22
22
  const clickStorage = {};
23
23
  const storeClickMeta = ({
24
24
  selector,
@@ -55,4 +55,4 @@ export default (() => {
55
55
  getClickSelectors,
56
56
  getClickMetas
57
57
  };
58
- });
58
+ };
@@ -15,7 +15,7 @@ import createPersonalizationDetails from "./createPersonalizationDetails.js";
15
15
  import { AUTHORING_ENABLED } from "./constants/loggerMessage.js";
16
16
  import { PropositionEventType } from "../../constants/propositionEventType.js";
17
17
  import validateApplyPropositionsOptions from "./validateApplyPropositionsOptions.js";
18
- export default (({
18
+ export default ({
19
19
  getPageLocation,
20
20
  logger,
21
21
  fetchDataHandler,
@@ -130,4 +130,4 @@ export default (({
130
130
  }
131
131
  }
132
132
  };
133
- });
133
+ };
@@ -12,7 +12,7 @@ governing permissions and limitations under the License.
12
12
  import { groupBy, isNonEmptyArray } from "../../utils/index.js";
13
13
  import PAGE_WIDE_SCOPE from "../../constants/pageWideScope.js";
14
14
  const DECISIONS_HANDLE = "personalization:decisions";
15
- export default (({
15
+ export default ({
16
16
  logger,
17
17
  prehidingStyle,
18
18
  showContainers,
@@ -115,4 +115,4 @@ export default (({
115
115
  };
116
116
  });
117
117
  };
118
- });
118
+ };
@@ -10,8 +10,8 @@ OF ANY KIND, either express or implied. See the License for the specific languag
10
10
  governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- export default (({
13
+ export default ({
14
14
  window
15
15
  }) => () => {
16
16
  return window.location;
17
- });
17
+ };
@@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
10
10
  governing permissions and limitations under the License.
11
11
  */
12
12
  import { OUT } from "../../constants/consentStatus.js";
13
- export default (({
13
+ export default ({
14
14
  showContainers,
15
15
  consent
16
16
  }) => () => {
@@ -23,4 +23,4 @@ export default (({
23
23
  } else {
24
24
  consent.awaitConsent().catch(showContainers);
25
25
  }
26
- });
26
+ };
@@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
10
10
  governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- export default (() => {
13
+ export default () => {
14
14
  const clickMetaStorage = {};
15
15
  /*
16
16
  clickMetaStorage example.
@@ -82,4 +82,4 @@ export default (() => {
82
82
  storeInteractionMeta,
83
83
  getInteractionMetas
84
84
  };
85
- });
85
+ };