@dargmuesli/nuxt-cookie-control 5.10.0 → 5.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-cookie-control",
3
- "version": "5.10.0",
3
+ "version": "5.10.1",
4
4
  "configKey": "cookieControl",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.0.0"
package/dist/module.mjs CHANGED
@@ -3,7 +3,7 @@ import { pathToFileURL } from 'node:url';
3
3
  import { createResolver, defineNuxtModule, addPlugin, addImports, addTemplate, extendWebpackConfig, resolvePath } from '@nuxt/kit';
4
4
 
5
5
  const name = "@dargmuesli/nuxt-cookie-control";
6
- const version = "5.10.0";
6
+ const version = "5.10.1";
7
7
 
8
8
  const en = {
9
9
  accept: "Accept",
@@ -201,7 +201,7 @@ import {
201
201
  } from '../methods'
202
202
  import setCssVariables from '#cookie-control/set-vars'
203
203
 
204
- import { useCookieControl } from '#imports'
204
+ import { useCookieControl, useCookie } from '#imports'
205
205
 
206
206
  export interface Props {
207
207
  locale?: Locale
@@ -1,6 +1,6 @@
1
1
  import { ref } from "vue";
2
2
  import { getAllCookieIdsString, getCookieId } from "./methods.mjs";
3
- import { defineNuxtPlugin } from "#imports";
3
+ import { defineNuxtPlugin, useCookie } from "#imports";
4
4
  import moduleOptions from "#build/cookie-control-options";
5
5
  export default defineNuxtPlugin((_nuxtApp) => {
6
6
  const cookieIsConsentGiven = useCookie(moduleOptions.cookieNameIsConsentGiven);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-cookie-control",
3
- "version": "5.10.0",
3
+ "version": "5.10.1",
4
4
  "description": "Nuxt Cookies Control Module",
5
5
  "author": "Dario Ferderber <dario.ferderber@broj42.com>",
6
6
  "maintainers": [