@blotoutio/edgetag-sdk-browser 0.65.0 → 0.66.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 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -563,7 +563,7 @@
|
|
|
563
563
|
referrer: getReferrer(destination),
|
|
564
564
|
search: getSearch(destination),
|
|
565
565
|
locale: getLocale(),
|
|
566
|
-
sdkVersion: "0.
|
|
566
|
+
sdkVersion: "0.66.0" ,
|
|
567
567
|
...(payload || {}),
|
|
568
568
|
};
|
|
569
569
|
let storage = {};
|
|
@@ -1159,6 +1159,10 @@
|
|
|
1159
1159
|
if (fallbackId) {
|
|
1160
1160
|
url.searchParams.set('fallbackUserId', fallbackId);
|
|
1161
1161
|
}
|
|
1162
|
+
const dbIndex = getDataPerKey(preferences.edgeURL, 'local', tagStorage, storageIdKey);
|
|
1163
|
+
if (dbIndex != null && !isNaN(dbIndex)) {
|
|
1164
|
+
url.searchParams.set('storageId', dbIndex.toString());
|
|
1165
|
+
}
|
|
1162
1166
|
getRequest(url.href)
|
|
1163
1167
|
.then((result) => {
|
|
1164
1168
|
var _a;
|