@authup/client-web-nuxt 1.0.0-beta.50 → 1.0.0-beta.51

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.50",
4
+ "version": "1.0.0-beta.51",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -5,7 +5,7 @@ import {
5
5
  storeToRefs
6
6
  } from "@authup/client-web-kit";
7
7
  import { hasOwnProperty, omitRecord } from "@authup/kit";
8
- import { BuiltInPolicyType, PolicyData } from "@authup/access";
8
+ import { BuiltInPolicyType, definePolicyData } from "@authup/access";
9
9
  import { RouteMetaKey } from "../constants.js";
10
10
  export class RoutingInterceptor {
11
11
  store;
@@ -163,7 +163,7 @@ export class RoutingInterceptor {
163
163
  try {
164
164
  await this.store.permissionEvaluator.preEvaluateOneOf({
165
165
  name: permissions,
166
- input: new PolicyData({ [BuiltInPolicyType.IDENTITY]: identity })
166
+ data: definePolicyData({ [BuiltInPolicyType.IDENTITY]: identity })
167
167
  });
168
168
  } catch {
169
169
  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.50",
4
+ "version": "1.0.0-beta.51",
5
5
  "description": "Nuxt module for the authup ecosystem",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -30,15 +30,16 @@
30
30
  "node": "^22.13.0 || ^23.5.0 || >=24.0.0"
31
31
  },
32
32
  "dependencies": {
33
- "@authup/access": "^1.0.0-beta.50",
34
- "@authup/client-web-kit": "^1.0.0-beta.50",
35
- "@authup/kit": "^1.0.0-beta.50",
33
+ "@authup/access": "^1.0.0-beta.51",
34
+ "@authup/client-web-kit": "^1.0.0-beta.51",
35
+ "@authup/kit": "^1.0.0-beta.51",
36
36
  "@nuxt/kit": "^4.0.0",
37
37
  "pathtrace": "^2.2.0",
38
38
  "smob": "^1.6.1"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@nuxt/module-builder": "^1.0.2",
42
+ "@nuxt/schema": "^4.0.0",
42
43
  "@pinia/nuxt": "^0.11.3",
43
44
  "fix-dts-default-cjs-exports": "^1.0.1",
44
45
  "mkdist": "^2.3.0",
@@ -50,7 +51,7 @@
50
51
  },
51
52
  "peerDependencies": {
52
53
  "@pinia/nuxt": "*",
53
- "pinia": "^2.x || ^3.x"
54
+ "pinia": "^3.0.0"
54
55
  },
55
56
  "keywords": [
56
57
  "auth",