@lenne.tech/nuxt-extensions 1.7.0 → 1.7.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.d.mts +1 -5
- package/dist/runtime/lib/auth-client.d.ts +8 -0
- package/dist/runtime/types/index.d.ts +1 -1
- package/dist/types.d.mts +2 -10
- package/package.json +12 -15
package/dist/module.d.mts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
2
|
import { LtExtensionsModuleOptions } from '../dist/runtime/types/index.js';
|
|
3
|
-
export
|
|
4
|
-
export { LtFileInfo, LtUploadItem, LtUploadOptions, LtUploadProgress, LtUploadStatus, UseLtFileReturn, UseLtTusUploadReturn } from '../dist/runtime/types/upload.js';
|
|
5
|
-
export { LtAiModuleOptions, LtAuthCookieNamesOptions, LtAuthModuleOptions, LtErrorTranslationModuleOptions, LtExtensionsModuleOptions, LtExtensionsPublicRuntimeConfig, LtI18nModuleOptions, LtSystemSetupModuleOptions, LtTusModuleOptions } from '../dist/runtime/types/module.js';
|
|
6
|
-
export { LtErrorTranslationResponse, LtParsedError, UseLtErrorTranslationReturn } from '../dist/runtime/types/error.js';
|
|
7
|
-
export { LtAiAction, LtAiAvailableConnection, LtAiBudgetLimit, LtAiBudgetSummary, LtAiConnection, LtAiConnectionInput, LtAiConnectionPreference, LtAiInteraction, LtAiMessage, LtAiMode, LtAiPromptHint, LtAiPromptHintInput, LtAiPromptInput, LtAiResponse, LtAiSlot, LtAiSlotInput, LtAiStreamEvent, LtAiStreamHandlers, LtAiUsage, LtAiUsageInfo, LtAiUsageScope, UseLtAiAdminReturn, UseLtAiChatOptions, UseLtAiChatReturn, UseLtAiConnectionsReturn, UseLtAiReturn, UseLtAiUsageReturn } from '../dist/runtime/types/ai.js';
|
|
3
|
+
export * from '../dist/runtime/types/index.js';
|
|
8
4
|
|
|
9
5
|
declare const name = "@lenne.tech/nuxt-extensions";
|
|
10
6
|
declare const version = "1.5.2";
|
|
@@ -928,9 +928,13 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
928
928
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
929
929
|
accountInfo: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<{
|
|
930
930
|
accountId?: string | undefined;
|
|
931
|
+
providerId?: string | undefined;
|
|
932
|
+
userId?: string | undefined;
|
|
931
933
|
}> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
|
|
932
934
|
query?: {
|
|
933
935
|
accountId?: string | undefined;
|
|
936
|
+
providerId?: string | undefined;
|
|
937
|
+
userId?: string | undefined;
|
|
934
938
|
} | undefined;
|
|
935
939
|
fetchOptions?: FetchOptions | undefined;
|
|
936
940
|
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
@@ -1062,6 +1066,10 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
1062
1066
|
readonly code: "EMAIL_CAN_NOT_BE_UPDATED";
|
|
1063
1067
|
message: string;
|
|
1064
1068
|
};
|
|
1069
|
+
CHANGE_EMAIL_DISABLED: {
|
|
1070
|
+
readonly code: "CHANGE_EMAIL_DISABLED";
|
|
1071
|
+
message: string;
|
|
1072
|
+
};
|
|
1065
1073
|
CREDENTIAL_ACCOUNT_NOT_FOUND: {
|
|
1066
1074
|
readonly code: "CREDENTIAL_ACCOUNT_NOT_FOUND";
|
|
1067
1075
|
message: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { LtAuthClientConfig, LtAuthMode, LtAuthResponse, LtAuthState, LtPasskeyAuthResult, LtPasskeyRegisterResult, LtUser, UseLtAuthReturn } from './auth.js';
|
|
2
2
|
export type { LtFileInfo, LtUploadItem, LtUploadOptions, LtUploadProgress, LtUploadStatus, UseLtFileReturn, UseLtTusUploadReturn } from './upload.js';
|
|
3
|
-
export type { LtAuthCookieNamesOptions, LtAuthModuleOptions, LtErrorTranslationModuleOptions, LtExtensionsModuleOptions, LtExtensionsPublicRuntimeConfig, LtI18nModuleOptions, LtSystemSetupModuleOptions, LtTusModuleOptions, } from './module.js';
|
|
3
|
+
export type { LtAiModuleOptions, LtAuthCookieNamesOptions, LtAuthModuleOptions, LtErrorTranslationModuleOptions, LtExtensionsModuleOptions, LtExtensionsPublicRuntimeConfig, LtI18nModuleOptions, LtSystemSetupModuleOptions, LtTusModuleOptions, } from './module.js';
|
|
4
4
|
export type { LtErrorTranslationResponse, LtParsedError, UseLtErrorTranslationReturn } from './error.js';
|
|
5
5
|
export type { LtAiAction, LtAiAvailableConnection, LtAiBudgetLimit, LtAiBudgetSummary, LtAiConnection, LtAiConnectionInput, LtAiConnectionPreference, LtAiEffectiveSlot, LtAiInteraction, LtAiMessage, LtAiMode, LtAiPlaceholder, LtAiPrompt, LtAiPromptHint, LtAiPromptHintInput, LtAiPromptInput, LtAiPromptRunInput, LtAiResponse, LtAiSlot, LtAiSlotInput, LtAiStreamEvent, LtAiStreamHandlers, LtAiUsage, LtAiUsageInfo, LtAiUsageScope, UseLtAiAdminReturn, UseLtAiChatOptions, UseLtAiChatReturn, UseLtAiConnectionsReturn, UseLtAiPlaceholdersReturn, UseLtAiPromptsReturn, UseLtAiReturn, UseLtAiUsageReturn, } from './ai.js';
|
package/dist/types.d.mts
CHANGED
|
@@ -4,14 +4,6 @@ import type { default as Module } from './module.mjs'
|
|
|
4
4
|
|
|
5
5
|
export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
|
6
6
|
|
|
7
|
-
export { type LtAuthClientConfig, type LtAuthMode, type LtAuthResponse, type LtAuthState, type LtPasskeyAuthResult, type LtPasskeyRegisterResult, type LtUser, type UseLtAuthReturn } from '../dist/runtime/types/auth.js'
|
|
8
|
-
|
|
9
|
-
export { type LtFileInfo, type LtUploadItem, type LtUploadOptions, type LtUploadProgress, type LtUploadStatus, type UseLtFileReturn, type UseLtTusUploadReturn } from '../dist/runtime/types/upload.js'
|
|
10
|
-
|
|
11
|
-
export { type LtAiModuleOptions, type LtAuthCookieNamesOptions, type LtAuthModuleOptions, type LtErrorTranslationModuleOptions, type LtExtensionsModuleOptions, type LtExtensionsPublicRuntimeConfig, type LtI18nModuleOptions, type LtSystemSetupModuleOptions, type LtTusModuleOptions } from '../dist/runtime/types/module.js'
|
|
12
|
-
|
|
13
|
-
export { type LtErrorTranslationResponse, type LtParsedError, type UseLtErrorTranslationReturn } from '../dist/runtime/types/error.js'
|
|
14
|
-
|
|
15
|
-
export { type LtAiAction, type LtAiAvailableConnection, type LtAiBudgetLimit, type LtAiBudgetSummary, type LtAiConnection, type LtAiConnectionInput, type LtAiConnectionPreference, type LtAiInteraction, type LtAiMessage, type LtAiMode, type LtAiPromptHint, type LtAiPromptHintInput, type LtAiPromptInput, type LtAiResponse, type LtAiSlot, type LtAiSlotInput, type LtAiStreamEvent, type LtAiStreamHandlers, type LtAiUsage, type LtAiUsageInfo, type LtAiUsageScope, type UseLtAiAdminReturn, type UseLtAiChatOptions, type UseLtAiChatReturn, type UseLtAiConnectionsReturn, type UseLtAiReturn, type UseLtAiUsageReturn } from '../dist/runtime/types/ai.js'
|
|
16
|
-
|
|
17
7
|
export { type DEFAULT_LT_AUTH_STATE_COOKIE, type DEFAULT_LT_JWT_TOKEN_COOKIE, type configKey, default, type name, type version } from './module.mjs'
|
|
8
|
+
|
|
9
|
+
export * from '../dist/runtime/types/index.js'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lenne.tech/nuxt-extensions",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "Reusable Nuxt 4 composables, components, and Better-Auth integration for lenne.tech projects",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"release": "pnpm format:check && pnpm lint && pnpm test:types && pnpm test && pnpm prepack"
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@nuxt/kit": "4.4.
|
|
74
|
+
"@nuxt/kit": "4.4.6"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
77
|
"@better-auth/passkey": ">=1.0.0",
|
|
@@ -95,22 +95,22 @@
|
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
|
-
"@better-auth/passkey": "1.6.
|
|
98
|
+
"@better-auth/passkey": "1.6.13",
|
|
99
99
|
"@nuxt/devtools": "3.2.4",
|
|
100
100
|
"@nuxt/module-builder": "1.0.2",
|
|
101
|
-
"@nuxt/schema": "4.4.
|
|
102
|
-
"@playwright/test": "1.
|
|
103
|
-
"@types/node": "25.
|
|
104
|
-
"@vitest/coverage-v8": "4.1.
|
|
105
|
-
"better-auth": "1.6.
|
|
101
|
+
"@nuxt/schema": "4.4.6",
|
|
102
|
+
"@playwright/test": "1.60.0",
|
|
103
|
+
"@types/node": "25.9.1",
|
|
104
|
+
"@vitest/coverage-v8": "4.1.7",
|
|
105
|
+
"better-auth": "1.6.13",
|
|
106
106
|
"happy-dom": "20.9.0",
|
|
107
107
|
"nuxt": "4.4.6",
|
|
108
|
-
"oxfmt": "0.
|
|
109
|
-
"oxlint": "1.
|
|
108
|
+
"oxfmt": "0.52.0",
|
|
109
|
+
"oxlint": "1.67.0",
|
|
110
110
|
"tus-js-client": "4.3.1",
|
|
111
111
|
"typescript": "5.9.3",
|
|
112
|
-
"vitest": "4.1.
|
|
113
|
-
"vue-tsc": "3.
|
|
112
|
+
"vitest": "4.1.7",
|
|
113
|
+
"vue-tsc": "3.3.3"
|
|
114
114
|
},
|
|
115
115
|
"pnpm": {
|
|
116
116
|
"onlyBuiltDependencies": [
|
|
@@ -118,9 +118,6 @@
|
|
|
118
118
|
"esbuild"
|
|
119
119
|
],
|
|
120
120
|
"overrides": {
|
|
121
|
-
"@nuxt/kit@>=4.0.0 <4.4.6": "4.4.6",
|
|
122
|
-
"@nuxt/nitro-server@>=4.2.0 <=4.4.5": "4.4.6",
|
|
123
|
-
"@nuxt/schema@>=4.0.0 <4.4.6": "4.4.6",
|
|
124
121
|
"brace-expansion@>=5.0.0 <5.0.6": "5.0.6",
|
|
125
122
|
"devalue@>=5.6.3 <=5.8.0": "5.8.1",
|
|
126
123
|
"kysely@>=0.26.0 <0.28.17": "0.28.17",
|