fix: keep authz server modules out of browser bundles
This commit is contained in:
@@ -11,7 +11,7 @@ import {
|
||||
import { resolveAuthSchemas, type AuthSchemaOverrides, type AuthSchemaSet } from "../validation.ts";
|
||||
import type { AuthSessionVerificationHandler } from "../types.ts";
|
||||
import { completeAuth, startAuth, type OAuthProvider } from "@wrnexus/oauth";
|
||||
import { assignDefaultAuthzRoles } from "@wrnexus/authz";
|
||||
import { assignDefaultAuthzRoles } from "@wrnexus/authz/defaults";
|
||||
|
||||
function text(value: unknown): string {
|
||||
return typeof value === "string" ? value : value == null ? "" : String(value);
|
||||
|
||||
Reference in New Issue
Block a user