@playcademy/sdk 0.16.1-beta.17 → 0.16.1-beta.19
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/README.md +11 -10
- package/dist/index.js +1 -1
- package/dist/internal.js +1 -1
- package/dist/server/edge.js +1 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -147,16 +147,17 @@ mutation.
|
|
|
147
147
|
The returned `flow` is authoritative and is derived from `purpose`; callers do not configure
|
|
148
148
|
navigation, feedback, and submission independently:
|
|
149
149
|
|
|
150
|
-
- `attempt-submit` is used for diagnostic
|
|
151
|
-
through `save()` until `submit()` finalizes the whole attempt and returns feedback.
|
|
152
|
-
- `item-submit` is used for review
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
The host rejects `submitItem()` for attempt-submit flows, rejects `submit()` until
|
|
159
|
-
|
|
150
|
+
- `attempt-submit` is used for diagnostic, end-of-course, and mastery attempts. Responses remain
|
|
151
|
+
editable through `save()` until `submit()` finalizes the whole attempt and returns feedback.
|
|
152
|
+
- `item-submit` is used for review attempts. Submit each administered item with `submitItem()`.
|
|
153
|
+
That operation atomically saves the item's responses, locks them, and returns safe immediate
|
|
154
|
+
feedback. Give each item request its own stable `submissionId` and reuse that ID for an ambiguous
|
|
155
|
+
retry; the returned canonical `itemSubmissions` ledger identifies committed items after retry or
|
|
156
|
+
resume.
|
|
157
|
+
|
|
158
|
+
The host rejects `submitItem()` for attempt-submit flows, rejects `submit()` until an item-submit
|
|
159
|
+
attempt has administered at least one item, and enforces `expectedResponseVersion` for every
|
|
160
|
+
mutation.
|
|
160
161
|
|
|
161
162
|
For local development, import the current ordered catalog before starting the dev host:
|
|
162
163
|
|
package/dist/index.js
CHANGED
|
@@ -3670,7 +3670,7 @@ async function request({
|
|
|
3670
3670
|
return rawText && rawText.length > 0 ? rawText : undefined;
|
|
3671
3671
|
}
|
|
3672
3672
|
// src/version.ts
|
|
3673
|
-
var SDK_VERSION = "0.16.1-beta.
|
|
3673
|
+
var SDK_VERSION = "0.16.1-beta.19";
|
|
3674
3674
|
|
|
3675
3675
|
// src/clients/base.ts
|
|
3676
3676
|
class PlaycademyBaseClient {
|
package/dist/internal.js
CHANGED
|
@@ -4546,7 +4546,7 @@ async function request({
|
|
|
4546
4546
|
return rawText && rawText.length > 0 ? rawText : undefined;
|
|
4547
4547
|
}
|
|
4548
4548
|
// src/version.ts
|
|
4549
|
-
var SDK_VERSION = "0.16.1-beta.
|
|
4549
|
+
var SDK_VERSION = "0.16.1-beta.19";
|
|
4550
4550
|
|
|
4551
4551
|
// src/clients/base.ts
|
|
4552
4552
|
class PlaycademyBaseClient {
|
package/dist/server/edge.js
CHANGED
package/dist/server.js
CHANGED