🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@coverbase/nuxt-auth

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coverbase/nuxt-auth - npm Package Compare versions

Package was removed
Sorry, it seems this package was removed from the registry
Comparing version
0.0.5
to
0.0.6
+1
-1
dist/module.json
{
"name": "@coverbase/nuxt-auth",
"version": "0.0.5",
"version": "0.0.6",
"configKey": "auth",

@@ -5,0 +5,0 @@ "builder": {

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

{
"name": "@coverbase/nuxt-auth",
"version": "0.0.5",
"version": "0.0.6",
"license": "MIT",

@@ -5,0 +5,0 @@ "type": "module",