@dargmuesli/nuxt-cookie-control 6.1.3 → 6.1.4

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": "6.1.3",
3
+ "version": "6.1.4",
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, extendViteConfig, resolvePath } from '@nuxt/kit';
4
4
 
5
5
  const name = "@dargmuesli/nuxt-cookie-control";
6
- const version = "6.1.3";
6
+ const version = "6.1.4";
7
7
 
8
8
  const en = {
9
9
  accept: "Accept",
@@ -152,7 +152,7 @@ const module = defineNuxtModule({
152
152
  addTemplate({
153
153
  filename: "cookie-control-options.ts",
154
154
  write: true,
155
- getContents: () => `import { ModuleOptions } from '../../src/runtime/types'
155
+ getContents: () => `import { ModuleOptions } from '#cookie-control/types'
156
156
 
157
157
  export default ${JSON.stringify(
158
158
  moduleOptions,
@@ -1,2 +1,15 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import { State } from './types'
2
+
3
+ declare module '#app' {
4
+ interface NuxtApp {
5
+ $cookies: State
6
+ }
7
+ }
8
+
9
+ declare module '@vue/runtime-core' {
10
+ interface ComponentCustomProperties {
11
+ $cookies: State
12
+ }
13
+ }
14
+
15
+ export {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-cookie-control",
3
- "version": "6.1.3",
3
+ "version": "6.1.4",
4
4
  "description": "Nuxt Cookie Control Module",
5
5
  "author": "Dario Ferderber <dario.ferderber@broj42.com>",
6
6
  "maintainers": [
@@ -18,7 +18,7 @@
18
18
  "engines": {
19
19
  "node": ">=16"
20
20
  },
21
- "packageManager": "pnpm@8.6.9",
21
+ "packageManager": "pnpm@8.6.10",
22
22
  "exports": {
23
23
  ".": {
24
24
  "import": "./dist/module.mjs",
@@ -60,7 +60,7 @@
60
60
  "prettier": "3.0.0",
61
61
  "typescript": "5.1.6",
62
62
  "vue": "3.3.4",
63
- "vue-tsc": "1.8.5",
63
+ "vue-tsc": "1.8.6",
64
64
  "webpack": "5.88.2"
65
65
  },
66
66
  "publishConfig": {