@patch-adams/core 1.4.36 → 1.4.37

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/cli.js CHANGED
@@ -928,6 +928,7 @@ function generateLrsBridgeCode(options) {
928
928
  sessionId: null, // Session UUID
929
929
  launchTime: null, // ISO timestamp of course launch
930
930
  courseAttemptId: null, // Unique ID for this course attempt session (Xyleme format)
931
+ employeeId: null, // Employee ID from employee lookup
931
932
  // Statistics
932
933
  stats: {
933
934
  statementsSent: 0,
@@ -1758,6 +1759,11 @@ function generateLrsBridgeCode(options) {
1758
1759
  };
1759
1760
  log('Updated actor account: bravaisUserId=' + employeeData.bravaisUserId + ', homePage=' + actor.account.homePage + ' (was: ' + originalAccountName + ')');
1760
1761
  }
1762
+
1763
+ // Expose employee ID on LRS object for plugins (e.g. feedback)
1764
+ if (employeeData.employeeId) {
1765
+ LRS.employeeId = employeeData.employeeId;
1766
+ }
1761
1767
  }
1762
1768
  callback(actor);
1763
1769
  });