nuxt-auth-utils 0.3.1 → 0.3.2

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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "auth-utils",
3
3
  "configKey": "auth",
4
- "version": "0.3.1",
4
+ "version": "0.3.2",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.1",
7
7
  "unbuild": "2.0.0"
@@ -1,13 +1,13 @@
1
1
  <script lang="ts" setup>
2
2
  import { useUserSession } from '#imports'
3
3
 
4
- const { loggedIn, user, clear, ready } = useUserSession()
4
+ const { loggedIn, user, session, clear, ready } = useUserSession()
5
5
  </script>
6
6
 
7
7
  <template>
8
8
  <slot
9
9
  v-if="ready"
10
- v-bind="{ loggedIn, user, clear }"
10
+ v-bind="{ loggedIn, user, session, clear }"
11
11
  />
12
12
  <slot
13
13
  v-else
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-auth-utils",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Minimalist Auth module for Nuxt with SSR",
5
5
  "repository": "Atinux/nuxt-auth-utils",
6
6
  "license": "MIT",