@ikonai/sdk 1.0.20 → 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 +6 -0
- package/index.js +466 -447
- package/package.json +1 -1
|
@@ -74,6 +74,12 @@ export interface LocalConfig extends CommonConnectionConfig {
|
|
|
74
74
|
* the anonymous auth endpoint to obtain an internal user ID.
|
|
75
75
|
*/
|
|
76
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;
|
|
77
83
|
}
|
|
78
84
|
/**
|
|
79
85
|
* Common options for cloud-based modes (apiKey and sessionToken).
|