@qaiddev/quests-embed 1.9.0 → 1.10.1

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/types.d.ts CHANGED
@@ -144,6 +144,12 @@ export interface Questionnaire {
144
144
  /** Back button label. Default "Back" */
145
145
  backLabel?: string;
146
146
  questions: Question[];
147
+ /**
148
+ * A theme document sent with the questionnaire, so one request brings
149
+ * both (qaid.dev's `/definition?theme=<id>`). Used when the host set no
150
+ * `themeUrl` or `themeDocument` of its own.
151
+ */
152
+ themeDocument?: ResolvedQuestTheme | null;
147
153
  }
148
154
  /**
149
155
  * Configuration for the QaidQuests embed.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qaiddev/quests-embed",
3
- "version": "1.9.0",
3
+ "version": "1.10.1",
4
4
  "description": "Any Questions for your Users?",
5
5
  "type": "module",
6
6
  "main": "./dist/qaid-quests.umd.cjs",
@@ -40,7 +40,7 @@
40
40
  "devDependencies": {
41
41
  "@vitest/coverage-v8": "^5.0.3",
42
42
  "axe-core": "^4.12.1",
43
- "happy-dom": "^20.5.1",
43
+ "happy-dom": "^21.0.4",
44
44
  "jsdom": "^29.1.1",
45
45
  "typescript": "^5.3.3",
46
46
  "vite": "^7.3.1",