Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@edgedb/auth-sveltekit

Package Overview
Dependencies
Maintainers
3
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@edgedb/auth-sveltekit - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0-canary.20240212T172144

14

dist/server.d.ts

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc