@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.cjs CHANGED
@@ -938,6 +938,7 @@ function generateLrsBridgeCode(options) {
938
938
  sessionId: null, // Session UUID
939
939
  launchTime: null, // ISO timestamp of course launch
940
940
  courseAttemptId: null, // Unique ID for this course attempt session (Xyleme format)
941
+ employeeId: null, // Employee ID from employee lookup
941
942
  // Statistics
942
943
  stats: {
943
944
  statementsSent: 0,
@@ -1768,6 +1769,11 @@ function generateLrsBridgeCode(options) {
1768
1769
  };
1769
1770
  log('Updated actor account: bravaisUserId=' + employeeData.bravaisUserId + ', homePage=' + actor.account.homePage + ' (was: ' + originalAccountName + ')');
1770
1771
  }
1772
+
1773
+ // Expose employee ID on LRS object for plugins (e.g. feedback)
1774
+ if (employeeData.employeeId) {
1775
+ LRS.employeeId = employeeData.employeeId;
1776
+ }
1771
1777
  }
1772
1778
  callback(actor);
1773
1779
  });