oblien 1.2.1 → 1.2.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oblien",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Server-side SDK for Oblien AI Platform - Build AI-powered applications with chat, agents, and workflows",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/src/chat/index.js CHANGED
@@ -131,7 +131,7 @@ export class OblienChat {
131
131
  userAgent: metadata.userAgent,
132
132
  guestNamespace: guest.namespace,
133
133
  fingerprint: fingerprint,
134
- endUserId: endUserId, // Optional: Your end user identifier
134
+ endUserId: endUserId || guest.id, // Optional: Your end user identifier
135
135
  });
136
136
 
137
137
  // Link session to guest