@lenne.tech/nuxt-extensions 1.18.2 → 1.18.3

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.d.mts CHANGED
@@ -3,7 +3,7 @@ import { LtExtensionsModuleOptions } from '../dist/runtime/types/index.js';
3
3
  export * from '../dist/runtime/types/index.js';
4
4
 
5
5
  declare const name = "@lenne.tech/nuxt-extensions";
6
- declare const version = "1.18.2";
6
+ declare const version = "1.18.3";
7
7
  declare const configKey = "ltExtensions";
8
8
  declare const DEFAULT_LT_AUTH_STATE_COOKIE = "lt-auth-state";
9
9
  declare const DEFAULT_LT_JWT_TOKEN_COOKIE = "lt-jwt-token";
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "configKey": "ltExtensions",
3
3
  "name": "@lenne.tech/nuxt-extensions",
4
- "version": "1.18.2",
4
+ "version": "1.18.3",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.3",
7
7
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -2,7 +2,7 @@ import { defineNuxtModule, createResolver, tryResolveModule, addImports, addComp
2
2
  import { pathToFileURL } from 'node:url';
3
3
 
4
4
  const name = "@lenne.tech/nuxt-extensions";
5
- const version = "1.18.2";
5
+ const version = "1.18.3";
6
6
  const configKey = "ltExtensions";
7
7
  const DEFAULT_LT_AUTH_STATE_COOKIE = "lt-auth-state";
8
8
  const DEFAULT_LT_JWT_TOKEN_COOKIE = "lt-jwt-token";
@@ -16,6 +16,6 @@
16
16
  * Note: This is a client-only plugin (.client.ts) since auth state
17
17
  * management only makes sense in the browser context.
18
18
  */
19
- import type { NuxtApp } from '#app';
20
- declare const _default: (nuxtApp: NuxtApp) => void;
19
+ import type { ObjectPlugin, Plugin } from '#app';
20
+ declare const _default: Plugin & ObjectPlugin;
21
21
  export default _default;
@@ -1,6 +1,7 @@
1
+ import { defineNuxtPlugin } from "#imports";
1
2
  import { useLtAuth } from "../composables/auth/use-lt-auth.js";
2
3
  import { getLtApiBase } from "../lib/auth-state.js";
3
- export default (nuxtApp) => {
4
+ export default defineNuxtPlugin((nuxtApp) => {
4
5
  if (import.meta.server) return;
5
6
  let _authInstance = null;
6
7
  function getAuth() {
@@ -154,4 +155,4 @@ export default (nuxtApp) => {
154
155
  };
155
156
  }
156
157
  nuxtApp.provide("ltHandleUnauthorized", handleUnauthorized);
157
- };
158
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lenne.tech/nuxt-extensions",
3
- "version": "1.18.2",
3
+ "version": "1.18.3",
4
4
  "description": "Reusable Nuxt 4 composables, components, and Better-Auth integration for lenne.tech projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -51,8 +51,8 @@
51
51
  "prepack": "node scripts/sync-module-version.mjs && nuxt-module-build build",
52
52
  "c": "pnpm run check",
53
53
  "check": "node scripts/check.mjs",
54
- "check:raw": "pnpm install --frozen-lockfile && pnpm audit && pnpm peers check && pnpm run format:check && pnpm run lint && pnpm run version:check && pnpm run dev:prepare && pnpm test:types && pnpm test && pnpm run build && pnpm run check:manifest",
55
- "check:fix": "pnpm install && pnpm audit --fix && pnpm peers check && pnpm run format && pnpm run lint:fix && pnpm run version:sync && pnpm test:types && pnpm test && pnpm run build && pnpm run check:manifest",
54
+ "check:raw": "pnpm install --frozen-lockfile && pnpm audit && pnpm run check:suppressions && pnpm peers check && pnpm run format:check && pnpm run lint && pnpm run version:check && pnpm run dev:prepare && pnpm test:types && pnpm test && pnpm run build && pnpm run check:manifest",
55
+ "check:fix": "pnpm install && pnpm audit --fix && pnpm run check:suppressions && pnpm peers check && pnpm run format && pnpm run lint:fix && pnpm run version:sync && pnpm test:types && pnpm test && pnpm run build && pnpm run check:manifest",
56
56
  "check:naf": "pnpm install && pnpm peers check && pnpm run format && pnpm run lint:fix && pnpm run version:sync && pnpm test:types && pnpm test && pnpm run build && pnpm run check:manifest",
57
57
  "cf": "pnpm run check:fix",
58
58
  "cnaf": "pnpm run check:naf",
@@ -72,7 +72,8 @@
72
72
  "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
73
73
  "release": "pnpm format:check && pnpm lint && pnpm run version:check && pnpm test:types && pnpm test && pnpm run check:consumer && pnpm prepack",
74
74
  "check:consumer": "node scripts/check-consumer-build.mjs",
75
- "check:manifest": "node scripts/check-package-manifest.mjs"
75
+ "check:manifest": "node scripts/check-package-manifest.mjs",
76
+ "check:suppressions": "node scripts/check-suppressions.mjs"
76
77
  },
77
78
  "dependencies": {
78
79
  "@nuxt/kit": "^4.0.0"