@adobe/alloy 2.19.0-beta.5 → 2.19.0-beta.6
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/Personalization/handlers/createProcessDomAction.js +12 -3
- package/libEs5/components/Personalization/handlers/createProcessHtmlContent.js +8 -2
- package/libEs5/constants/libraryVersion.js +1 -1
- package/libEs6/components/Personalization/handlers/createProcessDomAction.js +12 -3
- package/libEs6/components/Personalization/handlers/createProcessHtmlContent.js +8 -2
- package/libEs6/constants/libraryVersion.js +1 -1
- package/package.json +2 -2
|
@@ -22,12 +22,18 @@ var _default = function _default(_ref) {
|
|
|
22
22
|
selector = _ref2.selector;
|
|
23
23
|
if (!type) {
|
|
24
24
|
logger.warn("Invalid DOM action data: missing type.", item.getData());
|
|
25
|
-
return {
|
|
25
|
+
return {
|
|
26
|
+
setRenderAttempted: false,
|
|
27
|
+
includeInNotification: false
|
|
28
|
+
};
|
|
26
29
|
}
|
|
27
30
|
if (type === "click") {
|
|
28
31
|
if (!selector) {
|
|
29
32
|
logger.warn("Invalid DOM action data: missing selector.", item.getData());
|
|
30
|
-
return {
|
|
33
|
+
return {
|
|
34
|
+
setRenderAttempted: false,
|
|
35
|
+
includeInNotification: false
|
|
36
|
+
};
|
|
31
37
|
}
|
|
32
38
|
storeClickMetrics({
|
|
33
39
|
selector: selector,
|
|
@@ -40,7 +46,10 @@ var _default = function _default(_ref) {
|
|
|
40
46
|
}
|
|
41
47
|
if (!modules[type]) {
|
|
42
48
|
logger.warn("Invalid DOM action data: unknown type.", item.getData());
|
|
43
|
-
return {
|
|
49
|
+
return {
|
|
50
|
+
setRenderAttempted: false,
|
|
51
|
+
includeInNotification: false
|
|
52
|
+
};
|
|
44
53
|
}
|
|
45
54
|
return {
|
|
46
55
|
render: function render() {
|
|
@@ -20,11 +20,17 @@ var _default = function _default(_ref) {
|
|
|
20
20
|
type = _ref2.type,
|
|
21
21
|
selector = _ref2.selector;
|
|
22
22
|
if (!selector || !type) {
|
|
23
|
-
return {
|
|
23
|
+
return {
|
|
24
|
+
setRenderAttempted: false,
|
|
25
|
+
includeInNotification: false
|
|
26
|
+
};
|
|
24
27
|
}
|
|
25
28
|
if (!modules[type]) {
|
|
26
29
|
logger.warn("Invalid HTML content data", item.getData());
|
|
27
|
-
return {
|
|
30
|
+
return {
|
|
31
|
+
setRenderAttempted: false,
|
|
32
|
+
includeInNotification: false
|
|
33
|
+
};
|
|
28
34
|
}
|
|
29
35
|
return {
|
|
30
36
|
render: function render() {
|
|
@@ -14,5 +14,5 @@ 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 = "2.19.0-beta.
|
|
17
|
+
var _default = "2.19.0-beta.6";
|
|
18
18
|
exports.default = _default;
|
|
@@ -20,12 +20,18 @@ export default (({
|
|
|
20
20
|
} = item.getData() || {};
|
|
21
21
|
if (!type) {
|
|
22
22
|
logger.warn("Invalid DOM action data: missing type.", item.getData());
|
|
23
|
-
return {
|
|
23
|
+
return {
|
|
24
|
+
setRenderAttempted: false,
|
|
25
|
+
includeInNotification: false
|
|
26
|
+
};
|
|
24
27
|
}
|
|
25
28
|
if (type === "click") {
|
|
26
29
|
if (!selector) {
|
|
27
30
|
logger.warn("Invalid DOM action data: missing selector.", item.getData());
|
|
28
|
-
return {
|
|
31
|
+
return {
|
|
32
|
+
setRenderAttempted: false,
|
|
33
|
+
includeInNotification: false
|
|
34
|
+
};
|
|
29
35
|
}
|
|
30
36
|
storeClickMetrics({
|
|
31
37
|
selector,
|
|
@@ -38,7 +44,10 @@ export default (({
|
|
|
38
44
|
}
|
|
39
45
|
if (!modules[type]) {
|
|
40
46
|
logger.warn("Invalid DOM action data: unknown type.", item.getData());
|
|
41
|
-
return {
|
|
47
|
+
return {
|
|
48
|
+
setRenderAttempted: false,
|
|
49
|
+
includeInNotification: false
|
|
50
|
+
};
|
|
42
51
|
}
|
|
43
52
|
return {
|
|
44
53
|
render: () => modules[type](item.getData()),
|
|
@@ -18,11 +18,17 @@ export default (({
|
|
|
18
18
|
selector
|
|
19
19
|
} = item.getData() || {};
|
|
20
20
|
if (!selector || !type) {
|
|
21
|
-
return {
|
|
21
|
+
return {
|
|
22
|
+
setRenderAttempted: false,
|
|
23
|
+
includeInNotification: false
|
|
24
|
+
};
|
|
22
25
|
}
|
|
23
26
|
if (!modules[type]) {
|
|
24
27
|
logger.warn("Invalid HTML content data", item.getData());
|
|
25
|
-
return {
|
|
28
|
+
return {
|
|
29
|
+
setRenderAttempted: false,
|
|
30
|
+
includeInNotification: false
|
|
31
|
+
};
|
|
26
32
|
}
|
|
27
33
|
return {
|
|
28
34
|
render: () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/alloy",
|
|
3
|
-
"version": "2.19.0-beta.
|
|
3
|
+
"version": "2.19.0-beta.6",
|
|
4
4
|
"description": "Adobe Experience Platform Web SDK",
|
|
5
5
|
"main": "libEs5/index.js",
|
|
6
6
|
"module": "libEs6/index.js",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"uuid": "^3.3.2"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@adobe/alloy": "^2.19.0-beta.
|
|
69
|
+
"@adobe/alloy": "^2.19.0-beta.5",
|
|
70
70
|
"@babel/cli": "^7.12.8",
|
|
71
71
|
"@babel/core": "^7.2.2",
|
|
72
72
|
"@babel/plugin-proposal-object-rest-spread": "^7.3.2",
|