@vite-hub/auth 0.6.1 → 0.7.0
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/README.md +28 -7
- package/dist/{abilities-BYOcyQ9B.d.ts → abilities-CfvuGrBv.d.ts} +1 -1
- package/dist/abilities.d.ts +1 -1
- package/dist/{ability-error-D3-u8k1A.js → ability-error-OKoyOwPM.js} +1 -1
- package/dist/{access-pages-9aKr6z-k.js → access-pages-Bej95blM.js} +10 -3
- package/dist/agent.d.ts +2 -3
- package/dist/agent.js +25 -6
- package/dist/{auth-instance-BWiRS9QZ.js → auth-instance-5RSiFTDC.js} +145 -57
- package/dist/{cli-C5pAfY4x.d.ts → cli-DL7uCAvz.d.ts} +15 -0
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +1 -1
- package/dist/{console-runtime-CaIXVtB_.js → console-runtime-Bg_PAl7e.js} +5 -3
- package/dist/{console-runtime-DMH1I2fl.d.ts → console-runtime-XcplYv4R.d.ts} +1 -1
- package/dist/console-runtime.d.ts +2 -2
- package/dist/console-runtime.js +1 -1
- package/dist/console.d.ts +1 -1
- package/dist/{database-options-B87hDU4j.js → database-options-DE9lMwu1.js} +1 -1
- package/dist/{database-schema-options-peXHNLkJ.js → database-schema-options-CCQsNhjc.js} +1 -1
- package/dist/database.d.ts +1 -1
- package/dist/database.js +4 -4
- package/dist/{definition-BypPLIbI.js → definition-DeEeqTLC.js} +18 -4
- package/dist/{error-diagnostics-CUPwukgE.js → error-diagnostics-DkzL9ltR.js} +13 -4
- package/dist/{events-BXU1_9mc.js → events-BUaoHFoC.js} +1 -1
- package/dist/forward.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -3
- package/dist/internal/server.d.ts +3 -3
- package/dist/internal/server.js +5 -4
- package/dist/{mcp-token-CmQbXbTu.d.ts → mcp-token-DG1jmw4o.d.ts} +1 -0
- package/dist/{mcp-token-CuqdbBy8.js → mcp-token-DgveSGEl.js} +26 -8
- package/dist/mcp.d.ts +1 -1
- package/dist/mcp.js +2 -2
- package/dist/{members-CwPIx10t.js → members-CRlYyxVk.js} +188 -152
- package/dist/nuxt.d.ts +1 -1
- package/dist/nuxt.js +27 -14
- package/dist/{own-access-BNcxKrDl.d.ts → own-access-BvVUjaeL.d.ts} +1 -1
- package/dist/{page-tools-shared-CtoKaNQZ.js → page-tools-shared-dVJBPPTk.js} +8 -0
- package/dist/presets.js +1 -1
- package/dist/roles-BGi8CyBG.js +17 -0
- package/dist/runtime/console.d.ts +1 -1
- package/dist/runtime/console.js +2 -2
- package/dist/runtime/empty-abilities.d.ts +1 -1
- package/dist/runtime/empty-definition.d.ts +1 -1
- package/dist/runtime/server.d.ts +2 -2
- package/dist/runtime/server.js +5 -3
- package/dist/runtime/vue-nuxt.js +27 -11
- package/dist/schema.js +1 -1
- package/dist/{server-C4Kni3Vj.d.ts → server-1G_BbfBD.d.ts} +20 -7
- package/dist/{server-BHniJi2m.d.ts → server-B8kTFrHP.d.ts} +3 -2
- package/dist/{server-Iru6jcnW.js → server-iQNOXyfS.js} +49 -22
- package/dist/server.d.ts +5 -2
- package/dist/server.js +9 -3
- package/dist/{session-cookies-fR6Pv4kD.js → session-cookies-DN0svCKj.js} +2 -2
- package/dist/{set-cookie-DVfi-nJX.js → set-cookie-CMB3t4NF.js} +1 -1
- package/dist/{table-specs-CCSY4tiS.js → table-specs-C3-bLOSF.js} +1 -1
- package/dist/test.d.ts +1 -1
- package/dist/test.js +2 -2
- package/dist/{types-DmH31d2t.d.ts → types-BmRGse4l.d.ts} +21 -5
- package/dist/{vite-CpWhT1Wi.js → vite-GRzej8Cs.js} +58 -17
- package/dist/vite.d.ts +18 -3
- package/dist/vite.js +1 -1
- package/dist/vue.d.ts +2 -2
- package/dist/vue.js +1 -1
- package/package.json +9 -8
|
@@ -2,10 +2,10 @@ import { t as invariant } from "./invariant-Dj2R1eMr.js";
|
|
|
2
2
|
import { t as createNitroServerKit } from "./nitro-kit-BumWIKa5.js";
|
|
3
3
|
import { t as isRecord$1 } from "./object-CAK6UYR5.js";
|
|
4
4
|
import { r as resolveAccessRoutePath, t as accessRouteSyntaxError } from "./application-path-zKi7NrvK.js";
|
|
5
|
-
import { t as authErrorDiagnostics } from "./error-diagnostics-
|
|
6
|
-
import {
|
|
7
|
-
import { a as authDatabaseSchemaError, i as authDatabasePlacementError, n as authDatabaseAdditionalFieldsError, o as authMemoryDatabaseError, t as assertAuthDatabaseIdStrategy } from "./database-options-
|
|
8
|
-
import { i as resolveAuthTableSpecs, n as authSqlName } from "./table-specs-
|
|
5
|
+
import { t as authErrorDiagnostics } from "./error-diagnostics-DkzL9ltR.js";
|
|
6
|
+
import { n as assertAuthPages, o as normalizeAuthBasePath } from "./access-pages-Bej95blM.js";
|
|
7
|
+
import { a as authDatabaseSchemaError, i as authDatabasePlacementError, n as authDatabaseAdditionalFieldsError, o as authMemoryDatabaseError, t as assertAuthDatabaseIdStrategy } from "./database-options-DE9lMwu1.js";
|
|
8
|
+
import { i as resolveAuthTableSpecs, n as authSqlName } from "./table-specs-C3-bLOSF.js";
|
|
9
9
|
import { n as resetAuth } from "./runtime-state-C0Rd1W4m.js";
|
|
10
10
|
import { existsSync, readFileSync, readdirSync, statSync } from "node:fs";
|
|
11
11
|
import { basename, dirname, join, parse, relative, resolve } from "node:path";
|
|
@@ -155,6 +155,7 @@ function createNoExternalAddition(...packageNames) {
|
|
|
155
155
|
function isServerEnvironment(name, config) {
|
|
156
156
|
return name === "ssr" || config.consumer === "server";
|
|
157
157
|
}
|
|
158
|
+
const VITEHUB_PROJECT_ROOT = "__vitehubProjectRoot";
|
|
158
159
|
/**
|
|
159
160
|
* Server directories that ViteHub scans for Definitions. The first entry is the application.
|
|
160
161
|
* Later entries are Nuxt layers in Nuxt priority order.
|
|
@@ -600,6 +601,21 @@ function discoverAuthClient(appDir) {
|
|
|
600
601
|
function discoverAuthDefinition(rootDir, options = {}) {
|
|
601
602
|
return discoverAuthDefinitions(rootDir, options)[0];
|
|
602
603
|
}
|
|
604
|
+
function discoverProjectAuthDefinition(project) {
|
|
605
|
+
const discovery = { serverDirs: project.serverDirs?.slice() };
|
|
606
|
+
const rootDir = project.viteRoot ?? project.projectRoot;
|
|
607
|
+
const definition = discoverAuthDefinition(rootDir, discovery);
|
|
608
|
+
if (definition) return {
|
|
609
|
+
definition,
|
|
610
|
+
rootDir
|
|
611
|
+
};
|
|
612
|
+
if (rootDir === project.projectRoot) return;
|
|
613
|
+
const fallback = discoverAuthDefinition(project.projectRoot, discovery);
|
|
614
|
+
if (fallback) return {
|
|
615
|
+
definition: fallback,
|
|
616
|
+
rootDir: project.projectRoot
|
|
617
|
+
};
|
|
618
|
+
}
|
|
603
619
|
const abilitiesExtensions = [
|
|
604
620
|
".ts",
|
|
605
621
|
".mts",
|
|
@@ -1107,15 +1123,17 @@ function readAuthAccessRoute(entry, index) {
|
|
|
1107
1123
|
assertOnlyObjectKeys(routeObject, /* @__PURE__ */ new Set([
|
|
1108
1124
|
"authorize",
|
|
1109
1125
|
"method",
|
|
1126
|
+
"role",
|
|
1110
1127
|
"route"
|
|
1111
1128
|
]), `access.routes[${index}]`);
|
|
1112
1129
|
const resolvedRoute = readStaticRouteProperty(routeObject, "route", `access.routes[${index}].route`);
|
|
1113
1130
|
if (!resolvedRoute) throw authErrorDiagnostics.AUTH_C0011({ message: `\`defineAuth()\` access.routes[${index}].route is required.` });
|
|
1114
1131
|
assertLiteralAccessRoute(resolvedRoute, `access.routes[${index}].route`);
|
|
1115
1132
|
const method = readStaticStringProperty(routeObject, "method", `access.routes[${index}].method`);
|
|
1116
|
-
const
|
|
1133
|
+
const keys = readObjectEntries(routeObject).map((entry) => entry.key);
|
|
1117
1134
|
const resolved = { route: resolvedRoute };
|
|
1118
|
-
if (authorize) resolved.authorize = true;
|
|
1135
|
+
if (keys.includes("authorize")) resolved.authorize = true;
|
|
1136
|
+
if (keys.includes("role")) resolved.role = true;
|
|
1119
1137
|
if (method) resolved.method = method;
|
|
1120
1138
|
return resolved;
|
|
1121
1139
|
}
|
|
@@ -1251,17 +1269,30 @@ function assertAuthStorageConfig(body, callback, authDatabase) {
|
|
|
1251
1269
|
if (!callback || isPlacementLiteral(secondaryStorage, /* @__PURE__ */ new Set(["store"]))) throw authErrorDiagnostics.AUTH_C0017({ message: "`defineAuth()` secondaryStorage takes only a Better Auth adapter, from the Definition callback. `true` and `{ store }` do not create storage." });
|
|
1252
1270
|
}
|
|
1253
1271
|
}
|
|
1272
|
+
/**
|
|
1273
|
+
* Whether the Auth Definition of the project keeps users in the app Database with `authDatabase()`. ViteHub turns the
|
|
1274
|
+
* Database on for it, as it does for Connections.
|
|
1275
|
+
*/
|
|
1276
|
+
function usesAuthDatabase(project) {
|
|
1277
|
+
return Boolean(resolveAuthViteConfig(void 0, project.viteRoot ?? project.projectRoot, project)?.tables);
|
|
1278
|
+
}
|
|
1254
1279
|
function resolveAuthViteConfig(options, rootDir = process.cwd(), discovery = {}) {
|
|
1255
1280
|
if (options === false) return;
|
|
1256
|
-
const
|
|
1257
|
-
|
|
1281
|
+
const found = discoverProjectAuthDefinition({
|
|
1282
|
+
projectRoot: discovery.projectRoot ?? rootDir,
|
|
1283
|
+
viteRoot: rootDir,
|
|
1284
|
+
serverDirs: discovery.serverDirs
|
|
1285
|
+
});
|
|
1286
|
+
if (!found) return;
|
|
1287
|
+
const { definition } = found;
|
|
1288
|
+
rootDir = found.rootDir;
|
|
1258
1289
|
const definitionObject = readDefinitionObjectBody(definition.handler);
|
|
1259
1290
|
if (typeof definitionObject === "undefined") throw authErrorDiagnostics.AUTH_C0019({ message: "`defineAuth()` options must be an inline object literal." });
|
|
1260
1291
|
const body = definitionObject.body;
|
|
1261
1292
|
assertStaticObjectKeys(body, "options");
|
|
1262
1293
|
assertAuthStorageConfig(body, definitionObject.callback, definitionObject.authDatabase);
|
|
1263
1294
|
const basePath = normalizeAuthBasePath(readStaticStringProperty(body, "basePath", "basePath"));
|
|
1264
|
-
const abilities = discoverAuthAbilities(rootDir, discovery);
|
|
1295
|
+
const abilities = discoverAuthAbilities(rootDir, { serverDirs: discovery.serverDirs?.slice() });
|
|
1265
1296
|
const publicRoutes = readAuthAccessPublicConfig(body);
|
|
1266
1297
|
const components = readAuthComponentsConfig(body);
|
|
1267
1298
|
return {
|
|
@@ -1534,7 +1565,7 @@ function renderAuthServerModule(options = {}) {
|
|
|
1534
1565
|
return [
|
|
1535
1566
|
`export * from ${JSON.stringify(serverImport)}`,
|
|
1536
1567
|
`export { default } from ${JSON.stringify(serverImport)}`,
|
|
1537
|
-
`export { createAuthAccessHandler, findVerifiedAuthUserId } from ${JSON.stringify(privateAuthImport(importBase, "internal/server"))}`,
|
|
1568
|
+
`export { createAuthAccessHandler, findVerifiedAuthUserId, sendSessionCookies } from ${JSON.stringify(privateAuthImport(importBase, "internal/server"))}`,
|
|
1538
1569
|
""
|
|
1539
1570
|
].join("\n");
|
|
1540
1571
|
}
|
|
@@ -1610,6 +1641,7 @@ function renderAuthServerTypes(importBase = authPackageName) {
|
|
|
1610
1641
|
` export { default } from ${JSON.stringify(serverImport)}`,
|
|
1611
1642
|
` export const createAuthAccessHandler: typeof import(${JSON.stringify(privateAuthImport(importBase, "internal/server"))}).createAuthAccessHandler`,
|
|
1612
1643
|
` export const findVerifiedAuthUserId: typeof import(${JSON.stringify(privateAuthImport(importBase, "internal/server"))}).findVerifiedAuthUserId`,
|
|
1644
|
+
` export const sendSessionCookies: typeof import(${JSON.stringify(privateAuthImport(importBase, "internal/server"))}).sendSessionCookies`,
|
|
1613
1645
|
"}",
|
|
1614
1646
|
""
|
|
1615
1647
|
].join("\n");
|
|
@@ -1704,10 +1736,17 @@ function hubAuth(options, internalOptions = {}) {
|
|
|
1704
1736
|
let clientFile;
|
|
1705
1737
|
let serverDirs;
|
|
1706
1738
|
let serverEnv = false;
|
|
1739
|
+
function readViteAuthConfig(config) {
|
|
1740
|
+
const root = resolve(config.root ?? process.cwd());
|
|
1741
|
+
const projectRoot = config[VITEHUB_PROJECT_ROOT];
|
|
1742
|
+
return resolveAuthViteConfig(options, root, {
|
|
1743
|
+
projectRoot: projectRoot ? resolve(projectRoot) : resolveViteHubProjectRoot(root),
|
|
1744
|
+
serverDirs
|
|
1745
|
+
});
|
|
1746
|
+
}
|
|
1707
1747
|
function refreshRuntimeConfig() {
|
|
1708
1748
|
if (!resolved) return;
|
|
1709
|
-
runtimeConfig =
|
|
1710
|
-
runtimeConfig ??= resolveAuthViteConfig(options, resolveViteHubProjectRoot(resolved.root), { serverDirs });
|
|
1749
|
+
runtimeConfig = readViteAuthConfig(resolved);
|
|
1711
1750
|
resetAuth();
|
|
1712
1751
|
return runtimeConfig;
|
|
1713
1752
|
}
|
|
@@ -1724,9 +1763,10 @@ function hubAuth(options, internalOptions = {}) {
|
|
|
1724
1763
|
async databases(context) {
|
|
1725
1764
|
const authOptions = options;
|
|
1726
1765
|
if (authOptions === false) return [];
|
|
1727
|
-
const
|
|
1728
|
-
|
|
1729
|
-
|
|
1766
|
+
const config = resolveAuthViteConfig(authOptions, context.root, {
|
|
1767
|
+
projectRoot: context.projectRoot ?? resolveViteHubProjectRoot(context.root),
|
|
1768
|
+
serverDirs: context.serverDirs ?? serverDirs
|
|
1769
|
+
});
|
|
1730
1770
|
if (!config?.tables) return [];
|
|
1731
1771
|
const { database, schema } = config.tables;
|
|
1732
1772
|
const schemaModule = resolve(config.rootDir, generatedAuthSchema);
|
|
@@ -1768,7 +1808,8 @@ function hubAuth(options, internalOptions = {}) {
|
|
|
1768
1808
|
config(config, env) {
|
|
1769
1809
|
const configRoot = config.root || process.cwd();
|
|
1770
1810
|
serverDirs = config["__vitehubServerDirs"] ?? serverDirs;
|
|
1771
|
-
const authConfig =
|
|
1811
|
+
const authConfig = readViteAuthConfig(config);
|
|
1812
|
+
if (authConfig?.tables && internalOptions.databaseDisabled) throw authErrorDiagnostics.AUTH_DATABASE_DISABLED({ definition: relative(configRoot, authConfig.definition.handler) });
|
|
1772
1813
|
const dev = env?.command === "serve";
|
|
1773
1814
|
const nitro = mergeNitroAuthHandler(config.nitro, authConfig, dev);
|
|
1774
1815
|
const hasNitroHandlers = Boolean(authConfig && (authConfig.route !== false || authConfig.access.routes.length > 0));
|
|
@@ -1878,4 +1919,4 @@ function hubAuth(options, internalOptions = {}) {
|
|
|
1878
1919
|
}
|
|
1879
1920
|
};
|
|
1880
1921
|
}
|
|
1881
|
-
export { AUTH_VITE_PLUGIN_NAME as a, writeNuxtAuthDefinition as c,
|
|
1922
|
+
export { resolveViteHubProjectRoot as _, AUTH_VITE_PLUGIN_NAME as a, writeNuxtAuthDefinition as c, authAbilitiesCandidates as d, discoverProjectAuthDefinition as f, resolveNuxtServerDirs as g, methodOrder as h, AUTH_SERVER_ID as i, resolveAuthViteConfig as l, createCachingRouteRuleFinder as m, AUTH_CLIENT_ID as n, createAuthNitroConfig as o, cachingRuleNames as p, AUTH_DEFINITION_ID as r, hubAuth as s, AUTH_ABILITIES_ID as t, usesAuthDatabase as u };
|
package/dist/vite.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="./host-declarations.d.ts" />
|
|
2
|
-
import { U as ResolvedAuthViteConfig, w as AuthOptions } from "./types-
|
|
3
|
-
import { n as ViteHubCliPluginMetadata } from "./cli-
|
|
2
|
+
import { B as DiscoveredAuthDefinition, U as ResolvedAuthViteConfig, w as AuthOptions } from "./types-BmRGse4l.js";
|
|
3
|
+
import { n as ViteHubCliPluginMetadata } from "./cli-DL7uCAvz.js";
|
|
4
4
|
import { Plugin } from "vite";
|
|
5
5
|
interface ViteHubDefinitionField {
|
|
6
6
|
label: string;
|
|
@@ -63,8 +63,22 @@ type ViteHubInspectionContributorFactory = () => ViteHubInspectionContributor |
|
|
|
63
63
|
interface ViteHubInspectionPluginMetadata {
|
|
64
64
|
inspect?: ViteHubInspectionContributor | ViteHubInspectionContributorFactory;
|
|
65
65
|
}
|
|
66
|
+
export declare function discoverProjectAuthDefinition(project: {
|
|
67
|
+
projectRoot: string;
|
|
68
|
+
viteRoot?: string;
|
|
69
|
+
serverDirs?: readonly string[];
|
|
70
|
+
}): {
|
|
71
|
+
definition: DiscoveredAuthDefinition;
|
|
72
|
+
rootDir: string;
|
|
73
|
+
} | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* Whether the Auth Definition of the project keeps users in the app Database with `authDatabase()`. ViteHub turns the
|
|
76
|
+
* Database on for it, as it does for Connections.
|
|
77
|
+
*/
|
|
78
|
+
export declare function usesAuthDatabase(project: Parameters<typeof discoverProjectAuthDefinition>[0]): boolean;
|
|
66
79
|
export declare function resolveAuthViteConfig(options?: AuthOptions, rootDir?: string, discovery?: {
|
|
67
|
-
|
|
80
|
+
projectRoot?: string;
|
|
81
|
+
serverDirs?: readonly string[];
|
|
68
82
|
}): ResolvedAuthViteConfig | undefined;
|
|
69
83
|
/** The host that ViteHub builds for: the `host` option of `vitehub()` and the value of `VITEHUB_HOST`. */
|
|
70
84
|
type ViteHubHost = "cloudflare" | "deno" | "netlify" | "node" | "vercel";
|
|
@@ -151,6 +165,7 @@ export declare function createAuthNitroConfig(plugin: AuthVitePlugin, options: {
|
|
|
151
165
|
serverDirs?: string[];
|
|
152
166
|
}): Record<string, unknown>;
|
|
153
167
|
interface InternalAuthModuleOptions {
|
|
168
|
+
databaseDisabled?: boolean;
|
|
154
169
|
importBase?: string;
|
|
155
170
|
}
|
|
156
171
|
export declare function writeNuxtAuthDefinition(root: string, config: ResolvedAuthViteConfig): Promise<string>;
|
package/dist/vite.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as AUTH_ABILITIES_ID, n as AUTH_CLIENT_ID, r as AUTH_DEFINITION_ID, i as AUTH_SERVER_ID, a as AUTH_VITE_PLUGIN_NAME, o as createAuthNitroConfig, s as hubAuth, l as resolveAuthViteConfig, c as writeNuxtAuthDefinition } from "./vite-
|
|
1
|
+
export { t as AUTH_ABILITIES_ID, n as AUTH_CLIENT_ID, r as AUTH_DEFINITION_ID, i as AUTH_SERVER_ID, a as AUTH_VITE_PLUGIN_NAME, o as createAuthNitroConfig, f as discoverProjectAuthDefinition, s as hubAuth, l as resolveAuthViteConfig, u as usesAuthDatabase, c as writeNuxtAuthDefinition } from "./vite-GRzej8Cs.js";
|
package/dist/vue.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="./host-declarations.d.ts" />
|
|
2
|
-
import { a as AbilityRefusal, i as AbilityName, t as AbilityArgs } from "./abilities-
|
|
3
|
-
import { S as AuthFor, _ as AuthDefinition } from "./types-
|
|
2
|
+
import { a as AbilityRefusal, i as AbilityName, t as AbilityArgs } from "./abilities-CfvuGrBv.js";
|
|
3
|
+
import { S as AuthFor, _ as AuthDefinition } from "./types-BmRGse4l.js";
|
|
4
4
|
import { n as AbilityErrorData } from "./ability-error-C1c30O6E.js";
|
|
5
5
|
import { BetterAuthClientOptions } from "better-auth";
|
|
6
6
|
import { ComputedRef, VNode } from "vue";
|
package/dist/vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as checkAbility, t as AbilityError } from "./ability-error-
|
|
1
|
+
import { n as checkAbility, t as AbilityError } from "./ability-error-OKoyOwPM.js";
|
|
2
2
|
import { i as resolveAuthMountPath } from "./application-path-zKi7NrvK.js";
|
|
3
3
|
import { a as setRequestFetchResolver, i as setNuxtErrorFactory, n as setDefaultAuthBasePath, o as setSessionSeedResolver, r as setNuxtAppResolver, s as setSignOutHandler, t as authNuxtBridge } from "./nuxt-bridge-pRyfYD5c.js";
|
|
4
4
|
import abilities from "#vitehub/auth/abilities";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vite-hub/auth",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Better Auth-powered authentication primitives and Vite integration for ViteHub.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"auth",
|
|
@@ -144,10 +144,11 @@
|
|
|
144
144
|
"dependencies": {
|
|
145
145
|
"@noble/hashes": "^2.4.0",
|
|
146
146
|
"@types/node": "^24.19.2",
|
|
147
|
-
"@vite-hub/env": "0.
|
|
148
|
-
"@vite-hub/runtime": "0.
|
|
149
|
-
"@vite-hub/web-container": "0.
|
|
147
|
+
"@vite-hub/env": "0.7.0",
|
|
148
|
+
"@vite-hub/runtime": "0.7.0",
|
|
149
|
+
"@vite-hub/web-container": "0.7.0",
|
|
150
150
|
"better-auth": "^1.7.27",
|
|
151
|
+
"better-auth-rou3": "npm:rou3@0.9.2",
|
|
151
152
|
"h3": "^2.0.8",
|
|
152
153
|
"nostics": "1.4.0",
|
|
153
154
|
"rou3": "^1.0.0",
|
|
@@ -165,8 +166,8 @@
|
|
|
165
166
|
"@types/json-schema": "^7.0.15",
|
|
166
167
|
"@types/mdast": "^4.0.4",
|
|
167
168
|
"@types/node": "^24.19.2",
|
|
168
|
-
"@vite-hub/agent": "0.
|
|
169
|
-
"@vite-hub/database": "0.
|
|
169
|
+
"@vite-hub/agent": "0.7.0",
|
|
170
|
+
"@vite-hub/database": "0.7.0",
|
|
170
171
|
"@vite-hub/internal": "0.0.1",
|
|
171
172
|
"bun-types": "^1.4.5",
|
|
172
173
|
"evlog": "2.37.1",
|
|
@@ -189,8 +190,8 @@
|
|
|
189
190
|
"@better-auth/oauth-provider": "^1.7.27",
|
|
190
191
|
"@types/json-schema": "^7.0.15",
|
|
191
192
|
"@types/mdast": "^4.0.4",
|
|
192
|
-
"@vite-hub/agent": "0.
|
|
193
|
-
"@vite-hub/database": "0.
|
|
193
|
+
"@vite-hub/agent": "0.7.0",
|
|
194
|
+
"@vite-hub/database": "0.7.0",
|
|
194
195
|
"nitro": "3.0.261102-rc || ^3.0.261103-rc",
|
|
195
196
|
"vite": ">=8.0.0",
|
|
196
197
|
"vue": "^3.5.0",
|