@authyon/auth 0.2.0-beta.0 → 0.2.0-beta.2

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/package.json CHANGED
@@ -1,37 +1,71 @@
1
- {
2
- "name": "@authyon/auth",
3
- "version": "0.2.0-beta.0",
4
- "description": "Authyon SDK for browsers — auth, sessions, multi-tenant and 2FA for vanilla JS/TS.",
5
- "license": "MIT",
6
- "type": "module",
7
- "main": "./dist/index.cjs",
8
- "module": "./dist/index.js",
9
- "types": "./dist/index.d.ts",
10
- "exports": {
11
- ".": {
12
- "types": "./dist/index.d.ts",
13
- "import": "./dist/index.js",
14
- "require": "./dist/index.cjs"
15
- }
16
- },
17
- "files": [
18
- "dist"
19
- ],
20
- "sideEffects": false,
21
- "scripts": {
22
- "build": "tsup src/index.ts --format esm,cjs --dts --clean",
23
- "typecheck": "tsc --noEmit"
24
- },
25
- "keywords": [
26
- "authyon",
27
- "auth",
28
- "authentication",
29
- "jwt",
30
- "2fa",
31
- "multi-tenant"
32
- ],
33
- "devDependencies": {
34
- "tsup": "^8.0.0",
35
- "typescript": "^5.5.0"
36
- }
37
- }
1
+ {
2
+ "name": "@authyon/auth",
3
+ "version": "0.2.0-beta.2",
4
+ "description": "Authyon SDK for browsers — auth, sessions, multi-tenant and 2FA for vanilla JS/TS.",
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/auth"
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
+ "import": "./dist/index.js",
26
+ "require": "./dist/index.cjs",
27
+ "default": "./dist/index.js"
28
+ },
29
+ "./react": {
30
+ "types": "./dist/react/index.d.ts",
31
+ "import": "./dist/react/index.js",
32
+ "require": "./dist/react/index.cjs",
33
+ "default": "./dist/react/index.js"
34
+ }
35
+ },
36
+ "files": [
37
+ "dist"
38
+ ],
39
+ "sideEffects": false,
40
+ "publishConfig": {
41
+ "access": "public",
42
+ "provenance": true
43
+ },
44
+ "scripts": {
45
+ "build": "tsup src/index.ts src/react/index.tsx --format esm,cjs --dts --clean",
46
+ "typecheck": "tsc --noEmit",
47
+ "prepack": "npm run build"
48
+ },
49
+ "keywords": [
50
+ "authyon",
51
+ "auth",
52
+ "authentication",
53
+ "jwt",
54
+ "2fa",
55
+ "multi-tenant"
56
+ ],
57
+ "devDependencies": {
58
+ "@types/react": "^19.2.18",
59
+ "react": "^19.2.8",
60
+ "tsup": "^8.0.0",
61
+ "typescript": "^5.5.0"
62
+ },
63
+ "peerDependencies": {
64
+ "react": ">=18.2.0"
65
+ },
66
+ "peerDependenciesMeta": {
67
+ "react": {
68
+ "optional": true
69
+ }
70
+ }
71
+ }