@adobe/alloy 2.30.1-beta.2 → 2.30.1-beta.21
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.
- package/libEs5/components/Advertising/handlers/onBeforeSendEventHandler.js +8 -2
- package/libEs5/components/Advertising/handlers/viewThroughHandler.js +8 -2
- package/libEs5/components/Advertising/identities/collectSurferId.js +8 -1
- package/libEs5/components/BrandConcierge/constants.js +16 -0
- package/libEs5/components/BrandConcierge/createBuildEndpointUrl.js +33 -0
- package/libEs5/components/BrandConcierge/createConversationServiceRequest.js +35 -0
- package/libEs5/components/BrandConcierge/createSendConversationEvent.js +146 -0
- package/libEs5/components/BrandConcierge/createSendConversationServiceRequest.js +85 -0
- package/libEs5/components/BrandConcierge/createStreamParser.js +96 -0
- package/libEs5/components/BrandConcierge/createTimeoutWrapper.js +52 -0
- package/libEs5/components/BrandConcierge/index.js +104 -0
- package/libEs5/components/BrandConcierge/utils.js +33 -0
- package/libEs5/components/BrandConcierge/validateMessage.js +41 -0
- package/libEs5/components/Consent/types.js +12 -0
- package/libEs5/components/Context/createComponent.js +1 -2
- package/libEs5/components/Context/implementationDetails.js +7 -9
- package/libEs5/components/Context/index.js +4 -1
- package/libEs5/components/Context/injectDevice.js +2 -2
- package/libEs5/components/Context/injectEnvironment.js +2 -2
- package/libEs5/components/Context/injectHighEntropyUserAgentHints.js +2 -2
- package/libEs5/components/Context/injectOneTimeAnalyticsReferrer.js +49 -0
- package/libEs5/components/Context/injectPlaceContext.js +2 -2
- package/libEs5/components/Context/injectTimestamp.js +2 -3
- package/libEs5/components/Context/injectWeb.js +9 -11
- package/libEs5/components/EventMerge/createEventMergeId.js +1 -1
- package/libEs5/components/Personalization/createComponent.js +3 -1
- package/libEs5/components/Personalization/createFetchDataHandler.js +4 -3
- package/libEs5/components/Personalization/createNotificationHandler.js +5 -3
- package/libEs5/components/Personalization/createOnDecisionHandler.js +4 -3
- package/libEs5/components/Personalization/createPersonalizationDetails.js +1 -1
- package/libEs5/components/Personalization/dom-actions/initDomActionsModules.js +1 -1
- package/libEs5/components/Personalization/handlers/createProcessInAppMessage.js +2 -1
- package/libEs5/components/Personalization/handlers/createProcessRedirect.js +2 -1
- package/libEs5/components/Personalization/handlers/injectCreateProposition.js +4 -1
- package/libEs5/components/Personalization/in-app-message-actions/actions/displayIframeContent.js +4 -2
- package/libEs5/components/Personalization/index.js +2 -2
- package/libEs5/components/PushNotifications/request/makeSendServiceWorkerTrackingData.js +1 -1
- package/libEs5/components/PushNotifications/types.js +12 -0
- package/libEs5/components/RulesEngine/createApplyResponse.js +3 -1
- package/libEs5/components/RulesEngine/types.js +12 -0
- package/libEs5/constants/libraryVersion.js +1 -1
- package/libEs5/constants/surface.js +19 -0
- package/libEs5/core/componentCreators.js +8 -1
- package/libEs5/core/consent/types.js +12 -0
- package/libEs5/core/createEvent.js +3 -0
- package/libEs5/core/edgeNetwork/types.js +12 -0
- package/libEs5/core/identity/types.js +12 -0
- package/libEs5/core/index.js +5 -1
- package/libEs5/core/types.js +12 -0
- package/libEs5/utils/createCollect.js +4 -2
- package/libEs5/utils/deepAssign.js +5 -0
- package/libEs5/utils/dom/createGetPageLocation.js +20 -0
- package/libEs5/utils/index.js +8 -1
- package/libEs5/utils/request/createRequest.js +5 -1
- package/libEs5/utils/request/types.js +12 -0
- package/libEs5/utils/surfaceUtils.js +82 -0
- package/libEs5/utils/types.js +12 -0
- package/libEs5/utils/uuid.js +1 -0
- package/libEs6/components/Advertising/handlers/onBeforeSendEventHandler.js +8 -2
- package/libEs6/components/Advertising/handlers/viewThroughHandler.js +8 -2
- package/libEs6/components/Advertising/identities/collectSurferId.js +8 -1
- package/libEs6/components/BrandConcierge/constants.js +13 -0
- package/libEs6/components/BrandConcierge/createBuildEndpointUrl.js +30 -0
- package/libEs6/components/BrandConcierge/createConversationServiceRequest.js +31 -0
- package/libEs6/components/BrandConcierge/createSendConversationEvent.js +142 -0
- package/libEs6/components/BrandConcierge/createSendConversationServiceRequest.js +81 -0
- package/libEs6/components/BrandConcierge/createStreamParser.js +92 -0
- package/libEs6/components/BrandConcierge/createTimeoutWrapper.js +49 -0
- package/libEs6/components/BrandConcierge/index.js +100 -0
- package/libEs6/components/BrandConcierge/utils.js +27 -0
- package/libEs6/components/BrandConcierge/validateMessage.js +37 -0
- package/libEs6/components/Consent/types.js +12 -0
- package/libEs6/components/Context/createComponent.js +1 -2
- package/libEs6/components/Context/implementationDetails.js +7 -9
- package/libEs6/components/Context/index.js +4 -1
- package/libEs6/components/Context/injectDevice.js +3 -3
- package/libEs6/components/Context/injectEnvironment.js +3 -3
- package/libEs6/components/Context/injectHighEntropyUserAgentHints.js +3 -3
- package/libEs6/components/Context/injectOneTimeAnalyticsReferrer.js +46 -0
- package/libEs6/components/Context/injectPlaceContext.js +3 -3
- package/libEs6/components/Context/injectTimestamp.js +2 -3
- package/libEs6/components/Context/injectWeb.js +9 -11
- package/libEs6/components/EventMerge/createEventMergeId.js +1 -1
- package/libEs6/components/Personalization/createComponent.js +3 -1
- package/libEs6/components/Personalization/createFetchDataHandler.js +4 -3
- package/libEs6/components/Personalization/createNotificationHandler.js +5 -3
- package/libEs6/components/Personalization/createOnDecisionHandler.js +4 -3
- package/libEs6/components/Personalization/createPersonalizationDetails.js +1 -1
- package/libEs6/components/Personalization/dom-actions/initDomActionsModules.js +1 -1
- package/libEs6/components/Personalization/handlers/createProcessInAppMessage.js +2 -1
- package/libEs6/components/Personalization/handlers/createProcessRedirect.js +2 -1
- package/libEs6/components/Personalization/handlers/injectCreateProposition.js +4 -1
- package/libEs6/components/Personalization/in-app-message-actions/actions/displayIframeContent.js +4 -2
- package/libEs6/components/Personalization/index.js +2 -2
- package/libEs6/components/PushNotifications/request/makeSendServiceWorkerTrackingData.js +1 -1
- package/libEs6/components/PushNotifications/types.js +12 -0
- package/libEs6/components/RulesEngine/createApplyResponse.js +3 -1
- package/libEs6/components/RulesEngine/types.js +12 -0
- package/libEs6/constants/libraryVersion.js +1 -1
- package/libEs6/constants/surface.js +16 -0
- package/libEs6/core/componentCreators.js +2 -1
- package/libEs6/core/consent/types.js +12 -0
- package/libEs6/core/createEvent.js +3 -0
- package/libEs6/core/edgeNetwork/types.js +12 -0
- package/libEs6/core/identity/types.js +12 -0
- package/libEs6/core/index.js +5 -1
- package/libEs6/core/types.js +12 -0
- package/libEs6/utils/createCollect.js +4 -2
- package/libEs6/utils/deepAssign.js +6 -0
- package/libEs6/utils/dom/createGetPageLocation.js +17 -0
- package/libEs6/utils/index.js +2 -1
- package/libEs6/utils/request/createRequest.js +5 -1
- package/libEs6/utils/request/types.js +12 -0
- package/libEs6/utils/surfaceUtils.js +76 -0
- package/libEs6/utils/types.js +12 -0
- package/libEs6/utils/uuid.js +1 -0
- package/package.json +44 -48
- package/scripts/helpers/path.js +12 -0
- package/scripts/helpers/versionBabelPlugin.js +12 -0
- package/types/components/Advertising/handlers/onBeforeSendEventHandler.d.ts.map +1 -1
- package/types/components/Advertising/handlers/viewThroughHandler.d.ts.map +1 -1
- package/types/components/Advertising/identities/collectSurferId.d.ts.map +1 -1
- package/types/components/BrandConcierge/constants.d.ts +3 -0
- package/types/components/BrandConcierge/constants.d.ts.map +1 -0
- package/types/components/BrandConcierge/createBuildEndpointUrl.d.ts +9 -0
- package/types/components/BrandConcierge/createBuildEndpointUrl.d.ts.map +1 -0
- package/types/components/BrandConcierge/createConversationServiceRequest.d.ts +7 -0
- package/types/components/BrandConcierge/createConversationServiceRequest.d.ts.map +1 -0
- package/types/components/BrandConcierge/createSendConversationEvent.d.ts +15 -0
- package/types/components/BrandConcierge/createSendConversationEvent.d.ts.map +1 -0
- package/types/components/BrandConcierge/createSendConversationServiceRequest.d.ts +11 -0
- package/types/components/BrandConcierge/createSendConversationServiceRequest.d.ts.map +1 -0
- package/types/components/BrandConcierge/createStreamParser.d.ts +3 -0
- package/types/components/BrandConcierge/createStreamParser.d.ts.map +1 -0
- package/types/components/BrandConcierge/createTimeoutWrapper.d.ts +3 -0
- package/types/components/BrandConcierge/createTimeoutWrapper.d.ts.map +1 -0
- package/types/components/BrandConcierge/index.d.ts +31 -0
- package/types/components/BrandConcierge/index.d.ts.map +1 -0
- package/types/components/BrandConcierge/utils.d.ts +6 -0
- package/types/components/BrandConcierge/utils.d.ts.map +1 -0
- package/types/components/BrandConcierge/validateMessage.d.ts +5 -0
- package/types/components/BrandConcierge/validateMessage.d.ts.map +1 -0
- package/types/components/Consent/types.d.ts.map +1 -1
- package/types/components/Context/createComponent.d.ts +1 -1
- package/types/components/Context/createComponent.d.ts.map +1 -1
- package/types/components/Context/implementationDetails.d.ts +1 -1
- package/types/components/Context/implementationDetails.d.ts.map +1 -1
- package/types/components/Context/index.d.ts +1 -1
- package/types/components/Context/index.d.ts.map +1 -1
- package/types/components/Context/injectDevice.d.ts +1 -1
- package/types/components/Context/injectDevice.d.ts.map +1 -1
- package/types/components/Context/injectEnvironment.d.ts +1 -1
- package/types/components/Context/injectEnvironment.d.ts.map +1 -1
- package/types/components/Context/injectHighEntropyUserAgentHints.d.ts +1 -1
- package/types/components/Context/injectHighEntropyUserAgentHints.d.ts.map +1 -1
- package/types/components/Context/injectOneTimeAnalyticsReferrer.d.ts +3 -0
- package/types/components/Context/injectOneTimeAnalyticsReferrer.d.ts.map +1 -0
- package/types/components/Context/injectPlaceContext.d.ts +1 -1
- package/types/components/Context/injectPlaceContext.d.ts.map +1 -1
- package/types/components/Context/injectTimestamp.d.ts +1 -1
- package/types/components/Context/injectTimestamp.d.ts.map +1 -1
- package/types/components/Context/injectWeb.d.ts +1 -1
- package/types/components/Context/injectWeb.d.ts.map +1 -1
- package/types/components/Personalization/createComponent.d.ts.map +1 -1
- package/types/components/Personalization/createFetchDataHandler.d.ts +2 -1
- package/types/components/Personalization/createFetchDataHandler.d.ts.map +1 -1
- package/types/components/Personalization/createNotificationHandler.d.ts +1 -1
- package/types/components/Personalization/createNotificationHandler.d.ts.map +1 -1
- package/types/components/Personalization/createOnDecisionHandler.d.ts +2 -1
- package/types/components/Personalization/createOnDecisionHandler.d.ts.map +1 -1
- package/types/components/Personalization/createPersonalizationDetails.d.ts.map +1 -1
- package/types/components/Personalization/handlers/createProcessInAppMessage.d.ts.map +1 -1
- package/types/components/Personalization/handlers/createProcessRedirect.d.ts.map +1 -1
- package/types/components/Personalization/handlers/injectCreateProposition.d.ts +2 -1
- package/types/components/Personalization/handlers/injectCreateProposition.d.ts.map +1 -1
- package/types/components/Personalization/in-app-message-actions/actions/displayIframeContent.d.ts.map +1 -1
- package/types/components/Personalization/index.d.ts.map +1 -1
- package/types/components/PushNotifications/types.d.ts.map +1 -1
- package/types/components/RulesEngine/createApplyResponse.d.ts.map +1 -1
- package/types/components/RulesEngine/index.d.ts.map +1 -1
- package/types/components/RulesEngine/types.d.ts.map +1 -1
- package/types/constants/surface.d.ts +5 -0
- package/types/constants/surface.d.ts.map +1 -0
- package/types/core/componentCreators.d.ts +1 -0
- package/types/core/consent/types.d.ts.map +1 -1
- package/types/core/createEvent.d.ts +1 -0
- package/types/core/createEvent.d.ts.map +1 -1
- package/types/core/edgeNetwork/types.d.ts.map +1 -1
- package/types/core/identity/types.d.ts.map +1 -1
- package/types/core/index.d.ts.map +1 -1
- package/types/core/types.d.ts.map +1 -1
- package/types/utils/createCollect.d.ts +2 -1
- package/types/utils/createCollect.d.ts.map +1 -1
- package/types/utils/deepAssign.d.ts.map +1 -1
- package/types/utils/dom/createGetPageLocation.d.ts +5 -0
- package/types/utils/dom/createGetPageLocation.d.ts.map +1 -0
- package/types/utils/index.d.ts +1 -0
- package/types/utils/request/createRequest.d.ts.map +1 -1
- package/types/utils/request/types.d.ts.map +1 -1
- package/types/utils/surfaceUtils.d.ts +4 -0
- package/types/utils/surfaceUtils.d.ts.map +1 -0
- package/types/utils/types.d.ts.map +1 -1
- package/types/utils/uuid.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.
|
|
3
|
+
"version": "2.30.1-beta.21",
|
|
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": "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"
|
|
@@ -80,55 +49,82 @@
|
|
|
80
49
|
"@babel/preset-env": "^7.28.5",
|
|
81
50
|
"@inquirer/prompts": "^7.9.0",
|
|
82
51
|
"@rollup/plugin-babel": "^6.1.0",
|
|
83
|
-
"@rollup/plugin-commonjs": "^
|
|
52
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
84
53
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
85
54
|
"@rollup/plugin-terser": "^0.4.4",
|
|
86
55
|
"commander": "^14.0.2",
|
|
87
56
|
"js-cookie": "3.0.5",
|
|
88
57
|
"rollup": "^4.52.5",
|
|
89
58
|
"rollup-plugin-license": "^3.6.0",
|
|
90
|
-
"uuid": "^
|
|
59
|
+
"uuid": "^13.0.0"
|
|
91
60
|
},
|
|
92
61
|
"devDependencies": {
|
|
93
|
-
"@adobe/alloy": "
|
|
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
|
-
"@octokit/rest": "^22.0.
|
|
68
|
+
"@octokit/rest": "^22.0.1",
|
|
98
69
|
"@types/node": "^24.9.1",
|
|
99
|
-
"@vitest/browser-playwright": "^4.0.
|
|
100
|
-
"@vitest/coverage-v8": "^4.0.
|
|
101
|
-
"@vitest/eslint-plugin": "^1.
|
|
70
|
+
"@vitest/browser-playwright": "^4.0.6",
|
|
71
|
+
"@vitest/coverage-v8": "^4.0.6",
|
|
72
|
+
"@vitest/eslint-plugin": "^1.4.0",
|
|
102
73
|
"chalk": "^5.6.2",
|
|
103
74
|
"concurrently": "^9.2.1",
|
|
104
75
|
"date-fns": "^4.1.0",
|
|
105
|
-
"eslint": "^9.
|
|
76
|
+
"eslint": "^9.39.0",
|
|
106
77
|
"eslint-config-prettier": "^10.1.8",
|
|
107
78
|
"eslint-plugin-compat": "^6.0.2",
|
|
108
79
|
"eslint-plugin-import": "^2.32.0",
|
|
109
80
|
"eslint-plugin-prettier": "^5.5.4",
|
|
110
81
|
"eslint-plugin-react": "^7.37.5",
|
|
111
82
|
"glob": "^11.0.3",
|
|
112
|
-
"globals": "^16.
|
|
113
|
-
"handlebars": "^4.7.8",
|
|
83
|
+
"globals": "^16.5.0",
|
|
114
84
|
"husky": "^9.1.7",
|
|
115
85
|
"lint-staged": "^16.2.6",
|
|
116
|
-
"minimatch": "^10.
|
|
86
|
+
"minimatch": "^10.1.1",
|
|
117
87
|
"msw": "^2.11.6",
|
|
118
88
|
"playwright": "^1.56.1",
|
|
119
89
|
"prettier": "^3.6.2",
|
|
120
90
|
"read-cache": "^1.0.0",
|
|
121
91
|
"recursive-readdir": "^2.2.3",
|
|
122
|
-
"rimraf": "^6.0
|
|
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
|
-
"
|
|
129
|
-
"vitest": "^4.0.3"
|
|
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
|
+
}
|
package/scripts/helpers/path.js
CHANGED
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onBeforeSendEventHandler.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Advertising/handlers/onBeforeSendEventHandler.js"],"names":[],"mappings":"
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"viewThroughHandler.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Advertising/handlers/viewThroughHandler.js"],"names":[],"mappings":"
|
|
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":";
|
|
1
|
+
{"version":3,"file":"collectSurferId.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Advertising/identities/collectSurferId.js"],"names":[],"mappings":";AA+IA,oHA+CC"}
|
|
@@ -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 @@
|
|
|
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;;;;;;;;;;;;KAeL,YAAO,SA4GhB"}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"createStreamParser.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/BrandConcierge/createStreamParser.js"],"names":[],"mappings":"AAWe,8BAsDC,QAHH,cAGS,EAAE,iBAAO,mBAoC9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createTimeoutWrapper.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/BrandConcierge/createTimeoutWrapper.js"],"names":[],"mappings":"AAqBe,4EA2Bd"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
let namespace: string;
|
|
29
|
+
let configValidators: any;
|
|
30
|
+
}
|
|
31
|
+
//# 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"}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"validateMessage.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/BrandConcierge/validateMessage.js"],"names":[],"mappings":"AAkBe;;QA2Bd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Consent/types.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Consent/types.js"],"names":[],"mappings":"AAYA;;;;;;;;;;;;GAYG;AAEH,uBAAwB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createComponent.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/createComponent.js"],"names":[],"mappings":"AAWe;;;;;;;
|
|
1
|
+
{"version":3,"file":"createComponent.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/createComponent.js"],"names":[],"mappings":"AAWe;;;;;;;EAuBd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"implementationDetails.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/implementationDetails.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"implementationDetails.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/implementationDetails.js"],"names":[],"mappings":"AAce,4CAQd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/index.js"],"names":[],"mappings":";AA+CA;;;;;;;;;;EAEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"injectDevice.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectDevice.js"],"names":[],"mappings":"AAiDe,yCACL,
|
|
1
|
+
{"version":3,"file":"injectDevice.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectDevice.js"],"names":[],"mappings":"AAiDe,yCACL,UAAK,UA0Bd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"injectEnvironment.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectEnvironment.js"],"names":[],"mappings":"AAce,yCACL,
|
|
1
|
+
{"version":3,"file":"injectEnvironment.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectEnvironment.js"],"names":[],"mappings":"AAce,yCACL,UAAK,UAsBd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"injectHighEntropyUserAgentHints.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectHighEntropyUserAgentHints.js"],"names":[],"mappings":"AAmBe,
|
|
1
|
+
{"version":3,"file":"injectHighEntropyUserAgentHints.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectHighEntropyUserAgentHints.js"],"names":[],"mappings":"AAmBe,4EAmCd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"injectOneTimeAnalyticsReferrer.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectOneTimeAnalyticsReferrer.js"],"names":[],"mappings":"AAYe,yCAGL,UAAK,UAsCd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"injectPlaceContext.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectPlaceContext.js"],"names":[],"mappings":"AAae,+CACL,
|
|
1
|
+
{"version":3,"file":"injectPlaceContext.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectPlaceContext.js"],"names":[],"mappings":"AAae,+CACL,UAAK,UAmBd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"injectTimestamp.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectTimestamp.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"injectTimestamp.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectTimestamp.js"],"names":[],"mappings":"AAYe,+CACL,UAAK,UAId"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"injectWeb.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Context/injectWeb.js"],"names":[],"mappings":"
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
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
|
|
1
|
+
{"version":3,"file":"createFetchDataHandler.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createFetchDataHandler.js"],"names":[],"mappings":"AAgBe;;;;;;;;;;KAWL;;;;;;CAMP,UAwGF"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare function _default(collect: any, renderedPropositions: any): (isRenderDecisions: any, isSendDisplayEvent: any, viewName: any) => any;
|
|
1
|
+
declare function _default(collect: any, renderedPropositions: any): (isRenderDecisions: any, isSendDisplayEvent: any, viewName: any, identityMap: any) => any;
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=createNotificationHandler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createNotificationHandler.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/createNotificationHandler.js"],"names":[],"mappings":"AAee,qEACL,sBAAiB,EAAE,uBAAkB,EAAE,aAAQ,
|
|
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
|
|
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":"
|
|
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":"createProcessInAppMessage.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Personalization/handlers/createProcessInAppMessage.js"],"names":[],"mappings":"AAgDe;;;KACL,SAAI;;;;;;;;
|
|
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;;;;;;;;
|
|
1
|
+
{"version":3,"file":"createProcessRedirect.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Personalization/handlers/createProcessRedirect.js"],"names":[],"mappings":"AAce;;;;KACZ,SAAI;;;;;;;;EAsCJ"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare function _default({ preprocess, isPageWideSurface }: {
|
|
2
2
|
preprocess: any;
|
|
3
3
|
isPageWideSurface: any;
|
|
4
|
-
}): (payload: any, visibleInReturnedItems?: boolean, shouldSuppressDisplay?: boolean) => {
|
|
4
|
+
}): (payload: any, visibleInReturnedItems?: boolean, shouldSuppressDisplay?: boolean, identityMap?: any) => {
|
|
5
5
|
getScope(): any;
|
|
6
6
|
getScopeType(): "view" | "page" | "proposition";
|
|
7
7
|
getItems(): any;
|
|
@@ -11,6 +11,7 @@ declare function _default({ preprocess, isPageWideSurface }: {
|
|
|
11
11
|
scopeDetails: any;
|
|
12
12
|
};
|
|
13
13
|
getId(): any;
|
|
14
|
+
getIdentityMap(): any;
|
|
14
15
|
toJSON(): any;
|
|
15
16
|
shouldSuppressDisplay(): boolean;
|
|
16
17
|
addToReturnValues(propositions: any, decisions: any, includedItems: any, renderAttempted: any): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"injectCreateProposition.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Personalization/handlers/injectCreateProposition.js"],"names":[],"mappings":"AAmBe;;;KAwCX,YAAO,EACP,gCAA6B,EAC7B,+BAA6B
|
|
1
|
+
{"version":3,"file":"injectCreateProposition.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/components/Personalization/handlers/injectCreateProposition.js"],"names":[],"mappings":"AAmBe;;;KAwCX,YAAO,EACP,gCAA6B,EAC7B,+BAA6B,EAC7B,iBAAuB;;;;;;;;;;;;;;EA0D1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"displayIframeContent.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/components/Personalization/in-app-message-actions/actions/displayIframeContent.js"],"names":[],"mappings":"AA4BO,iIAIG,UAAK,UA8Bd;AAEM,uEAsBN;AAyBM;;;;;;;EAmDN;AAEM;;;;;;;;;EAeN;AAgFM,8EAsBN;AAEc,
|
|
1
|
+
{"version":3,"file":"displayIframeContent.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/components/Personalization/in-app-message-actions/actions/displayIframeContent.js"],"names":[],"mappings":"AA4BO,iIAIG,UAAK,UA8Bd;AAEM,uEAsBN;AAyBM;;;;;;;EAmDN;AAEM;;;;;;;;;EAeN;AAgFM,8EAsBN;AAEc,qEAsBd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/index.js"],"names":[],"mappings":";AAgEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/Personalization/index.js"],"names":[],"mappings":";AAgEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqIC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/PushNotifications/types.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/PushNotifications/types.js"],"names":[],"mappings":"AAYA,+DAA+D;AAE/D;;;;;;GAMG;AAEH;;;;;;;;;;;;;;GAcG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AAEH;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH;;;;;GAKG;AAEH,uBAAwB;;;;;cAvFV,MAAM;;;;UAEjB;QAA6B,MAAM,EAAxB,MAAM,GAAC,IAAI;QACO,IAAI,EAAtB,MAAM,GAAC,IAAI;KACxB;;;sBAKE;QAAoC,kBAAkB,EAA3C,MAAM;QACmB,SAAS,EAAlC,MAAM;QACmB,WAAW,EAApC,MAAM;QACmB,UAAU,EAAnC,MAAM;QACmB,iBAAiB,EAA1C,MAAM;QACmB,eAAe,EAAxC,MAAM;KACjB;yBACA;QAAsC,QAAQ,GAAnC,KAAK;KAChB;qBACA;QAAmC,OAAO,GAC1C;YAA2C,GAAG,GAAnC,MAAM;SAA8B;KAAA;;;kBAM/C;QAAkC,YAAY,EAC9C;YAA+C,aAAa,EAAjD,MAAM;SACnB;KAAA;;;iBAKE;QAAkD,yBAAyB,EAAhE,yBAAyB;QACA,WAAW,EAApC,WAAW;KACxB;;;SAKE;QAAuB,KAAK,EAAjB,MAAM;QACM,IAAI,EAAhB,MAAM;QACW,KAAK,EAAtB,MAAM,GAAC,IAAI;QACC,WAAW,EAClC;YAAmC,IAAI,EAA5B,MAAM;YACuB,GAAG,EAAhC,MAAM,GAAC,IAAI;SACtB;QAAuB,OAAO,EAC9B;YAAiC,OAAO,EACxC;gBAAyC,KAAK,EAAnC,MAAM;gBACwB,IAAI,EAAlC,MAAM;gBACwB,GAAG,EAAjC,MAAM;aACjB;SAAA;QAAuB,QAAQ,EAApB,MAAM;QACM,IAAI,EAC3B;YAAwC,MAAM,EAAnC,kBAAkB;SAC/B;KAAA;;;YAKE;QAA4B,GAAG,EAC/B;YAAgC,WAAW,EAC3C;gBAA8C,IAAI,EAClD;oBAAmD,EAAE,EAA1C,MAAM;iBACjB;aAAA;YAAgC,SAAS,EAA9B,MAAM;YACe,wBAAwB,EACxD;gBAAyD,qBAAqB,EAAnE,MAAM;gBACwC,YAAY,EAA1D,MAAM;gBACyC,YAAY,GACtE;oBAAuE,QAAQ,GAApE,MAAM;iBACjB;aAAA;YAAgC,WAAW,EAC3C;gBAA4C,QAAQ,EACpD;oBAAqD,KAAK,EAA/C,MAAM;iBACjB;aAAA;YAAgC,SAAS,EAA9B,MAAM;YACe,WAAW,EAC3C;gBAA+D,yBAAyB,EAA7E,yBAAyB;gBACa,WAAW,EAAjD,WAAW;aACtB;SAAA;QAA4B,IAAI,EAChC;YAAiC,OAAO,EACxC;gBAAyC,SAAS,EAAvC,MAAM;aACnB;SAAA;KAAA;;;eAIa,MAAM;UACN,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI;WACxB,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createApplyResponse.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/RulesEngine/createApplyResponse.js"],"names":[],"mappings":"AAce;;;KACL;;;;;CAKP;;
|
|
1
|
+
{"version":3,"file":"createApplyResponse.d.ts","sourceRoot":"","sources":["../../../packages/core/src/components/RulesEngine/createApplyResponse.js"],"names":[],"mappings":"AAce;;;KACL;;;;;CAKP;;EAoBF"}
|