2 Commits

Author SHA1 Message Date
0dc496d22a 1.0.9 2020-10-20 21:50:22 +00:00
5f2350a9e7 fix(core): update 2020-10-20 21:50:21 +00:00
3 changed files with 3 additions and 3 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@consentsoftware/webclient", "name": "@consentsoftware/webclient",
"version": "1.0.8", "version": "1.0.9",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@consentsoftware/webclient", "name": "@consentsoftware/webclient",
"version": "1.0.8", "version": "1.0.9",
"private": false, "private": false,
"description": "a webclient for using consent.software in your website. Works with vanilla js, angular, react, you name it.", "description": "a webclient for using consent.software in your website. Works with vanilla js, angular, react, you name it.",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",

View File

@ -29,7 +29,7 @@ export class CsWebclient {
plugins.csInterfaces.IWebclientSettings['acceptedCookieLevels'] plugins.csInterfaces.IWebclientSettings['acceptedCookieLevels']
> { > {
const result = await this.webstore.get('acceptedCookieLevels'); const result = await this.webstore.get('acceptedCookieLevels');
return result.acceptedCookieLevels; return result?.acceptedCookieLevels;
} }
public async isCookieLevelStillValid(): Promise<boolean> { public async isCookieLevelStillValid(): Promise<boolean> {