@concord-consortium/lara-interactive-api 1.7.0-pre.1 → 1.7.0-pre.2

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/index-bundle.d.ts CHANGED
@@ -367,11 +367,7 @@ interface IGetReportItemAnswer<InteractiveState = {}, AuthoredState = {}> extend
367
367
  platformUserId: string;
368
368
  interactiveState: InteractiveState;
369
369
  authoredState: AuthoredState;
370
- /**
371
- * When not provided, host should assume that itemsType is equal to "fullAnswer" (to maintain backward compatibility
372
- * with version 2.0.0).
373
- */
374
- itemsType?: ReportItemsType;
370
+ itemsType: ReportItemsType;
375
371
  }
376
372
  interface IReportItemAnswerItemAttachment {
377
373
  type: "attachment";
@@ -404,7 +400,7 @@ interface IReportItemAnswer extends IBaseRequestResponse {
404
400
  * When not provided, host should assume that itemsType is equal to "fullAnswer" (to maintain backward compatibility
405
401
  * with version 2.0.0).
406
402
  */
407
- itemsType: ReportItemsType;
403
+ itemsType?: ReportItemsType;
408
404
  }
409
405
  declare type IGetReportItemAnswerHandler<InteractiveState = {}, AuthoredState = {}> = (message: IGetReportItemAnswer<InteractiveState, AuthoredState>) => void;
410
406
  interface IReportItemHandlerMetadata {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@concord-consortium/lara-interactive-api",
3
- "version": "1.7.0-pre.1",
3
+ "version": "1.7.0-pre.2",
4
4
  "description": "LARA Interactive API client and types",
5
5
  "main": "./index.js",
6
6
  "types": "./index-bundle.d.ts",