@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
@@ -12,7 +12,7 @@ governing permissions and limitations under the License.
12
12
  import createRequestPayload from "./createRequestPayload.js";
13
13
  import createAddIdentity from "./createAddIdentity.js";
14
14
  import createHasIdentity from "./createHasIdentity.js";
15
- export default (() => {
15
+ export default () => {
16
16
  const content = {};
17
17
  const payload = createRequestPayload({
18
18
  content,
@@ -27,4 +27,4 @@ export default (() => {
27
27
  return (content.events || []).some(event => event.getDocumentMayUnload());
28
28
  };
29
29
  return payload;
30
- });
30
+ };
@@ -22,7 +22,7 @@ const getOrCreateAssuranceClientId = storage => {
22
22
  }
23
23
  return clientId;
24
24
  };
25
- export default (({
25
+ export default ({
26
26
  window,
27
27
  createNamespacedStorage
28
28
  }) => {
@@ -39,4 +39,4 @@ export default (({
39
39
  adobeAepValidationToken: validationToken
40
40
  })}`;
41
41
  };
42
- });
42
+ };
@@ -10,6 +10,6 @@ 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 (content => namespaceCode => {
13
+ export default content => namespaceCode => {
14
14
  return (content.xdm && content.xdm.identityMap && content.xdm.identityMap[namespaceCode]) !== undefined;
15
- });
15
+ };
@@ -13,7 +13,7 @@ governing permissions and limitations under the License.
13
13
  import { uuid } from "../index.js";
14
14
 
15
15
  // This provides the base functionality that all types of requests share.
16
- export default (options => {
16
+ export default options => {
17
17
  const {
18
18
  payload,
19
19
  getAction,
@@ -60,4 +60,4 @@ export default (options => {
60
60
  isIdentityEstablished = true;
61
61
  }
62
62
  };
63
- });
63
+ };
@@ -9,6 +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 { isEmptyObject } from "../index.js";
13
+
12
14
  /**
13
15
  * @typedef {{ datastreamId: string, [k: string]: Object }} Override
14
16
  * @typedef {Object} RequestPayload
@@ -19,7 +21,7 @@ governing permissions and limitations under the License.
19
21
  * @param {RequestPayload} params.payload
20
22
  * @returns {{ payload: RequestPayload, datastreamIdOverride: string }}
21
23
  */
22
- export default (({
24
+ export default ({
23
25
  localConfigOverrides,
24
26
  globalConfigOverrides,
25
27
  payload
@@ -34,7 +36,11 @@ export default (({
34
36
  if (datastreamId) {
35
37
  requestParams.datastreamIdOverride = datastreamId;
36
38
  }
37
- payload.mergeConfigOverride(globalConfigOverrides);
38
- payload.mergeConfigOverride(localConfigOverridesWithoutDatastreamId);
39
+ if (globalConfigOverrides && !isEmptyObject(globalConfigOverrides)) {
40
+ payload.mergeConfigOverride(globalConfigOverrides);
41
+ }
42
+ if (localConfigOverridesWithoutDatastreamId && !isEmptyObject(localConfigOverridesWithoutDatastreamId)) {
43
+ payload.mergeConfigOverride(localConfigOverridesWithoutDatastreamId);
44
+ }
39
45
  return requestParams;
40
- });
46
+ };
@@ -14,7 +14,7 @@ import { createMerger, prepareConfigOverridesForEdge } from "../index.js";
14
14
 
15
15
  // This provides the base functionality that all types of
16
16
  // request payloads share.
17
- export default (options => {
17
+ export default options => {
18
18
  const {
19
19
  content,
20
20
  addIdentity,
@@ -32,4 +32,4 @@ export default (options => {
32
32
  return content;
33
33
  }
34
34
  };
35
- });
35
+ };
@@ -10,4 +10,4 @@ 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 (orgId => orgId.replace("@", "_"));
13
+ export default orgId => orgId.replace("@", "_");
@@ -20,7 +20,7 @@ import updateErrorMessage from "./updateErrorMessage.js";
20
20
  * this is used as the basis for the message of a newly created Error instance.
21
21
  * @returns {*}
22
22
  */
23
- export default (({
23
+ export default ({
24
24
  error,
25
25
  message
26
26
  }) => {
@@ -31,4 +31,4 @@ export default (({
31
31
  message: newMessage
32
32
  });
33
33
  return errorToStack;
34
- });
34
+ };
@@ -10,6 +10,6 @@ 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 isString from "./isString.js";
13
- export default (str => {
13
+ export default str => {
14
14
  return isString(str) && str.toLowerCase() === "true";
15
- });
15
+ };
@@ -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 (value => {
13
+ export default value => {
14
14
  if (Array.isArray(value)) {
15
15
  return value;
16
16
  }
@@ -18,4 +18,4 @@ export default (value => {
18
18
  return [];
19
19
  }
20
20
  return [].slice.call(value);
21
- });
21
+ };
@@ -16,6 +16,6 @@ governing permissions and limitations under the License.
16
16
  * @param {*} value
17
17
  * @returns {Error}
18
18
  */
19
- export default (value => {
19
+ export default value => {
20
20
  return value instanceof Error ? value : new Error(value);
21
- });
21
+ };
@@ -30,7 +30,7 @@ const padStart = (string, targetLength, padString) => {
30
30
  * @param {Date} date
31
31
  * @returns {string}
32
32
  */
33
- export default (date => {
33
+ export default date => {
34
34
  const YYYY = date.getFullYear();
35
35
  const MM = padStart(date.getMonth() + 1, 2, "0");
36
36
  const DD = padStart(date.getDate(), 2, "0");
@@ -47,4 +47,4 @@ export default (date => {
47
47
  const th = padStart(Math.floor(Math.abs(timezoneOffset) / 60), 2, "0");
48
48
  const tm = padStart(Math.abs(timezoneOffset) % 60, 2, "0");
49
49
  return `${YYYY}-${MM}-${DD}T${hh}:${mm}:${ss}.${mmm}${ts}${th}:${tm}`;
50
- });
50
+ };
@@ -18,7 +18,7 @@ import isString from "./isString.js";
18
18
  *
19
19
  * The coersion is attempted if value is a number or string.
20
20
  */
21
- export default ((value, defaultValue) => {
21
+ export default (value, defaultValue) => {
22
22
  if (isNumber(value) || isString(value)) {
23
23
  const n = Math.round(Number(value));
24
24
  if (!Number.isNaN(n)) {
@@ -26,4 +26,4 @@ export default ((value, defaultValue) => {
26
26
  }
27
27
  }
28
28
  return defaultValue;
29
- });
29
+ };
@@ -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
  error,
15
15
  message
16
16
  }) => {
@@ -20,4 +20,4 @@ export default (({
20
20
  // We'll set a new message when we can, but some errors, like DOMException,
21
21
  // have a read-only message property, which limits our options.
22
22
  }
23
- });
23
+ };
@@ -12,7 +12,7 @@ governing permissions and limitations under the License.
12
12
 
13
13
  import isBoolean from "../isBoolean.js";
14
14
  import { assertValid } from "./utils.js";
15
- export default ((value, path) => {
15
+ export default (value, path) => {
16
16
  assertValid(isBoolean(value), value, path, "true or false");
17
17
  return value;
18
- });
18
+ };
@@ -11,7 +11,7 @@ governing permissions and limitations under the License.
11
11
  */
12
12
  import isFunction from "../isFunction.js";
13
13
  import { assertValid } from "./utils.js";
14
- export default ((value, path) => {
14
+ export default (value, path) => {
15
15
  assertValid(isFunction(value), value, path, "a function");
16
16
  return value;
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 { assertValid } from "./utils.js";
13
- export default ((validators, message) => function anyOf(value, path) {
13
+ export default (validators, message) => function anyOf(value, path) {
14
14
  let newValue;
15
15
  const valid = validators.find(validator => {
16
16
  try {
@@ -22,4 +22,4 @@ export default ((validators, message) => function anyOf(value, path) {
22
22
  });
23
23
  assertValid(valid, value, path, message);
24
24
  return newValue;
25
- });
25
+ };
@@ -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 { assertValid } from "./utils.js";
13
- export default (elementValidator => function arrayOf(value, path) {
13
+ export default elementValidator => function arrayOf(value, path) {
14
14
  assertValid(Array.isArray(value), value, path, "an array");
15
15
  const errors = [];
16
16
  const validatedArray = value.map((subValue, i) => {
@@ -25,4 +25,4 @@ export default (elementValidator => function arrayOf(value, path) {
25
25
  throw new Error(errors.join("\n"));
26
26
  }
27
27
  return validatedArray;
28
- });
28
+ };
@@ -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
- export default (defaultValue => value => {
13
+ export default defaultValue => value => {
14
14
  if (value == null) {
15
15
  return defaultValue;
16
16
  }
17
17
  return value;
18
- });
18
+ };
@@ -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 ((warning = "This field has been deprecated") => function deprecated(value, path) {
13
+ export default (warning = "This field has been deprecated") => function deprecated(value, path) {
14
14
  let message = warning;
15
15
  if (value !== undefined) {
16
16
  if (path) {
@@ -21,4 +21,4 @@ export default ((warning = "This field has been deprecated") => function depreca
21
21
  }
22
22
  }
23
23
  return value;
24
- });
24
+ };
@@ -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 { assertValid } from "./utils.js";
13
- export default (literalValue => (value, path) => {
13
+ export default literalValue => (value, path) => {
14
14
  assertValid(value === literalValue, value, path, `${literalValue}`);
15
15
  return value;
16
- });
16
+ };
@@ -12,7 +12,7 @@ governing permissions and limitations under the License.
12
12
 
13
13
  import isObject from "../isObject.js";
14
14
  import { assertValid } from "./utils.js";
15
- export default (valueValidator => function mapOfValues(value, path) {
15
+ export default valueValidator => function mapOfValues(value, path) {
16
16
  assertValid(isObject(value), value, path, "an object");
17
17
  const errors = [];
18
18
  const validatedObject = {};
@@ -32,4 +32,4 @@ export default (valueValidator => function mapOfValues(value, path) {
32
32
  throw new Error(errors.join("\n"));
33
33
  }
34
34
  return validatedObject;
35
- });
35
+ };
@@ -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 { assertValid } from "./utils.js";
13
- export default ((typeName, maximum) => (value, path) => {
13
+ export default (typeName, maximum) => (value, path) => {
14
14
  assertValid(value <= maximum, value, path, `${typeName} less than or equal to ${maximum}`);
15
15
  return value;
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
  import { assertValid } from "./utils.js";
13
- export default ((typeName, minimum) => (value, path) => {
13
+ export default (typeName, minimum) => (value, path) => {
14
14
  assertValid(value >= minimum, value, path, `${typeName} greater than or equal to ${minimum}`);
15
15
  return value;
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
- export default (schema => (value, path) => {
13
+ export default schema => (value, path) => {
14
14
  const errors = [];
15
15
  Object.keys(value).forEach(subKey => {
16
16
  if (!schema[subKey]) {
@@ -22,4 +22,4 @@ export default (schema => (value, path) => {
22
22
  throw new Error(errors.join("\n"));
23
23
  }
24
24
  return value;
25
- });
25
+ };
@@ -13,11 +13,11 @@ governing permissions and limitations under the License.
13
13
  import { assertValid } from "./utils.js";
14
14
  import isObject from "../isObject.js";
15
15
  import isEmptyObject from "../isEmptyObject.js";
16
- export default (message => (value, path) => {
16
+ export default message => (value, path) => {
17
17
  if (isObject(value)) {
18
18
  assertValid(!isEmptyObject(value), value, path, message);
19
19
  } else {
20
20
  assertValid(value.length > 0, value, path, message);
21
21
  }
22
22
  return value;
23
- });
23
+ };
@@ -12,7 +12,7 @@ governing permissions and limitations under the License.
12
12
 
13
13
  import isObject from "../isObject.js";
14
14
  import { assertValid } from "./utils.js";
15
- export default (schema => function objectOf(value, path) {
15
+ export default schema => function objectOf(value, path) {
16
16
  assertValid(isObject(value), value, path, "an object");
17
17
  const errors = [];
18
18
  const validatedObject = {};
@@ -40,4 +40,4 @@ export default (schema => function objectOf(value, path) {
40
40
  throw new Error(errors.join("\n"));
41
41
  }
42
42
  return validatedObject;
43
- });
43
+ };
@@ -11,7 +11,7 @@ governing permissions and limitations under the License.
11
11
  */
12
12
  import isObject from "../isObject.js";
13
13
  import { assertValid } from "./utils.js";
14
- export default ((oldField, oldSchema, newField) => function deprecated(value, path) {
14
+ export default (oldField, oldSchema, newField) => function deprecated(value, path) {
15
15
  assertValid(isObject(value), value, path, "an object");
16
16
  const {
17
17
  [oldField]: oldValue,
@@ -34,4 +34,4 @@ export default ((oldField, oldSchema, newField) => function deprecated(value, pa
34
34
  [newField]: newValue || validatedOldValue,
35
35
  ...otherValues
36
36
  };
37
- });
37
+ };
@@ -11,9 +11,9 @@ governing permissions and limitations under the License.
11
11
  */
12
12
  import { assertValid } from "./utils.js";
13
13
  import isUnique from "../isUnique.js";
14
- export default (() => {
14
+ export default () => {
15
15
  return (value, path) => {
16
16
  assertValid(isUnique(value), value, path, "array values to be unique");
17
17
  return value;
18
18
  };
19
- });
19
+ };
@@ -11,11 +11,11 @@ governing permissions and limitations under the License.
11
11
  */
12
12
 
13
13
  import { assertValid } from "./utils.js";
14
- export default (() => {
14
+ export default () => {
15
15
  const values = [];
16
16
  return (value, path) => {
17
17
  assertValid(values.indexOf(value) === -1, value, path, "a unique value across instances");
18
18
  values.push(value);
19
19
  return value;
20
20
  };
21
- });
21
+ };
@@ -11,7 +11,7 @@ governing permissions and limitations under the License.
11
11
  */
12
12
  import { assertValid } from "./utils.js";
13
13
  const DOMAIN_REGEX = /^[a-z0-9.-]{1,}$/i;
14
- export default ((value, path) => {
14
+ export default (value, path) => {
15
15
  assertValid(DOMAIN_REGEX.test(value), value, path, "a valid domain");
16
16
  return value;
17
- });
17
+ };
@@ -12,7 +12,7 @@ governing permissions and limitations under the License.
12
12
 
13
13
  import isInteger from "../isInteger.js";
14
14
  import { assertValid } from "./utils.js";
15
- export default ((value, path) => {
15
+ export default (value, path) => {
16
16
  assertValid(isInteger(value), value, path, "an integer");
17
17
  return value;
18
- });
18
+ };
@@ -11,7 +11,7 @@ governing permissions and limitations under the License.
11
11
  */
12
12
 
13
13
  import { assertValid } from "./utils.js";
14
- export default (regexp => (value, path) => {
14
+ export default regexp => (value, path) => {
15
15
  assertValid(regexp.test(value), value, path, `does not match the ${regexp.toString()}`);
16
16
  return value;
17
- });
17
+ };
@@ -12,7 +12,7 @@ governing permissions and limitations under the License.
12
12
 
13
13
  import isNumber from "../isNumber.js";
14
14
  import { assertValid } from "./utils.js";
15
- export default ((value, path) => {
15
+ export default (value, path) => {
16
16
  assertValid(isNumber(value), value, path, "a number");
17
17
  return value;
18
- });
18
+ };
@@ -12,7 +12,7 @@ governing permissions and limitations under the License.
12
12
 
13
13
  import { assertValid } from "./utils.js";
14
14
  import isValidRegExp from "../isValidRegExp.js";
15
- export default ((value, path) => {
15
+ export default (value, path) => {
16
16
  assertValid(isValidRegExp(value), value, path, "a regular expression");
17
17
  return value;
18
- });
18
+ };
@@ -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
- export default ((value, path) => {
13
+ export default (value, path) => {
14
14
  if (value == null) {
15
15
  throw new Error(`'${path}' is a required option`);
16
16
  }
17
17
  return value;
18
- });
18
+ };
@@ -11,7 +11,7 @@ governing permissions and limitations under the License.
11
11
  */
12
12
  import isString from "../isString.js";
13
13
  import { assertValid } from "./utils.js";
14
- export default ((value, path) => {
14
+ export default (value, path) => {
15
15
  assertValid(isString(value), value, path, "a string");
16
16
  return value;
17
- });
17
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/alloy",
3
- "version": "2.23.0",
3
+ "version": "2.24.0-beta.1",
4
4
  "description": "Adobe Experience Platform Web SDK",
5
5
  "type": "module",
6
6
  "main": "libEs5/index.js",
@@ -23,7 +23,7 @@
23
23
  "format": "prettier --write \"*.{html,js,cjs,mjs,jsx}\" \"{sandbox,src,test,scripts}/**/*.{html,js,cjs,mjs,jsx}\"",
24
24
  "test": "npm run test:unit && npm run test:scripts && npm run test:functional",
25
25
  "test:unit": "karma start karma.conf.cjs --single-run",
26
- "test:unit:debug": "karma start --browsers=Chrome --single-run=false --debug",
26
+ "test:unit:debug": "karma start karma.conf.cjs --browsers=Chrome --single-run=false --debug",
27
27
  "test:unit:watch": "karma start",
28
28
  "test:unit:saucelabs:local": "karma start karma.saucelabs.conf.cjs --single-run",
29
29
  "test:unit:coverage": "karma start --single-run --reporters spec,coverage",
@@ -39,7 +39,7 @@
39
39
  "dev": "concurrently --names build,sandbox \"rollup -c -w --environment SANDBOX\" \"cd sandbox && export REACT_APP_NONCE=321 && npm start\"",
40
40
  "dev:standalone": "npm run clean && rollup -c -w --environment STANDALONE",
41
41
  "build": "npm run clean && rollup -c --environment BASE_CODE_MIN,STANDALONE,STANDALONE_MIN,BUNDLESIZE && echo \"Base Code:\" && cat distTest/baseCode.min.js",
42
- "build:cli": "node scripts/build-alloy.js",
42
+ "build:custom": "node scripts/alloyBuilder.js",
43
43
  "prepare": "husky && cd sandbox && npm install",
44
44
  "prepack": "rimraf libEs5 libEs6 && babel src -d libEs5 --env-name npmEs5 && babel src -d libEs6 --env-name npmEs6",
45
45
  "checkthattestfilesexist": "./scripts/checkThatTestFilesExist.js",
@@ -74,50 +74,50 @@
74
74
  "@adobe/aep-rules-engine": "^2.0.2",
75
75
  "@adobe/reactor-cookie": "^1.1.0",
76
76
  "@adobe/reactor-load-script": "^1.1.1",
77
- "@adobe/reactor-object-assign": "^1.0.0",
77
+ "@adobe/reactor-object-assign": "^2.0.0",
78
78
  "@adobe/reactor-query-string": "^2.0.0",
79
- "@babel/core": "^7.25.2",
80
- "@babel/eslint-parser": "^7.25.1",
81
- "@babel/plugin-transform-template-literals": "^7.24.7",
82
- "@babel/preset-env": "^7.25.3",
79
+ "@babel/core": "^7.26.0",
80
+ "@babel/eslint-parser": "^7.25.9",
81
+ "@babel/plugin-transform-template-literals": "^7.25.9",
82
+ "@babel/preset-env": "^7.26.0",
83
+ "@inquirer/prompts": "^7.0.1",
83
84
  "@rollup/plugin-babel": "^6.0.4",
84
- "@rollup/plugin-commonjs": "^26.0.1",
85
- "@rollup/plugin-node-resolve": "^15.2.3",
85
+ "@rollup/plugin-commonjs": "^28.0.1",
86
+ "@rollup/plugin-node-resolve": "^15.3.0",
86
87
  "@rollup/plugin-terser": "^0.4.4",
87
88
  "commander": "^12.1.0",
88
89
  "css.escape": "^1.5.1",
89
- "inquirer": "^10.1.8",
90
90
  "js-cookie": "3.0.5",
91
91
  "parse-uri": "^1.0.9",
92
- "rollup": "^4.21.0",
93
- "rollup-plugin-license": "^3.5.2",
94
- "uuid": "^10.0.0"
92
+ "rollup": "^4.24.2",
93
+ "rollup-plugin-license": "^3.5.3",
94
+ "uuid": "^11.0.1"
95
95
  },
96
96
  "devDependencies": {
97
- "@adobe/alloy": "^2.23.0-beta.3",
98
- "@babel/cli": "^7.24.8",
99
- "@babel/plugin-transform-runtime": "^7.24.7",
100
- "@eslint/js": "^9.9.0",
97
+ "@adobe/alloy": "^2.24.0-beta.0",
98
+ "@babel/cli": "^7.25.9",
99
+ "@babel/plugin-transform-runtime": "^7.25.9",
100
+ "@eslint/js": "^9.13.0",
101
101
  "@octokit/rest": "^21.0.2",
102
102
  "bundlesize": "^0.18.2",
103
- "chai": "^5.1.1",
103
+ "chai": "^5.1.2",
104
104
  "chalk": "^5.3.0",
105
- "concurrently": "^8.2.2",
106
- "date-fns": "^3.6.0",
105
+ "concurrently": "^9.0.1",
106
+ "date-fns": "^4.1.0",
107
107
  "dotenv": "^16.4.5",
108
108
  "eslint": "^8.57.0",
109
109
  "eslint-config-airbnb-base": "^15.0.0",
110
110
  "eslint-config-prettier": "^9.1.0",
111
111
  "eslint-plugin-ban": "^1.6.0",
112
- "eslint-plugin-import": "^2.29.1",
112
+ "eslint-plugin-import": "^2.31.0",
113
113
  "eslint-plugin-prettier": "^5.2.1",
114
114
  "eslint-plugin-testcafe": "^0.2.1",
115
115
  "glob": "^11.0.0",
116
- "globals": "^15.9.0",
116
+ "globals": "^15.11.0",
117
117
  "handlebars": "^4.7.8",
118
- "husky": "^9.1.4",
119
- "jasmine": "^5.2.0",
120
- "jasmine-core": "^5.2.0",
118
+ "husky": "^9.1.6",
119
+ "jasmine": "^5.4.0",
120
+ "jasmine-core": "^5.4.0",
121
121
  "karma": "^6.4.4",
122
122
  "karma-chrome-launcher": "^3.2.0",
123
123
  "karma-coverage": "^2.2.1",
@@ -130,7 +130,7 @@
130
130
  "karma-safari-launcher": "^1.0.0",
131
131
  "karma-sauce-launcher": "^4.3.6",
132
132
  "karma-spec-reporter": "0.0.36",
133
- "lint-staged": "^15.2.9",
133
+ "lint-staged": "^15.2.10",
134
134
  "prettier": "^3.3.3",
135
135
  "read-cache": "^1.0.0",
136
136
  "recursive-readdir": "^2.2.3",
@@ -140,11 +140,11 @@
140
140
  "rollup-plugin-istanbul": "^5.0.0",
141
141
  "semver": "^7.6.3",
142
142
  "staged-git-files": "^1.3.0",
143
- "start-server-and-test": "^2.0.5",
143
+ "start-server-and-test": "^2.0.8",
144
144
  "testcafe": "^3.6.2",
145
145
  "testcafe-browser-provider-saucelabs": "^3.0.0",
146
146
  "testcafe-reporter-junit": "^3.0.2",
147
- "testcafe-reporter-saucelabs": "^3.4.0",
147
+ "testcafe-reporter-saucelabs": "^3.5.1",
148
148
  "url-exists-nodejs": "^0.2.4",
149
149
  "url-parse": "^1.5.10"
150
150
  },
@@ -154,6 +154,6 @@
154
154
  }
155
155
  },
156
156
  "optionalDependencies": {
157
- "@rollup/rollup-linux-x64-gnu": "^4.21.0"
157
+ "@rollup/rollup-linux-x64-gnu": "^4.24.2"
158
158
  }
159
159
  }