@blotoutio/edgetag-sdk-browser 1.58.0 → 1.58.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 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -567,7 +567,10 @@
567
567
  * visitors on normal consent unless the merchant explicitly opts those regions
568
568
  * in. Returns whether a server-side event should fire for a non-consented user.
569
569
  */
570
- const greySwitchAllowsServerEvent = ({ greySwitch, greySwitchEuUk, country, isEURequest, }) => {
570
+ const greySwitchAllowsServerEvent = ({ greySwitch, greySwitchEuUk, country, isEURequest, isGPC, }) => {
571
+ if (isGPC) {
572
+ return false;
573
+ }
571
574
  if (!greySwitch) {
572
575
  return false;
573
576
  }
@@ -1539,7 +1542,7 @@
1539
1542
  referrer: getReferrer(destination),
1540
1543
  search: getSearch(destination),
1541
1544
  locale: getLocale(),
1542
- sdkVersion: "1.58.0" ,
1545
+ sdkVersion: "1.58.1" ,
1543
1546
  ...(payload || {}),
1544
1547
  };
1545
1548
  let storage = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotoutio/edgetag-sdk-browser",
3
- "version": "1.58.0",
3
+ "version": "1.58.1",
4
4
  "description": "Browser SDK for EdgeTag",
5
5
  "author": "Blotout",
6
6
  "license": "MIT",