@adobe/alloy 2.30.1-beta.9 → 2.31.0

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 (241) hide show
  1. package/libEs5/components/Advertising/createComponent.js +7 -3
  2. package/libEs5/components/Advertising/handlers/onBeforeSendEventHandler.js +8 -2
  3. package/libEs5/components/Advertising/handlers/sendAdConversion.js +11 -6
  4. package/libEs5/components/Advertising/handlers/viewThroughHandler.js +8 -2
  5. package/libEs5/components/Advertising/identities/collectSurferId.js +8 -1
  6. package/libEs5/components/Advertising/index.js +2 -1
  7. package/libEs5/components/BrandConcierge/configValidators.js +25 -0
  8. package/libEs5/components/BrandConcierge/constants.js +16 -0
  9. package/libEs5/components/BrandConcierge/createBuildEndpointUrl.js +33 -0
  10. package/libEs5/components/BrandConcierge/createConversationServiceRequest.js +35 -0
  11. package/libEs5/components/BrandConcierge/createSendConversationEvent.js +148 -0
  12. package/libEs5/components/BrandConcierge/createSendConversationServiceRequest.js +85 -0
  13. package/libEs5/components/BrandConcierge/createStreamParser.js +131 -0
  14. package/libEs5/components/BrandConcierge/createTimeoutWrapper.js +79 -0
  15. package/libEs5/components/BrandConcierge/index.js +102 -0
  16. package/libEs5/components/BrandConcierge/utils.js +33 -0
  17. package/libEs5/components/BrandConcierge/validateMessage.js +44 -0
  18. package/libEs5/components/Consent/types.js +12 -0
  19. package/libEs5/components/Context/createComponent.js +1 -2
  20. package/libEs5/components/Context/implementationDetails.js +7 -9
  21. package/libEs5/components/Context/index.js +4 -1
  22. package/libEs5/components/Context/injectDevice.js +2 -2
  23. package/libEs5/components/Context/injectEnvironment.js +2 -2
  24. package/libEs5/components/Context/injectHighEntropyUserAgentHints.js +2 -2
  25. package/libEs5/components/Context/injectOneTimeAnalyticsReferrer.js +52 -0
  26. package/libEs5/components/Context/injectPlaceContext.js +2 -2
  27. package/libEs5/components/Context/injectTimestamp.js +2 -3
  28. package/libEs5/components/Context/injectWeb.js +9 -11
  29. package/libEs5/components/EventMerge/createEventMergeId.js +1 -1
  30. package/libEs5/components/Personalization/createComponent.js +3 -1
  31. package/libEs5/components/Personalization/createFetchDataHandler.js +10 -4
  32. package/libEs5/components/Personalization/createNotificationHandler.js +5 -3
  33. package/libEs5/components/Personalization/createOnDecisionHandler.js +4 -3
  34. package/libEs5/components/Personalization/createPersonalizationDetails.js +1 -1
  35. package/libEs5/components/Personalization/dom-actions/initDomActionsModules.js +1 -1
  36. package/libEs5/components/Personalization/dom-actions/remapHeadOffers.js +5 -0
  37. package/libEs5/components/Personalization/handlers/createProcessInAppMessage.js +2 -1
  38. package/libEs5/components/Personalization/handlers/createProcessRedirect.js +2 -1
  39. package/libEs5/components/Personalization/handlers/injectCreateProposition.js +4 -1
  40. package/libEs5/components/Personalization/in-app-message-actions/actions/displayIframeContent.js +4 -2
  41. package/libEs5/components/Personalization/index.js +2 -2
  42. package/libEs5/components/PushNotifications/types.js +12 -0
  43. package/libEs5/components/RulesEngine/createApplyResponse.js +3 -1
  44. package/libEs5/components/RulesEngine/types.js +12 -0
  45. package/libEs5/components/StreamingMedia/createMediaEventManager.js +1 -1
  46. package/libEs5/constants/libraryVersion.js +1 -1
  47. package/libEs5/constants/surface.js +19 -0
  48. package/libEs5/core/componentCreators.js +8 -1
  49. package/libEs5/core/consent/types.js +12 -0
  50. package/libEs5/core/createEvent.js +7 -0
  51. package/libEs5/core/edgeNetwork/injectSendEdgeNetworkRequest.js +23 -0
  52. package/libEs5/core/edgeNetwork/types.js +12 -0
  53. package/libEs5/core/identity/types.js +12 -0
  54. package/libEs5/core/index.js +5 -1
  55. package/libEs5/core/types.js +12 -0
  56. package/libEs5/utils/clamp.js +25 -0
  57. package/libEs5/utils/createCollect.js +4 -2
  58. package/libEs5/utils/deepAssign.js +5 -0
  59. package/libEs5/utils/dom/createGetPageLocation.js +20 -0
  60. package/libEs5/utils/filterObject.js +1 -1
  61. package/libEs5/utils/index.js +8 -1
  62. package/libEs5/utils/prepareConfigOverridesForEdge.js +4 -2
  63. package/libEs5/utils/request/createDataCollectionRequestPayload.js +3 -0
  64. package/libEs5/utils/request/createRequest.js +5 -1
  65. package/libEs5/utils/request/createRequestParams.js +1 -0
  66. package/libEs5/utils/request/createRequestPayload.js +11 -1
  67. package/libEs5/utils/request/types.js +13 -0
  68. package/libEs5/utils/surfaceUtils.js +82 -0
  69. package/libEs5/utils/types.js +12 -0
  70. package/libEs6/components/Advertising/createComponent.js +7 -3
  71. package/libEs6/components/Advertising/handlers/onBeforeSendEventHandler.js +8 -2
  72. package/libEs6/components/Advertising/handlers/sendAdConversion.js +11 -6
  73. package/libEs6/components/Advertising/handlers/viewThroughHandler.js +8 -2
  74. package/libEs6/components/Advertising/identities/collectSurferId.js +8 -1
  75. package/libEs6/components/Advertising/index.js +2 -1
  76. package/libEs6/components/BrandConcierge/configValidators.js +22 -0
  77. package/libEs6/components/BrandConcierge/constants.js +13 -0
  78. package/libEs6/components/BrandConcierge/createBuildEndpointUrl.js +30 -0
  79. package/libEs6/components/BrandConcierge/createConversationServiceRequest.js +31 -0
  80. package/libEs6/components/BrandConcierge/createSendConversationEvent.js +144 -0
  81. package/libEs6/components/BrandConcierge/createSendConversationServiceRequest.js +81 -0
  82. package/libEs6/components/BrandConcierge/createStreamParser.js +127 -0
  83. package/libEs6/components/BrandConcierge/createTimeoutWrapper.js +76 -0
  84. package/libEs6/components/BrandConcierge/index.js +98 -0
  85. package/libEs6/components/BrandConcierge/utils.js +27 -0
  86. package/libEs6/components/BrandConcierge/validateMessage.js +40 -0
  87. package/libEs6/components/Consent/types.js +12 -0
  88. package/libEs6/components/Context/createComponent.js +1 -2
  89. package/libEs6/components/Context/implementationDetails.js +7 -9
  90. package/libEs6/components/Context/index.js +4 -1
  91. package/libEs6/components/Context/injectDevice.js +3 -3
  92. package/libEs6/components/Context/injectEnvironment.js +3 -3
  93. package/libEs6/components/Context/injectHighEntropyUserAgentHints.js +3 -3
  94. package/libEs6/components/Context/injectOneTimeAnalyticsReferrer.js +48 -0
  95. package/libEs6/components/Context/injectPlaceContext.js +3 -3
  96. package/libEs6/components/Context/injectTimestamp.js +2 -3
  97. package/libEs6/components/Context/injectWeb.js +9 -11
  98. package/libEs6/components/EventMerge/createEventMergeId.js +1 -1
  99. package/libEs6/components/Personalization/createComponent.js +3 -1
  100. package/libEs6/components/Personalization/createFetchDataHandler.js +10 -4
  101. package/libEs6/components/Personalization/createNotificationHandler.js +5 -3
  102. package/libEs6/components/Personalization/createOnDecisionHandler.js +4 -3
  103. package/libEs6/components/Personalization/createPersonalizationDetails.js +1 -1
  104. package/libEs6/components/Personalization/dom-actions/initDomActionsModules.js +1 -1
  105. package/libEs6/components/Personalization/dom-actions/remapHeadOffers.js +6 -1
  106. package/libEs6/components/Personalization/handlers/createProcessInAppMessage.js +2 -1
  107. package/libEs6/components/Personalization/handlers/createProcessRedirect.js +2 -1
  108. package/libEs6/components/Personalization/handlers/injectCreateProposition.js +4 -1
  109. package/libEs6/components/Personalization/in-app-message-actions/actions/displayIframeContent.js +4 -2
  110. package/libEs6/components/Personalization/index.js +2 -2
  111. package/libEs6/components/PushNotifications/types.js +12 -0
  112. package/libEs6/components/RulesEngine/createApplyResponse.js +3 -1
  113. package/libEs6/components/RulesEngine/types.js +12 -0
  114. package/libEs6/components/StreamingMedia/createMediaEventManager.js +1 -1
  115. package/libEs6/constants/libraryVersion.js +1 -1
  116. package/libEs6/constants/surface.js +16 -0
  117. package/libEs6/core/componentCreators.js +2 -1
  118. package/libEs6/core/consent/types.js +12 -0
  119. package/libEs6/core/createEvent.js +7 -0
  120. package/libEs6/core/edgeNetwork/injectSendEdgeNetworkRequest.js +23 -0
  121. package/libEs6/core/edgeNetwork/types.js +12 -0
  122. package/libEs6/core/identity/types.js +12 -0
  123. package/libEs6/core/index.js +5 -1
  124. package/libEs6/core/types.js +12 -0
  125. package/libEs6/utils/clamp.js +22 -0
  126. package/libEs6/utils/createCollect.js +4 -2
  127. package/libEs6/utils/deepAssign.js +6 -0
  128. package/libEs6/utils/dom/createGetPageLocation.js +17 -0
  129. package/libEs6/utils/filterObject.js +1 -1
  130. package/libEs6/utils/index.js +2 -1
  131. package/libEs6/utils/prepareConfigOverridesForEdge.js +4 -2
  132. package/libEs6/utils/request/createDataCollectionRequestPayload.js +3 -0
  133. package/libEs6/utils/request/createRequest.js +5 -1
  134. package/libEs6/utils/request/createRequestParams.js +1 -0
  135. package/libEs6/utils/request/createRequestPayload.js +11 -1
  136. package/libEs6/utils/request/types.js +13 -0
  137. package/libEs6/utils/surfaceUtils.js +76 -0
  138. package/libEs6/utils/types.js +12 -0
  139. package/package.json +32 -36
  140. package/scripts/helpers/path.js +12 -0
  141. package/scripts/helpers/versionBabelPlugin.js +12 -0
  142. package/types/components/Advertising/createComponent.d.ts +3 -2
  143. package/types/components/Advertising/createComponent.d.ts.map +1 -1
  144. package/types/components/Advertising/handlers/onBeforeSendEventHandler.d.ts.map +1 -1
  145. package/types/components/Advertising/handlers/sendAdConversion.d.ts +2 -1
  146. package/types/components/Advertising/handlers/sendAdConversion.d.ts.map +1 -1
  147. package/types/components/Advertising/handlers/viewThroughHandler.d.ts.map +1 -1
  148. package/types/components/Advertising/identities/collectSurferId.d.ts.map +1 -1
  149. package/types/components/Advertising/index.d.ts +1 -1
  150. package/types/components/Advertising/index.d.ts.map +1 -1
  151. package/types/components/BrandConcierge/configValidators.d.ts +3 -0
  152. package/types/components/BrandConcierge/configValidators.d.ts.map +1 -0
  153. package/types/components/BrandConcierge/constants.d.ts +3 -0
  154. package/types/components/BrandConcierge/constants.d.ts.map +1 -0
  155. package/types/components/BrandConcierge/createBuildEndpointUrl.d.ts +9 -0
  156. package/types/components/BrandConcierge/createBuildEndpointUrl.d.ts.map +1 -0
  157. package/types/components/BrandConcierge/createConversationServiceRequest.d.ts +7 -0
  158. package/types/components/BrandConcierge/createConversationServiceRequest.d.ts.map +1 -0
  159. package/types/components/BrandConcierge/createSendConversationEvent.d.ts +15 -0
  160. package/types/components/BrandConcierge/createSendConversationEvent.d.ts.map +1 -0
  161. package/types/components/BrandConcierge/createSendConversationServiceRequest.d.ts +11 -0
  162. package/types/components/BrandConcierge/createSendConversationServiceRequest.d.ts.map +1 -0
  163. package/types/components/BrandConcierge/createStreamParser.d.ts +7 -0
  164. package/types/components/BrandConcierge/createStreamParser.d.ts.map +1 -0
  165. package/types/components/BrandConcierge/createTimeoutWrapper.d.ts +6 -0
  166. package/types/components/BrandConcierge/createTimeoutWrapper.d.ts.map +1 -0
  167. package/types/components/BrandConcierge/index.d.ts +32 -0
  168. package/types/components/BrandConcierge/index.d.ts.map +1 -0
  169. package/types/components/BrandConcierge/utils.d.ts +6 -0
  170. package/types/components/BrandConcierge/utils.d.ts.map +1 -0
  171. package/types/components/BrandConcierge/validateMessage.d.ts +5 -0
  172. package/types/components/BrandConcierge/validateMessage.d.ts.map +1 -0
  173. package/types/components/Consent/types.d.ts.map +1 -1
  174. package/types/components/Context/createComponent.d.ts +1 -1
  175. package/types/components/Context/createComponent.d.ts.map +1 -1
  176. package/types/components/Context/implementationDetails.d.ts +1 -1
  177. package/types/components/Context/implementationDetails.d.ts.map +1 -1
  178. package/types/components/Context/index.d.ts +1 -1
  179. package/types/components/Context/index.d.ts.map +1 -1
  180. package/types/components/Context/injectDevice.d.ts +1 -1
  181. package/types/components/Context/injectDevice.d.ts.map +1 -1
  182. package/types/components/Context/injectEnvironment.d.ts +1 -1
  183. package/types/components/Context/injectEnvironment.d.ts.map +1 -1
  184. package/types/components/Context/injectHighEntropyUserAgentHints.d.ts +1 -1
  185. package/types/components/Context/injectHighEntropyUserAgentHints.d.ts.map +1 -1
  186. package/types/components/Context/injectOneTimeAnalyticsReferrer.d.ts +3 -0
  187. package/types/components/Context/injectOneTimeAnalyticsReferrer.d.ts.map +1 -0
  188. package/types/components/Context/injectPlaceContext.d.ts +1 -1
  189. package/types/components/Context/injectPlaceContext.d.ts.map +1 -1
  190. package/types/components/Context/injectTimestamp.d.ts +1 -1
  191. package/types/components/Context/injectTimestamp.d.ts.map +1 -1
  192. package/types/components/Context/injectWeb.d.ts +1 -1
  193. package/types/components/Context/injectWeb.d.ts.map +1 -1
  194. package/types/components/Personalization/createComponent.d.ts.map +1 -1
  195. package/types/components/Personalization/createFetchDataHandler.d.ts +2 -1
  196. package/types/components/Personalization/createFetchDataHandler.d.ts.map +1 -1
  197. package/types/components/Personalization/createNotificationHandler.d.ts +1 -1
  198. package/types/components/Personalization/createNotificationHandler.d.ts.map +1 -1
  199. package/types/components/Personalization/createOnDecisionHandler.d.ts +2 -1
  200. package/types/components/Personalization/createOnDecisionHandler.d.ts.map +1 -1
  201. package/types/components/Personalization/createPersonalizationDetails.d.ts.map +1 -1
  202. package/types/components/Personalization/dom-actions/remapHeadOffers.d.ts.map +1 -1
  203. package/types/components/Personalization/handlers/createProcessInAppMessage.d.ts.map +1 -1
  204. package/types/components/Personalization/handlers/createProcessRedirect.d.ts.map +1 -1
  205. package/types/components/Personalization/handlers/injectCreateProposition.d.ts +2 -1
  206. package/types/components/Personalization/handlers/injectCreateProposition.d.ts.map +1 -1
  207. package/types/components/Personalization/in-app-message-actions/actions/displayIframeContent.d.ts.map +1 -1
  208. package/types/components/Personalization/index.d.ts.map +1 -1
  209. package/types/components/PushNotifications/types.d.ts.map +1 -1
  210. package/types/components/RulesEngine/createApplyResponse.d.ts.map +1 -1
  211. package/types/components/RulesEngine/index.d.ts.map +1 -1
  212. package/types/components/RulesEngine/types.d.ts.map +1 -1
  213. package/types/constants/surface.d.ts +5 -0
  214. package/types/constants/surface.d.ts.map +1 -0
  215. package/types/core/componentCreators.d.ts +1 -0
  216. package/types/core/consent/types.d.ts.map +1 -1
  217. package/types/core/createEvent.d.ts +2 -0
  218. package/types/core/createEvent.d.ts.map +1 -1
  219. package/types/core/edgeNetwork/injectSendEdgeNetworkRequest.d.ts.map +1 -1
  220. package/types/core/edgeNetwork/types.d.ts.map +1 -1
  221. package/types/core/identity/types.d.ts.map +1 -1
  222. package/types/core/index.d.ts.map +1 -1
  223. package/types/core/types.d.ts.map +1 -1
  224. package/types/utils/clamp.d.ts +3 -0
  225. package/types/utils/clamp.d.ts.map +1 -0
  226. package/types/utils/createCollect.d.ts +2 -1
  227. package/types/utils/createCollect.d.ts.map +1 -1
  228. package/types/utils/deepAssign.d.ts.map +1 -1
  229. package/types/utils/dom/createGetPageLocation.d.ts +5 -0
  230. package/types/utils/dom/createGetPageLocation.d.ts.map +1 -0
  231. package/types/utils/index.d.ts +1 -0
  232. package/types/utils/prepareConfigOverridesForEdge.d.ts.map +1 -1
  233. package/types/utils/request/createDataCollectionRequestPayload.d.ts.map +1 -1
  234. package/types/utils/request/createRequest.d.ts.map +1 -1
  235. package/types/utils/request/createRequestParams.d.ts.map +1 -1
  236. package/types/utils/request/createRequestPayload.d.ts.map +1 -1
  237. package/types/utils/request/types.d.ts +2 -0
  238. package/types/utils/request/types.d.ts.map +1 -1
  239. package/types/utils/surfaceUtils.d.ts +4 -0
  240. package/types/utils/surfaceUtils.d.ts.map +1 -0
  241. package/types/utils/types.d.ts.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/alloy",
3
- "version": "2.30.1-beta.9",
3
+ "version": "2.31.0",
4
4
  "description": "Adobe Experience Platform Web SDK",
5
5
  "type": "module",
6
6
  "main": "libEs5/index.js",
@@ -21,37 +21,6 @@
21
21
  "bin": {
22
22
  "alloyBuilder": "scripts/alloyBuilder.js"
23
23
  },
24
- "scripts": {
25
- "clean": "rimraf dist distTest libEs5 libEs6 types",
26
- "lint": "eslint --cache --fix \"*.{js,cjs,mjs,jsx}\" \"{sandboxes/*/src,packages/*/src,test,scripts}/**/*.{js,cjs,mjs,jsx}\"",
27
- "format": "prettier --write \"*.{html,js,cjs,mjs,jsx}\" \"{sandboxes/*/src,packages/*/src,test,scripts}/**/*.{html,js,cjs,mjs,jsx}\"",
28
- "types": "tsc",
29
- "test": "pnpm exec playwright install chromium && vitest run && pnpm run test:scripts",
30
- "test:coverage": "rimraf coverage && pnpm exec playwright install chromium && vitest run --coverage",
31
- "test:unit": "pnpm exec playwright install chromium && vitest run --project=unit",
32
- "test:unit:debug": "pnpm exec playwright install chromium && vitest --no-file-parallelism --project=unit --browser=chromium --browser.provider=playwright --browser.headless=false",
33
- "test:unit:watch": "pnpm exec playwright install chromium && vitest --project=unit",
34
- "test:unit:coverage": "pnpm exec playwright install chromium && vitest run --coverage --project=unit",
35
- "test:integration": "pnpm exec playwright install chromium && vitest run --project=integration",
36
- "test:integration:debug": "pnpm exec playwright install chromium && vitest --no-file-parallelism --project=integration --browser=chromium --browser.provider=playwright --browser.headless=false",
37
- "test:integration:watch": "pnpm exec playwright install chromium && vitest --project=integration",
38
- "test:integration:coverage": "pnpm exec playwright install chromium && vitest run --coverage --project=integration",
39
- "test:functional": "pnpm exec playwright install chromium && EDGE_BASE_PATH=\"ee-pre-prd\" ALLOY_ENV=\"int\" testcafe chromium",
40
- "test:functional:custom": "node scripts/helpers/runFunctionalTests.js",
41
- "test:functional:watch": "pnpm exec playwright install chromium && EDGE_BASE_PATH=\"ee-pre-prd\" ALLOY_ENV=\"int\" ./scripts/watchFunctionalTests.js --browsers chromium",
42
- "test:functional:debug": "pnpm exec playwright install chromium && EDGE_BASE_PATH=\"ee-pre-prd\" ALLOY_ENV=\"int\" testcafe --inspect-brk chromium",
43
- "test:functional:build:int": "rollup -c --environment BASE_CODE_MIN,STANDALONE,NPM_PACKAGE_LOCAL",
44
- "test:functional:build:prod": "rollup -c --environment BASE_CODE_MIN,NPM_PACKAGE_PROD",
45
- "test:scripts": "vitest run --config=./scripts/specs/vitest.config.js",
46
- "dev": "concurrently --names build,sandbox \"rollup -c -w --environment SANDBOX_SERVICE_WORKER\" \"REACT_APP_NONCE=123 pnpm run --filter @adobe/alloy-sandbox-browser start\"",
47
- "build": "pnpm run clean && rollup -c --environment BASE_CODE_MIN,STANDALONE,STANDALONE_MIN,SERVICE_WORKER,SERVICE_WORKER_MIN,BUNDLESIZE && echo \"Base Code:\" && cat distTest/baseCode.min.js",
48
- "build:watch": "pnpm run clean && rollup -c --watch --environment BASE_CODE_MIN,STANDALONE",
49
- "build:custom": "node scripts/alloyBuilder.js",
50
- "prepare": "husky",
51
- "prepack": "pnpm run clean && babel packages/core/src -d libEs5 --env-name npmEs5 && babel packages/core/src -d libEs6 --env-name npmEs6 && echo '{\"type\":\"commonjs\"}' > libEs5/package.json && echo '{\"type\":\"module\"}' > libEs6/package.json && pnpm run types",
52
- "checkthattestfilesexist": "./scripts/checkThatTestFilesExist.js",
53
- "add-license": "./scripts/add-license.js"
54
- },
55
24
  "lint-staged": {
56
25
  "./*.{cjs,mjs,js,jsx}": [
57
26
  "eslint --cache --fix"
@@ -93,6 +62,8 @@
93
62
  "@adobe/alloy": "next",
94
63
  "@babel/cli": "^7.28.3",
95
64
  "@babel/plugin-transform-modules-commonjs": "^7.27.1",
65
+ "@changesets/changelog-github": "^0.5.2",
66
+ "@changesets/cli": "^2.29.8",
96
67
  "@eslint/js": "^9.38.0",
97
68
  "@octokit/rest": "^22.0.1",
98
69
  "@types/node": "^24.9.1",
@@ -110,7 +81,6 @@
110
81
  "eslint-plugin-react": "^7.37.5",
111
82
  "glob": "^11.0.3",
112
83
  "globals": "^16.5.0",
113
- "handlebars": "^4.7.8",
114
84
  "husky": "^9.1.7",
115
85
  "lint-staged": "^16.2.6",
116
86
  "minimatch": "^10.1.1",
@@ -121,14 +91,40 @@
121
91
  "recursive-readdir": "^2.2.3",
122
92
  "rimraf": "^6.1.0",
123
93
  "semver": "^7.7.3",
124
- "staged-git-files": "^1.3.0",
125
94
  "testcafe": "^3.7.2",
126
95
  "testcafe-browser-provider-playwright": "^1.1.0",
127
96
  "typescript": "^5.9.3",
128
- "url-exists-nodejs": "^0.2.4",
129
97
  "vitest": "^4.0.6"
130
98
  },
131
99
  "optionalDependencies": {
132
100
  "@rollup/rollup-linux-x64-gnu": "^4.52.5"
101
+ },
102
+ "scripts": {
103
+ "clean": "rimraf dist distTest libEs5 libEs6 types",
104
+ "lint": "eslint --cache --fix \"*.{js,cjs,mjs,jsx}\" \"{sandboxes/*/src,packages/*/src,test,scripts}/**/*.{js,cjs,mjs,jsx}\"",
105
+ "format": "prettier --write \"*.{html,js,cjs,mjs,jsx}\" \"{sandboxes/*/src,packages/*/src,test,scripts}/**/*.{html,js,cjs,mjs,jsx}\"",
106
+ "types": "tsc",
107
+ "test": "pnpm exec playwright install chromium && vitest run && pnpm run test:scripts",
108
+ "test:coverage": "rimraf coverage && pnpm exec playwright install chromium && vitest run --coverage",
109
+ "test:unit": "pnpm exec playwright install chromium && vitest run --project=unit",
110
+ "test:unit:debug": "pnpm exec playwright install chromium && vitest --no-file-parallelism --project=unit --browser=chromium --browser.provider=playwright --browser.headless=false",
111
+ "test:unit:watch": "pnpm exec playwright install chromium && vitest --project=unit",
112
+ "test:unit:coverage": "pnpm exec playwright install chromium && vitest run --coverage --project=unit",
113
+ "test:integration": "pnpm exec playwright install chromium && vitest run --project=integration",
114
+ "test:integration:debug": "pnpm exec playwright install chromium && vitest --no-file-parallelism --project=integration --browser=chromium --browser.provider=playwright --browser.headless=false",
115
+ "test:integration:watch": "pnpm exec playwright install chromium && vitest --project=integration",
116
+ "test:integration:coverage": "pnpm exec playwright install chromium && vitest run --coverage --project=integration",
117
+ "test:functional": "pnpm exec playwright install chromium && EDGE_BASE_PATH=\"ee-pre-prd\" ALLOY_ENV=\"int\" testcafe chromium",
118
+ "test:functional:custom": "node scripts/helpers/runFunctionalTests.js",
119
+ "test:functional:watch": "pnpm exec playwright install chromium && EDGE_BASE_PATH=\"ee-pre-prd\" ALLOY_ENV=\"int\" ./scripts/watchFunctionalTests.js --browsers chromium",
120
+ "test:functional:debug": "pnpm exec playwright install chromium && EDGE_BASE_PATH=\"ee-pre-prd\" ALLOY_ENV=\"int\" testcafe --inspect-brk chromium",
121
+ "test:functional:build:int": "rollup -c --environment BASE_CODE_MIN,STANDALONE,NPM_PACKAGE_LOCAL",
122
+ "test:functional:build:prod": "rollup -c --environment BASE_CODE_MIN,NPM_PACKAGE_PROD",
123
+ "test:scripts": "vitest run --config=./scripts/specs/vitest.config.js",
124
+ "dev": "concurrently --names build,sandbox \"rollup -c -w --environment SANDBOX_SERVICE_WORKER\" \"REACT_APP_NONCE=123 pnpm run --filter @adobe/alloy-sandbox-browser start\"",
125
+ "build": "pnpm run clean && rollup -c --environment BASE_CODE_MIN,STANDALONE,STANDALONE_MIN,SERVICE_WORKER,SERVICE_WORKER_MIN && echo \"Base Code:\" && cat distTest/baseCode.min.js",
126
+ "build:watch": "pnpm run clean && rollup -c --watch --environment BASE_CODE_MIN,STANDALONE",
127
+ "build:custom": "node scripts/alloyBuilder.js",
128
+ "checkthattestfilesexist": "./scripts/checkThatTestFilesExist.js"
133
129
  }
134
- }
130
+ }
@@ -1,3 +1,15 @@
1
+ /*
2
+ Copyright 2025 Adobe. All rights reserved.
3
+ This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License. You may obtain a copy
5
+ of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ Unless required by applicable law or agreed to in writing, software distributed under
8
+ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ OF ANY KIND, either express or implied. See the License for the specific language
10
+ governing permissions and limitations under the License.
11
+ */
12
+
1
13
  import path from "path";
2
14
  import process from "process";
3
15
  import { fileURLToPath } from "url";
@@ -1,3 +1,15 @@
1
+ /*
2
+ Copyright 2025 Adobe. All rights reserved.
3
+ This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License. You may obtain a copy
5
+ of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ Unless required by applicable law or agreed to in writing, software distributed under
8
+ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ OF ANY KIND, either express or implied. See the License for the specific language
10
+ governing permissions and limitations under the License.
11
+ */
12
+
1
13
  import { createRequire } from "module";
2
14
 
3
15
  const require = createRequire(import.meta.url);
@@ -1,13 +1,14 @@
1
- declare function _default({ logger, config, eventManager, cookieManager, adConversionHandler, getBrowser, }: {
1
+ declare function _default({ logger, config, eventManager, cookieManager, adConversionHandler, getBrowser, consent, }: {
2
2
  logger: any;
3
3
  config: any;
4
4
  eventManager: any;
5
5
  cookieManager: any;
6
6
  adConversionHandler: any;
7
7
  getBrowser: any;
8
+ consent: any;
8
9
  }): {
9
10
  lifecycle: {
10
- onComponentsRegistered(): Promise<any>;
11
+ onComponentsRegistered(): void;
11
12
  onBeforeEvent: ({ event, advertising }: {
12
13
  event: any;
13
14
  advertising?: {};
@@ -1 +1 @@
1
- {"version":3,"file":"createComponent.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Advertising/createComponent.js"],"names":[],"mappings":"AAee;;;;;;;;;;;;;;;EAoCd"}
1
+ {"version":3,"file":"createComponent.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Advertising/createComponent.js"],"names":[],"mappings":"AAee;;;;;;;;;;;;;;;;EAwCd"}
@@ -1 +1 @@
1
- {"version":3,"file":"onBeforeSendEventHandler.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Advertising/handlers/onBeforeSendEventHandler.js"],"names":[],"mappings":"AA4BA;;;;;;;;;;GAUG;AACH,6HARG;IAAuB,aAAa;IACb,MAAM;IACN,KAAK;IACL,KAAK;IACL,eAAe;IACf,WAAW;IACT,UAAU;CACrC,iBAsFA"}
1
+ {"version":3,"file":"onBeforeSendEventHandler.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Advertising/handlers/onBeforeSendEventHandler.js"],"names":[],"mappings":"AAkCA;;;;;;;;;;GAUG;AACH,6HARG;IAAuB,aAAa;IACb,MAAM;IACN,KAAK;IACL,KAAK;IACL,eAAe;IACf,WAAW;IACT,UAAU;CACrC,iBAsFA"}
@@ -1,10 +1,11 @@
1
- declare function _default({ eventManager, cookieManager, adConversionHandler, logger, componentConfig, getBrowser, }: {
1
+ declare function _default({ eventManager, cookieManager, adConversionHandler, logger, componentConfig, getBrowser, consent, }: {
2
2
  eventManager: any;
3
3
  cookieManager: any;
4
4
  adConversionHandler: any;
5
5
  logger: any;
6
6
  componentConfig: any;
7
7
  getBrowser: any;
8
+ consent: any;
8
9
  }): () => Promise<any>;
9
10
  export default _default;
10
11
  //# sourceMappingURL=sendAdConversion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sendAdConversion.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Advertising/handlers/sendAdConversion.js"],"names":[],"mappings":"AAqBe;;;;;;;uBA0Cd"}
1
+ {"version":3,"file":"sendAdConversion.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Advertising/handlers/sendAdConversion.js"],"names":[],"mappings":"AAqBe;;;;;;;;uBAgDd"}
@@ -1 +1 @@
1
- {"version":3,"file":"viewThroughHandler.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Advertising/handlers/viewThroughHandler.js"],"names":[],"mappings":"AAkBA;;;;;;;yCAiEC"}
1
+ {"version":3,"file":"viewThroughHandler.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Advertising/handlers/viewThroughHandler.js"],"names":[],"mappings":"AAwBA;;;;;;;yCAiEC"}
@@ -1 +1 @@
1
- {"version":3,"file":"collectSurferId.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Advertising/identities/collectSurferId.js"],"names":[],"mappings":";AAwIA,oHA+CC"}
1
+ {"version":3,"file":"collectSurferId.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Advertising/identities/collectSurferId.js"],"names":[],"mappings":";AA+IA,oHA+CC"}
@@ -8,7 +8,7 @@ declare function createAdvertising({ logger, config, eventManager, sendEdgeNetwo
8
8
  getBrowser: any;
9
9
  }): {
10
10
  lifecycle: {
11
- onComponentsRegistered(): Promise<any>;
11
+ onComponentsRegistered(): void;
12
12
  onBeforeEvent: ({ event, advertising }: {
13
13
  event: any;
14
14
  advertising?: {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Advertising/index.js"],"names":[],"mappings":";AAqBA;;;;;;;;;;;;;;;EA6BC;;;;;6BArC4B,uBAAuB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Advertising/index.js"],"names":[],"mappings":";AAqBA;;;;;;;;;;;;;;;EA8BC;;;;;6BAtC4B,uBAAuB"}
@@ -0,0 +1,3 @@
1
+ declare const _default: any;
2
+ export default _default;
3
+ //# sourceMappingURL=configValidators.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configValidators.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/BrandConcierge/configValidators.js"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export const BC_SESSION_COOKIE_NAME: "bc_session_id";
2
+ export const STREAM_START_TIMEOUT_MS: 10000;
3
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/BrandConcierge/constants.js"],"names":[],"mappings":"AAWA,qCAAsC,eAAe,CAAC;AACtD,sCAAuC,KAAK,CAAC"}
@@ -0,0 +1,9 @@
1
+ declare function _default({ queryString }: {
2
+ queryString: any;
3
+ }): ({ edgeDomain, request, datastreamId }: {
4
+ edgeDomain: any;
5
+ request: any;
6
+ datastreamId: any;
7
+ }) => string;
8
+ export default _default;
9
+ //# sourceMappingURL=createBuildEndpointUrl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createBuildEndpointUrl.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/BrandConcierge/createBuildEndpointUrl.js"],"names":[],"mappings":"AAYe;;KACL;;;;CAAqC,YAS9C"}
@@ -0,0 +1,7 @@
1
+ declare function _default({ payload, action, sessionId }: {
2
+ payload: any;
3
+ action?: string;
4
+ sessionId: any;
5
+ }): import("../../utils/request/types.js").Request;
6
+ export default _default;
7
+ //# sourceMappingURL=createConversationServiceRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createConversationServiceRequest.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/BrandConcierge/createConversationServiceRequest.js"],"names":[],"mappings":"AAae;;;;mDAYd"}
@@ -0,0 +1,15 @@
1
+ declare function _default({ eventManager, loggingCookieJar, config, logger, sendConversationServiceRequest, buildEndpointUrl, cookieTransfer, createResponse, decodeKndctrCookie, lifecycle, consent, }: {
2
+ eventManager: any;
3
+ loggingCookieJar: any;
4
+ config: any;
5
+ logger: any;
6
+ sendConversationServiceRequest: any;
7
+ buildEndpointUrl: any;
8
+ cookieTransfer: any;
9
+ createResponse: any;
10
+ decodeKndctrCookie: any;
11
+ lifecycle: any;
12
+ consent: any;
13
+ }): (options: any) => any;
14
+ export default _default;
15
+ //# sourceMappingURL=createSendConversationEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createSendConversationEvent.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/BrandConcierge/createSendConversationEvent.js"],"names":[],"mappings":"AAkBe;;;;;;;;;;;;KAqBL,YAAO,SAgHhB"}
@@ -0,0 +1,11 @@
1
+ declare function _default({ logger, fetch }: {
2
+ logger: any;
3
+ fetch: any;
4
+ }): ({ requestId, url, request, streamingEnabled }: {
5
+ requestId: any;
6
+ url: any;
7
+ request: any;
8
+ streamingEnabled?: boolean;
9
+ }) => Promise<any>;
10
+ export default _default;
11
+ //# sourceMappingURL=createSendConversationServiceRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createSendConversationServiceRequest.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/BrandConcierge/createSendConversationServiceRequest.js"],"names":[],"mappings":"AAYe;;;KACC;;;;;CAAoD,kBAkEnE"}
@@ -0,0 +1,7 @@
1
+ declare function _default(): (stream: ReadableStream, { onEvent, onPing, onComplete }: {
2
+ onEvent: Function;
3
+ onPing: Function;
4
+ onComplete: Function;
5
+ }) => Promise<void>;
6
+ export default _default;
7
+ //# sourceMappingURL=createStreamParser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createStreamParser.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/BrandConcierge/createStreamParser.js"],"names":[],"mappings":"AAWe,8BAwEC,QANH,cAMS,EAAE,iCAJnB;IAA4B,OAAO;IACP,MAAM;IACN,UAAU;CAEY,mBAuDtD"}
@@ -0,0 +1,6 @@
1
+ declare function _default({ onStreamResponseCallback, streamTimeout }: {
2
+ onStreamResponseCallback: Function;
3
+ streamTimeout: number;
4
+ }): any;
5
+ export default _default;
6
+ //# sourceMappingURL=createTimeoutWrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createTimeoutWrapper.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/BrandConcierge/createTimeoutWrapper.js"],"names":[],"mappings":"AAuBe,uEAJZ;IAA0B,wBAAwB;IAC1B,aAAa,EAA7B,MAAM;CACd,OAuDF"}
@@ -0,0 +1,32 @@
1
+ export default createConciergeComponent;
2
+ declare function createConciergeComponent({ loggingCookieJar, logger, eventManager, consent, instanceName, sendEdgeNetworkRequest, config, lifecycle, cookieTransfer, createResponse, apexDomain, }: {
3
+ loggingCookieJar: any;
4
+ logger: any;
5
+ eventManager: any;
6
+ consent: any;
7
+ instanceName: any;
8
+ sendEdgeNetworkRequest: any;
9
+ config: any;
10
+ lifecycle: any;
11
+ cookieTransfer: any;
12
+ createResponse: any;
13
+ apexDomain: any;
14
+ }): {
15
+ lifecycle: {
16
+ onBeforeEvent({ event }: {
17
+ event: any;
18
+ }): void;
19
+ };
20
+ commands: {
21
+ sendConversationEvent: {
22
+ optionsValidator: (options: any) => any;
23
+ run: (options: any) => any;
24
+ };
25
+ };
26
+ };
27
+ declare namespace createConciergeComponent {
28
+ export let namespace: string;
29
+ export { configValidators };
30
+ }
31
+ import configValidators from "./configValidators.js";
32
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/BrandConcierge/index.js"],"names":[],"mappings":";AAqBA;;;;;;;;;;;;;;;;;;;;;;;;EAkEC;;;;;6BApE4B,uBAAuB"}
@@ -0,0 +1,6 @@
1
+ export function getPageSurface(): string;
2
+ export function getConciergeSessionCookie({ loggingCookieJar, config }: {
3
+ loggingCookieJar: any;
4
+ config: any;
5
+ }): any;
6
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/BrandConcierge/utils.js"],"names":[],"mappings":"AAkBO,yCAGN;AAEM;;;QAMN"}
@@ -0,0 +1,5 @@
1
+ declare function _default({ options }: {
2
+ options: any;
3
+ }): any;
4
+ export default _default;
5
+ //# sourceMappingURL=validateMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validateMessage.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/BrandConcierge/validateMessage.js"],"names":[],"mappings":"AAoBe;;QA6Bd"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Consent/types.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,uBAAwB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Consent/types.js"],"names":[],"mappings":"AAYA;;;;;;;;;;;;GAYG;AAEH,uBAAwB"}
@@ -3,7 +3,7 @@ declare function _default(config: any, logger: any, optionalContexts: any, requi
3
3
  lifecycle: {
4
4
  onBeforeEvent({ event }: {
5
5
  event: any;
6
- }): Promise<any>;
6
+ }): Promise<any[]>;
7
7
  };
8
8
  };
9
9
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"createComponent.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/createComponent.js"],"names":[],"mappings":"AAWe;;;;;;;EAwBd"}
1
+ {"version":3,"file":"createComponent.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/createComponent.js"],"names":[],"mappings":"AAWe;;;;;;;EAuBd"}
@@ -1,3 +1,3 @@
1
- declare function _default(xdm: any): void;
1
+ declare function _default(event: any): void;
2
2
  export default _default;
3
3
  //# sourceMappingURL=implementationDetails.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"implementationDetails.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/implementationDetails.js"],"names":[],"mappings":"AAee,0CAOd"}
1
+ {"version":3,"file":"implementationDetails.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/implementationDetails.js"],"names":[],"mappings":"AAce,4CAQd"}
@@ -7,7 +7,7 @@ declare function createContext({ config, logger }: {
7
7
  lifecycle: {
8
8
  onBeforeEvent({ event }: {
9
9
  event: any;
10
- }): Promise<any>;
10
+ }): Promise<any[]>;
11
11
  };
12
12
  };
13
13
  declare namespace createContext {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/index.js"],"names":[],"mappings":";AA4CA;;;;;;;;;;EAEC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/index.js"],"names":[],"mappings":";AA+CA;;;;;;;;;;EAEC"}
@@ -1,3 +1,3 @@
1
- declare function _default(window: any): (xdm: any) => void;
1
+ declare function _default(window: any): (event: any) => void;
2
2
  export default _default;
3
3
  //# sourceMappingURL=injectDevice.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"injectDevice.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectDevice.js"],"names":[],"mappings":"AAiDe,yCACL,QAAG,UA0BZ"}
1
+ {"version":3,"file":"injectDevice.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectDevice.js"],"names":[],"mappings":"AAiDe,yCACL,UAAK,UA0Bd"}
@@ -1,3 +1,3 @@
1
- declare function _default(window: any): (xdm: any) => void;
1
+ declare function _default(window: any): (event: any) => void;
2
2
  export default _default;
3
3
  //# sourceMappingURL=injectEnvironment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"injectEnvironment.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectEnvironment.js"],"names":[],"mappings":"AAce,yCACL,QAAG,UAsBZ"}
1
+ {"version":3,"file":"injectEnvironment.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectEnvironment.js"],"names":[],"mappings":"AAce,yCACL,UAAK,UAsBd"}
@@ -1,3 +1,3 @@
1
- declare function _default(navigator: any): (xdm: any, logger: any) => any;
1
+ declare function _default(navigator: any): (event: any, logger: any) => any;
2
2
  export default _default;
3
3
  //# sourceMappingURL=injectHighEntropyUserAgentHints.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"injectHighEntropyUserAgentHints.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectHighEntropyUserAgentHints.js"],"names":[],"mappings":"AAmBe,0EAmCd"}
1
+ {"version":3,"file":"injectHighEntropyUserAgentHints.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectHighEntropyUserAgentHints.js"],"names":[],"mappings":"AAmBe,4EAmCd"}
@@ -0,0 +1,3 @@
1
+ declare function _default(window: any): (event: any) => void;
2
+ export default _default;
3
+ //# sourceMappingURL=injectOneTimeAnalyticsReferrer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"injectOneTimeAnalyticsReferrer.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectOneTimeAnalyticsReferrer.js"],"names":[],"mappings":"AAmBe,yCAGL,UAAK,UAsCd"}
@@ -1,3 +1,3 @@
1
- declare function _default(dateProvider: any): (xdm: any) => void;
1
+ declare function _default(dateProvider: any): (event: any) => void;
2
2
  export default _default;
3
3
  //# sourceMappingURL=injectPlaceContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"injectPlaceContext.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectPlaceContext.js"],"names":[],"mappings":"AAae,+CACL,QAAG,UAmBZ"}
1
+ {"version":3,"file":"injectPlaceContext.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectPlaceContext.js"],"names":[],"mappings":"AAae,+CACL,UAAK,UAmBd"}
@@ -1,3 +1,3 @@
1
- declare function _default(dateProvider: any): (xdm: any) => void;
1
+ declare function _default(dateProvider: any): (event: any) => void;
2
2
  export default _default;
3
3
  //# sourceMappingURL=injectTimestamp.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"injectTimestamp.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectTimestamp.js"],"names":[],"mappings":"AAce,+CACL,QAAG,UAIZ"}
1
+ {"version":3,"file":"injectTimestamp.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectTimestamp.js"],"names":[],"mappings":"AAYe,+CACL,UAAK,UAId"}
@@ -1,3 +1,3 @@
1
- declare function _default(window: any): (xdm: any) => void;
1
+ declare function _default(window: any): (event: any) => void;
2
2
  export default _default;
3
3
  //# sourceMappingURL=injectWeb.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"injectWeb.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectWeb.js"],"names":[],"mappings":"AAce,yCACL,QAAG,UAWZ"}
1
+ {"version":3,"file":"injectWeb.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectWeb.js"],"names":[],"mappings":"AAYe,yCACL,UAAK,UAYd"}
@@ -1 +1 @@
1
- {"version":3,"file":"createComponent.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createComponent.js"],"names":[],"mappings":"AAkBe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+Gd"}
1
+ {"version":3,"file":"createComponent.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createComponent.js"],"names":[],"mappings":"AAkBe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkHd"}
@@ -8,11 +8,12 @@ declare function _default({ logger, prehidingStyle, showContainers, hideContaine
8
8
  createProposition: any;
9
9
  notificationHandler: any;
10
10
  consent: any;
11
- }): ({ cacheUpdate, personalizationDetails, event, onResponse }: {
11
+ }): ({ cacheUpdate, personalizationDetails, event, onResponse, identityMap, }: {
12
12
  cacheUpdate: any;
13
13
  personalizationDetails: any;
14
14
  event: any;
15
15
  onResponse: any;
16
+ identityMap: any;
16
17
  }) => void;
17
18
  export default _default;
18
19
  //# sourceMappingURL=createFetchDataHandler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createFetchDataHandler.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createFetchDataHandler.js"],"names":[],"mappings":"AAgBe;;;;;;;;;;KAWL;;;;;CAA0D,UAqGnE"}
1
+ {"version":3,"file":"createFetchDataHandler.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createFetchDataHandler.js"],"names":[],"mappings":"AAiBe;;;;;;;;;;KAWL;;;;;;CAMP,UAkHF"}
@@ -1,3 +1,3 @@
1
- declare function _default(collect: any, renderedPropositions: any): (isRenderDecisions: any, isSendDisplayEvent: any, viewName: any) => any;
1
+ declare function _default(collect: any, renderedPropositions: any): (isRenderDecisions: any, isSendDisplayEvent: any, viewName: any, identityMap: any) => any;
2
2
  export default _default;
3
3
  //# sourceMappingURL=createNotificationHandler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createNotificationHandler.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createNotificationHandler.js"],"names":[],"mappings":"AAee,qEACL,sBAAiB,EAAE,uBAAkB,EAAE,aAAQ,SA8BxD"}
1
+ {"version":3,"file":"createNotificationHandler.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createNotificationHandler.js"],"names":[],"mappings":"AAee,qEACL,sBAAiB,EAAE,uBAAkB,EAAE,aAAQ,EAAE,gBAAW,SAgCrE"}
@@ -2,11 +2,12 @@ declare function _default({ processPropositions, createProposition, notification
2
2
  processPropositions: any;
3
3
  createProposition: any;
4
4
  notificationHandler: any;
5
- }): ({ renderDecisions, propositions, event, personalization }: {
5
+ }): ({ renderDecisions, propositions, event, personalization, identityMap, }: {
6
6
  renderDecisions: any;
7
7
  propositions: any;
8
8
  event: any;
9
9
  personalization?: {};
10
+ identityMap: any;
10
11
  }) => Promise<void> | Promise<{
11
12
  propositions: any;
12
13
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"createOnDecisionHandler.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createOnDecisionHandler.js"],"names":[],"mappings":"AAgCe;;;;KAKL;;;;;CAA8D;;GAgDvE"}
1
+ {"version":3,"file":"createOnDecisionHandler.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createOnDecisionHandler.js"],"names":[],"mappings":"AAgCe;;;;KAKL;;;;;;CAMP;;GAsDF"}
@@ -1 +1 @@
1
- {"version":3,"file":"createPersonalizationDetails.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createPersonalizationDetails.js"],"names":[],"mappings":"AA0Ce;;;;;;;;;;;;;;;;;;;;;;;;;EA4Fd"}
1
+ {"version":3,"file":"createPersonalizationDetails.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createPersonalizationDetails.js"],"names":[],"mappings":"AA6Ce;;;;;;;;;;;;;;;;;;;;;;;;;EA4Fd"}
@@ -1 +1 @@
1
- {"version":3,"file":"remapHeadOffers.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Personalization/dom-actions/remapHeadOffers.js"],"names":[],"mappings":"AAiCe,4CAqBd"}
1
+ {"version":3,"file":"remapHeadOffers.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Personalization/dom-actions/remapHeadOffers.js"],"names":[],"mappings":"AAoCe,4CA0Bd"}
@@ -1 +1 @@
1
- {"version":3,"file":"createProcessInAppMessage.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Personalization/handlers/createProcessInAppMessage.js"],"names":[],"mappings":"AAgDe;;;KACL,SAAI;;;;;;;;EAwCb"}
1
+ {"version":3,"file":"createProcessInAppMessage.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Personalization/handlers/createProcessInAppMessage.js"],"names":[],"mappings":"AAgDe;;;KACL,SAAI;;;;;;;;EAyCb"}
@@ -1 +1 @@
1
- {"version":3,"file":"createProcessRedirect.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Personalization/handlers/createProcessRedirect.js"],"names":[],"mappings":"AAce;;;;KACZ,SAAI;;;;;;;;EAqCJ"}
1
+ {"version":3,"file":"createProcessRedirect.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Personalization/handlers/createProcessRedirect.js"],"names":[],"mappings":"AAce;;;;KACZ,SAAI;;;;;;;;EAsCJ"}