diff --git a/demoBackend/src/demo-website/package-lock.json b/demoBackend/src/demo-website/package-lock.json index 986b94d..33604b5 100644 --- a/demoBackend/src/demo-website/package-lock.json +++ b/demoBackend/src/demo-website/package-lock.json @@ -10,9 +10,10 @@ "dependencies": { "@web-eid/web-eid-library": "../../../../web-eid.js/", "core-js": "^3.6.5", - "js-cookie": "^3.0.1", "vue": "^3.0.0", + "vue-cookie-next": "^1.3.0", "vue-router": "^4.0.0-0", + "vue3-cookies": "^1.0.6", "vuex": "^4.0.2", "vuex-persistedstate": "^4.1.0" }, @@ -8668,14 +8669,6 @@ "integrity": "sha512-JVAfqNPTvNq3sB/VHQJAFxN/sPgKnsKrCwyRt15zwNCdrMMJDdcEOdubuy+DuJYYdm0ox1J4uzEuYKkN+9yhVg==", "dev": true }, - "node_modules/js-cookie": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-3.0.1.tgz", - "integrity": "sha512-+0rgsUXZu4ncpPxRL+lNEptWMOWl9etvPHc/koSRp6MPwpRYAhmk0dUG00J4bxVV3r9uUzfo24wW0knS07SKSw==", - "engines": { - "node": ">=12" - } - }, "node_modules/js-message": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/js-message/-/js-message-1.0.7.tgz", @@ -13982,6 +13975,14 @@ "@vue/shared": "3.2.23" } }, + "node_modules/vue-cookie-next": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/vue-cookie-next/-/vue-cookie-next-1.3.0.tgz", + "integrity": "sha512-+EinbhSf0c0M8cijCXRVgcvYBIm0lmu3/WKeFUokU93R1J3DxkkBHn5wOc9IyJj9ugAPI0d9EnhcOiOFNA/YVQ==", + "peerDependencies": { + "vue": "^3.1.4" + } + }, "node_modules/vue-eslint-parser": { "version": "7.11.0", "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-7.11.0.tgz", @@ -14196,6 +14197,14 @@ "integrity": "sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==", "dev": true }, + "node_modules/vue3-cookies": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/vue3-cookies/-/vue3-cookies-1.0.6.tgz", + "integrity": "sha512-a1UvVD0qIgxyOqjlSOwnLnqAnz8ASltugEv8yX+96i/WGZAN9fEDci7xO4HIWZE1uToUnRq9JnFhvfDCSo45OA==", + "dependencies": { + "vue": "^3.0.0" + } + }, "node_modules/vuex": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/vuex/-/vuex-4.0.2.tgz", @@ -21996,11 +22005,6 @@ "integrity": "sha512-JVAfqNPTvNq3sB/VHQJAFxN/sPgKnsKrCwyRt15zwNCdrMMJDdcEOdubuy+DuJYYdm0ox1J4uzEuYKkN+9yhVg==", "dev": true }, - "js-cookie": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-3.0.1.tgz", - "integrity": "sha512-+0rgsUXZu4ncpPxRL+lNEptWMOWl9etvPHc/koSRp6MPwpRYAhmk0dUG00J4bxVV3r9uUzfo24wW0knS07SKSw==" - }, "js-message": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/js-message/-/js-message-1.0.7.tgz", @@ -26418,6 +26422,12 @@ "@vue/shared": "3.2.23" } }, + "vue-cookie-next": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/vue-cookie-next/-/vue-cookie-next-1.3.0.tgz", + "integrity": "sha512-+EinbhSf0c0M8cijCXRVgcvYBIm0lmu3/WKeFUokU93R1J3DxkkBHn5wOc9IyJj9ugAPI0d9EnhcOiOFNA/YVQ==", + "requires": {} + }, "vue-eslint-parser": { "version": "7.11.0", "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-7.11.0.tgz", @@ -26585,6 +26595,14 @@ "integrity": "sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==", "dev": true }, + "vue3-cookies": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/vue3-cookies/-/vue3-cookies-1.0.6.tgz", + "integrity": "sha512-a1UvVD0qIgxyOqjlSOwnLnqAnz8ASltugEv8yX+96i/WGZAN9fEDci7xO4HIWZE1uToUnRq9JnFhvfDCSo45OA==", + "requires": { + "vue": "^3.0.0" + } + }, "vuex": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/vuex/-/vuex-4.0.2.tgz", diff --git a/demoBackend/src/demo-website/package.json b/demoBackend/src/demo-website/package.json index 6b29f94..3ea1cec 100644 --- a/demoBackend/src/demo-website/package.json +++ b/demoBackend/src/demo-website/package.json @@ -10,9 +10,10 @@ "dependencies": { "@web-eid/web-eid-library": "../../../../web-eid.js/", "core-js": "^3.6.5", - "js-cookie": "^3.0.1", "vue": "^3.0.0", + "vue-cookie-next": "^1.3.0", "vue-router": "^4.0.0-0", + "vue3-cookies": "^1.0.6", "vuex": "^4.0.2", "vuex-persistedstate": "^4.1.0" }, diff --git a/demoBackend/src/demo-website/src/components/Login.vue b/demoBackend/src/demo-website/src/components/Login.vue index dffcaf7..22133a0 100644 --- a/demoBackend/src/demo-website/src/components/Login.vue +++ b/demoBackend/src/demo-website/src/components/Login.vue @@ -8,7 +8,7 @@

Read more from here.

- +