scorm-again 3.0.2 → 3.0.4

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.
@@ -2098,6 +2098,7 @@ class ActivityTreeQueries {
2098
2098
  constructor(activityTree) {
2099
2099
  this.activityTree = activityTree;
2100
2100
  }
2101
+ activityTree;
2101
2102
  /**
2102
2103
  * Check if activity is in the activity tree
2103
2104
  * @param {Activity} activity - Activity to check
@@ -2297,6 +2298,8 @@ class ChoiceConstraintValidator {
2297
2298
  this.activityTree = activityTree;
2298
2299
  this.treeQueries = treeQueries;
2299
2300
  }
2301
+ activityTree;
2302
+ treeQueries;
2300
2303
  /**
2301
2304
  * Main entry point - consolidates ALL constraint validation for choice navigation
2302
2305
  * @param {Activity | null} currentActivity - Current activity (may be null if no session started)
@@ -3649,6 +3652,8 @@ class FlowTraversalService {
3649
3652
  this.activityTree = activityTree;
3650
3653
  this.ruleEngine = ruleEngine;
3651
3654
  }
3655
+ activityTree;
3656
+ ruleEngine;
3652
3657
  /**
3653
3658
  * Flow Subprocess (SB.2.3)
3654
3659
  * Traverses the activity tree in the specified direction to find a deliverable activity
@@ -3947,6 +3952,8 @@ class FlowRequestHandler {
3947
3952
  this.activityTree = activityTree;
3948
3953
  this.traversalService = traversalService;
3949
3954
  }
3955
+ activityTree;
3956
+ traversalService;
3950
3957
  /**
3951
3958
  * Start Sequencing Request Process (SB.2.5)
3952
3959
  * Initiates a new sequencing session from the root
@@ -4078,6 +4085,10 @@ class ChoiceRequestHandler {
4078
4085
  this.traversalService = traversalService;
4079
4086
  this.treeQueries = treeQueries;
4080
4087
  }
4088
+ activityTree;
4089
+ constraintValidator;
4090
+ traversalService;
4091
+ treeQueries;
4081
4092
  /**
4082
4093
  * Choice Sequencing Request Process (SB.2.9)
4083
4094
  * Processes a choice navigation request to a specific activity
@@ -4291,6 +4302,8 @@ class ExitRequestHandler {
4291
4302
  this.activityTree = activityTree;
4292
4303
  this.ruleEngine = ruleEngine;
4293
4304
  }
4305
+ activityTree;
4306
+ ruleEngine;
4294
4307
  /**
4295
4308
  * Exit Sequencing Request Process (SB.2.11)
4296
4309
  * @param {Activity} currentActivity - The current activity
@@ -4406,6 +4419,8 @@ class RetryRequestHandler {
4406
4419
  this.activityTree = activityTree;
4407
4420
  this.traversalService = traversalService;
4408
4421
  }
4422
+ activityTree;
4423
+ traversalService;
4409
4424
  /**
4410
4425
  * Retry Sequencing Request Process (SB.2.10)
4411
4426
  * @param {Activity} currentActivity - The current activity
@@ -5540,7 +5555,8 @@ class LoggingService {
5540
5555
  getNumericLevel(level) {
5541
5556
  if (level === void 0) return LogLevelEnum.NONE;
5542
5557
  if (typeof level === "number") return level;
5543
- switch (level) {
5558
+ const normalized = typeof level === "string" ? level.toUpperCase() : level;
5559
+ switch (normalized) {
5544
5560
  case "1":
5545
5561
  case "DEBUG":
5546
5562
  return LogLevelEnum.DEBUG;
@@ -5913,6 +5929,7 @@ class OfflineStorageService {
5913
5929
  window.addEventListener("offline", this.boundOnlineStatusChangeHandler);
5914
5930
  window.addEventListener("scorm-again:network-status", this.boundCustomNetworkStatusHandler);
5915
5931
  }
5932
+ apiLog;
5916
5933
  settings;
5917
5934
  error_codes;
5918
5935
  storeName = "scorm_again_offline_data";