release: WRNexusJS 0.5.0

This commit is contained in:
2026-07-29 12:51:10 +05:30
parent 76c768099d
commit 6afe32f63f
456 changed files with 40879 additions and 8850 deletions
+45
View File
@@ -0,0 +1,45 @@
export { createAuthEngine, type AuthEngine } from "../engine.ts";
export {
createAuthHttpHandlers,
type AuthHttpOptions,
type AuthPasskeyHttpOptions,
} from "../http/index.ts";
export {
authSession,
requireAuth,
establishAuthSession,
clearAuthSession,
getAuthUser,
getAuthSession,
isAuthenticatedContext,
AUTH_SESSION_KEY,
} from "../middleware.ts";
export {
setDefaultAuthEngine,
clearDefaultAuthEngine,
setDefaultAuthSchemas,
setDefaultAuthRouteOptions,
tryGetDefaultAuthEngine,
getDefaultAuthEngine,
getDefaultAuthSchemas,
getDefaultAuthRouteOptions,
hasDefaultAuthEngine,
type DefaultAuthRouteOptions,
} from "../runtime.ts";
export { MemoryAuthStore } from "../stores/memory.ts";
export { SqlAuthStore } from "../stores/sql.ts";
export * from "../types.ts";
export * from "../validation.ts";
export { createAuthSecretProtector } from "../protector.ts";
export {
normalizeEmail,
normalizePhone,
normalizeUsername,
normalizeIdentity,
inferIdentityType,
publicUser,
safeAuthReturnTo,
} from "../normalize.ts";