@blotoutio/edgetag-sdk-browser 0.64.0 → 0.65.1

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.
Files changed (2) hide show
  1. package/index.js +5 -1
  2. 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.64.0" ,
566
+ sdkVersion: "0.65.1" ,
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotoutio/edgetag-sdk-browser",
3
- "version": "0.64.0",
3
+ "version": "0.65.1",
4
4
  "description": "Browser SDK for EdgeTag",
5
5
  "author": "Blotout",
6
6
  "license": "MIT",