@molecule/api-external-auth-supabase 1.0.3 → 1.0.4
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 +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
|
|
|
3
3
|
Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
|
|
4
4
|
Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
|
|
5
5
|
To change this document, edit the module-level JSDoc in src/index.ts.
|
|
6
|
-
Generated: 2026-10-
|
|
6
|
+
Generated: 2026-10-26T04:22:45.201Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/api-external-auth-supabase
|
|
@@ -135,7 +135,7 @@ by Row Level Security. Use it for `verifyUserToken()` and for PostgREST
|
|
|
135
135
|
reads/writes that RLS already permits.
|
|
136
136
|
|
|
137
137
|
```typescript
|
|
138
|
-
function getAnonClient(): SupabaseClient
|
|
138
|
+
function getAnonClient(): SupabaseClient
|
|
139
139
|
```
|
|
140
140
|
|
|
141
141
|
#### `hasServiceRole()`
|
|
@@ -157,7 +157,7 @@ Row Level Security — server-only, for admin operations the anon client
|
|
|
157
157
|
cannot perform.
|
|
158
158
|
|
|
159
159
|
```typescript
|
|
160
|
-
function getServiceClient(): SupabaseClient
|
|
160
|
+
function getServiceClient(): SupabaseClient
|
|
161
161
|
```
|
|
162
162
|
|
|
163
163
|
#### `resetSupabase()`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/api-external-auth-supabase",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "External authentication provider using Supabase for molecule.dev — verifies Supabase user JWTs server-side with the public anon key",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|