@floatingpixels/supabase-nuxt 0.5.1 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/module.json +1 -1
- package/dist/runtime/composables/useSupabaseClient.d.ts +9 -1
- package/dist/runtime/plugins/middleware-auth-redirect.d.ts +1 -1
- package/dist/runtime/plugins/supabase.client.d.ts +2 -2
- package/dist/runtime/plugins/supabase.server.d.ts +2 -2
- package/package.json +17 -17
package/README.md
CHANGED
|
@@ -63,13 +63,13 @@ Default: `process.env.NUXT_PUBLIC_SUPABASE_URL` (e.g.: `https://example.supabase
|
|
|
63
63
|
|
|
64
64
|
The unique Supabase URL which is supplied when you create a new project in your project dashboard.
|
|
65
65
|
|
|
66
|
-
### `
|
|
66
|
+
### `publishableKey`
|
|
67
67
|
|
|
68
68
|
Default: `process.env.NUXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY`
|
|
69
69
|
|
|
70
70
|
Supabase 'publishable key', used to access the Supabase API gateway and interact with your Supabase database making use of user JWT to apply RLS Policies.
|
|
71
71
|
|
|
72
|
-
### `
|
|
72
|
+
### `secretKey`
|
|
73
73
|
|
|
74
74
|
Default: `process.env.NUXT_SUPABASE_SERVICE_ROLE_KEY`
|
|
75
75
|
|
package/dist/module.json
CHANGED
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
import type { SupabaseClient } from '@supabase/supabase-js';
|
|
2
|
-
export declare const useSupabaseClient: <T>() => SupabaseClient<T
|
|
2
|
+
export declare const useSupabaseClient: <T>() => SupabaseClient<T, "public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">, ("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) extends infer T_1 ? T_1 extends ("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) ? T_1 extends string & Exclude<keyof T, "__InternalSupabase"> ? T_1 : "public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof T, "__InternalSupabase">, "__InternalSupabase"> : never : never, Omit<T, "__InternalSupabase">[("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) extends infer T_2 ? T_2 extends ("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) ? T_2 extends string & Exclude<keyof T, "__InternalSupabase"> ? T_2 : "public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof T, "__InternalSupabase">, "__InternalSupabase"> : never : never] extends import("@supabase/supabase-js/dist/module/lib/types").GenericSchema ? Omit<T, "__InternalSupabase">[("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) extends infer T_3 ? T_3 extends ("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) ? T_3 extends string & Exclude<keyof T, "__InternalSupabase"> ? T_3 : "public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof T, "__InternalSupabase">, "__InternalSupabase"> : never : never] : never, ("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) extends infer T_4 ? T_4 extends ("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) ? T_4 extends string & Exclude<keyof T, "__InternalSupabase"> ? T extends {
|
|
3
|
+
__InternalSupabase: {
|
|
4
|
+
PostgrestVersion: string;
|
|
5
|
+
};
|
|
6
|
+
} ? T["__InternalSupabase"] : {
|
|
7
|
+
PostgrestVersion: "12";
|
|
8
|
+
} : T_4 extends {
|
|
9
|
+
PostgrestVersion: string;
|
|
10
|
+
} ? T_4 : never : never : never>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare const _default: import("nuxt/app").Plugin<{
|
|
2
2
|
supabase: {
|
|
3
|
-
client: import("@supabase/supabase-js").SupabaseClient<any, "public", any>;
|
|
3
|
+
client: import("@supabase/supabase-js").SupabaseClient<any, "public", "public", any, any>;
|
|
4
4
|
};
|
|
5
5
|
}> & import("nuxt/app").ObjectPlugin<{
|
|
6
6
|
supabase: {
|
|
7
|
-
client: import("@supabase/supabase-js").SupabaseClient<any, "public", any>;
|
|
7
|
+
client: import("@supabase/supabase-js").SupabaseClient<any, "public", "public", any, any>;
|
|
8
8
|
};
|
|
9
9
|
}>;
|
|
10
10
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare const _default: import("nuxt/app").Plugin<{
|
|
2
2
|
supabase: {
|
|
3
|
-
client: import("@supabase/supabase-js").SupabaseClient<any, "public", any>;
|
|
3
|
+
client: import("@supabase/supabase-js").SupabaseClient<any, "public", "public", any, any>;
|
|
4
4
|
};
|
|
5
5
|
}> & import("nuxt/app").ObjectPlugin<{
|
|
6
6
|
supabase: {
|
|
7
|
-
client: import("@supabase/supabase-js").SupabaseClient<any, "public", any>;
|
|
7
|
+
client: import("@supabase/supabase-js").SupabaseClient<any, "public", "public", any, any>;
|
|
8
8
|
};
|
|
9
9
|
}>;
|
|
10
10
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@floatingpixels/supabase-nuxt",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "Supabase module for Nuxt",
|
|
5
5
|
"repository": "floatingpixels/supabase-nuxt",
|
|
6
6
|
"license": "MIT",
|
|
@@ -58,37 +58,37 @@
|
|
|
58
58
|
"cleanup": "pnpm nuxi cleanup && rm -rf node_modules pnpm-lock.yaml && pnpm i"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@supabase/ssr": "^0.
|
|
62
|
-
"@supabase/supabase-js": "^2.
|
|
61
|
+
"@supabase/ssr": "^0.7.0",
|
|
62
|
+
"@supabase/supabase-js": "^2.75.0",
|
|
63
63
|
"cookie": "^1.0.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@nuxt/devtools": "^2.6.
|
|
67
|
-
"@nuxt/eslint-config": "^1.
|
|
68
|
-
"@nuxt/kit": "^4.
|
|
66
|
+
"@nuxt/devtools": "^2.6.5",
|
|
67
|
+
"@nuxt/eslint-config": "^1.9.0",
|
|
68
|
+
"@nuxt/kit": "^4.1.3",
|
|
69
69
|
"@nuxt/module-builder": "^1.0.2",
|
|
70
|
-
"@nuxt/schema": "^4.
|
|
70
|
+
"@nuxt/schema": "^4.1.3",
|
|
71
71
|
"@nuxt/test-utils": "3.19.2",
|
|
72
|
-
"@playwright/test": "^1.
|
|
72
|
+
"@playwright/test": "^1.56.0",
|
|
73
73
|
"@snaplet/copycat": "^6.0.0",
|
|
74
74
|
"@snaplet/seed": "^0.98.0",
|
|
75
75
|
"@types/eslint-config-prettier": "^6.11.3",
|
|
76
|
-
"@types/node": "^24.
|
|
76
|
+
"@types/node": "^24.7.1",
|
|
77
77
|
"@vitest/coverage-v8": "3.2.4",
|
|
78
78
|
"@vue/test-utils": "^2.4.6",
|
|
79
79
|
"changelogen": "^0.6.2",
|
|
80
|
-
"eslint": "^9.
|
|
80
|
+
"eslint": "^9.37.0",
|
|
81
81
|
"eslint-config-prettier": "^10.1.8",
|
|
82
|
-
"happy-dom": "^
|
|
83
|
-
"nuxt": "^4.
|
|
84
|
-
"playwright-core": "^1.
|
|
82
|
+
"happy-dom": "^20.0.0",
|
|
83
|
+
"nuxt": "^4.1.3",
|
|
84
|
+
"playwright-core": "^1.56.0",
|
|
85
85
|
"postgres": "^3.4.7",
|
|
86
86
|
"prettier": "^3.6.2",
|
|
87
|
-
"release-it": "^19.0.
|
|
88
|
-
"supabase": "^2.
|
|
89
|
-
"typescript": "5.9.
|
|
87
|
+
"release-it": "^19.0.5",
|
|
88
|
+
"supabase": "^2.48.3",
|
|
89
|
+
"typescript": "5.9.3",
|
|
90
90
|
"vitest": "^3.2.4",
|
|
91
|
-
"vue-tsc": "^3.
|
|
91
|
+
"vue-tsc": "^3.1.1"
|
|
92
92
|
},
|
|
93
93
|
"pnpm": {
|
|
94
94
|
"onlyBuiltDependencies": [
|