@l4yercak3/cli 1.1.7 → 1.1.8
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 +1 -1
- package/src/commands/login.js +6 -0
package/package.json
CHANGED
package/src/commands/login.js
CHANGED
|
@@ -197,6 +197,12 @@ async function handleLogin() {
|
|
|
197
197
|
configManager.saveSession(session);
|
|
198
198
|
|
|
199
199
|
// Validate session with backend
|
|
200
|
+
// Add delay to allow Convex to propagate the session (debugging timing issues)
|
|
201
|
+
if (process.env.L4YERCAK3_DEBUG) {
|
|
202
|
+
console.log('[DEBUG] Waiting 2s for session propagation...');
|
|
203
|
+
}
|
|
204
|
+
await new Promise(resolve => setTimeout(resolve, 2000));
|
|
205
|
+
|
|
200
206
|
try {
|
|
201
207
|
const userInfo = await backendClient.validateSession();
|
|
202
208
|
if (userInfo) {
|