@vue-skuilder/db 0.2.20 → 0.2.21

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
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.2.20",
7
+ "version": "0.2.21",
8
8
  "description": "Database layer for vue-skuilder",
9
9
  "main": "dist/index.js",
10
10
  "module": "dist/index.mjs",
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@nilock2/pouchdb-authentication": "^1.0.2",
51
- "@vue-skuilder/common": "0.2.20",
51
+ "@vue-skuilder/common": "0.2.21",
52
52
  "cross-fetch": "^4.1.0",
53
53
  "moment": "^2.29.4",
54
54
  "pouchdb": "^9.0.0",
@@ -63,5 +63,5 @@
63
63
  "vite": "^8.0.0",
64
64
  "vitest": "^4.1.0"
65
65
  },
66
- "stableVersion": "0.2.20"
66
+ "stableVersion": "0.2.21"
67
67
  }
@@ -16,7 +16,12 @@ export interface UserConfig {
16
16
  darkMode: boolean;
17
17
  likesConfetti: boolean;
18
18
  sessionTimeLimit: number; // Session time limit in minutes
19
- email?: string; // Optional email for verification flows (added for enhanced auth)
19
+ /**
20
+ * @deprecated Retired in favour of the _users-doc email (the single source of
21
+ * truth, written by /auth/send-verification and read by /auth/status). No
22
+ * live code writes or reads this field; it may linger on older CONFIG docs.
23
+ */
24
+ email?: string;
20
25
 
21
26
  // Session tracking for trial enforcement (per-course)
22
27
  // Key is courseId (e.g., 'letterspractice-basic')