@adobe/alloy 2.30.1-beta.11 → 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.
- package/libEs5/components/BrandConcierge/constants.js +15 -0
- package/libEs5/components/BrandConcierge/createBuildEndpointUrl.js +33 -0
- package/libEs5/components/BrandConcierge/createConversationServiceRequest.js +35 -0
- package/libEs5/components/BrandConcierge/createSendConversationEvent.js +132 -0
- package/libEs5/components/BrandConcierge/createSendConversationServiceRequest.js +85 -0
- package/libEs5/components/BrandConcierge/createStreamParser.js +96 -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/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/Personalization/createPersonalizationDetails.js +1 -1
- package/libEs5/components/Personalization/index.js +1 -1
- package/libEs5/constants/libraryVersion.js +1 -1
- package/libEs5/constants/surface.js +19 -0
- package/libEs5/core/componentCreators.js +8 -1
- package/libEs5/core/index.js +5 -1
- 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/surfaceUtils.js +82 -0
- package/libEs6/components/BrandConcierge/constants.js +12 -0
- package/libEs6/components/BrandConcierge/createBuildEndpointUrl.js +30 -0
- package/libEs6/components/BrandConcierge/createConversationServiceRequest.js +31 -0
- package/libEs6/components/BrandConcierge/createSendConversationEvent.js +128 -0
- package/libEs6/components/BrandConcierge/createSendConversationServiceRequest.js +81 -0
- package/libEs6/components/BrandConcierge/createStreamParser.js +92 -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/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/Personalization/createPersonalizationDetails.js +1 -1
- package/libEs6/components/Personalization/index.js +1 -1
- package/libEs6/constants/libraryVersion.js +1 -1
- package/libEs6/constants/surface.js +16 -0
- package/libEs6/core/componentCreators.js +2 -1
- package/libEs6/core/index.js +5 -1
- 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/surfaceUtils.js +76 -0
- package/package.json +1 -1
- package/types/components/BrandConcierge/constants.d.ts +2 -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 +14 -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/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/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/createPersonalizationDetails.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/index.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/surfaceUtils.d.ts +4 -0
- package/types/utils/surfaceUtils.d.ts.map +1 -0
|
@@ -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
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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":"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":"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"}
|
|
@@ -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;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/core/src/core/index.js"],"names":[],"mappings":"AAwEO;;;;;;;;qDA8IN;AAEc;;SA4Bd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createGetPageLocation.d.ts","sourceRoot":"","sources":["../../../packages/core/src/utils/dom/createGetPageLocation.js"],"names":[],"mappings":"AAYe;;cAGZ"}
|
package/types/utils/index.d.ts
CHANGED
|
@@ -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,
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"surfaceUtils.d.ts","sourceRoot":"","sources":["../../packages/core/src/utils/surfaceUtils.js"],"names":[],"mappings":"AA2DO,+DAKN;AA4CM,uDAGmC;AAGnC,gGAImB"}
|