@adobe/alloy 2.20.0-beta.0 → 2.20.0-beta.4

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 (450) hide show
  1. package/libEs5/components/ActivityCollector/attachClickActivityCollector.js +2 -2
  2. package/libEs5/components/ActivityCollector/configValidators.js +5 -5
  3. package/libEs5/components/ActivityCollector/getLinkName.js +1 -1
  4. package/libEs5/components/ActivityCollector/getLinkRegion.js +3 -3
  5. package/libEs5/components/ActivityCollector/index.js +7 -7
  6. package/libEs5/components/Audiences/index.js +5 -5
  7. package/libEs5/components/Audiences/injectProcessDestinations.js +2 -2
  8. package/libEs5/components/Context/createComponent.js +2 -2
  9. package/libEs5/components/Context/implementationDetails.js +4 -4
  10. package/libEs5/components/Context/index.js +11 -11
  11. package/libEs5/components/Context/injectDevice.js +5 -5
  12. package/libEs5/components/Context/injectEnvironment.js +4 -4
  13. package/libEs5/components/Context/injectHighEntropyUserAgentHints.js +5 -5
  14. package/libEs5/components/Context/injectPlaceContext.js +4 -4
  15. package/libEs5/components/Context/injectTimestamp.js +2 -2
  16. package/libEs5/components/Context/injectWeb.js +2 -2
  17. package/libEs5/components/DataCollector/index.js +5 -5
  18. package/libEs5/components/DataCollector/validateApplyResponse.js +11 -11
  19. package/libEs5/components/DataCollector/validateUserEventOptions.js +22 -22
  20. package/libEs5/components/DecisioningEngine/consequenceAdapters/inAppMessageConsequenceAdapter.js +2 -2
  21. package/libEs5/components/DecisioningEngine/createConsequenceAdapter.js +2 -2
  22. package/libEs5/components/DecisioningEngine/createContextProvider.js +4 -4
  23. package/libEs5/components/DecisioningEngine/createDecisionHistory.js +1 -1
  24. package/libEs5/components/DecisioningEngine/createDecisionProvider.js +3 -3
  25. package/libEs5/components/DecisioningEngine/createEvaluableRulesetPayload.js +5 -5
  26. package/libEs5/components/DecisioningEngine/createEvaluateRulesetsCommand.js +5 -5
  27. package/libEs5/components/DecisioningEngine/createEventRegistry.js +3 -3
  28. package/libEs5/components/DecisioningEngine/createOnResponseHandler.js +2 -2
  29. package/libEs5/components/DecisioningEngine/createSubscribeRulesetItems.js +9 -9
  30. package/libEs5/components/DecisioningEngine/index.js +18 -18
  31. package/libEs5/components/EventMerge/createEventMergeId.js +2 -2
  32. package/libEs5/components/EventMerge/index.js +2 -2
  33. package/libEs5/components/Identity/addEcidQueryToPayload.js +1 -1
  34. package/libEs5/components/Identity/addEcidToPayload.js +1 -1
  35. package/libEs5/components/Identity/appendIdentityToUrl/appendIdentityToUrlOptionsValidator.js +5 -5
  36. package/libEs5/components/Identity/configValidators.js +4 -4
  37. package/libEs5/components/Identity/createComponent.js +4 -4
  38. package/libEs5/components/Identity/getEcidFromResponse.js +3 -3
  39. package/libEs5/components/Identity/getIdentity/createGetIdentity.js +2 -2
  40. package/libEs5/components/Identity/getIdentity/createIdentityRequest.js +2 -2
  41. package/libEs5/components/Identity/getIdentity/createIdentityRequestPayload.js +4 -4
  42. package/libEs5/components/Identity/getIdentity/getIdentityOptionsValidator.js +5 -5
  43. package/libEs5/components/Identity/index.js +24 -24
  44. package/libEs5/components/Identity/injectAddLegacyEcidToPayload.js +1 -1
  45. package/libEs5/components/Identity/injectAddQueryStringIdentityToPayload.js +4 -4
  46. package/libEs5/components/Identity/injectProcessIdSyncs.js +2 -2
  47. package/libEs5/components/Identity/injectSetDomainForInitialIdentityPayload.js +1 -1
  48. package/libEs5/components/Identity/visitorService/awaitVisitorOptIn.js +2 -2
  49. package/libEs5/components/Identity/visitorService/getVisitor.js +2 -2
  50. package/libEs5/components/Identity/visitorService/injectGetEcidFromVisitor.js +1 -1
  51. package/libEs5/components/LegacyMediaAnalytics/createGetInstance.js +16 -17
  52. package/libEs5/components/LegacyMediaAnalytics/createLegacyMediaComponent.js +4 -4
  53. package/libEs5/components/LegacyMediaAnalytics/createMediaHelper.js +28 -28
  54. package/libEs5/components/LegacyMediaAnalytics/index.js +9 -9
  55. package/libEs5/components/LibraryInfo/index.js +2 -2
  56. package/libEs5/components/MachineLearning/index.js +1 -1
  57. package/libEs5/components/Personalization/createActionsProvider.js +3 -3
  58. package/libEs5/components/Personalization/createApplyPropositions.js +7 -7
  59. package/libEs5/components/Personalization/createCollect.js +4 -4
  60. package/libEs5/components/Personalization/createComponent.js +9 -9
  61. package/libEs5/components/Personalization/createFetchDataHandler.js +2 -2
  62. package/libEs5/components/Personalization/createHandleConsentFlicker.js +1 -1
  63. package/libEs5/components/Personalization/createNotificationHandler.js +2 -2
  64. package/libEs5/components/Personalization/createOnClickHandler.js +5 -5
  65. package/libEs5/components/Personalization/createPersonalizationDetails.js +11 -11
  66. package/libEs5/components/Personalization/createPreprocessors.js +3 -3
  67. package/libEs5/components/Personalization/createSetTargetMigration.js +2 -2
  68. package/libEs5/components/Personalization/createViewCacheManager.js +6 -6
  69. package/libEs5/components/Personalization/dom-actions/action.js +18 -18
  70. package/libEs5/components/Personalization/dom-actions/addNonceToInlineStyleElements.js +7 -7
  71. package/libEs5/components/Personalization/dom-actions/appendHtml.js +8 -8
  72. package/libEs5/components/Personalization/dom-actions/clicks/collectClicks.js +3 -3
  73. package/libEs5/components/Personalization/dom-actions/createPreprocess.js +2 -2
  74. package/libEs5/components/Personalization/dom-actions/createRedirect.js +1 -3
  75. package/libEs5/components/Personalization/dom-actions/dom/createFragment.js +3 -3
  76. package/libEs5/components/Personalization/dom-actions/dom/getChildNodes.js +2 -2
  77. package/libEs5/components/Personalization/dom-actions/dom/getChildren.js +2 -2
  78. package/libEs5/components/Personalization/dom-actions/dom/helperForEq.js +2 -2
  79. package/libEs5/components/Personalization/dom-actions/dom/index.js +14 -14
  80. package/libEs5/components/Personalization/dom-actions/dom/insertAfter.js +2 -2
  81. package/libEs5/components/Personalization/dom-actions/dom/insertBefore.js +1 -1
  82. package/libEs5/components/Personalization/dom-actions/dom/matchesSelectorWithEq.js +4 -4
  83. package/libEs5/components/Personalization/dom-actions/dom/selectNodesWithEq.js +4 -4
  84. package/libEs5/components/Personalization/dom-actions/images.js +7 -7
  85. package/libEs5/components/Personalization/dom-actions/index.js +1 -1
  86. package/libEs5/components/Personalization/dom-actions/initDomActionsModules.js +3 -3
  87. package/libEs5/components/Personalization/dom-actions/insertHtmlAfter.js +7 -7
  88. package/libEs5/components/Personalization/dom-actions/insertHtmlBefore.js +7 -7
  89. package/libEs5/components/Personalization/dom-actions/prependHtml.js +10 -10
  90. package/libEs5/components/Personalization/dom-actions/rearrangeChildren.js +4 -4
  91. package/libEs5/components/Personalization/dom-actions/remapCustomCodeOffers.js +2 -2
  92. package/libEs5/components/Personalization/dom-actions/remapHeadOffers.js +10 -10
  93. package/libEs5/components/Personalization/dom-actions/replaceHtml.js +3 -3
  94. package/libEs5/components/Personalization/dom-actions/scripts.js +11 -11
  95. package/libEs5/components/Personalization/dom-actions/setAttributes.js +2 -2
  96. package/libEs5/components/Personalization/dom-actions/setHtml.js +5 -5
  97. package/libEs5/components/Personalization/dom-actions/setStyles.js +3 -3
  98. package/libEs5/components/Personalization/dom-actions/swapImage.js +5 -5
  99. package/libEs5/components/Personalization/event.js +1 -1
  100. package/libEs5/components/Personalization/flicker/index.js +13 -13
  101. package/libEs5/components/Personalization/handlers/createProcessInAppMessage.js +1 -1
  102. package/libEs5/components/Personalization/handlers/injectCreateProposition.js +2 -2
  103. package/libEs5/components/Personalization/in-app-message-actions/actions/displayIframeContent.js +23 -21
  104. package/libEs5/components/Personalization/in-app-message-actions/initInAppMessageActionsModules.js +1 -1
  105. package/libEs5/components/Personalization/in-app-message-actions/utils.js +7 -7
  106. package/libEs5/components/Personalization/index.js +43 -43
  107. package/libEs5/components/Personalization/utils/addRenderAttemptedToDecisions.js +2 -2
  108. package/libEs5/components/Personalization/utils/surfaceUtils.js +11 -9
  109. package/libEs5/components/Personalization/validateApplyPropositionsOptions.js +5 -5
  110. package/libEs5/components/Privacy/computeConsentHash.js +2 -2
  111. package/libEs5/components/Privacy/createComponent.js +1 -1
  112. package/libEs5/components/Privacy/createConsentHashStore.js +2 -2
  113. package/libEs5/components/Privacy/createConsentRequest.js +2 -2
  114. package/libEs5/components/Privacy/createConsentRequestPayload.js +2 -2
  115. package/libEs5/components/Privacy/createStoredConsent.js +3 -3
  116. package/libEs5/components/Privacy/index.js +13 -13
  117. package/libEs5/components/Privacy/injectSendSetConsentRequest.js +4 -4
  118. package/libEs5/components/Privacy/validateSetConsentOptions.js +6 -6
  119. package/libEs5/components/StreamingMedia/configValidators.js +8 -8
  120. package/libEs5/components/StreamingMedia/createMediaEventManager.js +6 -6
  121. package/libEs5/components/StreamingMedia/createMediaRequest.js +2 -2
  122. package/libEs5/components/StreamingMedia/createMediaResponseHandler.js +5 -5
  123. package/libEs5/components/StreamingMedia/createMediaSessionCacheManager.js +1 -1
  124. package/libEs5/components/StreamingMedia/createStreamingMediaComponent.js +4 -4
  125. package/libEs5/components/StreamingMedia/createTrackMediaEvent.js +1 -1
  126. package/libEs5/components/StreamingMedia/createTrackMediaSession.js +1 -1
  127. package/libEs5/components/StreamingMedia/index.js +8 -8
  128. package/libEs5/components/StreamingMedia/validateMediaEventOptions.js +13 -13
  129. package/libEs5/components/StreamingMedia/validateMediaSessionOptions.js +12 -12
  130. package/libEs5/constants/libraryVersion.js +1 -1
  131. package/libEs5/constants/propositionEventType.js +1 -1
  132. package/libEs5/core/buildAndValidateConfig.js +2 -2
  133. package/libEs5/core/componentCreators.js +14 -14
  134. package/libEs5/core/config/createConfig.js +2 -2
  135. package/libEs5/core/config/createCoreConfigs.js +15 -15
  136. package/libEs5/core/consent/createConsent.js +3 -3
  137. package/libEs5/core/consent/createConsentStateMachine.js +2 -2
  138. package/libEs5/core/createComponentRegistry.js +4 -4
  139. package/libEs5/core/createCookieTransfer.js +2 -2
  140. package/libEs5/core/createEvent.js +12 -12
  141. package/libEs5/core/createEventManager.js +9 -9
  142. package/libEs5/core/createLogController.js +4 -4
  143. package/libEs5/core/createLogger.js +2 -2
  144. package/libEs5/core/edgeNetwork/injectApplyResponse.js +7 -7
  145. package/libEs5/core/edgeNetwork/injectGetLocationHint.js +4 -4
  146. package/libEs5/core/edgeNetwork/injectProcessWarningsAndErrors.js +1 -1
  147. package/libEs5/core/edgeNetwork/injectSendEdgeNetworkRequest.js +9 -9
  148. package/libEs5/core/edgeNetwork/mergeLifecycleResponses.js +2 -2
  149. package/libEs5/core/index.js +44 -44
  150. package/libEs5/core/initializeComponents.js +2 -2
  151. package/libEs5/core/injectCreateResponse.js +3 -3
  152. package/libEs5/core/injectExecuteCommand.js +4 -4
  153. package/libEs5/core/injectHandleError.js +4 -4
  154. package/libEs5/core/injectShouldTransferCookie.js +3 -3
  155. package/libEs5/core/network/getRequestRetryDelay.js +3 -3
  156. package/libEs5/core/network/injectSendNetworkRequest.js +2 -2
  157. package/libEs5/core/network/isRequestRetryable.js +3 -3
  158. package/libEs5/index.js +10 -10
  159. package/libEs5/utils/areThirdPartyCookiesSupportedByDefault.js +2 -2
  160. package/libEs5/utils/assignConcatArrayValues.js +2 -2
  161. package/libEs5/utils/assignIf.js +1 -1
  162. package/libEs5/utils/createMerger.js +1 -1
  163. package/libEs5/utils/createSubscription.js +1 -1
  164. package/libEs5/utils/deepAssign.js +2 -2
  165. package/libEs5/utils/dom/awaitSelector.js +3 -3
  166. package/libEs5/utils/dom/createNode.js +2 -2
  167. package/libEs5/utils/dom/index.js +8 -8
  168. package/libEs5/utils/dom/isShadowSelector.js +1 -1
  169. package/libEs5/utils/dom/querySelectorAll.js +1 -1
  170. package/libEs5/utils/dom/selectNodes.js +3 -3
  171. package/libEs5/utils/dom/selectNodesWithShadow.js +3 -3
  172. package/libEs5/utils/filterObject.js +3 -3
  173. package/libEs5/utils/fireImage.js +2 -2
  174. package/libEs5/utils/getApexDomain.js +2 -2
  175. package/libEs5/utils/getBrowser.js +2 -2
  176. package/libEs5/utils/getNamespacedCookieName.js +2 -2
  177. package/libEs5/utils/index.js +58 -58
  178. package/libEs5/utils/injectDoesIdentityCookieExist.js +3 -3
  179. package/libEs5/utils/injectFireReferrerHideableImage.js +6 -6
  180. package/libEs5/utils/injectStorage.js +2 -2
  181. package/libEs5/utils/intersection.js +1 -1
  182. package/libEs5/utils/isBlankString.js +1 -1
  183. package/libEs5/utils/isEmptyObject.js +1 -1
  184. package/libEs5/utils/isInteger.js +1 -1
  185. package/libEs5/utils/isNamespacedCookieName.js +2 -2
  186. package/libEs5/utils/isNonEmptyString.js +1 -1
  187. package/libEs5/utils/isObject.js +1 -1
  188. package/libEs5/utils/isValidRegExp.js +1 -1
  189. package/libEs5/utils/parseUrl.js +1 -1
  190. package/libEs5/utils/prepareConfigOverridesForEdge.js +7 -7
  191. package/libEs5/utils/request/createDataCollectionRequest.js +1 -1
  192. package/libEs5/utils/request/createDataCollectionRequestPayload.js +3 -3
  193. package/libEs5/utils/request/createGetAssuranceValidationTokenParams.js +1 -1
  194. package/libEs5/utils/request/createRequest.js +2 -2
  195. package/libEs5/utils/request/createRequestParams.js +1 -1
  196. package/libEs5/utils/request/createRequestPayload.js +6 -6
  197. package/libEs5/utils/request/index.js +8 -8
  198. package/libEs5/utils/stackError.js +2 -2
  199. package/libEs5/utils/stringToBoolean.js +1 -1
  200. package/libEs5/utils/toISOStringLocal.js +2 -2
  201. package/libEs5/utils/toInteger.js +2 -2
  202. package/libEs5/utils/uuid.js +2 -2
  203. package/libEs5/utils/validateConfigOverride.js +2 -2
  204. package/libEs5/utils/validateIdentityMap.js +2 -2
  205. package/libEs5/utils/validation/booleanValidator.js +2 -2
  206. package/libEs5/utils/validation/callbackValidator.js +2 -2
  207. package/libEs5/utils/validation/createAnyOfValidator.js +2 -2
  208. package/libEs5/utils/validation/createArrayOfValidator.js +1 -1
  209. package/libEs5/utils/validation/createDeprecatedValidator.js +3 -3
  210. package/libEs5/utils/validation/createLiteralValidator.js +1 -1
  211. package/libEs5/utils/validation/createMapOfValuesValidator.js +2 -2
  212. package/libEs5/utils/validation/createMaximumValidator.js +1 -1
  213. package/libEs5/utils/validation/createMinimumValidator.js +1 -1
  214. package/libEs5/utils/validation/createNonEmptyValidator.js +3 -3
  215. package/libEs5/utils/validation/createObjectOfValidator.js +2 -2
  216. package/libEs5/utils/validation/createUniqueItemsValidator.js +2 -2
  217. package/libEs5/utils/validation/createUniqueValidator.js +1 -1
  218. package/libEs5/utils/validation/domainValidator.js +1 -1
  219. package/libEs5/utils/validation/index.js +23 -23
  220. package/libEs5/utils/validation/integerValidator.js +2 -2
  221. package/libEs5/utils/validation/matchesRegexpValidator.js +1 -1
  222. package/libEs5/utils/validation/numberValidator.js +2 -2
  223. package/libEs5/utils/validation/regexpValidator.js +2 -2
  224. package/libEs5/utils/validation/stringValidator.js +2 -2
  225. package/libEs5/utils/validation/utils.js +1 -1
  226. package/libEs6/components/ActivityCollector/attachClickActivityCollector.js +1 -1
  227. package/libEs6/components/ActivityCollector/configValidators.js +1 -1
  228. package/libEs6/components/ActivityCollector/getLinkName.js +1 -1
  229. package/libEs6/components/ActivityCollector/getLinkRegion.js +2 -2
  230. package/libEs6/components/ActivityCollector/index.js +7 -7
  231. package/libEs6/components/Audiences/index.js +3 -3
  232. package/libEs6/components/Audiences/injectProcessDestinations.js +1 -1
  233. package/libEs6/components/Context/createComponent.js +1 -1
  234. package/libEs6/components/Context/implementationDetails.js +3 -3
  235. package/libEs6/components/Context/index.js +9 -9
  236. package/libEs6/components/Context/injectDevice.js +1 -1
  237. package/libEs6/components/Context/injectEnvironment.js +1 -1
  238. package/libEs6/components/Context/injectHighEntropyUserAgentHints.js +2 -2
  239. package/libEs6/components/Context/injectPlaceContext.js +1 -1
  240. package/libEs6/components/Context/injectTimestamp.js +1 -1
  241. package/libEs6/components/Context/injectWeb.js +1 -1
  242. package/libEs6/components/DataCollector/index.js +3 -3
  243. package/libEs6/components/DataCollector/validateApplyResponse.js +1 -1
  244. package/libEs6/components/DataCollector/validateUserEventOptions.js +2 -2
  245. package/libEs6/components/DecisioningEngine/consequenceAdapters/inAppMessageConsequenceAdapter.js +2 -2
  246. package/libEs6/components/DecisioningEngine/createConsequenceAdapter.js +2 -2
  247. package/libEs6/components/DecisioningEngine/createContextProvider.js +4 -4
  248. package/libEs6/components/DecisioningEngine/createDecisionHistory.js +1 -1
  249. package/libEs6/components/DecisioningEngine/createDecisionProvider.js +3 -3
  250. package/libEs6/components/DecisioningEngine/createEvaluableRulesetPayload.js +5 -5
  251. package/libEs6/components/DecisioningEngine/createEvaluateRulesetsCommand.js +1 -1
  252. package/libEs6/components/DecisioningEngine/createEventRegistry.js +3 -3
  253. package/libEs6/components/DecisioningEngine/createOnResponseHandler.js +2 -2
  254. package/libEs6/components/DecisioningEngine/createSubscribeRulesetItems.js +3 -3
  255. package/libEs6/components/DecisioningEngine/index.js +11 -11
  256. package/libEs6/components/EventMerge/createEventMergeId.js +1 -1
  257. package/libEs6/components/EventMerge/index.js +2 -2
  258. package/libEs6/components/Identity/addEcidQueryToPayload.js +1 -1
  259. package/libEs6/components/Identity/addEcidToPayload.js +1 -1
  260. package/libEs6/components/Identity/appendIdentityToUrl/appendIdentityToUrlOptionsValidator.js +2 -2
  261. package/libEs6/components/Identity/configValidators.js +1 -1
  262. package/libEs6/components/Identity/createComponent.js +3 -3
  263. package/libEs6/components/Identity/getEcidFromResponse.js +2 -2
  264. package/libEs6/components/Identity/getIdentity/createGetIdentity.js +1 -1
  265. package/libEs6/components/Identity/getIdentity/createIdentityRequest.js +1 -1
  266. package/libEs6/components/Identity/getIdentity/createIdentityRequestPayload.js +1 -1
  267. package/libEs6/components/Identity/getIdentity/getIdentityOptionsValidator.js +2 -2
  268. package/libEs6/components/Identity/index.js +20 -20
  269. package/libEs6/components/Identity/injectAddLegacyEcidToPayload.js +1 -1
  270. package/libEs6/components/Identity/injectAddQueryStringIdentityToPayload.js +3 -3
  271. package/libEs6/components/Identity/injectProcessIdSyncs.js +1 -1
  272. package/libEs6/components/Identity/injectSetDomainForInitialIdentityPayload.js +1 -1
  273. package/libEs6/components/Identity/visitorService/awaitVisitorOptIn.js +1 -1
  274. package/libEs6/components/Identity/visitorService/getVisitor.js +1 -1
  275. package/libEs6/components/Identity/visitorService/injectGetEcidFromVisitor.js +1 -1
  276. package/libEs6/components/LegacyMediaAnalytics/createGetInstance.js +12 -13
  277. package/libEs6/components/LegacyMediaAnalytics/createLegacyMediaComponent.js +2 -2
  278. package/libEs6/components/LegacyMediaAnalytics/createMediaHelper.js +2 -2
  279. package/libEs6/components/LegacyMediaAnalytics/index.js +9 -9
  280. package/libEs6/components/LibraryInfo/index.js +2 -2
  281. package/libEs6/components/MachineLearning/index.js +1 -1
  282. package/libEs6/components/Personalization/createActionsProvider.js +2 -2
  283. package/libEs6/components/Personalization/createApplyPropositions.js +3 -3
  284. package/libEs6/components/Personalization/createCollect.js +3 -3
  285. package/libEs6/components/Personalization/createComponent.js +5 -5
  286. package/libEs6/components/Personalization/createFetchDataHandler.js +1 -1
  287. package/libEs6/components/Personalization/createHandleConsentFlicker.js +1 -1
  288. package/libEs6/components/Personalization/createNotificationHandler.js +1 -1
  289. package/libEs6/components/Personalization/createOnClickHandler.js +3 -3
  290. package/libEs6/components/Personalization/createPersonalizationDetails.js +4 -4
  291. package/libEs6/components/Personalization/createPreprocessors.js +3 -3
  292. package/libEs6/components/Personalization/createSetTargetMigration.js +1 -1
  293. package/libEs6/components/Personalization/createViewCacheManager.js +4 -4
  294. package/libEs6/components/Personalization/dom-actions/action.js +14 -14
  295. package/libEs6/components/Personalization/dom-actions/addNonceToInlineStyleElements.js +4 -4
  296. package/libEs6/components/Personalization/dom-actions/appendHtml.js +5 -5
  297. package/libEs6/components/Personalization/dom-actions/clicks/collectClicks.js +2 -2
  298. package/libEs6/components/Personalization/dom-actions/createPreprocess.js +1 -1
  299. package/libEs6/components/Personalization/dom-actions/createRedirect.js +1 -1
  300. package/libEs6/components/Personalization/dom-actions/dom/createFragment.js +2 -2
  301. package/libEs6/components/Personalization/dom-actions/dom/getChildNodes.js +1 -1
  302. package/libEs6/components/Personalization/dom-actions/dom/getChildren.js +1 -1
  303. package/libEs6/components/Personalization/dom-actions/dom/helperForEq.js +1 -1
  304. package/libEs6/components/Personalization/dom-actions/dom/index.js +14 -14
  305. package/libEs6/components/Personalization/dom-actions/dom/insertAfter.js +2 -2
  306. package/libEs6/components/Personalization/dom-actions/dom/insertBefore.js +1 -1
  307. package/libEs6/components/Personalization/dom-actions/dom/matchesSelectorWithEq.js +3 -3
  308. package/libEs6/components/Personalization/dom-actions/dom/selectNodesWithEq.js +2 -2
  309. package/libEs6/components/Personalization/dom-actions/images.js +4 -4
  310. package/libEs6/components/Personalization/dom-actions/index.js +1 -1
  311. package/libEs6/components/Personalization/dom-actions/initDomActionsModules.js +2 -2
  312. package/libEs6/components/Personalization/dom-actions/insertHtmlAfter.js +4 -4
  313. package/libEs6/components/Personalization/dom-actions/insertHtmlBefore.js +4 -4
  314. package/libEs6/components/Personalization/dom-actions/prependHtml.js +5 -5
  315. package/libEs6/components/Personalization/dom-actions/rearrangeChildren.js +1 -1
  316. package/libEs6/components/Personalization/dom-actions/remapCustomCodeOffers.js +1 -1
  317. package/libEs6/components/Personalization/dom-actions/remapHeadOffers.js +6 -6
  318. package/libEs6/components/Personalization/dom-actions/replaceHtml.js +2 -2
  319. package/libEs6/components/Personalization/dom-actions/scripts.js +4 -4
  320. package/libEs6/components/Personalization/dom-actions/setAttributes.js +1 -1
  321. package/libEs6/components/Personalization/dom-actions/setHtml.js +3 -3
  322. package/libEs6/components/Personalization/dom-actions/setStyles.js +1 -1
  323. package/libEs6/components/Personalization/dom-actions/swapImage.js +3 -3
  324. package/libEs6/components/Personalization/event.js +1 -1
  325. package/libEs6/components/Personalization/flicker/index.js +3 -3
  326. package/libEs6/components/Personalization/handlers/createProcessInAppMessage.js +1 -1
  327. package/libEs6/components/Personalization/handlers/injectCreateProposition.js +2 -2
  328. package/libEs6/components/Personalization/in-app-message-actions/actions/displayIframeContent.js +11 -9
  329. package/libEs6/components/Personalization/in-app-message-actions/initInAppMessageActionsModules.js +1 -1
  330. package/libEs6/components/Personalization/in-app-message-actions/utils.js +2 -2
  331. package/libEs6/components/Personalization/index.js +35 -35
  332. package/libEs6/components/Personalization/utils/addRenderAttemptedToDecisions.js +1 -1
  333. package/libEs6/components/Personalization/utils/surfaceUtils.js +4 -2
  334. package/libEs6/components/Personalization/validateApplyPropositionsOptions.js +1 -1
  335. package/libEs6/components/Privacy/computeConsentHash.js +1 -1
  336. package/libEs6/components/Privacy/createComponent.js +1 -1
  337. package/libEs6/components/Privacy/createConsentHashStore.js +1 -1
  338. package/libEs6/components/Privacy/createConsentRequest.js +1 -1
  339. package/libEs6/components/Privacy/createConsentRequestPayload.js +1 -1
  340. package/libEs6/components/Privacy/createStoredConsent.js +2 -2
  341. package/libEs6/components/Privacy/index.js +9 -9
  342. package/libEs6/components/Privacy/injectSendSetConsentRequest.js +2 -2
  343. package/libEs6/components/Privacy/validateSetConsentOptions.js +2 -2
  344. package/libEs6/components/StreamingMedia/configValidators.js +1 -1
  345. package/libEs6/components/StreamingMedia/createMediaEventManager.js +4 -4
  346. package/libEs6/components/StreamingMedia/createMediaRequest.js +1 -1
  347. package/libEs6/components/StreamingMedia/createMediaResponseHandler.js +4 -4
  348. package/libEs6/components/StreamingMedia/createMediaSessionCacheManager.js +1 -1
  349. package/libEs6/components/StreamingMedia/createStreamingMediaComponent.js +3 -3
  350. package/libEs6/components/StreamingMedia/createTrackMediaEvent.js +1 -1
  351. package/libEs6/components/StreamingMedia/createTrackMediaSession.js +1 -1
  352. package/libEs6/components/StreamingMedia/index.js +8 -8
  353. package/libEs6/components/StreamingMedia/validateMediaEventOptions.js +2 -2
  354. package/libEs6/components/StreamingMedia/validateMediaSessionOptions.js +1 -1
  355. package/libEs6/constants/libraryVersion.js +1 -1
  356. package/libEs6/constants/propositionEventType.js +1 -1
  357. package/libEs6/core/buildAndValidateConfig.js +1 -1
  358. package/libEs6/core/componentCreators.js +13 -13
  359. package/libEs6/core/config/createConfig.js +1 -1
  360. package/libEs6/core/config/createCoreConfigs.js +5 -5
  361. package/libEs6/core/consent/createConsent.js +3 -3
  362. package/libEs6/core/consent/createConsentStateMachine.js +1 -1
  363. package/libEs6/core/createComponentRegistry.js +1 -1
  364. package/libEs6/core/createCookieTransfer.js +1 -1
  365. package/libEs6/core/createEvent.js +1 -1
  366. package/libEs6/core/createEventManager.js +3 -3
  367. package/libEs6/core/createLogController.js +2 -2
  368. package/libEs6/core/createLogger.js +1 -1
  369. package/libEs6/core/edgeNetwork/injectApplyResponse.js +3 -3
  370. package/libEs6/core/edgeNetwork/injectGetLocationHint.js +3 -3
  371. package/libEs6/core/edgeNetwork/injectProcessWarningsAndErrors.js +1 -1
  372. package/libEs6/core/edgeNetwork/injectSendEdgeNetworkRequest.js +5 -5
  373. package/libEs6/core/edgeNetwork/mergeLifecycleResponses.js +1 -1
  374. package/libEs6/core/index.js +33 -33
  375. package/libEs6/core/initializeComponents.js +1 -1
  376. package/libEs6/core/injectCreateResponse.js +2 -2
  377. package/libEs6/core/injectExecuteCommand.js +2 -2
  378. package/libEs6/core/injectHandleError.js +2 -2
  379. package/libEs6/core/injectShouldTransferCookie.js +2 -2
  380. package/libEs6/core/network/getRequestRetryDelay.js +2 -2
  381. package/libEs6/core/network/injectSendNetworkRequest.js +1 -1
  382. package/libEs6/core/network/isRequestRetryable.js +2 -2
  383. package/libEs6/index.js +5 -5
  384. package/libEs6/utils/areThirdPartyCookiesSupportedByDefault.js +2 -2
  385. package/libEs6/utils/assignConcatArrayValues.js +2 -2
  386. package/libEs6/utils/assignIf.js +1 -1
  387. package/libEs6/utils/createMerger.js +1 -1
  388. package/libEs6/utils/createSubscription.js +1 -1
  389. package/libEs6/utils/deepAssign.js +2 -2
  390. package/libEs6/utils/dom/awaitSelector.js +3 -3
  391. package/libEs6/utils/dom/createNode.js +2 -2
  392. package/libEs6/utils/dom/index.js +8 -8
  393. package/libEs6/utils/dom/isShadowSelector.js +1 -1
  394. package/libEs6/utils/dom/querySelectorAll.js +1 -1
  395. package/libEs6/utils/dom/selectNodes.js +3 -3
  396. package/libEs6/utils/dom/selectNodesWithShadow.js +3 -3
  397. package/libEs6/utils/filterObject.js +3 -3
  398. package/libEs6/utils/fireImage.js +2 -2
  399. package/libEs6/utils/getApexDomain.js +2 -2
  400. package/libEs6/utils/getBrowser.js +2 -2
  401. package/libEs6/utils/getNamespacedCookieName.js +2 -2
  402. package/libEs6/utils/index.js +58 -58
  403. package/libEs6/utils/injectDoesIdentityCookieExist.js +3 -3
  404. package/libEs6/utils/injectFireReferrerHideableImage.js +3 -3
  405. package/libEs6/utils/injectStorage.js +2 -2
  406. package/libEs6/utils/intersection.js +1 -1
  407. package/libEs6/utils/isBlankString.js +1 -1
  408. package/libEs6/utils/isEmptyObject.js +1 -1
  409. package/libEs6/utils/isInteger.js +1 -1
  410. package/libEs6/utils/isNamespacedCookieName.js +2 -2
  411. package/libEs6/utils/isNonEmptyString.js +1 -1
  412. package/libEs6/utils/isObject.js +1 -1
  413. package/libEs6/utils/isValidRegExp.js +1 -1
  414. package/libEs6/utils/parseUrl.js +1 -1
  415. package/libEs6/utils/prepareConfigOverridesForEdge.js +7 -7
  416. package/libEs6/utils/request/createDataCollectionRequest.js +1 -1
  417. package/libEs6/utils/request/createDataCollectionRequestPayload.js +3 -3
  418. package/libEs6/utils/request/createGetAssuranceValidationTokenParams.js +1 -1
  419. package/libEs6/utils/request/createRequest.js +1 -1
  420. package/libEs6/utils/request/createRequestPayload.js +1 -1
  421. package/libEs6/utils/request/index.js +8 -8
  422. package/libEs6/utils/stackError.js +2 -2
  423. package/libEs6/utils/stringToBoolean.js +1 -1
  424. package/libEs6/utils/toISOStringLocal.js +2 -2
  425. package/libEs6/utils/toInteger.js +2 -2
  426. package/libEs6/utils/uuid.js +2 -2
  427. package/libEs6/utils/validateConfigOverride.js +1 -1
  428. package/libEs6/utils/validateIdentityMap.js +2 -2
  429. package/libEs6/utils/validation/booleanValidator.js +2 -2
  430. package/libEs6/utils/validation/callbackValidator.js +2 -2
  431. package/libEs6/utils/validation/createAnyOfValidator.js +2 -2
  432. package/libEs6/utils/validation/createArrayOfValidator.js +1 -1
  433. package/libEs6/utils/validation/createDeprecatedValidator.js +2 -2
  434. package/libEs6/utils/validation/createLiteralValidator.js +1 -1
  435. package/libEs6/utils/validation/createMapOfValuesValidator.js +2 -2
  436. package/libEs6/utils/validation/createMaximumValidator.js +1 -1
  437. package/libEs6/utils/validation/createMinimumValidator.js +1 -1
  438. package/libEs6/utils/validation/createNonEmptyValidator.js +3 -3
  439. package/libEs6/utils/validation/createObjectOfValidator.js +2 -2
  440. package/libEs6/utils/validation/createUniqueItemsValidator.js +2 -2
  441. package/libEs6/utils/validation/createUniqueValidator.js +1 -1
  442. package/libEs6/utils/validation/domainValidator.js +1 -1
  443. package/libEs6/utils/validation/index.js +23 -23
  444. package/libEs6/utils/validation/integerValidator.js +2 -2
  445. package/libEs6/utils/validation/matchesRegexpValidator.js +1 -1
  446. package/libEs6/utils/validation/numberValidator.js +2 -2
  447. package/libEs6/utils/validation/regexpValidator.js +2 -2
  448. package/libEs6/utils/validation/stringValidator.js +2 -2
  449. package/libEs6/utils/validation/utils.js +1 -1
  450. package/package.json +68 -65
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
 
3
3
  exports.default = void 0;
4
- var _utils = require("./utils");
5
- var _isObject = require("../isObject");
6
- var _isEmptyObject = require("../isEmptyObject");
4
+ var _utils = require("./utils.js");
5
+ var _isObject = require("../isObject.js");
6
+ var _isEmptyObject = require("../isEmptyObject.js");
7
7
  /*
8
8
  Copyright 2019 Adobe. All rights reserved.
9
9
  This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  exports.default = void 0;
4
- var _isObject = require("../isObject");
5
- var _utils = require("./utils");
4
+ var _isObject = require("../isObject.js");
5
+ var _utils = require("./utils.js");
6
6
  /*
7
7
  Copyright 2020 Adobe. All rights reserved.
8
8
  This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  exports.default = void 0;
4
- var _utils = require("./utils");
5
- var _isUnique = require("../isUnique");
4
+ var _utils = require("./utils.js");
5
+ var _isUnique = require("../isUnique.js");
6
6
  /*
7
7
  Copyright 2022 Adobe. All rights reserved.
8
8
  This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  exports.default = void 0;
4
- var _utils = require("./utils");
4
+ var _utils = require("./utils.js");
5
5
  /*
6
6
  Copyright 2019 Adobe. All rights reserved.
7
7
  This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  exports.default = void 0;
4
- var _utils = require("./utils");
4
+ var _utils = require("./utils.js");
5
5
  /*
6
6
  Copyright 2019 Adobe. All rights reserved.
7
7
  This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -1,29 +1,29 @@
1
1
  "use strict";
2
2
 
3
3
  exports.string = exports.objectOf = exports.number = exports.mapOfValues = exports.literal = exports.enumOf = exports.callback = exports.boolean = exports.arrayOf = exports.anything = exports.anyOf = void 0;
4
- var _utils = require("./utils");
5
- var _booleanValidator = require("./booleanValidator");
6
- var _callbackValidator = require("./callbackValidator");
7
- var _createArrayOfValidator = require("./createArrayOfValidator");
8
- var _createDefaultValidator = require("./createDefaultValidator");
9
- var _createDeprecatedValidator = require("./createDeprecatedValidator");
10
- var _createLiteralValidator = require("./createLiteralValidator");
11
- var _createMapOfValuesValidator = require("./createMapOfValuesValidator");
12
- var _createMinimumValidator = require("./createMinimumValidator");
13
- var _createMaximumValidator = require("./createMaximumValidator");
14
- var _createNoUnknownFieldsValidator = require("./createNoUnknownFieldsValidator");
15
- var _createNonEmptyValidator = require("./createNonEmptyValidator");
16
- var _createObjectOfValidator = require("./createObjectOfValidator");
17
- var _createAnyOfValidator = require("./createAnyOfValidator");
18
- var _createUniqueValidator = require("./createUniqueValidator");
19
- var _createUniqueItemsValidator = require("./createUniqueItemsValidator");
20
- var _domainValidator = require("./domainValidator");
21
- var _integerValidator = require("./integerValidator");
22
- var _numberValidator = require("./numberValidator");
23
- var _regexpValidator = require("./regexpValidator");
24
- var _requiredValidator = require("./requiredValidator");
25
- var _stringValidator = require("./stringValidator");
26
- var _matchesRegexpValidator = require("./matchesRegexpValidator");
4
+ var _utils = require("./utils.js");
5
+ var _booleanValidator = require("./booleanValidator.js");
6
+ var _callbackValidator = require("./callbackValidator.js");
7
+ var _createArrayOfValidator = require("./createArrayOfValidator.js");
8
+ var _createDefaultValidator = require("./createDefaultValidator.js");
9
+ var _createDeprecatedValidator = require("./createDeprecatedValidator.js");
10
+ var _createLiteralValidator = require("./createLiteralValidator.js");
11
+ var _createMapOfValuesValidator = require("./createMapOfValuesValidator.js");
12
+ var _createMinimumValidator = require("./createMinimumValidator.js");
13
+ var _createMaximumValidator = require("./createMaximumValidator.js");
14
+ var _createNoUnknownFieldsValidator = require("./createNoUnknownFieldsValidator.js");
15
+ var _createNonEmptyValidator = require("./createNonEmptyValidator.js");
16
+ var _createObjectOfValidator = require("./createObjectOfValidator.js");
17
+ var _createAnyOfValidator = require("./createAnyOfValidator.js");
18
+ var _createUniqueValidator = require("./createUniqueValidator.js");
19
+ var _createUniqueItemsValidator = require("./createUniqueItemsValidator.js");
20
+ var _domainValidator = require("./domainValidator.js");
21
+ var _integerValidator = require("./integerValidator.js");
22
+ var _numberValidator = require("./numberValidator.js");
23
+ var _regexpValidator = require("./regexpValidator.js");
24
+ var _requiredValidator = require("./requiredValidator.js");
25
+ var _stringValidator = require("./stringValidator.js");
26
+ var _matchesRegexpValidator = require("./matchesRegexpValidator.js");
27
27
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
28
28
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
29
29
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  exports.default = void 0;
4
- var _isInteger = require("../isInteger");
5
- var _utils = require("./utils");
4
+ var _isInteger = require("../isInteger.js");
5
+ var _utils = require("./utils.js");
6
6
  /*
7
7
  Copyright 2019 Adobe. All rights reserved.
8
8
  This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  exports.default = void 0;
4
- var _utils = require("./utils");
4
+ var _utils = require("./utils.js");
5
5
  /*
6
6
  Copyright 2023 Adobe. All rights reserved.
7
7
  This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  exports.default = void 0;
4
- var _isNumber = require("../isNumber");
5
- var _utils = require("./utils");
4
+ var _isNumber = require("../isNumber.js");
5
+ var _utils = require("./utils.js");
6
6
  /*
7
7
  Copyright 2019 Adobe. All rights reserved.
8
8
  This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  exports.default = void 0;
4
- var _utils = require("./utils");
5
- var _isValidRegExp = require("../isValidRegExp");
4
+ var _utils = require("./utils.js");
5
+ var _isValidRegExp = require("../isValidRegExp.js");
6
6
  /*
7
7
  Copyright 2019 Adobe. All rights reserved.
8
8
  This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  exports.default = void 0;
4
- var _isString = require("../isString");
5
- var _utils = require("./utils");
4
+ var _isString = require("../isString.js");
5
+ var _utils = require("./utils.js");
6
6
  /*
7
7
  Copyright 2019 Adobe. All rights reserved.
8
8
  This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  exports.reverseNullSafeChainJoinErrors = exports.nullSafeChain = exports.chain = exports.assertValid = void 0;
4
- var _assign = require("../assign");
4
+ var _assign = require("../assign.js");
5
5
  /*
6
6
  Copyright 2023 Adobe. All rights reserved.
7
7
  This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -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
- import { noop } from "../../utils";
13
+ import { noop } from "../../utils/index.js";
14
14
  const createClickHandler = ({
15
15
  eventManager,
16
16
  lifecycle,
@@ -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
- import { boolean, callback, objectOf, string } from "../../utils/validation";
13
+ import { boolean, callback, objectOf, string } from "../../utils/validation/index.js";
14
14
  export const downloadLinkQualifier = string().regexp().default("\\.(exe|zip|wav|mp3|mov|mpg|avi|wmv|pdf|doc|docx|xls|xlsx|ppt|pptx)$");
15
15
  export default objectOf({
16
16
  clickCollectionEnabled: boolean().default(true),
@@ -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
- import { truncateWhiteSpace } from "./utils";
13
+ import { truncateWhiteSpace } from "./utils.js";
14
14
  const unsupportedNodeNames = /^(SCRIPT|STYLE|LINK|CANVAS|NOSCRIPT|#COMMENT)$/i;
15
15
 
16
16
  /**
@@ -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
- import { truncateWhiteSpace } from "./utils";
14
- import { isNonEmptyString } from "../../utils";
13
+ import { truncateWhiteSpace } from "./utils.js";
14
+ import { isNonEmptyString } from "../../utils/index.js";
15
15
  const semanticElements = /^(HEADER|MAIN|FOOTER|NAV)$/i;
16
16
  const getAriaRegionLabel = node => {
17
17
  let regionLabel;
@@ -10,13 +10,13 @@ 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
- import attachClickActivityCollector from "./attachClickActivityCollector";
14
- import configValidators from "./configValidators";
15
- import createLinkClick from "./createLinkClick";
16
- import createGetLinkDetails from "./createGetLinkDetails";
17
- import getLinkName from "./getLinkName";
18
- import getLinkRegion from "./getLinkRegion";
19
- import { determineLinkType, findSupportedAnchorElement, getAbsoluteUrlFromAnchorElement } from "./utils";
13
+ import attachClickActivityCollector from "./attachClickActivityCollector.js";
14
+ import configValidators from "./configValidators.js";
15
+ import createLinkClick from "./createLinkClick.js";
16
+ import createGetLinkDetails from "./createGetLinkDetails.js";
17
+ import getLinkName from "./getLinkName.js";
18
+ import getLinkRegion from "./getLinkRegion.js";
19
+ import { determineLinkType, findSupportedAnchorElement, getAbsoluteUrlFromAnchorElement } from "./utils.js";
20
20
  const getLinkDetails = createGetLinkDetails({
21
21
  window,
22
22
  getLinkName,
@@ -10,9 +10,9 @@ 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
- import { createLoggingCookieJar, cookieJar } from "../../utils";
14
- import injectProcessDestinations from "./injectProcessDestinations";
15
- import injectProcessResponse from "./injectProcessResponse";
13
+ import { createLoggingCookieJar, cookieJar } from "../../utils/index.js";
14
+ import injectProcessDestinations from "./injectProcessDestinations.js";
15
+ import injectProcessResponse from "./injectProcessResponse.js";
16
16
  const createAudiences = ({
17
17
  logger,
18
18
  fireReferrerHideableImage
@@ -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
- import { noop } from "../../utils";
13
+ import { noop } from "../../utils/index.js";
14
14
  const createResultLogMessage = (urlDestination, success) => {
15
15
  return `URL destination ${success ? "succeeded" : "failed"}: ${urlDestination.spec.url}`;
16
16
  };
@@ -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
- import { flatMap } from "../../utils";
13
+ import { flatMap } from "../../utils/index.js";
14
14
  export default ((config, logger, optionalContexts, requiredContexts) => {
15
15
  const configuredContexts = config.context;
16
16
  const contexts = flatMap(configuredContexts, (context, i) => {
@@ -9,9 +9,9 @@ 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
- import { deepAssign } from "../../utils";
13
- import libraryName from "../../constants/libraryName";
14
- import libraryVersion from "../../constants/libraryVersion";
12
+ import { deepAssign } from "../../utils/index.js";
13
+ import libraryName from "../../constants/libraryName.js";
14
+ import libraryVersion from "../../constants/libraryVersion.js";
15
15
  export default (xdm => {
16
16
  const implementationDetails = {
17
17
  name: libraryName,
@@ -10,15 +10,15 @@ 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
- import injectWeb from "./injectWeb";
14
- import injectDevice from "./injectDevice";
15
- import injectEnvironment from "./injectEnvironment";
16
- import injectPlaceContext from "./injectPlaceContext";
17
- import injectTimestamp from "./injectTimestamp";
18
- import implementationDetails from "./implementationDetails";
19
- import createComponent from "./createComponent";
20
- import injectHighEntropyUserAgentHints from "./injectHighEntropyUserAgentHints";
21
- import { arrayOf, objectOf, string } from "../../utils/validation";
13
+ import injectWeb from "./injectWeb.js";
14
+ import injectDevice from "./injectDevice.js";
15
+ import injectEnvironment from "./injectEnvironment.js";
16
+ import injectPlaceContext from "./injectPlaceContext.js";
17
+ import injectTimestamp from "./injectTimestamp.js";
18
+ import implementationDetails from "./implementationDetails.js";
19
+ import createComponent from "./createComponent.js";
20
+ import injectHighEntropyUserAgentHints from "./injectHighEntropyUserAgentHints.js";
21
+ import { arrayOf, objectOf, string } from "../../utils/validation/index.js";
22
22
  const web = injectWeb(window);
23
23
  const device = injectDevice(window);
24
24
  const environment = injectEnvironment(window);
@@ -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
- import { deepAssign, isFunction, toInteger } from "../../utils";
13
+ import { deepAssign, isFunction, toInteger } from "../../utils/index.js";
14
14
  const getScreenOrientationViaProperty = window => {
15
15
  const {
16
16
  screen: {
@@ -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
- import { deepAssign, toInteger } from "../../utils";
13
+ import { deepAssign, toInteger } from "../../utils/index.js";
14
14
  export default (window => {
15
15
  return xdm => {
16
16
  const {
@@ -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
- import { deepAssign, noop } from "../../utils";
14
- import highEntropyUserAgentHints from "../../constants/highEntropyUserAgentClientHints";
13
+ import { deepAssign, noop } from "../../utils/index.js";
14
+ import highEntropyUserAgentHints from "../../constants/highEntropyUserAgentClientHints.js";
15
15
  const browserSupportsUserAgentClientHints = navigator => {
16
16
  return typeof navigator.userAgentData !== "undefined";
17
17
  };
@@ -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
- import { deepAssign, toISOStringLocal, toInteger } from "../../utils";
12
+ import { deepAssign, toISOStringLocal, toInteger } from "../../utils/index.js";
13
13
  export default (dateProvider => {
14
14
  return xdm => {
15
15
  const date = dateProvider();
@@ -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
- import { deepAssign } from "../../utils";
13
+ import { deepAssign } from "../../utils/index.js";
14
14
  export default (dateProvider => {
15
15
  return xdm => {
16
16
  const timestamp = dateProvider().toISOString();
@@ -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
- import { deepAssign } from "../../utils";
13
+ import { deepAssign } from "../../utils/index.js";
14
14
  export default (window => {
15
15
  return xdm => {
16
16
  const web = {
@@ -10,9 +10,9 @@ 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
- import validateUserEventOptions from "./validateUserEventOptions";
14
- import validateApplyResponse from "./validateApplyResponse";
15
- import { deepAssign } from "../../utils";
13
+ import validateUserEventOptions from "./validateUserEventOptions.js";
14
+ import validateApplyResponse from "./validateApplyResponse.js";
15
+ import { deepAssign } from "../../utils/index.js";
16
16
  const createDataCollector = ({
17
17
  eventManager,
18
18
  logger
@@ -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
- import { anything, arrayOf, boolean, mapOfValues, objectOf, string } from "../../utils/validation";
12
+ import { anything, arrayOf, boolean, mapOfValues, objectOf, string } from "../../utils/validation/index.js";
13
13
  export default (({
14
14
  options
15
15
  }) => {
@@ -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
- import { string, objectOf, boolean, arrayOf } from "../../utils/validation";
14
- import { validateConfigOverride, validateIdentityMap } from "../../utils";
13
+ import { string, objectOf, boolean, arrayOf } from "../../utils/validation/index.js";
14
+ import { validateConfigOverride, validateIdentityMap } from "../../utils/index.js";
15
15
  /**
16
16
  * Verifies user provided event options.
17
17
  * @param {*} options The user event options to validate
@@ -9,8 +9,8 @@ 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
- import { MESSAGE_IN_APP } from "../../../constants/schema";
13
- import { TEXT_HTML } from "../../../constants/contentType";
12
+ import { MESSAGE_IN_APP } from "../../../constants/schema.js";
13
+ import { TEXT_HTML } from "../../../constants/contentType.js";
14
14
  export default ((id, type, detail) => {
15
15
  const {
16
16
  html,
@@ -9,8 +9,8 @@ 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
- import inAppMessageConsequenceAdapter from "./consequenceAdapters/inAppMessageConsequenceAdapter";
13
- import schemaTypeConsequenceAdapter from "./consequenceAdapters/schemaTypeConsequenceAdapter";
12
+ import inAppMessageConsequenceAdapter from "./consequenceAdapters/inAppMessageConsequenceAdapter.js";
13
+ import schemaTypeConsequenceAdapter from "./consequenceAdapters/schemaTypeConsequenceAdapter.js";
14
14
  const CJM_IN_APP_MESSAGE_TYPE = "cjmiam";
15
15
  const SCHEMA = "schema";
16
16
  const adapters = {
@@ -9,10 +9,10 @@ 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
- import getBrowser from "../../utils/getBrowser";
13
- import parseUrl from "../../utils/parseUrl";
14
- import flattenObject from "../../utils/flattenObject";
15
- import libraryVersion from "../../constants/libraryVersion";
12
+ import getBrowser from "../../utils/getBrowser.js";
13
+ import parseUrl from "../../utils/parseUrl.js";
14
+ import flattenObject from "../../utils/flattenObject.js";
15
+ import libraryVersion from "../../constants/libraryVersion.js";
16
16
  export default (({
17
17
  eventRegistry,
18
18
  window
@@ -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
- import { PropositionEventType } from "../../constants/propositionEventType";
12
+ import { PropositionEventType } from "../../constants/propositionEventType.js";
13
13
  export default (({
14
14
  eventRegistry
15
15
  }) => {
@@ -9,9 +9,9 @@ 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
- import createEvaluableRulesetPayload from "./createEvaluableRulesetPayload";
13
- import createDecisionHistory from "./createDecisionHistory";
14
- import { getActivityId } from "./utils";
12
+ import createEvaluableRulesetPayload from "./createEvaluableRulesetPayload.js";
13
+ import createDecisionHistory from "./createDecisionHistory.js";
14
+ import { getActivityId } from "./utils.js";
15
15
  export default (({
16
16
  eventRegistry
17
17
  }) => {
@@ -10,11 +10,11 @@ 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 RulesEngine from "@adobe/aep-rules-engine";
13
- import { JSON_CONTENT_ITEM, RULESET_ITEM } from "../../constants/schema";
14
- import { DISPLAY } from "../../constants/eventType";
15
- import { getActivityId } from "./utils";
16
- import flattenArray from "../../utils/flattenArray";
17
- import createConsequenceAdapter from "./createConsequenceAdapter";
13
+ import { JSON_CONTENT_ITEM, RULESET_ITEM } from "../../constants/schema.js";
14
+ import { DISPLAY } from "../../constants/eventType.js";
15
+ import { getActivityId } from "./utils.js";
16
+ import flattenArray from "../../utils/flattenArray.js";
17
+ import createConsequenceAdapter from "./createConsequenceAdapter.js";
18
18
  const isRulesetItem = item => {
19
19
  const {
20
20
  schema,
@@ -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
- import { boolean, objectOf } from "../../utils/validation";
12
+ import { boolean, objectOf } from "../../utils/validation/index.js";
13
13
  const validateOptions = ({
14
14
  options
15
15
  }) => {
@@ -9,9 +9,9 @@ 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
- import { createRestoreStorage, createSaveStorage, getExpirationDate, getActivityId, hasExperienceData, getDecisionProvider } from "./utils";
13
- import { EVENT_TYPE_TRUE } from "../../constants/eventType";
14
- import { ADOBE_JOURNEY_OPTIMIZER } from "../../constants/decisionProvider";
12
+ import { createRestoreStorage, createSaveStorage, getExpirationDate, getActivityId, hasExperienceData, getDecisionProvider } from "./utils.js";
13
+ import { EVENT_TYPE_TRUE } from "../../constants/eventType.js";
14
+ import { ADOBE_JOURNEY_OPTIMIZER } from "../../constants/decisionProvider.js";
15
15
  const STORAGE_KEY = "events";
16
16
  const MAX_EVENT_RECORDS = 1000;
17
17
  const RETENTION_PERIOD = 30;
@@ -9,8 +9,8 @@ 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
- import { PERSONALIZATION_DECISIONS_HANDLE } from "../../constants/handle";
13
- import flattenObject from "../../utils/flattenObject";
12
+ import { PERSONALIZATION_DECISIONS_HANDLE } from "../../constants/handle.js";
13
+ import flattenObject from "../../utils/flattenObject.js";
14
14
  export default (({
15
15
  renderDecisions,
16
16
  decisionProvider,
@@ -9,9 +9,9 @@ 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
- import { arrayOf, callback as callbackType, objectOf, string } from "../../utils/validation";
13
- import createSubscription from "../../utils/createSubscription";
14
- import { includes } from "../../utils";
12
+ import { arrayOf, callback as callbackType, objectOf, string } from "../../utils/validation/index.js";
13
+ import createSubscription from "../../utils/createSubscription.js";
14
+ import { includes } from "../../utils/index.js";
15
15
  const validateOptions = ({
16
16
  options
17
17
  }) => {
@@ -9,17 +9,17 @@ 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
- import { noop, sanitizeOrgIdForCookieName } from "../../utils";
13
- import createOnResponseHandler from "./createOnResponseHandler";
14
- import createDecisionProvider from "./createDecisionProvider";
15
- import createApplyResponse from "./createApplyResponse";
16
- import createEventRegistry from "./createEventRegistry";
17
- import createContextProvider from "./createContextProvider";
18
- import createSubscribeRulesetItems from "./createSubscribeRulesetItems";
19
- import { CONTEXT_KEY, CONTEXT_EVENT_SOURCE, CONTEXT_EVENT_TYPE } from "./constants";
20
- import createEvaluateRulesetsCommand from "./createEvaluateRulesetsCommand";
21
- import { clearLocalStorage, createInMemoryStorage } from "./utils";
22
- import { objectOf, boolean } from "../../utils/validation";
12
+ import { noop, sanitizeOrgIdForCookieName } from "../../utils/index.js";
13
+ import createOnResponseHandler from "./createOnResponseHandler.js";
14
+ import createDecisionProvider from "./createDecisionProvider.js";
15
+ import createApplyResponse from "./createApplyResponse.js";
16
+ import createEventRegistry from "./createEventRegistry.js";
17
+ import createContextProvider from "./createContextProvider.js";
18
+ import createSubscribeRulesetItems from "./createSubscribeRulesetItems.js";
19
+ import { CONTEXT_KEY, CONTEXT_EVENT_SOURCE, CONTEXT_EVENT_TYPE } from "./constants.js";
20
+ import createEvaluateRulesetsCommand from "./createEvaluateRulesetsCommand.js";
21
+ import { clearLocalStorage, createInMemoryStorage } from "./utils.js";
22
+ import { objectOf, boolean } from "../../utils/validation/index.js";
23
23
  const createDecisioningEngine = ({
24
24
  config,
25
25
  createNamespacedStorage,
@@ -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
- import { uuid } from "../../utils";
13
+ import { uuid } from "../../utils/index.js";
14
14
  export default (() => {
15
15
  return {
16
16
  eventMergeId: uuid()
@@ -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
- import createEventMergeId from "./createEventMergeId";
14
- import createComponent from "./createComponent";
13
+ import createEventMergeId from "./createEventMergeId.js";
14
+ import createComponent from "./createComponent.js";
15
15
  const createEventMerge = () => {
16
16
  return createComponent({
17
17
  createEventMergeId