@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/index.js CHANGED
@@ -596,6 +596,7 @@ function generateLrsBridgeCode(options) {
596
596
  sessionId: null, // Session UUID
597
597
  launchTime: null, // ISO timestamp of course launch
598
598
  courseAttemptId: null, // Unique ID for this course attempt session (Xyleme format)
599
+ employeeId: null, // Employee ID from employee lookup
599
600
  // Statistics
600
601
  stats: {
601
602
  statementsSent: 0,
@@ -1426,6 +1427,11 @@ function generateLrsBridgeCode(options) {
1426
1427
  };
1427
1428
  log('Updated actor account: bravaisUserId=' + employeeData.bravaisUserId + ', homePage=' + actor.account.homePage + ' (was: ' + originalAccountName + ')');
1428
1429
  }
1430
+
1431
+ // Expose employee ID on LRS object for plugins (e.g. feedback)
1432
+ if (employeeData.employeeId) {
1433
+ LRS.employeeId = employeeData.employeeId;
1434
+ }
1429
1435
  }
1430
1436
  callback(actor);
1431
1437
  });