@vivaprivacy/cookie-consent
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"name": "@vivaprivacy/cookie-consent", | ||
@@ -4,0 +4,0 @@ "description": "Best GDPR banner", |
@@ -9,5 +9,17 @@ # Cookie notice with a lot of customization features | ||
```sh | ||
<script src="https://cdn.jsdelivr.net/npm/@vivaprivacy/cookie-consent@1.0.0/build/cookie-consent.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@vivaprivacy/cookie-consent@1.0.2/build/cookie-consent.min.js"></script> | ||
``` | ||
#### Classic | ||
``` | ||
const CC = window.CookieConsent | ||
``` | ||
##### Initialization: | ||
``` | ||
const cc = new CC({ | ||
//...options | ||
}) | ||
``` | ||
| Prop | Type | Description |Values| | ||
@@ -14,0 +26,0 @@ | ------ | ------ | ------ |------| |
@@ -24,3 +24,3 @@ import Cookies from "js-cookie"; | ||
interface Window { | ||
CookieBanner: typeof CookieBanner; | ||
CookieConsent: typeof CookieBanner; | ||
} | ||
@@ -429,2 +429,2 @@ } | ||
window.CookieBanner = CookieBanner; | ||
window.CookieConsent = CookieBanner; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
290162
67