@blotoutio/edgetag-sdk-browser 1.45.0 → 1.46.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.
Files changed (2) hide show
  1. package/index.js +9 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -999,6 +999,10 @@
999
999
  consentCategories: manifestResult.consentCategories,
1000
1000
  consentSetting: manifestResult.consentSetting,
1001
1001
  session: manifestResult.session,
1002
+ geoCountry: manifestResult.geoCountry,
1003
+ geoRegion: manifestResult.geoRegion,
1004
+ userIP: manifestResult.ip,
1005
+ isEURequest: manifestResult.isEURequest,
1002
1006
  });
1003
1007
  const updateUserProperties = (destination, data) => {
1004
1008
  const latestUserProperties = {};
@@ -1307,7 +1311,7 @@
1307
1311
  referrer: getReferrer(destination),
1308
1312
  search: getSearch(destination),
1309
1313
  locale: getLocale(),
1310
- sdkVersion: "1.45.0" ,
1314
+ sdkVersion: "1.46.0" ,
1311
1315
  ...(payload || {}),
1312
1316
  };
1313
1317
  let storage = {};
@@ -2053,6 +2057,10 @@
2053
2057
  consent: data.consent,
2054
2058
  consentCategories: data.consentCategories,
2055
2059
  consentSetting: data.consentSetting,
2060
+ geoCountry: data.geoCountry,
2061
+ geoRegion: data.geoRegion,
2062
+ userIP: data.userIP,
2063
+ isEURequest: data.isEURequest,
2056
2064
  };
2057
2065
  resolved.add(callbackData);
2058
2066
  await Promise.all([...callbacks].map(mapData(callbackData)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotoutio/edgetag-sdk-browser",
3
- "version": "1.45.0",
3
+ "version": "1.46.0",
4
4
  "description": "Browser SDK for EdgeTag",
5
5
  "author": "Blotout",
6
6
  "license": "MIT",