@blotoutio/edgetag-sdk-browser 1.31.0 → 1.31.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 +10 -2
- 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.31.
|
|
959
|
+
sdkVersion: "1.31.2" ,
|
|
960
960
|
...(payload || {}),
|
|
961
961
|
};
|
|
962
962
|
let storage = {};
|
|
@@ -2188,6 +2188,7 @@
|
|
|
2188
2188
|
|
|
2189
2189
|
const inits = [];
|
|
2190
2190
|
const tags = [];
|
|
2191
|
+
const otherStubs = [];
|
|
2191
2192
|
|
|
2192
2193
|
stubs.forEach((stub) => {
|
|
2193
2194
|
const sliced = [].slice.call(stub);
|
|
@@ -2215,7 +2216,10 @@
|
|
|
2215
2216
|
return
|
|
2216
2217
|
}
|
|
2217
2218
|
|
|
2218
|
-
|
|
2219
|
+
otherStubs.push({
|
|
2220
|
+
name,
|
|
2221
|
+
args,
|
|
2222
|
+
});
|
|
2219
2223
|
});
|
|
2220
2224
|
|
|
2221
2225
|
tags.forEach((tag) => {
|
|
@@ -2241,6 +2245,10 @@
|
|
|
2241
2245
|
inits.forEach((init) => {
|
|
2242
2246
|
window.edgetag.stubs.push(['init', ...init]);
|
|
2243
2247
|
});
|
|
2248
|
+
|
|
2249
|
+
otherStubs.forEach((stub) => {
|
|
2250
|
+
window.edgetag.stubs.push([stub.name, ...stub.args]);
|
|
2251
|
+
});
|
|
2244
2252
|
})();
|
|
2245
2253
|
|
|
2246
2254
|
})();
|