@cuemath/leap 2.9.9-as2 → 2.9.9-as4

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.ts CHANGED
@@ -813,7 +813,7 @@ declare interface IChapterDetails extends IBlockSectionsCallbacks {
813
813
  userChapterId: string;
814
814
  studentId: string;
815
815
  onExit?: () => void;
816
- startChapterPageJourney?: ({ chapterDetails, studentId, userType, }: IHomepageStartJourneyProps_2) => void;
816
+ startChapterPageJourney?: ({ chapterDetails, userChapterId, studentId, userType, }: IHomepageStartJourneyProps_2) => void;
817
817
  chapterPageRef?: React.RefObject<HTMLDivElement>;
818
818
  bannerRef?: React.RefObject<HTMLDivElement>;
819
819
  coreBlocksRef?: React.RefObject<HTMLDivElement>;
@@ -883,8 +883,9 @@ declare interface IChaptersListProps {
883
883
 
884
884
  declare interface IChapterStartJourneyProps {
885
885
  chapterDetails: IUserChapterData;
886
+ userChapterId: string;
886
887
  studentId: string;
887
- userType: 'STUDENT' | 'TEACHER';
888
+ userType: TUserTypes;
888
889
  }
889
890
 
890
891
  declare interface IChapterState {
@@ -1336,6 +1337,7 @@ export declare interface IHomepageStartJourneyProps {
1336
1337
 
1337
1338
  declare interface IHomepageStartJourneyProps_2 {
1338
1339
  chapterDetails: IUserChapterData;
1340
+ userChapterId: string;
1339
1341
  studentId: string;
1340
1342
  userType: TUserTypes;
1341
1343
  }
@@ -5285,7 +5287,7 @@ export declare const useChapterPageJourney: () => {
5285
5287
  chapterPageRef: RefObject<HTMLDivElement>;
5286
5288
  bannerRef: RefObject<HTMLDivElement>;
5287
5289
  coreBlocksRef: RefObject<HTMLDivElement>;
5288
- startJourney: ({ chapterDetails, studentId, userType }: IChapterStartJourneyProps) => void;
5290
+ startJourney: ({ chapterDetails, userChapterId, studentId, userType }: IChapterStartJourneyProps) => void;
5289
5291
  };
5290
5292
 
5291
5293
  export declare const useCircleSounds: () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cuemath/leap",
3
- "version": "2.9.9-as2",
3
+ "version": "2.9.9-as4",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"