@authyon/server 0.2.0-beta.21 → 0.2.0-beta.22

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/next.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
- import { R as RequestAuthorizationOptions, A as AbilitySubject, a as AuthorizationError } from './authorization-D8tznR96.js';
3
- import { A as AuthyonServerClient } from './authyonServerClient-COrfN4o_.js';
2
+ import { R as RequestAuthorizationOptions, A as AbilitySubject, a as AuthorizationError } from './authorization-Clf0Jx-U.js';
3
+ import { A as AuthyonServerClient } from './authyonServerClient-CW46xIRD.js';
4
4
  import 'jose';
5
5
 
6
6
  interface ServerPermissionGuardFallbackContext {
package/dist/next.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  AuthorizationError,
3
3
  authorizeRequest,
4
4
  authorizeToken
5
- } from "./chunk-NKWQMYB3.js";
5
+ } from "./chunk-WF26WYSX.js";
6
6
  import "./chunk-77J4NURK.js";
7
7
 
8
8
  // src/next.ts
package/package.json CHANGED
@@ -1,81 +1,81 @@
1
- {
2
- "name": "@authyon/server",
3
- "version": "0.2.0-beta.21",
4
- "description": "Authyon SDK for backends — server-to-server organization/member management and access-token verification.",
5
- "license": "MIT",
6
- "type": "module",
7
- "engines": {
8
- "node": ">=18"
9
- },
10
- "repository": {
11
- "type": "git",
12
- "url": "git+https://github.com/Synkestra/package-authyon.git",
13
- "directory": "packages/server"
14
- },
15
- "homepage": "https://authyon.com/docs",
16
- "bugs": {
17
- "url": "https://github.com/Synkestra/package-authyon/issues"
18
- },
19
- "main": "./dist/index.cjs",
20
- "module": "./dist/index.js",
21
- "types": "./dist/index.d.ts",
22
- "exports": {
23
- ".": {
24
- "types": "./dist/index.d.ts",
25
- "browser": "./dist/browser.js",
26
- "import": "./dist/index.js",
27
- "require": "./dist/index.cjs",
28
- "default": "./dist/index.js"
29
- },
30
- "./bff": {
31
- "types": "./dist/bff.d.ts",
32
- "browser": "./dist/browser.js",
33
- "import": "./dist/bff.js",
34
- "require": "./dist/bff.cjs",
35
- "default": "./dist/bff.js"
36
- },
37
- "./next": {
38
- "types": "./dist/next.d.ts",
39
- "import": "./dist/next.js",
40
- "require": "./dist/next.cjs",
41
- "default": "./dist/next.js"
42
- }
43
- },
44
- "files": [
45
- "dist"
46
- ],
47
- "sideEffects": false,
48
- "publishConfig": {
49
- "access": "public",
50
- "provenance": true
51
- },
52
- "scripts": {
53
- "build": "tsup src/index.ts src/browser.ts src/next.ts src/bff.ts --format esm,cjs --dts --clean",
54
- "typecheck": "tsc --noEmit",
55
- "prepack": "npm run build"
56
- },
57
- "keywords": [
58
- "authyon",
59
- "auth",
60
- "server-to-server",
61
- "management-api",
62
- "tokenVerification"
63
- ],
64
- "dependencies": {
65
- "jose": "^6.2.10"
66
- },
67
- "peerDependencies": {
68
- "react": ">=18.2.0"
69
- },
70
- "peerDependenciesMeta": {
71
- "react": {
72
- "optional": true
73
- }
74
- },
75
- "devDependencies": {
76
- "@types/node": "^22.20.2",
77
- "@types/react": "^19.2.18",
78
- "tsup": "^8.0.0",
79
- "typescript": "^5.5.0"
80
- }
81
- }
1
+ {
2
+ "name": "@authyon/server",
3
+ "version": "0.2.0-beta.22",
4
+ "description": "Authyon SDK for backends — server-to-server organization/member management and access-token verification.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "engines": {
8
+ "node": ">=18"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/Synkestra/package-authyon.git",
13
+ "directory": "packages/server"
14
+ },
15
+ "homepage": "https://authyon.com/docs",
16
+ "bugs": {
17
+ "url": "https://github.com/Synkestra/package-authyon/issues"
18
+ },
19
+ "main": "./dist/index.cjs",
20
+ "module": "./dist/index.js",
21
+ "types": "./dist/index.d.ts",
22
+ "exports": {
23
+ ".": {
24
+ "types": "./dist/index.d.ts",
25
+ "browser": "./dist/browser.js",
26
+ "import": "./dist/index.js",
27
+ "require": "./dist/index.cjs",
28
+ "default": "./dist/index.js"
29
+ },
30
+ "./bff": {
31
+ "types": "./dist/bff.d.ts",
32
+ "browser": "./dist/browser.js",
33
+ "import": "./dist/bff.js",
34
+ "require": "./dist/bff.cjs",
35
+ "default": "./dist/bff.js"
36
+ },
37
+ "./next": {
38
+ "types": "./dist/next.d.ts",
39
+ "import": "./dist/next.js",
40
+ "require": "./dist/next.cjs",
41
+ "default": "./dist/next.js"
42
+ }
43
+ },
44
+ "files": [
45
+ "dist"
46
+ ],
47
+ "sideEffects": false,
48
+ "publishConfig": {
49
+ "access": "public",
50
+ "provenance": true
51
+ },
52
+ "scripts": {
53
+ "build": "tsup src/index.ts src/browser.ts src/next.ts src/bff.ts --format esm,cjs --dts --clean",
54
+ "typecheck": "tsc --noEmit",
55
+ "prepack": "npm run build"
56
+ },
57
+ "keywords": [
58
+ "authyon",
59
+ "auth",
60
+ "server-to-server",
61
+ "management-api",
62
+ "tokenVerification"
63
+ ],
64
+ "dependencies": {
65
+ "jose": "^6.2.10"
66
+ },
67
+ "peerDependencies": {
68
+ "react": ">=18.2.0"
69
+ },
70
+ "peerDependenciesMeta": {
71
+ "react": {
72
+ "optional": true
73
+ }
74
+ },
75
+ "devDependencies": {
76
+ "@types/node": "^22.20.2",
77
+ "@types/react": "^19.2.18",
78
+ "tsup": "^8.0.0",
79
+ "typescript": "^5.5.0"
80
+ }
81
+ }