Skip to content

Commit b4af593

Browse files
authored
docs: Last fixes to 0.6.0 docs (#569)
1 parent 7e65486 commit b4af593

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/content/1.getting-started/1.index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "Introduction to `nuxt-auth` and its features as an authentication
55
# Introduction
66

77
::alert{type="info"}
8-
These are the docs for the experimental v0.6 version of `nuxt-auth` with static Nuxt 3 and `local` provider support. [Checkout the `0.5`-docs](/nuxt-auth/getting-started) for the nuxt-auth-version <=0.5.
8+
These are the docs for the new v0.6 version of `nuxt-auth` with static Nuxt 3 and `local` provider support. [Checkout the `0.5`-docs](/nuxt-auth/getting-started) for the nuxt-auth-version <=0.5.
99
::
1010

1111
`nuxt-auth` is an open source Nuxt module that provides authentication for Nuxt 3 applications.

docs/content/3.application-side/2.session-access-and-management.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ const {
183183
loading,
184184
data,
185185
lastRefreshedAt
186-
} = useAuth()
186+
} = useAuthState()
187187

188188
// Session status, either `unauthenticated`, `loading`, `authenticated`
189189
status.value
@@ -205,9 +205,9 @@ const {
205205
lastRefreshedAt,
206206
token,
207207
rawToken,
208-
getToken,
208+
setToken,
209209
clearToken
210-
} = useAuth()
210+
} = useAuthState()
211211

212212
// Session status, either `unauthenticated`, `loading`, `authenticated`
213213
status.value

docs/content/v0.5/1.getting-started/2.installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ description: "How to install nuxt-auth."
77
You can install `nuxt-auth` via `npm`, `yarn` or `pnpm`:
88
::code-group
99
```bash [npm]
10-
npm i -D @sidebase/nuxt-auth
10+
npm i -D @sidebase/nuxt-auth@0.5.0
1111
```
1212
```bash [yarn]
13-
yarn add --dev @sidebase/nuxt-auth
13+
yarn add --dev @sidebase/nuxt-auth@0.5.0
1414
```
1515
```bash [pnpm]
16-
pnpm i -D @sidebase/nuxt-auth
16+
pnpm i -D @sidebase/nuxt-auth@0.5.0
1717
```
1818
::
1919

0 commit comments

Comments
 (0)