@meistrari/auth-nuxt 3.29.0 → 3.29.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": "@meistrari/auth-nuxt",
3
3
  "configKey": "telaAuth",
4
- "version": "3.29.0",
4
+ "version": "3.29.2",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -117,8 +117,9 @@ export default defineNuxtPlugin({
117
117
  // failure keeps the session and reschedules.
118
118
  onAuthFailure: async () => {
119
119
  await sdkLogout();
120
+ const authMeta = route.meta.auth;
120
121
  const currentPath = decodeURI(route.path);
121
- if (!exemptPaths.includes(currentPath)) {
122
+ if (!(authMeta === false) && !exemptPaths.includes(currentPath)) {
122
123
  await navigateTo({
123
124
  path: loginPath,
124
125
  query: { returnTo: route.fullPath }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/auth-nuxt",
3
- "version": "3.29.0",
3
+ "version": "3.29.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -36,7 +36,7 @@
36
36
  "docs": "nuxt-module-build prepare && typedoc"
37
37
  },
38
38
  "dependencies": {
39
- "@meistrari/auth-core": "1.39.0",
39
+ "@meistrari/auth-core": "1.39.2",
40
40
  "jose": "6.1.3"
41
41
  },
42
42
  "peerDependencies": {