@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 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 and end-of-course attempts. Responses remain editable
151
- through `save()` until `submit()` finalizes the whole attempt and returns feedback.
152
- - `item-submit` is used for review and mastery attempts. Submit each item in assessment order with
153
- `submitItem()`. That operation atomically saves the item's responses, locks them, and returns safe
154
- immediate feedback. Give each item request its own stable `submissionId` and reuse that ID for an
155
- ambiguous retry; the returned canonical `itemSubmissions` ledger identifies committed items after
156
- retry or resume.
157
-
158
- The host rejects `submitItem()` for attempt-submit flows, rejects `submit()` until every item-submit
159
- item is committed, and enforces `expectedResponseVersion` for every mutation.
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.17";
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.17";
4549
+ var SDK_VERSION = "0.16.1-beta.19";
4550
4550
 
4551
4551
  // src/clients/base.ts
4552
4552
  class PlaycademyBaseClient {
@@ -313,7 +313,7 @@ function extractApiErrorInfo(error) {
313
313
  }
314
314
 
315
315
  // src/version.ts
316
- var SDK_VERSION = "0.16.1-beta.17";
316
+ var SDK_VERSION = "0.16.1-beta.19";
317
317
 
318
318
  // src/server/request.ts
319
319
  async function makeApiRequest(opts) {
package/dist/server.js CHANGED
@@ -502,7 +502,7 @@ function extractApiErrorInfo(error) {
502
502
  }
503
503
 
504
504
  // src/version.ts
505
- var SDK_VERSION = "0.16.1-beta.17";
505
+ var SDK_VERSION = "0.16.1-beta.19";
506
506
 
507
507
  // src/server/request.ts
508
508
  async function makeApiRequest(opts) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playcademy/sdk",
3
- "version": "0.16.1-beta.17",
3
+ "version": "0.16.1-beta.19",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {