@mpgd/tutorial 0.1.4 → 0.1.5

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/driver.js CHANGED
@@ -88,7 +88,6 @@ export function createDriverTutorialPresenter(input) {
88
88
  };
89
89
  const scheduleHostRefresh = () => scheduleRefresh(true);
90
90
  const createInstance = (presentation) => {
91
- let created;
92
91
  let modalSemanticsGuard;
93
92
  let popover = null;
94
93
  const syncCreatedModalSemantics = () => {
@@ -110,7 +109,7 @@ export function createDriverTutorialPresenter(input) {
110
109
  modalSemanticsGuard?.restore();
111
110
  modalSemanticsGuard = configureTutorialModalSemantics(popover, presentation.step.interaction, modal);
112
111
  };
113
- created = driver({
112
+ const created = driver({
114
113
  allowClose: true,
115
114
  allowKeyboardControl: false,
116
115
  allowScroll: true,
@@ -1,5 +1,5 @@
1
1
  import { parseTutorialProgress, } from './progress.js';
2
- export const defaultTutorialStorageLoadTimeoutMs = 10000;
2
+ export const defaultTutorialStorageLoadTimeoutMs = 10_000;
3
3
  export async function createPlatformTutorialProgressStore(input) {
4
4
  const loadTimeoutMs = resolveLoadTimeoutMs(input.loadTimeoutMs);
5
5
  let current = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpgd/tutorial",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Headless tutorial progression, optional Driver.js presentation, and local reproduction helpers for mpgd games.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -51,11 +51,11 @@
51
51
  ],
52
52
  "dependencies": {
53
53
  "driver.js": "1.8.0",
54
- "@mpgd/platform": "0.12.0"
54
+ "@mpgd/platform": "0.12.1"
55
55
  },
56
56
  "devDependencies": {
57
57
  "jsdom": "24.1.0",
58
- "ttsc": "0.18.4",
58
+ "ttsc": "0.30.4",
59
59
  "typescript": "7.0.2",
60
60
  "vitest": "^4.0.0"
61
61
  },