@ikonai/sdk 1.0.19 → 1.0.21
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/client/ikon-client-config.d.ts +12 -0
- package/index.js +1101 -1067
- package/package.json +1 -1
|
@@ -68,6 +68,18 @@ export interface LocalConfig extends CommonConnectionConfig {
|
|
|
68
68
|
* User ID for the connection.
|
|
69
69
|
*/
|
|
70
70
|
userId?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Space ID used for anonymous authentication to resolve the user ID.
|
|
73
|
+
* When provided (and userId is not set), the SDK will attempt to call
|
|
74
|
+
* the anonymous auth endpoint to obtain an internal user ID.
|
|
75
|
+
*/
|
|
76
|
+
spaceId?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Auth session token (JWT) for ensuring the user's profile exists in the space.
|
|
79
|
+
* When provided along with spaceId, the SDK will call the backend to
|
|
80
|
+
* get-or-create the user's profile before connecting.
|
|
81
|
+
*/
|
|
82
|
+
token?: string;
|
|
71
83
|
}
|
|
72
84
|
/**
|
|
73
85
|
* Common options for cloud-based modes (apiKey and sessionToken).
|