@nuxtjs/supabase
Advanced tools
Comparing version 0.3.4 to 0.3.5
@@ -0,2 +1,3 @@ | ||
import type { Ref } from 'vue'; | ||
import { User } from '@supabase/supabase-js'; | ||
export declare const useSupabaseUser: () => Ref<User | null>; |
@@ -1,2 +0,2 @@ | ||
declare const _default: any; | ||
declare const _default: import("h3").EventHandler<string>; | ||
export default _default; |
import { SupabaseClient } from '@supabase/supabase-js'; | ||
import type { H3Event } from 'h3'; | ||
export declare const serverSupabaseClient: <T>(event: H3Event) => SupabaseClient<T, "public" extends keyof T ? keyof T & "public" : string & keyof T, T["public" extends keyof T ? keyof T & "public" : string & keyof T] extends import("@supabase/supabase-js/dist/module/lib/types").GenericSchema ? T["public" extends keyof T ? keyof T & "public" : string & keyof T] : any>; |
import { SupabaseClient } from '@supabase/supabase-js'; | ||
import type { H3Event } from 'h3'; | ||
export declare const serverSupabaseServiceRole: <T>(event: H3Event) => SupabaseClient<T, "public" extends keyof T ? keyof T & "public" : string & keyof T, T["public" extends keyof T ? keyof T & "public" : string & keyof T] extends import("@supabase/supabase-js/dist/module/lib/types").GenericSchema ? T["public" extends keyof T ? keyof T & "public" : string & keyof T] : any>; |
import { User } from '@supabase/supabase-js'; | ||
import type { H3Event } from 'h3'; | ||
export declare const serverSupabaseUser: (event: H3Event) => Promise<User | null>; |
{ | ||
"name": "@nuxtjs/supabase", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "Supabase module for Nuxt", | ||
@@ -23,9 +23,8 @@ "repository": "nuxt-community/supabase-module", | ||
"build": "nuxt-module-build", | ||
"prepack": "yarn build", | ||
"lint": "eslint --ext .js,.ts,.vue .", | ||
"release": "yarn lint && release-it", | ||
"pre-release": "yarn lint && release-it --preRelease=beta" | ||
"release": "pnpm lint && release-it", | ||
"pre-release": "pnpm lint && release-it --preRelease=beta" | ||
}, | ||
"dependencies": { | ||
"@nuxt/kit": "^3.3.2", | ||
"@nuxt/kit": "^3.3.3", | ||
"@supabase/supabase-js": "2.13.1", | ||
@@ -36,9 +35,10 @@ "defu": "^6.1.2", | ||
"devDependencies": { | ||
"@nuxt/schema": "^3.3.2", | ||
"@nuxt/module-builder": "^0.2.1", | ||
"@nuxt/schema": "^3.3.3", | ||
"@nuxtjs/eslint-config-typescript": "^12.0.0", | ||
"@types/node": "^18.15.11", | ||
"eslint": "^8.37.0", | ||
"nuxt": "^3.3.2", | ||
"release-it": "^15.9.3" | ||
"nuxt": "^3.3.3", | ||
"release-it": "^15.10.1", | ||
"typescript": "^5.0.3" | ||
}, | ||
@@ -45,0 +45,0 @@ "release-it": { |
Sorry, the diff of this file is not supported yet
23683
8
467
Updated@nuxt/kit@^3.3.3