@blotoutio/edgetag-sdk-js 1.6.0 → 1.7.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.cjs.js CHANGED
@@ -921,7 +921,7 @@ const getStandardPayload = (destination, payload) => {
921
921
  referrer: getReferrer(destination),
922
922
  search: getSearch(destination),
923
923
  locale: getLocale(),
924
- sdkVersion: "1.6.0" ,
924
+ sdkVersion: "1.7.0" ,
925
925
  ...(payload || {}),
926
926
  };
927
927
  let storage = {};
@@ -1615,6 +1615,7 @@ const handleInit = (preferences) => {
1615
1615
  if (dbIndex != null && !isNaN(dbIndex)) {
1616
1616
  url.searchParams.set('storageId', dbIndex.toString());
1617
1617
  }
1618
+ url.searchParams.set('pageUrl', getPageUrl(preferences.edgeURL));
1618
1619
  getRequest(url.href)
1619
1620
  .then((result) => {
1620
1621
  var _a;
package/index.mjs CHANGED
@@ -919,7 +919,7 @@ const getStandardPayload = (destination, payload) => {
919
919
  referrer: getReferrer(destination),
920
920
  search: getSearch(destination),
921
921
  locale: getLocale(),
922
- sdkVersion: "1.6.0" ,
922
+ sdkVersion: "1.7.0" ,
923
923
  ...(payload || {}),
924
924
  };
925
925
  let storage = {};
@@ -1613,6 +1613,7 @@ const handleInit = (preferences) => {
1613
1613
  if (dbIndex != null && !isNaN(dbIndex)) {
1614
1614
  url.searchParams.set('storageId', dbIndex.toString());
1615
1615
  }
1616
+ url.searchParams.set('pageUrl', getPageUrl(preferences.edgeURL));
1616
1617
  getRequest(url.href)
1617
1618
  .then((result) => {
1618
1619
  var _a;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotoutio/edgetag-sdk-js",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "JS SDK for EdgeTag",
5
5
  "author": "Blotout",
6
6
  "license": "MIT",