@blotoutio/edgetag-sdk-browser 1.47.2 → 1.48.0
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 +5 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1311,7 +1311,7 @@
|
|
|
1311
1311
|
referrer: getReferrer(destination),
|
|
1312
1312
|
search: getSearch(destination),
|
|
1313
1313
|
locale: getLocale(),
|
|
1314
|
-
sdkVersion: "1.
|
|
1314
|
+
sdkVersion: "1.48.0" ,
|
|
1315
1315
|
...(payload || {}),
|
|
1316
1316
|
};
|
|
1317
1317
|
let storage = {};
|
|
@@ -1646,12 +1646,12 @@
|
|
|
1646
1646
|
continue;
|
|
1647
1647
|
}
|
|
1648
1648
|
let providerEventName = currentEventName;
|
|
1649
|
-
let
|
|
1649
|
+
let channelData = data;
|
|
1650
1650
|
if (plugins.length > 0) {
|
|
1651
1651
|
const channelResult = await runPluginHook(plugins, 'tagChannel', {
|
|
1652
1652
|
payload: {
|
|
1653
1653
|
eventName: providerEventName,
|
|
1654
|
-
data:
|
|
1654
|
+
data: channelData,
|
|
1655
1655
|
eventId,
|
|
1656
1656
|
},
|
|
1657
1657
|
settings: {
|
|
@@ -1670,7 +1670,7 @@
|
|
|
1670
1670
|
if (channelResult.skip)
|
|
1671
1671
|
continue;
|
|
1672
1672
|
providerEventName = channelResult.eventName;
|
|
1673
|
-
|
|
1673
|
+
channelData = channelResult.data;
|
|
1674
1674
|
}
|
|
1675
1675
|
const variables = getProviderVariables(destination, pkg.name);
|
|
1676
1676
|
const result = {};
|
|
@@ -1689,7 +1689,7 @@
|
|
|
1689
1689
|
continue;
|
|
1690
1690
|
}
|
|
1691
1691
|
let instanceEventName = providerEventName;
|
|
1692
|
-
let instanceData =
|
|
1692
|
+
let instanceData = channelData;
|
|
1693
1693
|
if (plugins.length > 0) {
|
|
1694
1694
|
const instanceResult = await runPluginHook(plugins, 'tagInstance', {
|
|
1695
1695
|
payload: {
|