@auth/sveltekit
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -8,3 +8,3 @@ import type { LiteralUnion, SignInOptions, SignInAuthorizationParams, SignOutParams } from "next-auth/react"; | ||
* | ||
* [Documentation](https://authjs.dev/reference/utilities/#signin) | ||
* [Documentation](https://authjs.dev/reference/sveltekit/client#signin) | ||
*/ | ||
@@ -16,4 +16,4 @@ export declare function signIn<P extends RedirectableProviderType | undefined = undefined>(providerId?: LiteralUnion<P extends RedirectableProviderType ? P | BuiltInProviderType : BuiltInProviderType>, options?: SignInOptions, authorizationParams?: SignInAuthorizationParams): Promise<Response | undefined>; | ||
* | ||
* [Documentation](https://authjs.dev/reference/utilities/#signout) | ||
* [Documentation](https://authjs.dev/reference/sveltekit/client#signout) | ||
*/ | ||
export declare function signOut(options?: SignOutParams): Promise<void>; |
@@ -6,3 +6,3 @@ /** | ||
* | ||
* [Documentation](https://authjs.dev/reference/utilities/#signin) | ||
* [Documentation](https://authjs.dev/reference/sveltekit/client#signin) | ||
*/ | ||
@@ -51,3 +51,3 @@ export async function signIn(providerId, options, authorizationParams) { | ||
* | ||
* [Documentation](https://authjs.dev/reference/utilities/#signout) | ||
* [Documentation](https://authjs.dev/reference/sveltekit/client#signout) | ||
*/ | ||
@@ -54,0 +54,0 @@ export async function signOut(options) { |
@@ -168,6 +168,3 @@ /** | ||
* // If the request is still here, just proceed as normally | ||
* const result = await resolve(event, { | ||
* transformPageChunk: ({ html }) => html | ||
* }); | ||
* return result; | ||
* return resolve(event); | ||
* } | ||
@@ -214,3 +211,3 @@ * | ||
* If you change the default value, | ||
* you must also update the callback URL used by the [providers](https://authjs.dev/reference/core/modules/providers). | ||
* you must also update the callback URL used by the [providers](https://authjs.dev/reference/core/providers). | ||
* | ||
@@ -217,0 +214,0 @@ * @default "/auth" |
@@ -168,6 +168,3 @@ /** | ||
* // If the request is still here, just proceed as normally | ||
* const result = await resolve(event, { | ||
* transformPageChunk: ({ html }) => html | ||
* }); | ||
* return result; | ||
* return resolve(event); | ||
* } | ||
@@ -174,0 +171,0 @@ * |
{ | ||
"name": "@auth/sveltekit", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Authentication for SvelteKit.", | ||
@@ -36,3 +36,3 @@ "keywords": [ | ||
"vitest": "^0.25.3", | ||
"next-auth": "4.18.6" | ||
"next-auth": "4.22.0" | ||
}, | ||
@@ -39,0 +39,0 @@ "dependencies": { |
@@ -17,3 +17,3 @@ import type { | ||
* | ||
* [Documentation](https://authjs.dev/reference/utilities/#signin) | ||
* [Documentation](https://authjs.dev/reference/sveltekit/client#signin) | ||
*/ | ||
@@ -82,3 +82,3 @@ export async function signIn< | ||
* | ||
* [Documentation](https://authjs.dev/reference/utilities/#signout) | ||
* [Documentation](https://authjs.dev/reference/sveltekit/client#signout) | ||
*/ | ||
@@ -85,0 +85,0 @@ export async function signOut(options?: SignOutParams) { |
@@ -168,6 +168,3 @@ /** | ||
* // If the request is still here, just proceed as normally | ||
* const result = await resolve(event, { | ||
* transformPageChunk: ({ html }) => html | ||
* }); | ||
* return result; | ||
* return resolve(event); | ||
* } | ||
@@ -240,3 +237,3 @@ * | ||
* If you change the default value, | ||
* you must also update the callback URL used by the [providers](https://authjs.dev/reference/core/modules/providers). | ||
* you must also update the callback URL used by the [providers](https://authjs.dev/reference/core/providers). | ||
* | ||
@@ -243,0 +240,0 @@ * @default "/auth" |
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
42741
970