Skip to content

Commit

Permalink
release v1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsitek committed Jan 29, 2024
1 parent b52123e commit 9d609b1
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

![Size](https://img.shields.io/github/size/danielsitek/dgp-cookie-consent/dist/cookies.min.js)
[![Stable version](https://img.shields.io/github/v/release/danielsitek/dgp-cookie-consent)](https://github.com/danielsitek/dgp-cookie-consent/releases)
[![Monthly downloads](https://img.shields.io/jsdelivr/gh/hm/danielsitek/dgp-cookie-consent)](https://cdn.jsdelivr.net/gh/danielsitek/dgp-cookie-consent@1.6.0/dist/cookies.min.js)
[![CDN](https://img.shields.io/badge/CDN-orange?style=flat&logo=jsdelivr&logoColor=white)](https://cdn.jsdelivr.net/gh/danielsitek/dgp-cookie-consent@1.6.0/dist/cookies.min.js)
[![Monthly downloads](https://img.shields.io/jsdelivr/gh/hm/danielsitek/dgp-cookie-consent)](https://cdn.jsdelivr.net/gh/danielsitek/dgp-cookie-consent@1.6.1/dist/cookies.min.js)
[![CDN](https://img.shields.io/badge/CDN-orange?style=flat&logo=jsdelivr&logoColor=white)](https://cdn.jsdelivr.net/gh/danielsitek/dgp-cookie-consent@1.6.1/dist/cookies.min.js)
[![Maintainability](https://api.codeclimate.com/v1/badges/27b5b5b749d18039f303/maintainability)](https://codeclimate.com/github/danielsitek/dgp-cookie-consent/maintainability)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/65b56152a2a84981b10576ad7081411d)](https://www.codacy.com/gh/danielsitek/dgp-cookie-consent/dashboard)

Expand Down Expand Up @@ -60,7 +60,7 @@ Awesome one-of-a-kind Cookie Consent panel.
1. Download the latest release or use CDN.

```
https://cdn.jsdelivr.net/gh/danielsitek/dgp-cookie-consent@1.6.0/dist/cookies.min.js
https://cdn.jsdelivr.net/gh/danielsitek/dgp-cookie-consent@1.6.1/dist/cookies.min.js
```

1. Insert this code on the bottom of the page, or [inject it via GTM](#gtm-implementation).
Expand Down Expand Up @@ -676,7 +676,7 @@ window.addEventListener('consent-badge-click', () => {
(function cookiesInit() {
var scriptEl = document.createElement('script');
scriptEl.src = 'https://cdn.jsdelivr.net/gh/danielsitek/dgp-cookie-consent@1.6.0/dist/cookies.min.js';
scriptEl.src = 'https://cdn.jsdelivr.net/gh/danielsitek/dgp-cookie-consent@1.6.1/dist/cookies.min.js';
scriptEl.type = 'text/javascript';
scriptEl.id = 'cookie-consent';
Expand Down
2 changes: 1 addition & 1 deletion dist/cookies-gtm.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cookies.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zoot/cookie-consent",
"version": "1.6.0",
"version": "1.6.1",
"description": "ZOOT cookie consent",
"main": "dist/cookies.js",
"files": [
Expand Down Expand Up @@ -64,4 +64,4 @@
"ie >= 11"
],
"private": "true"
}
}
10 changes: 5 additions & 5 deletions public/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@

(function cookiesInit() {
var scriptEl = document.createElement('script');
scriptEl.src = 'https://cdn.jsdelivr.net/gh/danielsitek/dgp-cookie-consent@1.6.0/dist/cookies.min.js';
scriptEl.src = 'https://cdn.jsdelivr.net/gh/danielsitek/dgp-cookie-consent@1.6.1/dist/cookies.min.js';
scriptEl.type = 'text/javascript';
scriptEl.id = 'cookie-consent-main';

Expand All @@ -83,7 +83,7 @@

<!-- Variant 02 - GTM consent -->
<script type="text/javascript" id="cookie-consent-init">
(function() {
(function () {

var DENIED = 'denied';
var GRANTED = 'granted';
Expand Down Expand Up @@ -184,7 +184,7 @@

(function cookiesInit() {
var scriptEl = document.createElement('script');
scriptEl.src = 'https://cdn.jsdelivr.net/gh/danielsitek/dgp-cookie-consent@1.6.0/dist/cookies.min.js';
scriptEl.src = 'https://cdn.jsdelivr.net/gh/danielsitek/dgp-cookie-consent@1.6.1/dist/cookies.min.js';
scriptEl.type = 'text/javascript';
scriptEl.id = 'cookie-consent-main';

Expand Down Expand Up @@ -289,10 +289,10 @@

(function cookiesInit() {
var scriptEl = document.createElement('script');
scriptEl.src = 'https://cdn.jsdelivr.net/gh/danielsitek/dgp-cookie-consent@1.6.0/dist/cookies.min.js';
scriptEl.src = 'https://cdn.jsdelivr.net/gh/danielsitek/dgp-cookie-consent@1.6.1/dist/cookies.min.js';
scriptEl.type = 'text/javascript';
scriptEl.id = 'cookie-consent';

document.body.appendChild(scriptEl);
})();
</script>
</script>

0 comments on commit 9d609b1

Please sign in to comment.