@xenon-device-management/xenon 1.13.0 → 1.13.1

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/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xenon-device-management/xenon",
3
- "version": "1.13.0",
3
+ "version": "1.13.1",
4
4
  "description": "Xenon - Intelligent Mobile Infrastructure. A self-healing device orchestration platform for Appium.",
5
5
  "main": "./lib/src/index.js",
6
6
  "exports": {
@@ -99,7 +99,7 @@ let DashboardEventManager = class DashboardEventManager {
99
99
  }
100
100
  onSessionStarted(capabilities, session, device) {
101
101
  return __awaiter(this, void 0, void 0, function* () {
102
- var _a;
102
+ var _a, _b;
103
103
  // Store device info for this session
104
104
  this.sessionToDevice.set(session.getId(), device);
105
105
  const createOptions = {
@@ -150,6 +150,7 @@ let DashboardEventManager = class DashboardEventManager {
150
150
  trace_id: traceId,
151
151
  status: 'running', // Principal Polish: Set status explicitly
152
152
  api_key_id: (_a = session.apiKeyId) !== null && _a !== void 0 ? _a : null,
153
+ user_id: (_b = session.userId) !== null && _b !== void 0 ? _b : null,
153
154
  };
154
155
  yield prisma_1.prisma.session.create({
155
156
  data: createData,