@thetechfossil/auth2 1.2.4 → 1.2.6

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,88 +1,95 @@
1
- {
2
- "name": "@thetechfossil/auth2",
3
- "version": "1.2.4",
4
- "description": "Authentication SDK for easy integration with Auth backend",
5
- "main": "dist/index.js",
6
- "module": "dist/index.mjs",
7
- "types": "dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "import": "./dist/index.mjs",
11
- "require": "./dist/index.js",
12
- "types": "./dist/index.d.ts"
13
- },
14
- "./next": {
15
- "import": "./next/index.mjs",
16
- "require": "./next/index.js",
17
- "types": "./dist/index.next.d.ts"
18
- },
19
- "./next/server": {
20
- "import": "./next/server.mjs",
21
- "require": "./next/server.js",
22
- "types": "./dist/index.next.server.d.ts"
23
- },
24
- "./node": {
25
- "import": "./dist/index.node.mjs",
26
- "require": "./dist/index.node.js",
27
- "types": "./dist/index.node.d.ts"
28
- },
29
- "./react": {
30
- "import": "./dist/index.mjs",
31
- "require": "./dist/index.js",
32
- "types": "./dist/index.d.ts"
33
- }
34
- },
35
- "files": [
36
- "dist/**/*",
37
- "next/**/*"
38
- ],
39
- "scripts": {
40
- "build": "tsup && node scripts/add-use-client.js",
41
- "dev": "tsup --watch",
42
- "test": "jest",
43
- "test:integration": "node scripts/test-node-integration.js",
44
- "test:react": "node scripts/test-react-integration.js",
45
- "test:nextjs": "node scripts/test-nextjs-integration.js",
46
- "test:ui": "node scripts/test-ui-components.js",
47
- "validate:docs": "node scripts/validate-docs.js",
48
- "prepublishOnly": "pnpm run build"
49
- },
50
- "keywords": [
51
- "auth",
52
- "authentication",
53
- "sdk",
54
- "react",
55
- "nextjs",
56
- "nodejs"
57
- ],
58
- "author": "Auth Team",
59
- "license": "MIT",
60
- "publishConfig": {
61
- "access": "public"
62
- },
63
- "devDependencies": {
64
- "@types/jest": "^29.0.0",
65
- "@types/node": "^18.0.0",
66
- "@types/react": "^19.2.7",
67
- "@types/react-dom": "^19.2.3",
68
- "jest": "^29.0.0",
69
- "tsup": "^6.7.0",
70
- "typescript": "^5.0.0"
71
- },
72
- "peerDependencies": {
73
- "next": ">=12.0.0",
74
- "react": ">=17.0.0"
75
- },
76
- "peerDependenciesMeta": {
77
- "react": {
78
- "optional": true
79
- },
80
- "next": {
81
- "optional": true
82
- }
83
- },
84
- "dependencies": {
85
- "axios": "^1.13.2",
86
- "react-phone-number-input": "^3.4.14"
87
- }
88
- }
1
+ {
2
+ "name": "@thetechfossil/auth2",
3
+ "version": "1.2.6",
4
+ "description": "Authentication SDK for easy integration with Auth backend",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/index.mjs",
11
+ "require": "./dist/index.js",
12
+ "types": "./dist/index.d.ts"
13
+ },
14
+ "./next": {
15
+ "import": "./next/index.mjs",
16
+ "require": "./next/index.js",
17
+ "types": "./dist/index.next.d.ts"
18
+ },
19
+ "./next/server": {
20
+ "import": "./next/server.mjs",
21
+ "require": "./next/server.js",
22
+ "types": "./dist/index.next.server.d.ts"
23
+ },
24
+ "./node": {
25
+ "import": "./dist/index.node.mjs",
26
+ "require": "./dist/index.node.js",
27
+ "types": "./dist/index.node.d.ts"
28
+ },
29
+ "./react": {
30
+ "import": "./dist/index.mjs",
31
+ "require": "./dist/index.js",
32
+ "types": "./dist/index.d.ts"
33
+ }
34
+ },
35
+ "files": [
36
+ "dist/**/*",
37
+ "next/**/*"
38
+ ],
39
+ "scripts": {
40
+ "build": "tsup && node scripts/add-use-client.js",
41
+ "dev": "tsup --watch",
42
+ "test": "jest",
43
+ "test:integration": "node scripts/test-node-integration.js",
44
+ "test:react": "node scripts/test-react-integration.js",
45
+ "test:nextjs": "node scripts/test-nextjs-integration.js",
46
+ "test:ui": "node scripts/test-ui-components.js",
47
+ "validate:docs": "node scripts/validate-docs.js",
48
+ "prepublishOnly": "pnpm run build"
49
+ },
50
+ "keywords": [
51
+ "auth",
52
+ "authentication",
53
+ "sdk",
54
+ "react",
55
+ "nextjs",
56
+ "nodejs"
57
+ ],
58
+ "author": "Auth Team",
59
+ "license": "MIT",
60
+ "homepage": "https://ttf-auth-docs.netlify.app/",
61
+ "repository": {
62
+ "type": "git",
63
+ "url": "https://github.com/thetechfossil/auths"
64
+ },
65
+ "publishConfig": {
66
+ "access": "public"
67
+ },
68
+ "devDependencies": {
69
+ "@types/jest": "^29.0.0",
70
+ "@types/node": "^18.0.0",
71
+ "@types/react": "^19.2.7",
72
+ "@types/react-dom": "^19.2.3",
73
+ "jest": "^29.0.0",
74
+ "next": "^14.0.0",
75
+ "react": "^18.0.0",
76
+ "tsup": "^6.7.0",
77
+ "typescript": "^5.0.0"
78
+ },
79
+ "peerDependencies": {
80
+ "next": ">=12.0.0",
81
+ "react": ">=17.0.0"
82
+ },
83
+ "peerDependenciesMeta": {
84
+ "react": {
85
+ "optional": true
86
+ },
87
+ "next": {
88
+ "optional": true
89
+ }
90
+ },
91
+ "dependencies": {
92
+ "axios": "^1.13.2",
93
+ "react-phone-number-input": "^3.4.14"
94
+ }
95
+ }