@patch-adams/core 1.4.35 → 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/index.cjs CHANGED
@@ -605,6 +605,7 @@ function generateLrsBridgeCode(options) {
605
605
  sessionId: null, // Session UUID
606
606
  launchTime: null, // ISO timestamp of course launch
607
607
  courseAttemptId: null, // Unique ID for this course attempt session (Xyleme format)
608
+ employeeId: null, // Employee ID from employee lookup
608
609
  // Statistics
609
610
  stats: {
610
611
  statementsSent: 0,
@@ -1435,6 +1436,11 @@ function generateLrsBridgeCode(options) {
1435
1436
  };
1436
1437
  log('Updated actor account: bravaisUserId=' + employeeData.bravaisUserId + ', homePage=' + actor.account.homePage + ' (was: ' + originalAccountName + ')');
1437
1438
  }
1439
+
1440
+ // Expose employee ID on LRS object for plugins (e.g. feedback)
1441
+ if (employeeData.employeeId) {
1442
+ LRS.employeeId = employeeData.employeeId;
1443
+ }
1438
1444
  }
1439
1445
  callback(actor);
1440
1446
  });