@sqrzro/auth 4.0.0-alpha.0 → 4.0.0-alpha.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.
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @sqrzro/auth@4.0.0-alpha.0 build /Users/richard/Sites/@sqrzro/sqrzro/packages/auth
3
+ > @sqrzro/auth@4.0.0-alpha.1 build /Users/richard/Sites/@sqrzro/sqrzro/packages/auth
4
4
  > tsc
5
5
 
@@ -1,12 +1,12 @@
1
1
 
2
- > @sqrzro/auth@2.0.0-r19.14 dev /Users/richard/Sites/@sqrzro/sqrzro/packages/auth
2
+ > @sqrzro/auth@4.0.0-alpha.0 dev /Users/richard/Sites/@sqrzro/sqrzro/packages/auth
3
3
  > tsc --watch
4
4
 
5
- [10:06:07 AM] Starting compilation in watch mode...
5
+ [8:13:28 AM] Starting compilation in watch mode...
6
6
 
7
- [10:06:11 AM] Found 0 errors. Watching for file changes.
7
+ [8:13:30 AM] Found 0 errors. Watching for file changes.
8
8
 
9
- [10:06:14 AM] File change detected. Starting incremental compilation...
9
+ [8:13:33 AM] File change detected. Starting incremental compilation...
10
10
 
11
11
  src/components/LogoutButton/server.ts:3:31 - error TS7016: Could not find a declaration file for module '@sqrzro/server/auth'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index.js' implicitly has an 'any' type.
12
12
  Try `npm i --save-dev @types/sqrzro__server` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/server/auth';`
@@ -62,10 +62,116 @@
62
62
  1 import { validateSession } from '@sqrzro/server/auth';
63
63
     ~~~~~~~~~~~~~~~~~~~~~
64
64
 
65
- [10:06:14 AM] Found 9 errors. Watching for file changes.
65
+ [8:13:33 AM] Found 9 errors. Watching for file changes.
66
66
 
67
- [10:06:16 AM] File change detected. Starting incremental compilation...
67
+ [8:13:35 AM] File change detected. Starting incremental compilation...
68
68
 
69
- [10:06:17 AM] Found 0 errors. Watching for file changes.
69
+ [8:13:36 AM] Found 0 errors. Watching for file changes.
70
+
71
+ [8:18:29 AM] File change detected. Starting incremental compilation...
72
+
73
+ [8:18:29 AM] Found 0 errors. Watching for file changes.
74
+
75
+ [8:18:31 AM] File change detected. Starting incremental compilation...
76
+
77
+ src/components/LogoutButton/server.ts:3:31 - error TS7016: Could not find a declaration file for module '@sqrzro/server/auth'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index.js' implicitly has an 'any' type.
78
+ Try `npm i --save-dev @types/sqrzro__server` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/server/auth';`
79
+
80
+ 3 import { deleteSession } from '@sqrzro/server/auth';
81
+    ~~~~~~~~~~~~~~~~~~~~~
82
+
83
+ src/components/Password/index.tsx:1:31 - error TS7016: Could not find a declaration file for module '@sqrzro/server/auth'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index.js' implicitly has an 'any' type.
84
+ Try `npm i --save-dev @types/sqrzro__server` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/server/auth';`
85
+
86
+ 1 import { validateReset } from '@sqrzro/server/auth';
87
+    ~~~~~~~~~~~~~~~~~~~~~
88
+
89
+ src/forms/LoginForm/server.ts:3:45 - error TS7016: Could not find a declaration file for module '@sqrzro/server/auth'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index.js' implicitly has an 'any' type.
90
+ Try `npm i --save-dev @types/sqrzro__server` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/server/auth';`
91
+
92
+ 3 import { createSession, validateUser } from '@sqrzro/server/auth';
93
+    ~~~~~~~~~~~~~~~~~~~~~
94
+
95
+ src/forms/LoginForm/server.ts:4:42 - error TS7016: Could not find a declaration file for module '@sqrzro/server/forms'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/forms/index.js' implicitly has an 'any' type.
96
+ Try `npm i --save-dev @types/sqrzro__server` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/server/forms';`
97
+
98
+ 4 import { FormResponse, submitForm } from '@sqrzro/server/forms';
99
+    ~~~~~~~~~~~~~~~~~~~~~~
100
+
101
+ src/forms/PasswordForm/server.ts:3:29 - error TS7016: Could not find a declaration file for module '@sqrzro/server/auth'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index.js' implicitly has an 'any' type.
102
+ Try `npm i --save-dev @types/sqrzro__server` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/server/auth';`
103
+
104
+ 3 import { createReset } from '@sqrzro/server/auth';
105
+    ~~~~~~~~~~~~~~~~~~~~~
106
+
107
+ src/forms/PasswordForm/server.ts:4:42 - error TS7016: Could not find a declaration file for module '@sqrzro/server/forms'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/forms/index.js' implicitly has an 'any' type.
108
+ Try `npm i --save-dev @types/sqrzro__server` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/server/forms';`
109
+
110
+ 4 import { FormResponse, submitForm } from '@sqrzro/server/forms';
111
+    ~~~~~~~~~~~~~~~~~~~~~~
112
+
113
+ src/forms/PasswordResetForm/server.ts:3:41 - error TS7016: Could not find a declaration file for module '@sqrzro/server/auth'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index.js' implicitly has an 'any' type.
114
+ Try `npm i --save-dev @types/sqrzro__server` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/server/auth';`
115
+
116
+ 3 import { updatePasswordWithToken } from '@sqrzro/server/auth';
117
+    ~~~~~~~~~~~~~~~~~~~~~
118
+
119
+ src/forms/PasswordResetForm/server.ts:4:42 - error TS7016: Could not find a declaration file for module '@sqrzro/server/forms'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/forms/index.js' implicitly has an 'any' type.
120
+ Try `npm i --save-dev @types/sqrzro__server` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/server/forms';`
121
+
122
+ 4 import { FormResponse, submitForm } from '@sqrzro/server/forms';
123
+    ~~~~~~~~~~~~~~~~~~~~~~
124
+
125
+ src/handle-proxy.ts:1:33 - error TS7016: Could not find a declaration file for module '@sqrzro/server/auth'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index.js' implicitly has an 'any' type.
126
+ Try `npm i --save-dev @types/sqrzro__server` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/server/auth';`
127
+
128
+ 1 import { validateSession } from '@sqrzro/server/auth';
129
+    ~~~~~~~~~~~~~~~~~~~~~
130
+
131
+ [8:18:31 AM] Found 9 errors. Watching for file changes.
132
+
133
+ [8:18:33 AM] File change detected. Starting incremental compilation...
134
+
135
+ [8:18:33 AM] Found 0 errors. Watching for file changes.
136
+
137
+ [8:20:19 AM] File change detected. Starting incremental compilation...
138
+
139
+ [8:20:19 AM] Found 0 errors. Watching for file changes.
140
+
141
+ [8:20:22 AM] File change detected. Starting incremental compilation...
142
+
143
+ [8:20:22 AM] Found 0 errors. Watching for file changes.
144
+
145
+ [8:20:25 AM] File change detected. Starting incremental compilation...
146
+
147
+ [8:20:25 AM] Found 0 errors. Watching for file changes.
148
+
149
+ [8:20:28 AM] File change detected. Starting incremental compilation...
150
+
151
+ [8:20:28 AM] Found 0 errors. Watching for file changes.
152
+
153
+ [8:23:53 AM] File change detected. Starting incremental compilation...
154
+
155
+ [8:23:53 AM] Found 0 errors. Watching for file changes.
156
+
157
+ [8:23:56 AM] File change detected. Starting incremental compilation...
158
+
159
+ [8:23:56 AM] Found 0 errors. Watching for file changes.
160
+
161
+ [8:24:47 AM] File change detected. Starting incremental compilation...
162
+
163
+ [8:24:47 AM] Found 0 errors. Watching for file changes.
164
+
165
+ [8:24:49 AM] File change detected. Starting incremental compilation...
166
+
167
+ [8:24:50 AM] Found 0 errors. Watching for file changes.
168
+
169
+ [8:30:44 AM] File change detected. Starting incremental compilation...
170
+
171
+ [8:30:44 AM] Found 0 errors. Watching for file changes.
172
+
173
+ [8:30:47 AM] File change detected. Starting incremental compilation...
174
+
175
+ [8:30:47 AM] Found 0 errors. Watching for file changes.
70
176
 
71
177
   ELIFECYCLE  Command failed.
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "@sqrzro/auth",
3
3
  "type": "module",
4
- "version": "4.0.0-alpha.0",
4
+ "version": "4.0.0-alpha.2",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "dependencies": {
8
8
  "@sqrzro/server": "n16",
9
- "zod": "^4.1.13",
10
- "@sqrzro/ui": "^4.0.0-alpha.0"
9
+ "zod": "^4.3.6",
10
+ "@sqrzro/ui": "^4.0.0-alpha.4"
11
11
  },
12
12
  "devDependencies": {
13
13
  "@types/react": "^19.2.7",
14
14
  "prettier": "^3.7.4",
15
15
  "typescript": "^5.9.3",
16
- "@sqrzro/prettier-config": "^4.0.0-alpha.0"
16
+ "@sqrzro/prettier-config": "^4.0.0-alpha.1"
17
17
  },
18
18
  "peerDependencies": {
19
- "next": "^16.0.1",
20
- "react": "^19.2.0"
19
+ "next": "^16.1.6",
20
+ "react": "^19.2.4"
21
21
  },
22
22
  "scripts": {
23
23
  "build": "tsc",