@coverbase/nuxt-auth
Advanced tools
+1
-1
| { | ||
| "name": "@coverbase/nuxt-auth", | ||
| "version": "0.0.5", | ||
| "version": "0.0.6", | ||
| "configKey": "auth", | ||
@@ -5,0 +5,0 @@ "builder": { |
+1
-1
@@ -5,3 +5,3 @@ import { defineNuxtModule, createResolver, addServerScanDir, addImportsDir } from '@nuxt/kit'; | ||
| const name = "@coverbase/nuxt-auth"; | ||
| const version = "0.0.5"; | ||
| const version = "0.0.6"; | ||
@@ -8,0 +8,0 @@ const module = defineNuxtModule({ |
| export declare const useAuth: () => { | ||
| getSession: <T>() => Promise<import("nitropack").TypedInternalResponse<import("nitropack").NitroFetchRequest, T, "get">>; | ||
| signInWith: (provider: "GOOGLE") => Promise<false | void | import("vue-router").RouteLocationRaw | import("vue-router").NavigationFailure>; | ||
| signOut: () => Promise<false | void | import("vue-router").RouteLocationRaw | import("vue-router").NavigationFailure>; | ||
| signInWith: (provider: "GOOGLE") => Promise<void>; | ||
| signOut: () => Promise<void>; | ||
| }; |
@@ -10,3 +10,3 @@ import { navigateTo, useRequestFetch } from "#app"; | ||
| const signInWith = async (provider) => { | ||
| return await navigateTo(`/auth/${provider.toLocaleLowerCase()}`, { | ||
| await navigateTo(`/auth/${provider.toLocaleLowerCase()}`, { | ||
| open: { | ||
@@ -21,3 +21,7 @@ target: "_top" | ||
| }); | ||
| return await navigateTo("/"); | ||
| await navigateTo("/", { | ||
| open: { | ||
| target: "_top" | ||
| } | ||
| }); | ||
| }; | ||
@@ -24,0 +28,0 @@ return { |
+1
-1
| { | ||
| "name": "@coverbase/nuxt-auth", | ||
| "version": "0.0.5", | ||
| "version": "0.0.6", | ||
| "license": "MIT", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
239
1.7%8839
-1.54%