@ikonai/sdk 0.0.7 → 0.0.8

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.
@@ -33,10 +33,9 @@ export declare function authenticateLocal(config: LocalConfig, signal?: AbortSig
33
33
  * 1. Parse URL query parameters (id → sessionId, ck → channelKey, all → parameters)
34
34
  * 2. Derive backend URL and space domain from hostname
35
35
  * 3. Fetch space info by domain
36
- * 4. Fetch channels for space
37
- * 5. Select channel (by channelKey or first available)
38
- * 6. POST /rooms/connect and poll until running
39
- * 7. Connect to the returned Ikon server URL
36
+ * 4. Request channel
37
+ * 5. POST /rooms/connect and poll until running
38
+ * 6. Connect to the returned Ikon server URL
40
39
  */
41
40
  export declare function authenticateBrowser(config: BrowserConfig, signal?: AbortSignal): Promise<AuthResult>;
42
41
  /**
@@ -46,9 +45,8 @@ export declare function authenticateBrowser(config: BrowserConfig, signal?: Abor
46
45
  * 1. POST /auth/api-key with { space, apiKey, user } → get JWT token
47
46
  * 2. Use token as Bearer auth for backend requests
48
47
  * 3. GET /profiles/me?space={spaceId} to create user profile
49
- * 4. Fetch channels for space
50
- * 5. Select channel (by channelKey or first available)
51
- * 6. POST /rooms/connect and poll until running
52
- * 7. Connect to the returned Ikon server URL
48
+ * 4. Request channel
49
+ * 5. POST /rooms/connect and poll until running
50
+ * 6. Connect to the returned Ikon server URL
53
51
  */
54
52
  export declare function authenticateApiKey(config: ApiKeyConfig, signal?: AbortSignal): Promise<AuthResult>;