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.
package/framework/version.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.1.
|
|
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-
|
|
5
|
+
"released": "2026-07-20",
|
|
6
6
|
"formats": [
|
|
7
7
|
"SCORM 2004 4th Edition",
|
|
8
8
|
"SCORM 1.2",
|
package/lib/headless-browser.js
CHANGED
|
@@ -464,7 +464,9 @@ class HeadlessBrowser {
|
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
return {
|
|
467
|
-
|
|
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
|
}
|