scorm-player 1.2.1 → 1.2.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/dist/index.d.mts CHANGED
@@ -30,9 +30,9 @@ interface SCORMState {
30
30
 
31
31
  interface ScormPlayerProps {
32
32
  launchUrl: string;
33
- userId: string;
34
- courseId: string;
35
- lessonId: string;
33
+ userId?: string;
34
+ courseId?: string;
35
+ lessonId?: string;
36
36
  saveProgress: (data: SCORMState) => void;
37
37
  }
38
38
  declare function ScormPlayer({ launchUrl, userId, courseId, lessonId, saveProgress, }: ScormPlayerProps): JSX.Element;
package/dist/index.d.ts CHANGED
@@ -30,9 +30,9 @@ interface SCORMState {
30
30
 
31
31
  interface ScormPlayerProps {
32
32
  launchUrl: string;
33
- userId: string;
34
- courseId: string;
35
- lessonId: string;
33
+ userId?: string;
34
+ courseId?: string;
35
+ lessonId?: string;
36
36
  saveProgress: (data: SCORMState) => void;
37
37
  }
38
38
  declare function ScormPlayer({ launchUrl, userId, courseId, lessonId, saveProgress, }: ScormPlayerProps): JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scorm-player",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "SCORM 2004 player, unpacker and manifest parser for Node.js / Next.js with storage adapters and React iframe renderer.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",