@authup/client-web-nuxt 1.0.0-beta.32 → 1.0.0-beta.34

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": "@authup/client-web-nuxt",
3
3
  "configKey": "authup",
4
- "version": "1.0.0-beta.32",
4
+ "version": "1.0.0-beta.34",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -62,19 +62,13 @@ export class RoutingInterceptor {
62
62
  if (!isValid) {
63
63
  if (from.path === to.path) {
64
64
  await this.store.logout();
65
- return {
66
- path: this.loginRoute
67
- };
65
+ return { path: this.loginRoute };
68
66
  }
69
67
  if (this.hasLoggedOutCondition(from)) {
70
68
  await this.store.logout();
71
- return {
72
- path: from.fullPath
73
- };
69
+ return { path: from.fullPath };
74
70
  }
75
- return {
76
- path: from.fullPath
77
- };
71
+ return { path: from.fullPath };
78
72
  }
79
73
  return void 0;
80
74
  }
@@ -135,9 +129,7 @@ export class RoutingInterceptor {
135
129
  try {
136
130
  await this.store.permissionEvaluator.preEvaluateOneOf({
137
131
  name: permissions,
138
- input: new PolicyData({
139
- [BuiltInPolicyType.IDENTITY]: identity
140
- })
132
+ input: new PolicyData({ [BuiltInPolicyType.IDENTITY]: identity })
141
133
  });
142
134
  } catch {
143
135
  return false;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@authup/client-web-nuxt",
3
3
  "type": "module",
4
- "version": "1.0.0-beta.32",
4
+ "version": "1.0.0-beta.34",
5
5
  "description": "Nuxt module for the authup ecosystem",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -30,11 +30,11 @@
30
30
  "node": "^20.19.0 || ^22.13.0 || ^23.5.0 || >=24.0.0"
31
31
  },
32
32
  "dependencies": {
33
- "@authup/access": "^1.0.0-beta.32",
34
- "@authup/client-web-kit": "^1.0.0-beta.32",
35
- "@authup/kit": "^1.0.0-beta.32",
33
+ "@authup/access": "^1.0.0-beta.34",
34
+ "@authup/client-web-kit": "^1.0.0-beta.34",
35
+ "@authup/kit": "^1.0.0-beta.34",
36
36
  "@nuxt/kit": "^4.0.0",
37
- "pathtrace": "^2.1.0",
37
+ "pathtrace": "^2.2.0",
38
38
  "smob": "^1.6.1"
39
39
  },
40
40
  "devDependencies": {