release: WRNexusJS 0.4.0

This commit is contained in:
2026-07-27 12:42:18 +05:30
parent 8b728a3e5d
commit 30e5721e84
250 changed files with 10065 additions and 3923 deletions
+8
View File
@@ -241,3 +241,11 @@ export async function fetchProfile(
if (!res.ok) throw new Error(`${provider.name} userinfo failed (${res.status})`);
return provider.mapProfile((await res.json()) as Record<string, unknown>);
}
export {
memoryOAuthStateStore,
createOAuthState,
refreshOAuthTokens,
discoverOidc,
validateOAuthReturnTo,
} from "./advanced.ts";
export type { OAuthStateRecord, OAuthStateStore, OidcDiscovery } from "./advanced.ts";