Closed peaemaye closed 4 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Link |
---|---|
Latest commit | 8785e5050611fb8e6f2c9abb17f40ee2c3af119b |
Latest deploy log | https://app.netlify.com/sites/cookieconsentv3-playground/deploys/667d4f6d765e06000835d070 |
I think this also fixes #696 which is the same as #700
Came across the same issue of lastConsentTimestamp
not being set (basically was getting deleted) and spent a lot of time debugging 🙈
Thanks for your contribution!
Fixes #700
The retrieveState method of api.js currently sets the _enabledServices before _acceptedServices so the enabled services don't include services read from the cc-cookie. I think reversing this order is sufficient to fix it.
Fixes #702
The setCookieData() method can accidentally delete the lastConsentTimestamp field from the cc-cookie.