catchup-library-web 2.0.1 → 2.0.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.js CHANGED
@@ -2658,7 +2658,7 @@ var retrieveDistinctCoterieTypeFromCorporatePersonalizedAssignmentApplicationDTO
2658
2658
  return coterieTypeList;
2659
2659
  };
2660
2660
  var retrieveClockTimeLeft = (type, value, durationType, durationInMinutes, activityProgressDTOSet, activity) => {
2661
- if (type === "CORPORATE_PERSONALIZED_ASSIGNMENT" || type === "CORPORATE_ASSESSMENT_ASSIGNMENT" || type === "CONTEST") {
2661
+ if (type === "CORPORATE_PERSONALIZED_ASSIGNMENT" || type === "CORPORATE_ASSESSMENT_ASSIGNMENT" || type === "CORPORATE_STANDARD_EXAM" || type === "CONTEST") {
2662
2662
  if (durationType === "ALL") {
2663
2663
  return durationInMinutes ? durationInMinutes * 60 - retrieveTotalTimeSpentInSeconds(activityProgressDTOSet) : 0;
2664
2664
  } else if (durationType === "EACH") {
package/dist/index.mjs CHANGED
@@ -2435,7 +2435,7 @@ var retrieveDistinctCoterieTypeFromCorporatePersonalizedAssignmentApplicationDTO
2435
2435
  return coterieTypeList;
2436
2436
  };
2437
2437
  var retrieveClockTimeLeft = (type, value, durationType, durationInMinutes, activityProgressDTOSet, activity) => {
2438
- if (type === "CORPORATE_PERSONALIZED_ASSIGNMENT" || type === "CORPORATE_ASSESSMENT_ASSIGNMENT" || type === "CONTEST") {
2438
+ if (type === "CORPORATE_PERSONALIZED_ASSIGNMENT" || type === "CORPORATE_ASSESSMENT_ASSIGNMENT" || type === "CORPORATE_STANDARD_EXAM" || type === "CONTEST") {
2439
2439
  if (durationType === "ALL") {
2440
2440
  return durationInMinutes ? durationInMinutes * 60 - retrieveTotalTimeSpentInSeconds(activityProgressDTOSet) : 0;
2441
2441
  } else if (durationType === "EACH") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -1550,6 +1550,7 @@ export const retrieveClockTimeLeft = (
1550
1550
  if (
1551
1551
  type === "CORPORATE_PERSONALIZED_ASSIGNMENT" ||
1552
1552
  type === "CORPORATE_ASSESSMENT_ASSIGNMENT" ||
1553
+ type === "CORPORATE_STANDARD_EXAM" ||
1553
1554
  type === "CONTEST"
1554
1555
  ) {
1555
1556
  if (durationType === "ALL") {