@edpire/sdk 0.12.2 → 0.12.3
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/CHANGELOG.md +15 -0
- package/README.md +2 -2
- package/dist/index.mjs +12 -12
- package/dist/react.mjs +10 -10
- package/dist/umd/index.global.js +144 -144
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,21 @@ the package follows [semantic versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
11
11
|
|
|
12
12
|
## [Unreleased]
|
|
13
13
|
|
|
14
|
+
## [0.12.3] - 2026-11-28
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- **A restored plain text answer came back blank.** A plain text box (an open response without
|
|
19
|
+
formatting) given saved answers, through `renderQuestion` or `EdpireQuestion` with
|
|
20
|
+
`initialAnswers` and not read-only, showed the saved text, but the runtime's hidden editor
|
|
21
|
+
reported the box empty right after: `onAnswersChange` received a blank for it. Fixed in the
|
|
22
|
+
runtime (3.20.1), now bundled.
|
|
23
|
+
- **A resumed attempt lost its plain text answers** (`AssessmentShell`, as edpire.com uses it).
|
|
24
|
+
When a learner came back to an attempt (a reload, "come back later"), a required question said
|
|
25
|
+
"This question is required" under a filled box, a paper sent the box blank, and the autosave
|
|
26
|
+
wrote the blank over the saved draft. The shell now also keeps the restored text until the
|
|
27
|
+
learner changes that box.
|
|
28
|
+
|
|
14
29
|
## [0.12.2] - 2026-11-25
|
|
15
30
|
|
|
16
31
|
### Fixed
|
package/README.md
CHANGED
|
@@ -92,7 +92,7 @@ embed.unmount()
|
|
|
92
92
|
**CDN (no bundler):**
|
|
93
93
|
|
|
94
94
|
```html
|
|
95
|
-
<script src="https://cdn.jsdelivr.net/npm/@edpire/sdk@0.12.
|
|
95
|
+
<script src="https://cdn.jsdelivr.net/npm/@edpire/sdk@0.12.3/dist/umd/index.global.js"></script>
|
|
96
96
|
<script>
|
|
97
97
|
EdpireSDK.EdpireAssessment.mount({ token, container: "#root", onComplete: handleDone })
|
|
98
98
|
</script>
|
|
@@ -330,7 +330,7 @@ The integration uses two parts:
|
|
|
330
330
|
</head>
|
|
331
331
|
<body>
|
|
332
332
|
<div id="root"></div>
|
|
333
|
-
<script src="https://cdn.jsdelivr.net/npm/@edpire/sdk@0.12.
|
|
333
|
+
<script src="https://cdn.jsdelivr.net/npm/@edpire/sdk@0.12.3/dist/umd/index.global.js"></script>
|
|
334
334
|
<script>
|
|
335
335
|
EdpireSDK.EdpireAssessment.mount({
|
|
336
336
|
token: "{{EMBED_TOKEN}}", // replace server-side before loading
|