Files
supabase/examples/user-management/solid-user-management/package.json
T
slegarragaandChris Chinchilla d727d33db9 docs: replace deprecated getSession with getClaims in SolidJS tutorial (#43034)
Fixes #42192

Replaces the deprecated `getSession` call with `getClaims` in the
SolidJS tutorial documentation (`with-solidjs.mdx`).

Changes:
- `supabase.auth.getSession()` → `supabase.auth.getClaims()`
- `data.session` → `data.claims`

This follows the recommended migration pattern per the Supabase auth
docs, and is consistent with the same fix applied to the Refine tutorial
in #43006.

---------

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2026-02-25 08:30:14 +01:00

24 lines
490 B
JSON

{
"name": "solidjs-user-management",
"version": "0.2.0",
"description": "",
"scripts": {
"start": "vite",
"dev": "vite",
"build": "vite build",
"serve": "vite preview",
"format": "prettier --cache --write \"src/*.{js,json,ts,tsx,jsx}\""
},
"license": "MIT",
"devDependencies": {
"prettier": "^3.8.1",
"typescript": "^5.9.3",
"vite": "^7.3.1",
"vite-plugin-solid": "^2.11.10"
},
"dependencies": {
"@supabase/supabase-js": "^2.97.0",
"solid-js": "^1.9.11"
}
}