@adobe/alloy 2.21.0 → 2.21.1-beta.5
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/ActivityCollector/utils/determineLinkType.js +3 -3
- package/libEs5/components/ActivityCollector/utils/dom/getAbsoluteUrlFromAnchorElement.js +1 -1
- package/libEs5/components/ActivityCollector/utils/dom/isDownloadLink.js +1 -1
- package/libEs5/components/ActivityCollector/utils/dom/isExitLink.js +1 -1
- package/libEs5/components/ActivityCollector/utils/isDifferentDomains.js +1 -1
- package/libEs5/components/DataCollector/index.js +2 -2
- package/libEs5/components/Personalization/dom-actions/setStyles.js +2 -2
- package/libEs5/components/Personalization/utils/metaUtils.js +2 -2
- package/libEs5/components/Privacy/createConsentHashStore.js +2 -2
- package/libEs5/constants/libraryVersion.js +1 -1
- package/libEs5/core/createEventManager.js +2 -2
- package/libEs5/utils/request/createRequestParams.js +2 -2
- package/libEs5/utils/validation/createRenamedValidator.js +2 -2
- package/libEs6/components/ActivityCollector/utils/determineLinkType.js +3 -3
- package/libEs6/components/ActivityCollector/utils/dom/getAbsoluteUrlFromAnchorElement.js +1 -1
- package/libEs6/components/ActivityCollector/utils/dom/isDownloadLink.js +1 -1
- package/libEs6/components/ActivityCollector/utils/dom/isExitLink.js +1 -1
- package/libEs6/components/ActivityCollector/utils/isDifferentDomains.js +1 -1
- package/libEs6/constants/libraryVersion.js +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.default = void 0;
|
|
4
|
-
var _isDownloadLink = require("./dom/isDownloadLink");
|
|
5
|
-
var _isExitLink = require("./dom/isExitLink");
|
|
6
|
-
var _isNonEmptyString = require("../../../utils/isNonEmptyString");
|
|
4
|
+
var _isDownloadLink = require("./dom/isDownloadLink.js");
|
|
5
|
+
var _isExitLink = require("./dom/isExitLink.js");
|
|
6
|
+
var _isNonEmptyString = require("../../../utils/isNonEmptyString.js");
|
|
7
7
|
/*
|
|
8
8
|
Copyright 2024 Adobe. All rights reserved.
|
|
9
9
|
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.default = void 0;
|
|
4
|
-
var _urlStartsWithScheme = require("../urlStartsWithScheme");
|
|
4
|
+
var _urlStartsWithScheme = require("../urlStartsWithScheme.js");
|
|
5
5
|
/*
|
|
6
6
|
Copyright 2024 Adobe. All rights reserved.
|
|
7
7
|
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.default = void 0;
|
|
4
|
-
var _trimQueryFromUrl = require("../trimQueryFromUrl");
|
|
4
|
+
var _trimQueryFromUrl = require("../trimQueryFromUrl.js");
|
|
5
5
|
/*
|
|
6
6
|
Copyright 2024 Adobe. All rights reserved.
|
|
7
7
|
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.default = void 0;
|
|
4
|
-
var _trimQueryFromUrl = require("../trimQueryFromUrl");
|
|
4
|
+
var _trimQueryFromUrl = require("../trimQueryFromUrl.js");
|
|
5
5
|
/*
|
|
6
6
|
Copyright 2024 Adobe. All rights reserved.
|
|
7
7
|
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.default = void 0;
|
|
4
|
-
var _extractDomain = require("./dom/extractDomain");
|
|
4
|
+
var _extractDomain = require("./dom/extractDomain.js");
|
|
5
5
|
/*
|
|
6
6
|
Copyright 2024 Adobe. All rights reserved.
|
|
7
7
|
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -16,8 +16,8 @@ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTA
|
|
|
16
16
|
OF ANY KIND, either express or implied. See the License for the specific language
|
|
17
17
|
governing permissions and limitations under the License.
|
|
18
18
|
*/
|
|
19
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
|
20
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
|
19
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
20
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
21
21
|
var createDataCollector = function createDataCollector(_ref) {
|
|
22
22
|
var eventManager = _ref.eventManager,
|
|
23
23
|
logger = _ref.logger;
|
|
@@ -14,8 +14,8 @@ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTA
|
|
|
14
14
|
OF ANY KIND, either express or implied. See the License for the specific language
|
|
15
15
|
governing permissions and limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
|
18
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
|
17
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
18
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
19
19
|
var _default = exports.default = function _default(container, styles, decorateProposition) {
|
|
20
20
|
var priority = styles.priority,
|
|
21
21
|
style = _objectWithoutProperties(styles, _excluded);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
exports.dedupeMetas = exports.cleanMetas = void 0;
|
|
4
4
|
var _excluded = ["trackingLabel", "scopeType"];
|
|
5
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
|
6
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
|
5
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
6
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
7
7
|
/*
|
|
8
8
|
Copyright 2024 Adobe. All rights reserved.
|
|
9
9
|
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -14,8 +14,8 @@ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTA
|
|
|
14
14
|
OF ANY KIND, either express or implied. See the License for the specific language
|
|
15
15
|
governing permissions and limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
|
18
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
|
17
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
18
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
19
19
|
var getKey = function getKey(_ref) {
|
|
20
20
|
var standard = _ref.standard,
|
|
21
21
|
version = _ref.version;
|
|
@@ -14,4 +14,4 @@ governing permissions and limitations under the License.
|
|
|
14
14
|
*/
|
|
15
15
|
// The __VERSION__ keyword will be replace at alloy build time with the package.json version.
|
|
16
16
|
// see babel-plugin-version
|
|
17
|
-
var _default = exports.default = "2.21.
|
|
17
|
+
var _default = exports.default = "2.21.1-beta.5";
|
|
@@ -22,8 +22,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
22
22
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
23
23
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
24
24
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
25
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
|
26
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
|
25
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
26
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
27
27
|
var EVENT_CANCELLATION_MESSAGE = "Event was canceled because the onBeforeEventSend callback returned false.";
|
|
28
28
|
var _default = exports.default = function _default(_ref) {
|
|
29
29
|
var config = _ref.config,
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
exports.default = void 0;
|
|
4
4
|
var _excluded = ["datastreamId"];
|
|
5
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
|
6
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
|
5
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
6
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
7
7
|
/*
|
|
8
8
|
Copyright 2023 Adobe. All rights reserved.
|
|
9
9
|
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -7,8 +7,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7
7
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
8
8
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9
9
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
10
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var
|
|
11
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.
|
|
10
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
11
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
12
12
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
13
13
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /*
|
|
14
14
|
Copyright 2023 Adobe. All rights reserved.
|
|
@@ -10,9 +10,9 @@ OF ANY KIND, either express or implied. See the License for the specific languag
|
|
|
10
10
|
governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import isDownloadLink from "./dom/isDownloadLink";
|
|
14
|
-
import isExitLink from "./dom/isExitLink";
|
|
15
|
-
import isNonEmptyString from "../../../utils/isNonEmptyString";
|
|
13
|
+
import isDownloadLink from "./dom/isDownloadLink.js";
|
|
14
|
+
import isExitLink from "./dom/isExitLink.js";
|
|
15
|
+
import isNonEmptyString from "../../../utils/isNonEmptyString.js";
|
|
16
16
|
export default ((window, config, linkUrl, clickedObj) => {
|
|
17
17
|
let linkType = "other";
|
|
18
18
|
if (isNonEmptyString(linkUrl)) {
|
|
@@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
|
|
|
10
10
|
governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import urlStartsWithScheme from "../urlStartsWithScheme";
|
|
13
|
+
import urlStartsWithScheme from "../urlStartsWithScheme.js";
|
|
14
14
|
export default ((window, element) => {
|
|
15
15
|
const loc = window.location;
|
|
16
16
|
let href = element.href || "";
|
|
@@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
|
|
|
10
10
|
governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import trimQueryFromUrl from "../trimQueryFromUrl";
|
|
13
|
+
import trimQueryFromUrl from "../trimQueryFromUrl.js";
|
|
14
14
|
export default ((downloadLinkQualifier, linkUrl, clickedObj) => {
|
|
15
15
|
let result = false;
|
|
16
16
|
if (linkUrl) {
|
|
@@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
|
|
|
10
10
|
governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import trimQueryFromUrl from "../trimQueryFromUrl";
|
|
13
|
+
import trimQueryFromUrl from "../trimQueryFromUrl.js";
|
|
14
14
|
export default ((window, linkUrl) => {
|
|
15
15
|
let result = false;
|
|
16
16
|
// window.location.hostname should always be defined, but checking just in case
|
|
@@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
|
|
|
10
10
|
governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import extractDomain from "./dom/extractDomain";
|
|
13
|
+
import extractDomain from "./dom/extractDomain.js";
|
|
14
14
|
export default ((uri1, uri2) => {
|
|
15
15
|
const domain1 = extractDomain(uri1);
|
|
16
16
|
const domain2 = extractDomain(uri2);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/alloy",
|
|
3
|
-
"version": "2.21.
|
|
3
|
+
"version": "2.21.1-beta.5",
|
|
4
4
|
"description": "Adobe Experience Platform Web SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "libEs5/index.js",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"uuid": "^10.0.0"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
|
-
"@adobe/alloy": "^2.21.0
|
|
101
|
+
"@adobe/alloy": "^2.21.0",
|
|
102
102
|
"@babel/cli": "^7.24.7",
|
|
103
103
|
"@babel/plugin-transform-runtime": "^7.24.7",
|
|
104
104
|
"@eslint/js": "^9.5.0",
|