@absolutejs/auth 0.27.0-beta.9 → 0.28.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/dist/abuse/captcha.d.ts +11 -0
- package/dist/actions.d.ts +27 -0
- package/dist/client/createAuthClient.d.ts +258 -0
- package/dist/client/index.d.ts +1 -0
- package/dist/client/index.js +127 -0
- package/dist/client/index.js.map +10 -0
- package/dist/client/react.d.ts +62 -0
- package/dist/client/react.js +75 -0
- package/dist/client/react.js.map +10 -0
- package/dist/fga/config.d.ts +10 -0
- package/dist/index.d.ts +119 -5
- package/dist/index.js +9700 -9028
- package/dist/index.js.map +19 -14
- package/dist/oidc/config.d.ts +97 -2
- package/dist/oidc/inMemoryStores.d.ts +2 -1
- package/dist/oidc/postgresStores.d.ts +199 -1
- package/dist/oidc/routes.d.ts +111 -3
- package/dist/oidc/types.d.ts +20 -0
- package/dist/organizations/operations.d.ts +7 -0
- package/dist/vault/config.d.ts +20 -0
- package/dist/vault/inMemoryVaultStore.d.ts +2 -0
- package/dist/vault/postgresVaultStore.d.ts +100 -0
- package/dist/vault/types.d.ts +14 -0
- package/package.json +18 -3
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.28.0",
|
|
3
3
|
"name": "@absolutejs/auth",
|
|
4
4
|
"description": "An authorization library for absolutejs",
|
|
5
5
|
"repository": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"license": "CC BY-NC 4.0",
|
|
11
11
|
"author": "Alex Kahn",
|
|
12
12
|
"scripts": {
|
|
13
|
-
"build": "rm -rf dist && bun build src/index.ts src/htmx/index.ts --outdir dist --sourcemap --target=bun --external elysia && tsc --emitDeclarationOnly --project tsconfig.json",
|
|
13
|
+
"build": "rm -rf dist && bun build src/index.ts src/htmx/index.ts src/client/index.ts src/client/react.ts --outdir dist --sourcemap --target=bun --external elysia --external react && tsc --emitDeclarationOnly --project tsconfig.json",
|
|
14
14
|
"config": "absolute config",
|
|
15
15
|
"test": "bun test",
|
|
16
16
|
"format": "absolute prettier --write",
|
|
@@ -27,7 +27,13 @@
|
|
|
27
27
|
],
|
|
28
28
|
"types": "./dist/index.d.ts",
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"elysia": ">= 1.4.26"
|
|
30
|
+
"elysia": ">= 1.4.26",
|
|
31
|
+
"react": ">=18 <20"
|
|
32
|
+
},
|
|
33
|
+
"peerDependenciesMeta": {
|
|
34
|
+
"react": {
|
|
35
|
+
"optional": true
|
|
36
|
+
}
|
|
31
37
|
},
|
|
32
38
|
"dependencies": {
|
|
33
39
|
"@absolutejs/linked-providers": "0.0.2",
|
|
@@ -40,6 +46,7 @@
|
|
|
40
46
|
"@eslint/js": "^10.0.1",
|
|
41
47
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
42
48
|
"@types/bun": "1.2.9",
|
|
49
|
+
"@types/react": "^19.0.0",
|
|
43
50
|
"@typescript-eslint/parser": "^8.57.2",
|
|
44
51
|
"elysia": "1.4.26",
|
|
45
52
|
"eslint": "^10.1.0",
|
|
@@ -57,9 +64,17 @@
|
|
|
57
64
|
"import": "./dist/index.js",
|
|
58
65
|
"types": "./dist/index.d.ts"
|
|
59
66
|
},
|
|
67
|
+
"./client": {
|
|
68
|
+
"import": "./dist/client/index.js",
|
|
69
|
+
"types": "./dist/client/index.d.ts"
|
|
70
|
+
},
|
|
60
71
|
"./htmx": {
|
|
61
72
|
"import": "./dist/htmx/index.js",
|
|
62
73
|
"types": "./dist/htmx/index.d.ts"
|
|
74
|
+
},
|
|
75
|
+
"./react": {
|
|
76
|
+
"import": "./dist/client/react.js",
|
|
77
|
+
"types": "./dist/client/react.d.ts"
|
|
63
78
|
}
|
|
64
79
|
},
|
|
65
80
|
"type": "module",
|