@more-ink/irt-edge 3.0.0 → 3.1.1

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 CHANGED
@@ -1,5 +1,26 @@
1
1
  # @more-ink/irt-edge
2
2
 
3
+ ## 3.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Refined PTE route and practice processing typings by reusing existing request/domain types and removing redundant type redefinitions.
8
+ - Strengthened bulk event typing boundaries to keep validation input and internal business types explicit and maintainable.
9
+ - Simplified PTE practice replay ordering logic and aligned route/runtime behavior with required `timestamp` handling.
10
+ - Updated SDK/PTE test suites and docs to match the latest request contracts and production integration test layout.
11
+
12
+ ## 3.1.0
13
+
14
+ ### Minor Changes
15
+
16
+ - PTE `init-item` and `init-user` now require `timestamp` and replay practices in server-side ascending timestamp order.
17
+ - PTE `record-prac` now requires `timestamp` and `calcs[]` in request payloads.
18
+ - Simplified PTE route normalization by reusing `RecordPtePracRequest` in internal normalized practice handling.
19
+ - Improved bulk update typing boundaries:
20
+ - `validateBulkEvents` accepts `BulkEventInput` for validation.
21
+ - `bulkUpdateUser` / `bulkUpdateItem` consume strict `BulkEvent` events.
22
+ - Expanded and updated PTE/bulk tests to cover timestamp requirements, replay ordering, and updated request shapes.
23
+
3
24
  ## 3.0.0
4
25
 
5
26
  ### Breaking Changes
package/README.md CHANGED
@@ -102,6 +102,7 @@ await pte.recordPrac({
102
102
  ttp: 'a',
103
103
  part: 'RA',
104
104
  score: 0.8,
105
+ timestamp: Date.now(),
105
106
  calcs: [{ type: 'fluency', score: 8, total: 10 }],
106
107
  })
107
108
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@more-ink/irt-edge",
3
- "version": "3.0.0",
3
+ "version": "3.1.1",
4
4
  "description": "IRT Edge API client SDK for JavaScript/TypeScript frontends.",
5
5
  "main": "sdk/index.js",
6
6
  "types": "sdk/index.d.ts",