@valu/3rdparty
Advanced tools
Comparing version 1.2.9 to 1.3.0-dev.bffb9f8ca3
@@ -94,2 +94,5 @@ "use strict"; | ||
} | ||
if (this.response.status === "not-given") { | ||
return; | ||
} | ||
debug("Got tracking consent"); | ||
@@ -168,6 +171,2 @@ this.setStatus("consented"); | ||
} | ||
if (this.response.status === "not-given") { | ||
window.localStorage.removeItem(this.storeKey); | ||
return; | ||
} | ||
window.localStorage.setItem(this.storeKey, JSON.stringify(this.response)); | ||
@@ -174,0 +173,0 @@ }; |
{ | ||
"name": "@valu/3rdparty", | ||
"version": "1.2.9", | ||
"version": "1.3.0-dev.bffb9f8ca3", | ||
"description": "Tools for managing 3rd party scripts and tracking consents (aka. cookie prompts) optionally via Google Tag Manager and/or Cookiebot.", | ||
@@ -5,0 +5,0 @@ "main": "dist/lazy-script.js", |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
63305
58
1165
2