Skip to content

Commit 438101f

Browse files
committed
improve type
- make package name consistent with others
1 parent ad0d0ca commit 438101f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

packages/auth-solid-start/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "edgedb-auth-solid-start",
2+
"name": "@edgedb/auth-solid-start",
33
"description": "Helper library to integrate the EdgeDB Auth extension with Solid Start",
44
"version": "0.1.0",
55
"author": "EdgeDB <[email protected]>",

packages/auth-solid-start/src/server/index.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export interface CreateAuthRouteHandlers {
6464
provider: BuiltinOAuthProviderNames;
6565
isSignUp: boolean;
6666
}>,
67-
): Promise<never | Response>;
67+
): Promise<Response>;
6868
onEmailPasswordSignIn(
6969
params: ParamsOrError<{ tokenData: TokenData }>,
7070
): Promise<Response>;
@@ -79,19 +79,19 @@ export interface CreateAuthRouteHandlers {
7979
{ tokenData: TokenData },
8080
{ verificationToken?: string }
8181
>,
82-
): Promise<never | Response>;
82+
): Promise<Response>;
8383
onWebAuthnSignUp(
8484
params: ParamsOrError<{ tokenData: TokenData | null }>,
8585
): Promise<Response>;
8686
onWebAuthnSignIn(
8787
params: ParamsOrError<{ tokenData: TokenData }>,
88-
): Promise<never | Response>;
88+
): Promise<Response>;
8989
onMagicLinkCallback(
9090
params: ParamsOrError<{ tokenData: TokenData; isSignUp: boolean }>,
91-
): Promise<never | Response>;
91+
): Promise<Response>;
9292
onMagicLinkSignIn(
9393
params: ParamsOrError<{ tokenData: TokenData }>,
94-
): Promise<never | Response>;
94+
): Promise<Response>;
9595
onBuiltinUICallback(
9696
params: ParamsOrError<
9797
(
@@ -105,8 +105,8 @@ export interface CreateAuthRouteHandlers {
105105
}
106106
) & { isSignUp: boolean }
107107
>,
108-
): Promise<never | Response>;
109-
onSignout(evt: APIEvent): Promise<never | Response>;
108+
): Promise<Response>;
109+
onSignout(evt: APIEvent): Promise<Response>;
110110
}
111111

112112
export class SolidServerAuth extends SolidAuthHelpers {

0 commit comments

Comments
 (0)