@blotoutio/edgetag-sdk-browser 1.30.0 → 1.30.2
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/index.js +6 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -956,7 +956,7 @@
|
|
|
956
956
|
referrer: getReferrer(destination),
|
|
957
957
|
search: getSearch(destination),
|
|
958
958
|
locale: getLocale(),
|
|
959
|
-
sdkVersion: "1.30.
|
|
959
|
+
sdkVersion: "1.30.2" ,
|
|
960
960
|
...(payload || {}),
|
|
961
961
|
};
|
|
962
962
|
let storage = {};
|
|
@@ -2074,8 +2074,8 @@
|
|
|
2074
2074
|
const tags = [];
|
|
2075
2075
|
|
|
2076
2076
|
if (
|
|
2077
|
-
window.edgetag.destinations['all']
|
|
2078
|
-
!window.edgetag.destinations['all']
|
|
2077
|
+
window.edgetag.destinations?.['all']?.tags &&
|
|
2078
|
+
!window.edgetag.destinations['all']?.resolvedInits?.has(destination)
|
|
2079
2079
|
) {
|
|
2080
2080
|
const destinationTags = window.edgetag.destinations['all'].tags.map(
|
|
2081
2081
|
(tag) => {
|
|
@@ -2089,6 +2089,9 @@
|
|
|
2089
2089
|
}
|
|
2090
2090
|
);
|
|
2091
2091
|
tags.push(...destinationTags);
|
|
2092
|
+
if (!window.edgetag.destinations['all'].resolvedInits) {
|
|
2093
|
+
window.edgetag.destinations['all'].resolvedInits = new Set();
|
|
2094
|
+
}
|
|
2092
2095
|
window.edgetag.destinations['all'].resolvedInits.add(destination);
|
|
2093
2096
|
}
|
|
2094
2097
|
|