@edgedb/auth-sveltekit
Advanced tools
Comparing version 0.1.0 to 0.2.0-canary.20240212T172144
@@ -17,8 +17,8 @@ import { type RequestEvent, type Handle } from "@sveltejs/kit"; | ||
export interface AuthRouteHandlers { | ||
onOAuthCallback(params: ParamsOrError<{ | ||
onOAuthCallback?: (params: ParamsOrError<{ | ||
tokenData: TokenData; | ||
provider: BuiltinOAuthProviderNames; | ||
isSignUp: boolean; | ||
}>): Promise<never>; | ||
onBuiltinUICallback(params: ParamsOrError<({ | ||
}>) => Promise<never>; | ||
onBuiltinUICallback?: (params: ParamsOrError<({ | ||
tokenData: TokenData; | ||
@@ -31,9 +31,9 @@ provider: BuiltinProviderNames; | ||
isSignUp: boolean; | ||
}>): Promise<never>; | ||
onEmailVerify(params: ParamsOrError<{ | ||
}>) => Promise<never>; | ||
onEmailVerify?: (params: ParamsOrError<{ | ||
tokenData: TokenData; | ||
}, { | ||
verificationToken?: string; | ||
}>): Promise<never>; | ||
onSignout(): Promise<never>; | ||
}>) => Promise<never>; | ||
onSignout?: () => Promise<never>; | ||
} | ||
@@ -40,0 +40,0 @@ export default function serverAuth(client: Client, options: AuthOptions): { |
{ | ||
"name": "@edgedb/auth-sveltekit", | ||
"description": "Helper library to integrate the EdgeDB Auth extension with Sveltekit.", | ||
"version": "0.1.0", | ||
"version": "0.2.0-canary.20240212T172144", | ||
"author": "EdgeDB <info@edgedb.com>", | ||
@@ -21,7 +21,7 @@ "type": "module", | ||
"devDependencies": { | ||
"@sveltejs/kit": "^2.0.0", | ||
"@types/node": "^20.8.4", | ||
"edgedb": "^1.3.6", | ||
"svelte": "^4.2.7", | ||
"typescript": "^5.2.2", | ||
"svelte": "^4.2.7", | ||
"@sveltejs/kit": "^2.0.0", | ||
"vite": "^5.0.3" | ||
@@ -31,3 +31,2 @@ }, | ||
"edgedb": "^1.3.6" | ||
}, | ||
@@ -34,0 +33,0 @@ "dependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27429