@thetechfossil/auth2 1.2.13 → 1.2.15
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/index.components.d.mts +247 -0
- package/dist/index.components.d.ts +1 -1
- package/dist/index.components.js +46 -88
- package/dist/index.components.js.map +1 -1
- package/dist/index.components.mjs +46 -88
- package/dist/index.components.mjs.map +1 -1
- package/dist/index.d.mts +558 -0
- package/dist/index.d.ts +3 -33
- package/dist/index.js +51 -93
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +46 -88
- package/dist/index.mjs.map +1 -1
- package/dist/index.next.d.mts +530 -0
- package/dist/index.next.d.ts +1 -1
- package/dist/index.next.js +46 -88
- package/dist/index.next.js.map +1 -1
- package/dist/index.next.mjs +47 -89
- package/dist/index.next.mjs.map +1 -1
- package/dist/index.next.server.d.mts +272 -0
- package/dist/index.next.server.d.ts +1 -1
- package/dist/index.next.server.js +7 -11
- package/dist/index.next.server.js.map +1 -1
- package/dist/index.next.server.mjs +7 -11
- package/dist/index.next.server.mjs.map +1 -1
- package/dist/index.node.d.mts +227 -0
- package/dist/index.node.d.ts +1 -1
- package/dist/index.node.js +3 -5
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +3 -5
- package/dist/index.node.mjs.map +1 -1
- package/package.json +101 -102
package/package.json
CHANGED
|
@@ -1,103 +1,102 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@thetechfossil/auth2",
|
|
3
|
-
"version": "1.2.
|
|
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
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
},
|
|
68
|
-
"
|
|
69
|
-
"@
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"react":
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"next":
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
"
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
"
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
"
|
|
101
|
-
|
|
102
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@thetechfossil/auth2",
|
|
3
|
+
"version": "1.2.15",
|
|
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
|
+
"keywords": [
|
|
40
|
+
"auth",
|
|
41
|
+
"authentication",
|
|
42
|
+
"sdk",
|
|
43
|
+
"react",
|
|
44
|
+
"nextjs",
|
|
45
|
+
"nodejs"
|
|
46
|
+
],
|
|
47
|
+
"author": "Auth Team",
|
|
48
|
+
"license": "MIT",
|
|
49
|
+
"homepage": "https://ttf-auth-docs.netlify.app/",
|
|
50
|
+
"repository": {
|
|
51
|
+
"type": "git",
|
|
52
|
+
"url": "https://github.com/thetechfossil/auths"
|
|
53
|
+
},
|
|
54
|
+
"publishConfig": {
|
|
55
|
+
"access": "public"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@types/jest": "^30.0.0",
|
|
59
|
+
"@types/node": "^24.10.2",
|
|
60
|
+
"@types/react": "^19.2.7",
|
|
61
|
+
"@types/react-dom": "^19.2.3",
|
|
62
|
+
"jest": "^30.2.0",
|
|
63
|
+
"next": "^16.0.8",
|
|
64
|
+
"react": "^19.2.1",
|
|
65
|
+
"tsup": "^8.5.1",
|
|
66
|
+
"typescript": "^5.9.3"
|
|
67
|
+
},
|
|
68
|
+
"peerDependencies": {
|
|
69
|
+
"@radix-ui/react-dialog": ">=1.0.0",
|
|
70
|
+
"next": ">=12.0.0",
|
|
71
|
+
"react": ">=17.0.0",
|
|
72
|
+
"react-phone-number-input": ">=3.0.0"
|
|
73
|
+
},
|
|
74
|
+
"peerDependenciesMeta": {
|
|
75
|
+
"@radix-ui/react-dialog": {
|
|
76
|
+
"optional": true
|
|
77
|
+
},
|
|
78
|
+
"react": {
|
|
79
|
+
"optional": true
|
|
80
|
+
},
|
|
81
|
+
"next": {
|
|
82
|
+
"optional": true
|
|
83
|
+
},
|
|
84
|
+
"react-phone-number-input": {
|
|
85
|
+
"optional": true
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"dependencies": {
|
|
89
|
+
"@thetechfossil/upfiles": "^1.0.9",
|
|
90
|
+
"axios": "^1.13.2"
|
|
91
|
+
},
|
|
92
|
+
"scripts": {
|
|
93
|
+
"build": "tsup && node scripts/add-use-client.js",
|
|
94
|
+
"dev": "tsup --watch",
|
|
95
|
+
"test": "jest",
|
|
96
|
+
"test:integration": "node scripts/test-node-integration.js",
|
|
97
|
+
"test:react": "node scripts/test-react-integration.js",
|
|
98
|
+
"test:nextjs": "node scripts/test-nextjs-integration.js",
|
|
99
|
+
"test:ui": "node scripts/test-ui-components.js",
|
|
100
|
+
"validate:docs": "node scripts/validate-docs.js"
|
|
101
|
+
}
|
|
103
102
|
}
|