@absolutejs/auth 0.32.0 → 0.34.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/client/solid.d.ts +63 -0
- package/dist/client/solid.js +73 -0
- package/dist/client/solid.js.map +10 -0
- package/dist/client/svelte.d.ts +63 -0
- package/dist/client/svelte.js +61 -0
- package/dist/client/svelte.js.map +10 -0
- package/dist/client/vue.d.ts +63 -0
- package/dist/client/vue.js +73 -0
- package/dist/client/vue.js.map +10 -0
- package/dist/fga/config.d.ts +3 -3
- package/dist/fga/redisCheckCache.d.ts +11 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +26 -2
- package/dist/index.js.map +6 -5
- package/package.json +31 -4
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.34.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 src/client/index.ts src/client/react.ts src/plugins/index.ts --outdir dist --sourcemap --target=bun --external elysia --external react && bun build src/fingerprint-client/index.ts --outdir dist/fingerprint-client --sourcemap --target=browser && 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 src/client/vue.ts src/client/solid.ts src/client/svelte.ts src/plugins/index.ts --outdir dist --sourcemap --target=bun --external elysia --external react --external vue --external solid-js --external svelte && bun build src/fingerprint-client/index.ts --outdir dist/fingerprint-client --sourcemap --target=browser && tsc --emitDeclarationOnly --project tsconfig.json",
|
|
14
14
|
"config": "absolute config",
|
|
15
15
|
"test": "bun test",
|
|
16
16
|
"format": "absolute prettier --write",
|
|
@@ -29,11 +29,23 @@
|
|
|
29
29
|
"types": "./dist/index.d.ts",
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"elysia": ">= 1.4.26",
|
|
32
|
-
"react": ">=18 <20"
|
|
32
|
+
"react": ">=18 <20",
|
|
33
|
+
"solid-js": ">=1.8",
|
|
34
|
+
"svelte": ">=4",
|
|
35
|
+
"vue": ">=3.4"
|
|
33
36
|
},
|
|
34
37
|
"peerDependenciesMeta": {
|
|
35
38
|
"react": {
|
|
36
39
|
"optional": true
|
|
40
|
+
},
|
|
41
|
+
"solid-js": {
|
|
42
|
+
"optional": true
|
|
43
|
+
},
|
|
44
|
+
"svelte": {
|
|
45
|
+
"optional": true
|
|
46
|
+
},
|
|
47
|
+
"vue": {
|
|
48
|
+
"optional": true
|
|
37
49
|
}
|
|
38
50
|
},
|
|
39
51
|
"dependencies": {
|
|
@@ -56,8 +68,11 @@
|
|
|
56
68
|
"eslint-plugin-security": "^4.0.0",
|
|
57
69
|
"globals": "^17.4.0",
|
|
58
70
|
"prettier": "3.5.3",
|
|
71
|
+
"solid-js": "^1.9.13",
|
|
72
|
+
"svelte": "^5.55.9",
|
|
59
73
|
"typescript": "5.8.3",
|
|
60
|
-
"typescript-eslint": "^8.57.2"
|
|
74
|
+
"typescript-eslint": "^8.57.2",
|
|
75
|
+
"vue": "^3.5.34"
|
|
61
76
|
},
|
|
62
77
|
"module": "./dist/index.js",
|
|
63
78
|
"exports": {
|
|
@@ -84,6 +99,18 @@
|
|
|
84
99
|
"./react": {
|
|
85
100
|
"import": "./dist/client/react.js",
|
|
86
101
|
"types": "./dist/client/react.d.ts"
|
|
102
|
+
},
|
|
103
|
+
"./solid": {
|
|
104
|
+
"import": "./dist/client/solid.js",
|
|
105
|
+
"types": "./dist/client/solid.d.ts"
|
|
106
|
+
},
|
|
107
|
+
"./svelte": {
|
|
108
|
+
"import": "./dist/client/svelte.js",
|
|
109
|
+
"types": "./dist/client/svelte.d.ts"
|
|
110
|
+
},
|
|
111
|
+
"./vue": {
|
|
112
|
+
"import": "./dist/client/vue.js",
|
|
113
|
+
"types": "./dist/client/vue.d.ts"
|
|
87
114
|
}
|
|
88
115
|
},
|
|
89
116
|
"type": "module",
|