coursecode 0.1.60 → 0.1.61

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.
@@ -1,8 +1,8 @@
1
1
  {
2
- "version": "0.1.60",
2
+ "version": "0.1.61",
3
3
  "name": "CourseCode Framework",
4
4
  "description": "Multi-format course authoring and learner runtime framework",
5
- "released": "2026-07-14",
5
+ "released": "2026-07-20",
6
6
  "formats": [
7
7
  "SCORM 2004 4th Edition",
8
8
  "SCORM 1.2",
@@ -464,7 +464,9 @@ class HeadlessBrowser {
464
464
  }
465
465
 
466
466
  return {
467
- data: screenshotBuffer.toString('base64'),
467
+ // Puppeteer >=22 returns Uint8Array, whose toString() ignores the
468
+ // 'base64' argument — wrap in Buffer so encoding applies.
469
+ data: Buffer.from(screenshotBuffer).toString('base64'),
468
470
  mimeType: 'image/jpeg'
469
471
  };
470
472
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coursecode",
3
- "version": "0.1.60",
3
+ "version": "0.1.61",
4
4
  "description": "Multi-format course authoring framework with CLI tools (SCORM 2004, SCORM 1.2, cmi5, LTI 1.3)",
5
5
  "type": "module",
6
6
  "bin": {