@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@l4yercak3/cli",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "Icing on the L4yercak3 - The sweet finishing touch for your Layer Cake integration",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -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) {