@holeauth/core 0.0.1-alpha.0
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/LICENSE +21 -0
- package/README.md +5 -0
- package/cjs-error.cjs +8 -0
- package/dist/adapters/index.d.ts +1 -0
- package/dist/adapters/index.js +3 -0
- package/dist/adapters/index.js.map +1 -0
- package/dist/cookies/index.d.ts +3 -0
- package/dist/cookies/index.js +74 -0
- package/dist/cookies/index.js.map +1 -0
- package/dist/errors/index.d.ts +40 -0
- package/dist/errors/index.js +70 -0
- package/dist/errors/index.js.map +1 -0
- package/dist/events/index.d.ts +3 -0
- package/dist/events/index.js +52 -0
- package/dist/events/index.js.map +1 -0
- package/dist/flows/index.d.ts +4 -0
- package/dist/flows/index.js +835 -0
- package/dist/flows/index.js.map +1 -0
- package/dist/index-BIXESLma.d.ts +58 -0
- package/dist/index-BYtkmk9_.d.ts +18 -0
- package/dist/index-BbEXbI_k.d.ts +116 -0
- package/dist/index-BmYQquGs.d.ts +563 -0
- package/dist/index-BwEvEa8-.d.ts +20 -0
- package/dist/index-CHS-socJ.d.ts +97 -0
- package/dist/index-CNtnPdzk.d.ts +136 -0
- package/dist/index-CjEXpqaW.d.ts +22 -0
- package/dist/index-CotvcK_b.d.ts +42 -0
- package/dist/index-D57PvFMN.d.ts +105 -0
- package/dist/index-DRN-5E_H.d.ts +26 -0
- package/dist/index.d.ts +39 -0
- package/dist/index.js +1757 -0
- package/dist/index.js.map +1 -0
- package/dist/jwt/index.d.ts +2 -0
- package/dist/jwt/index.js +53 -0
- package/dist/jwt/index.js.map +1 -0
- package/dist/otp/index.d.ts +1 -0
- package/dist/otp/index.js +16 -0
- package/dist/otp/index.js.map +1 -0
- package/dist/password/index.d.ts +1 -0
- package/dist/password/index.js +75 -0
- package/dist/password/index.js.map +1 -0
- package/dist/plugins/index.d.ts +4 -0
- package/dist/plugins/index.js +480 -0
- package/dist/plugins/index.js.map +1 -0
- package/dist/registry-CZhM1tEB.d.ts +101 -0
- package/dist/session/index.d.ts +3 -0
- package/dist/session/index.js +346 -0
- package/dist/session/index.js.map +1 -0
- package/dist/sso/index.d.ts +3 -0
- package/dist/sso/index.js +475 -0
- package/dist/sso/index.js.map +1 -0
- package/package.json +121 -0
package/package.json
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@holeauth/core",
|
|
3
|
+
"version": "0.0.1-alpha.0",
|
|
4
|
+
"description": "Edge-native auth primitives: JWT, sessions, password hashing, OTP, OIDC, plugin system, adapter interfaces.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Robert Kratz",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/robert-kratz/holeauth.git",
|
|
10
|
+
"directory": "packages/core"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://robert-kratz.github.io/holeauth",
|
|
13
|
+
"bugs": "https://github.com/robert-kratz/holeauth/issues",
|
|
14
|
+
"keywords": [
|
|
15
|
+
"auth",
|
|
16
|
+
"jwt",
|
|
17
|
+
"jose",
|
|
18
|
+
"edge",
|
|
19
|
+
"oidc",
|
|
20
|
+
"plugins",
|
|
21
|
+
"holeauth"
|
|
22
|
+
],
|
|
23
|
+
"sideEffects": false,
|
|
24
|
+
"type": "module",
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"import": "./dist/index.js",
|
|
30
|
+
"require": "./cjs-error.cjs"
|
|
31
|
+
},
|
|
32
|
+
"./jwt": {
|
|
33
|
+
"types": "./dist/jwt/index.d.ts",
|
|
34
|
+
"import": "./dist/jwt/index.js",
|
|
35
|
+
"require": "./cjs-error.cjs"
|
|
36
|
+
},
|
|
37
|
+
"./session": {
|
|
38
|
+
"types": "./dist/session/index.d.ts",
|
|
39
|
+
"import": "./dist/session/index.js",
|
|
40
|
+
"require": "./cjs-error.cjs"
|
|
41
|
+
},
|
|
42
|
+
"./password": {
|
|
43
|
+
"types": "./dist/password/index.d.ts",
|
|
44
|
+
"import": "./dist/password/index.js",
|
|
45
|
+
"require": "./cjs-error.cjs"
|
|
46
|
+
},
|
|
47
|
+
"./otp": {
|
|
48
|
+
"types": "./dist/otp/index.d.ts",
|
|
49
|
+
"import": "./dist/otp/index.js",
|
|
50
|
+
"require": "./cjs-error.cjs"
|
|
51
|
+
},
|
|
52
|
+
"./sso": {
|
|
53
|
+
"types": "./dist/sso/index.d.ts",
|
|
54
|
+
"import": "./dist/sso/index.js",
|
|
55
|
+
"require": "./cjs-error.cjs"
|
|
56
|
+
},
|
|
57
|
+
"./adapters": {
|
|
58
|
+
"types": "./dist/adapters/index.d.ts",
|
|
59
|
+
"import": "./dist/adapters/index.js",
|
|
60
|
+
"require": "./cjs-error.cjs"
|
|
61
|
+
},
|
|
62
|
+
"./errors": {
|
|
63
|
+
"types": "./dist/errors/index.d.ts",
|
|
64
|
+
"import": "./dist/errors/index.js",
|
|
65
|
+
"require": "./cjs-error.cjs"
|
|
66
|
+
},
|
|
67
|
+
"./cookies": {
|
|
68
|
+
"types": "./dist/cookies/index.d.ts",
|
|
69
|
+
"import": "./dist/cookies/index.js",
|
|
70
|
+
"require": "./cjs-error.cjs"
|
|
71
|
+
},
|
|
72
|
+
"./events": {
|
|
73
|
+
"types": "./dist/events/index.d.ts",
|
|
74
|
+
"import": "./dist/events/index.js",
|
|
75
|
+
"require": "./cjs-error.cjs"
|
|
76
|
+
},
|
|
77
|
+
"./flows": {
|
|
78
|
+
"types": "./dist/flows/index.d.ts",
|
|
79
|
+
"import": "./dist/flows/index.js",
|
|
80
|
+
"require": "./cjs-error.cjs"
|
|
81
|
+
},
|
|
82
|
+
"./plugins": {
|
|
83
|
+
"types": "./dist/plugins/index.d.ts",
|
|
84
|
+
"import": "./dist/plugins/index.js",
|
|
85
|
+
"require": "./cjs-error.cjs"
|
|
86
|
+
},
|
|
87
|
+
"./package.json": "./package.json"
|
|
88
|
+
},
|
|
89
|
+
"files": [
|
|
90
|
+
"dist",
|
|
91
|
+
"README.md",
|
|
92
|
+
"LICENSE",
|
|
93
|
+
"cjs-error.cjs"
|
|
94
|
+
],
|
|
95
|
+
"publishConfig": {
|
|
96
|
+
"access": "public",
|
|
97
|
+
"provenance": true
|
|
98
|
+
},
|
|
99
|
+
"dependencies": {
|
|
100
|
+
"jose": "^5.9.3"
|
|
101
|
+
},
|
|
102
|
+
"optionalDependencies": {
|
|
103
|
+
"@node-rs/argon2": "^2.0.0"
|
|
104
|
+
},
|
|
105
|
+
"devDependencies": {
|
|
106
|
+
"@types/node": "^20.16.10",
|
|
107
|
+
"tsup": "^8.3.0",
|
|
108
|
+
"typescript": "^5.6.2",
|
|
109
|
+
"vitest": "^2.1.2",
|
|
110
|
+
"@holeauth/eslint-config": "0.0.0",
|
|
111
|
+
"@holeauth/tsconfig": "0.0.0"
|
|
112
|
+
},
|
|
113
|
+
"scripts": {
|
|
114
|
+
"build": "tsup",
|
|
115
|
+
"dev": "tsup --watch",
|
|
116
|
+
"clean": "rm -rf dist .turbo",
|
|
117
|
+
"lint": "echo 'lint skipped'",
|
|
118
|
+
"typecheck": "tsc --noEmit",
|
|
119
|
+
"test": "vitest run --passWithNoTests"
|
|
120
|
+
}
|
|
121
|
+
}
|