@adobe/alloy 2.30.1-beta.12 → 2.30.1-beta.13

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 (68) hide show
  1. package/libEs5/components/BrandConcierge/constants.js +15 -0
  2. package/libEs5/components/BrandConcierge/createBuildEndpointUrl.js +33 -0
  3. package/libEs5/components/BrandConcierge/createConversationServiceRequest.js +35 -0
  4. package/libEs5/components/BrandConcierge/createSendConversationEvent.js +132 -0
  5. package/libEs5/components/BrandConcierge/createSendConversationServiceRequest.js +85 -0
  6. package/libEs5/components/BrandConcierge/createStreamParser.js +96 -0
  7. package/libEs5/components/BrandConcierge/index.js +104 -0
  8. package/libEs5/components/BrandConcierge/utils.js +33 -0
  9. package/libEs5/components/BrandConcierge/validateMessage.js +41 -0
  10. package/libEs5/components/Personalization/createPersonalizationDetails.js +1 -1
  11. package/libEs5/components/Personalization/index.js +1 -1
  12. package/libEs5/constants/libraryVersion.js +1 -1
  13. package/libEs5/constants/surface.js +19 -0
  14. package/libEs5/core/componentCreators.js +8 -1
  15. package/libEs5/core/index.js +5 -1
  16. package/libEs5/utils/dom/createGetPageLocation.js +20 -0
  17. package/libEs5/utils/index.js +8 -1
  18. package/libEs5/utils/request/createRequest.js +5 -1
  19. package/libEs5/utils/surfaceUtils.js +82 -0
  20. package/libEs6/components/BrandConcierge/constants.js +12 -0
  21. package/libEs6/components/BrandConcierge/createBuildEndpointUrl.js +30 -0
  22. package/libEs6/components/BrandConcierge/createConversationServiceRequest.js +31 -0
  23. package/libEs6/components/BrandConcierge/createSendConversationEvent.js +128 -0
  24. package/libEs6/components/BrandConcierge/createSendConversationServiceRequest.js +81 -0
  25. package/libEs6/components/BrandConcierge/createStreamParser.js +92 -0
  26. package/libEs6/components/BrandConcierge/index.js +100 -0
  27. package/libEs6/components/BrandConcierge/utils.js +27 -0
  28. package/libEs6/components/BrandConcierge/validateMessage.js +37 -0
  29. package/libEs6/components/Personalization/createPersonalizationDetails.js +1 -1
  30. package/libEs6/components/Personalization/index.js +1 -1
  31. package/libEs6/constants/libraryVersion.js +1 -1
  32. package/libEs6/constants/surface.js +16 -0
  33. package/libEs6/core/componentCreators.js +2 -1
  34. package/libEs6/core/index.js +5 -1
  35. package/libEs6/utils/dom/createGetPageLocation.js +17 -0
  36. package/libEs6/utils/index.js +2 -1
  37. package/libEs6/utils/request/createRequest.js +5 -1
  38. package/libEs6/utils/surfaceUtils.js +76 -0
  39. package/package.json +1 -1
  40. package/types/components/BrandConcierge/constants.d.ts +2 -0
  41. package/types/components/BrandConcierge/constants.d.ts.map +1 -0
  42. package/types/components/BrandConcierge/createBuildEndpointUrl.d.ts +9 -0
  43. package/types/components/BrandConcierge/createBuildEndpointUrl.d.ts.map +1 -0
  44. package/types/components/BrandConcierge/createConversationServiceRequest.d.ts +7 -0
  45. package/types/components/BrandConcierge/createConversationServiceRequest.d.ts.map +1 -0
  46. package/types/components/BrandConcierge/createSendConversationEvent.d.ts +14 -0
  47. package/types/components/BrandConcierge/createSendConversationEvent.d.ts.map +1 -0
  48. package/types/components/BrandConcierge/createSendConversationServiceRequest.d.ts +11 -0
  49. package/types/components/BrandConcierge/createSendConversationServiceRequest.d.ts.map +1 -0
  50. package/types/components/BrandConcierge/createStreamParser.d.ts +3 -0
  51. package/types/components/BrandConcierge/createStreamParser.d.ts.map +1 -0
  52. package/types/components/BrandConcierge/index.d.ts +31 -0
  53. package/types/components/BrandConcierge/index.d.ts.map +1 -0
  54. package/types/components/BrandConcierge/utils.d.ts +6 -0
  55. package/types/components/BrandConcierge/utils.d.ts.map +1 -0
  56. package/types/components/BrandConcierge/validateMessage.d.ts +5 -0
  57. package/types/components/BrandConcierge/validateMessage.d.ts.map +1 -0
  58. package/types/components/Personalization/createPersonalizationDetails.d.ts.map +1 -1
  59. package/types/constants/surface.d.ts +5 -0
  60. package/types/constants/surface.d.ts.map +1 -0
  61. package/types/core/componentCreators.d.ts +1 -0
  62. package/types/core/index.d.ts.map +1 -1
  63. package/types/utils/dom/createGetPageLocation.d.ts +5 -0
  64. package/types/utils/dom/createGetPageLocation.d.ts.map +1 -0
  65. package/types/utils/index.d.ts +1 -0
  66. package/types/utils/request/createRequest.d.ts.map +1 -1
  67. package/types/utils/surfaceUtils.d.ts +4 -0
  68. package/types/utils/surfaceUtils.d.ts.map +1 -0
@@ -0,0 +1,37 @@
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
+ import { anyOf, arrayOf, objectOf, string } from "../../utils/validation/index.js";
13
+ export default ({
14
+ options
15
+ }) => {
16
+ const brandConciergeEventValidator = anyOf([objectOf({
17
+ message: string().required()
18
+ }), objectOf({
19
+ xdm: objectOf({
20
+ interactionId: string(),
21
+ conversationId: string(),
22
+ conversation: objectOf({
23
+ feedback: objectOf({
24
+ classification: string(),
25
+ comment: string(),
26
+ reasons: arrayOf(string())
27
+ })
28
+ })
29
+ })
30
+ }).required(), objectOf({
31
+ data: objectOf({
32
+ type: string().required(),
33
+ payload: objectOf({})
34
+ }).required()
35
+ })]);
36
+ return brandConciergeEventValidator(options);
37
+ };
@@ -11,9 +11,9 @@ governing permissions and limitations under the License.
11
11
  */
12
12
 
13
13
  import { isNonEmptyString, isNonEmptyArray } from "../../utils/index.js";
14
- import { buildPageSurface, normalizeSurfaces } from "./utils/surfaceUtils.js";
15
14
  import PAGE_WIDE_SCOPE from "../../constants/pageWideScope.js";
16
15
  import { DEFAULT_CONTENT_ITEM, DOM_ACTION, HTML_CONTENT_ITEM, MESSAGE_IN_APP, JSON_CONTENT_ITEM, REDIRECT_ITEM, RULESET_ITEM, MESSAGE_CONTENT_CARD } from "../../constants/schema.js";
16
+ import { buildPageSurface, normalizeSurfaces } from "../../utils/surfaceUtils.js";
17
17
  const addPageWideScope = scopes => {
18
18
  if (!scopes.includes(PAGE_WIDE_SCOPE)) {
19
19
  scopes.push(PAGE_WIDE_SCOPE);
@@ -34,7 +34,7 @@ import injectCreateProposition from "./handlers/injectCreateProposition.js";
34
34
  import createAsyncArray from "./utils/createAsyncArray.js";
35
35
  import * as schema from "../../constants/schema.js";
36
36
  import processDefaultContent from "./handlers/processDefaultContent.js";
37
- import { isPageWideSurface } from "./utils/surfaceUtils.js";
37
+ import { isPageWideSurface } from "../../utils/surfaceUtils.js";
38
38
  import createProcessDomAction from "./handlers/createProcessDomAction.js";
39
39
  import createProcessHtmlContent from "./handlers/createProcessHtmlContent.js";
40
40
  import createProcessRedirect from "./handlers/createProcessRedirect.js";
@@ -13,4 +13,4 @@ governing permissions and limitations under the License.
13
13
  // The __VERSION__ keyword will be replace at alloy build time with the package.json version.
14
14
  // see babel-plugin-version
15
15
 
16
- export default "2.30.1-beta.12";
16
+ export default "2.30.1-beta.13";
@@ -0,0 +1,16 @@
1
+ /*
2
+ Copyright 2022 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
+
13
+ export const WEB = "web";
14
+ export const WEBAPP = "webapp";
15
+ export const SURFACE_TYPE_DELIMITER = "://";
16
+ export const FRAGMENT_DELIMITER = "#";
@@ -23,4 +23,5 @@ export { default as personalization } from "../components/Personalization/index.
23
23
  export { default as rulesEngine } from "../components/RulesEngine/index.js";
24
24
  export { default as streamingMedia } from "../components/StreamingMedia/index.js";
25
25
  export { default as advertising } from "../components/Advertising/index.js";
26
- export { default as pushNotifications } from "../components/PushNotifications/index.js";
26
+ export { default as pushNotifications } from "../components/PushNotifications/index.js";
27
+ export { default as brandConcierge } from "../components/BrandConcierge/index.js";
@@ -181,6 +181,8 @@ export const createExecuteCommand = ({
181
181
  getImmediatelyAvailableTools(componentName) {
182
182
  const componentLogger = createComponentLogger(componentName);
183
183
  return {
184
+ loggingCookieJar,
185
+ instanceName,
184
186
  config,
185
187
  componentRegistry,
186
188
  consent,
@@ -196,7 +198,9 @@ export const createExecuteCommand = ({
196
198
  }),
197
199
  createNamespacedStorage,
198
200
  apexDomain,
199
- getBrowser
201
+ getBrowser,
202
+ cookieTransfer,
203
+ createResponse
200
204
  };
201
205
  }
202
206
  });
@@ -0,0 +1,17 @@
1
+ /*
2
+ Copyright 2022 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
+
13
+ export default ({
14
+ window
15
+ }) => () => {
16
+ return window.location;
17
+ };
@@ -61,4 +61,5 @@ export { default as toISOStringLocal } from "./toISOStringLocal.js";
61
61
  export { default as uuid } from "./uuid.js";
62
62
  export { default as updateErrorMessage } from "./updateErrorMessage.js";
63
63
  export { default as validateIdentityMap } from "./validateIdentityMap.js";
64
- export { default as validateConfigOverride } from "./validateConfigOverride.js";
64
+ export { default as validateConfigOverride } from "./validateConfigOverride.js";
65
+ export { default as createGetPageLocation } from "./dom/createGetPageLocation.js";
@@ -47,7 +47,8 @@ export default options => {
47
47
  getAction,
48
48
  getUseSendBeacon,
49
49
  datastreamIdOverride,
50
- edgeSubPath
50
+ edgeSubPath,
51
+ requestParams = {}
51
52
  } = options;
52
53
  const id = uuid();
53
54
  let shouldUseThirdPartyDomain = false;
@@ -86,6 +87,9 @@ export default options => {
86
87
  },
87
88
  setIsIdentityEstablished() {
88
89
  isIdentityEstablished = true;
90
+ },
91
+ getRequestParams() {
92
+ return requestParams;
89
93
  }
90
94
  };
91
95
  };
@@ -0,0 +1,76 @@
1
+ /*
2
+ Copyright 2022 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
+
13
+ import { WEB, WEBAPP, SURFACE_TYPE_DELIMITER, FRAGMENT_DELIMITER } from "../constants/surface.js";
14
+ import { isNil, isNonEmptyString } from "./index.js";
15
+ const SURFACE_REGEX = /^(\w+):\/\/([^/#]+)(\/[^#]*)?(#.*)?$/;
16
+ const AUTHORITY_REGEX = /^(?:.*@)?(?:[a-z\d\u00a1-\uffff.-]+|\[[a-f\d:]+])(?::\d+)?$/;
17
+ const PATH_REGEX = /^\/(?:[/\w\u00a1-\uffff-.~]|%[a-fA-F\d]{2})*$/;
18
+ const FRAGMENT_REGEX = /^#(?:[/\w\u00a1-\uffff-.~]|%[a-fA-F\d]{2})+$/;
19
+ const normalizePath = (path = "/") => {
20
+ let end = path.length;
21
+ while (end > 0 && "/".indexOf(path.charAt(end - 1)) !== -1) {
22
+ end -= 1;
23
+ }
24
+ return path.substring(0, end) || "/";
25
+ };
26
+ const getSurfaceType = surfaceTypeMatch => isNonEmptyString(surfaceTypeMatch) ? surfaceTypeMatch.toLowerCase() : "";
27
+ const getAuthority = authorityMatch => isNonEmptyString(authorityMatch) ? authorityMatch.toLowerCase() : "";
28
+ const getPath = pathMatch => isNonEmptyString(pathMatch) ? normalizePath(pathMatch) : "/";
29
+ const parseSurface = surfaceString => {
30
+ const matched = surfaceString.match(SURFACE_REGEX);
31
+ return matched ? {
32
+ surfaceType: getSurfaceType(matched[1]),
33
+ authority: getAuthority(matched[2]),
34
+ path: getPath(matched[3]),
35
+ fragment: matched[4]
36
+ } : null;
37
+ };
38
+ const stringifySurface = surface => `${surface.surfaceType}${SURFACE_TYPE_DELIMITER}${surface.authority}${surface.path || ""}${surface.fragment || ""}`;
39
+ export const buildPageSurface = getPageLocation => {
40
+ const location = getPageLocation();
41
+ const host = location.host.toLowerCase();
42
+ const path = location.pathname;
43
+ return WEB + SURFACE_TYPE_DELIMITER + host + normalizePath(path);
44
+ };
45
+ const expandFragmentSurface = (surface, getPageLocation) => surface.startsWith(FRAGMENT_DELIMITER) ? buildPageSurface(getPageLocation) + surface : surface;
46
+ const validateSurface = (surface, getPageLocation, logger) => {
47
+ const invalidateSurface = validationError => {
48
+ logger.warn(validationError);
49
+ return null;
50
+ };
51
+ if (!isNonEmptyString(surface)) {
52
+ return invalidateSurface(`Invalid surface: ${surface}`);
53
+ }
54
+ const expanded = expandFragmentSurface(surface, getPageLocation);
55
+ const parsed = parseSurface(expanded);
56
+ if (parsed === null) {
57
+ return invalidateSurface(`Invalid surface: ${surface}`);
58
+ }
59
+ if (![WEB, WEBAPP].includes(parsed.surfaceType)) {
60
+ return invalidateSurface(`Unsupported surface type ${parsed.surfaceType} in surface: ${surface}`);
61
+ }
62
+ if (!parsed.authority || !AUTHORITY_REGEX.test(parsed.authority)) {
63
+ return invalidateSurface(`Invalid authority ${parsed.authority} in surface: ${surface}`);
64
+ }
65
+ if (parsed.path && !PATH_REGEX.test(parsed.path)) {
66
+ return invalidateSurface(`Invalid path ${parsed.path} in surface: ${surface}`);
67
+ }
68
+ if (parsed.fragment && !FRAGMENT_REGEX.test(parsed.fragment)) {
69
+ return invalidateSurface(`Invalid fragment ${parsed.fragment} in surface: ${surface}`);
70
+ }
71
+ return parsed;
72
+ };
73
+ export const isPageWideSurface = scope => !!scope && scope.indexOf(WEB + SURFACE_TYPE_DELIMITER) === 0 && scope.indexOf(FRAGMENT_DELIMITER) === -1;
74
+
75
+ // eslint-disable-next-line default-param-last
76
+ export const normalizeSurfaces = (surfaces = [], getPageLocation, logger) => surfaces.map(surface => validateSurface(surface, getPageLocation, logger)).filter(surface => !isNil(surface)).map(stringifySurface);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/alloy",
3
- "version": "2.30.1-beta.12",
3
+ "version": "2.30.1-beta.13",
4
4
  "description": "Adobe Experience Platform Web SDK",
5
5
  "type": "module",
6
6
  "main": "libEs5/index.js",
@@ -0,0 +1,2 @@
1
+ export const BC_SESSION_COOKIE_NAME: "bc_session_id";
2
+ //# 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"}
@@ -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,14 @@
1
+ declare function _default({ eventManager, loggingCookieJar, config, logger, sendConversationServiceRequest, buildEndpointUrl, cookieTransfer, createResponse, decodeKndctrCookie, lifecycle, }: {
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
+ }): (options: any) => any;
13
+ export default _default;
14
+ //# 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":"AAiBe;;;;;;;;;;;KAcL,YAAO,SAgGhB"}
@@ -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,3 @@
1
+ declare function _default(): (stream: ReadableStream, onEvent: Function) => Promise<void>;
2
+ export default _default;
3
+ //# 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,8BAsDC,QAHH,cAGS,EAAE,iBAAO,mBAoC9B"}
@@ -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,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":"AAkBe;;QA2Bd"}
@@ -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"}
@@ -0,0 +1,5 @@
1
+ export const WEB: "web";
2
+ export const WEBAPP: "webapp";
3
+ export const SURFACE_TYPE_DELIMITER: "://";
4
+ export const FRAGMENT_DELIMITER: "#";
5
+ //# sourceMappingURL=surface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../packages/core/src/constants/surface.js"],"names":[],"mappings":"AAYA,kBAAmB,KAAK,CAAC;AACzB,qBAAsB,QAAQ,CAAC;AAC/B,qCAAsC,KAAK,CAAC;AAC5C,iCAAkC,GAAG,CAAC"}
@@ -8,4 +8,5 @@ export { default as rulesEngine } from "../components/RulesEngine/index.js";
8
8
  export { default as streamingMedia } from "../components/StreamingMedia/index.js";
9
9
  export { default as advertising } from "../components/Advertising/index.js";
10
10
  export { default as pushNotifications } from "../components/PushNotifications/index.js";
11
+ export { default as brandConcierge } from "../components/BrandConcierge/index.js";
11
12
  //# sourceMappingURL=componentCreators.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/core/src/core/index.js"],"names":[],"mappings":"AAwEO;;;;;;;;qDA0IN;AAEc;;SA4Bd"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/core/src/core/index.js"],"names":[],"mappings":"AAwEO;;;;;;;;qDA8IN;AAEc;;SA4Bd"}
@@ -0,0 +1,5 @@
1
+ declare function _default({ window }: {
2
+ window: any;
3
+ }): () => any;
4
+ export default _default;
5
+ //# sourceMappingURL=createGetPageLocation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createGetPageLocation.d.ts","sourceRoot":"","sources":["../../../packages/core/src/utils/dom/createGetPageLocation.js"],"names":[],"mappings":"AAYe;;cAGZ"}
@@ -48,5 +48,6 @@ export { default as uuid } from "./uuid.js";
48
48
  export { default as updateErrorMessage } from "./updateErrorMessage.js";
49
49
  export { default as validateIdentityMap } from "./validateIdentityMap.js";
50
50
  export { default as validateConfigOverride } from "./validateConfigOverride.js";
51
+ export { default as createGetPageLocation } from "./dom/createGetPageLocation.js";
51
52
  export { base64ToBytes, bytesToBase64 } from "./bytes.js";
52
53
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createRequest.d.ts","sourceRoot":"","sources":["../../../packages/core/src/utils/request/createRequest.js"],"names":[],"mappings":"AA2Ce,mCArBZ;IAAgC,OAAO,EAA/B,cAAc;IAC8C,SAAS,EAArE,CAAS,IAAgC,EAAhC;QAAC,qBAAqB,EAAE,OAAO,CAAA;KAAC,KAAG,MAAM;IACW,gBAAgB,EAA7E,CAAS,IAAgC,EAAhC;QAAC,qBAAqB,EAAE,OAAO,CAAA;KAAC,KAAG,OAAO;IAClC,oBAAoB,GAArC,MAAM;IACW,WAAW,GAA5B,MAAM;CAEd,GAAU,OAAO,CA4DnB;;oCA5E4C,YAAY;6BAAZ,YAAY"}
1
+ {"version":3,"file":"createRequest.d.ts","sourceRoot":"","sources":["../../../packages/core/src/utils/request/createRequest.js"],"names":[],"mappings":"AA2Ce,mCArBZ;IAAgC,OAAO,EAA/B,cAAc;IAC8C,SAAS,EAArE,CAAS,IAAgC,EAAhC;QAAC,qBAAqB,EAAE,OAAO,CAAA;KAAC,KAAG,MAAM;IACW,gBAAgB,EAA7E,CAAS,IAAgC,EAAhC;QAAC,qBAAqB,EAAE,OAAO,CAAA;KAAC,KAAG,OAAO;IAClC,oBAAoB,GAArC,MAAM;IACW,WAAW,GAA5B,MAAM;CAEd,GAAU,OAAO,CAgEnB;;oCAhF4C,YAAY;6BAAZ,YAAY"}
@@ -0,0 +1,4 @@
1
+ export function buildPageSurface(getPageLocation: any): string;
2
+ export function isPageWideSurface(scope: any): boolean;
3
+ export function normalizeSurfaces(surfaces: any[], getPageLocation: any, logger: any): string[];
4
+ //# sourceMappingURL=surfaceUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"surfaceUtils.d.ts","sourceRoot":"","sources":["../../packages/core/src/utils/surfaceUtils.js"],"names":[],"mappings":"AA2DO,+DAKN;AA4CM,uDAGmC;AAGnC,gGAImB"}