@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/README.md +541 -506
- package/dist/{authorization-Soblu-A5.d.cts → authorization-BLENxur8.d.cts} +18 -4
- package/dist/{authorization-D8tznR96.d.ts → authorization-Clf0Jx-U.d.ts} +18 -4
- package/dist/{authyonServerClient-COrfN4o_.d.cts → authyonServerClient-CW46xIRD.d.cts} +167 -9
- package/dist/{authyonServerClient-COrfN4o_.d.ts → authyonServerClient-CW46xIRD.d.ts} +167 -9
- package/dist/bff.d.cts +1 -1
- package/dist/bff.d.ts +1 -1
- package/dist/{chunk-NKWQMYB3.js → chunk-WF26WYSX.js} +37 -7
- package/dist/index.cjs +123 -14
- package/dist/index.d.cts +54 -4
- package/dist/index.d.ts +54 -4
- package/dist/index.js +86 -8
- package/dist/next.cjs +11 -1
- package/dist/next.d.cts +2 -2
- package/dist/next.d.ts +2 -2
- package/dist/next.js +1 -1
- package/package.json +81 -81
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-
|
|
3
|
-
import { A as AuthyonServerClient } from './authyonServerClient-
|
|
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
package/package.json
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@authyon/server",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
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
|
+
}
|