@adobe/alloy 2.26.0-beta.6 → 2.26.0-beta.7
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.
|
@@ -83,12 +83,16 @@ var _default = ({
|
|
|
83
83
|
return undefined;
|
|
84
84
|
}
|
|
85
85
|
const ecidFromCookie = decodeKndctrCookie();
|
|
86
|
-
if (ecidFromCookie) {
|
|
86
|
+
if (ecidFromCookie && requestedNamespaces.includes(_ecidNamespace.default)) {
|
|
87
87
|
if (!namespaces) {
|
|
88
88
|
namespaces = {};
|
|
89
89
|
}
|
|
90
90
|
namespaces[_ecidNamespace.default] = ecidFromCookie;
|
|
91
|
-
|
|
91
|
+
if (requestedNamespaces.length === 1) {
|
|
92
|
+
// If only ECID is requested, we don't need to make an acquire request
|
|
93
|
+
// and can return immediately
|
|
94
|
+
return undefined;
|
|
95
|
+
}
|
|
92
96
|
}
|
|
93
97
|
return getIdentity(options);
|
|
94
98
|
}).then(() => {
|
|
@@ -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.26.0-beta.
|
|
17
|
+
var _default = exports.default = "2.26.0-beta.7";
|
|
@@ -80,12 +80,16 @@ export default ({
|
|
|
80
80
|
return undefined;
|
|
81
81
|
}
|
|
82
82
|
const ecidFromCookie = decodeKndctrCookie();
|
|
83
|
-
if (ecidFromCookie) {
|
|
83
|
+
if (ecidFromCookie && requestedNamespaces.includes(ecidNamespace)) {
|
|
84
84
|
if (!namespaces) {
|
|
85
85
|
namespaces = {};
|
|
86
86
|
}
|
|
87
87
|
namespaces[ecidNamespace] = ecidFromCookie;
|
|
88
|
-
|
|
88
|
+
if (requestedNamespaces.length === 1) {
|
|
89
|
+
// If only ECID is requested, we don't need to make an acquire request
|
|
90
|
+
// and can return immediately
|
|
91
|
+
return undefined;
|
|
92
|
+
}
|
|
89
93
|
}
|
|
90
94
|
return getIdentity(options);
|
|
91
95
|
}).then(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/alloy",
|
|
3
|
-
"version": "2.26.0-beta.
|
|
3
|
+
"version": "2.26.0-beta.7",
|
|
4
4
|
"description": "Adobe Experience Platform Web SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "libEs5/index.js",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"uuid": "^11.1.0"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
|
-
"@adobe/alloy": "^2.26.0-beta.
|
|
90
|
+
"@adobe/alloy": "^2.26.0-beta.6",
|
|
91
91
|
"@babel/cli": "^7.26.4",
|
|
92
92
|
"@babel/plugin-transform-runtime": "^7.26.9",
|
|
93
93
|
"@eslint/js": "^9.20.0",
|