scorm-again 2.6.5 → 2.6.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scorm-again",
3
- "version": "2.6.5",
3
+ "version": "2.6.6",
4
4
  "description": "A modern SCORM JavaScript run-time library for AICC, SCORM 1.2, and SCORM 2004",
5
5
  "main": "dist/scorm-again.js",
6
6
  "types": "index.d.ts",
package/src/BaseAPI.ts CHANGED
@@ -1123,7 +1123,7 @@ export default abstract class BaseAPI implements IBaseAPI {
1123
1123
  * @return {object}
1124
1124
  */
1125
1125
  renderCMIToJSONObject(): object {
1126
- return JSON.parse(this.renderCMIToJSONString());
1126
+ return JSON.parse(this.renderCMIToJSONString()) as object;
1127
1127
  }
1128
1128
 
1129
1129
  /**
package/tsconfig.json CHANGED
@@ -23,6 +23,8 @@
23
23
  "forceConsistentCasingInFileNames": true,
24
24
  "exactOptionalPropertyTypes": true,
25
25
  "strictNullChecks": true,
26
+ "useUnknownInCatchVariables": true,
27
+ "strict": true,
26
28
  },
27
29
  "include": [
28
30
  "src/**/*"