We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e41756 commit a66f087Copy full SHA for a66f087
2 files changed
src/adapters/config/web-socket-config.ts
@@ -19,7 +19,7 @@ export interface WebSocketConfigProps {
19
* const instance = await rest.v2.instance.fetch();
20
*
21
* const streaming = createStreamingAPIClient({
22
- * streamingApiUrl: instance.configuration.urls.streamingApi,
+ * streamingApiUrl: instance.configuration.urls.streaming,
23
* })
24
* ```
25
*/
src/mastodon/entities/v2/instance.ts
@@ -28,7 +28,7 @@ export interface InstanceThumbnail {
28
29
export interface InstanceUrls {
30
/** The WebSockets URL for connecting to the streaming API. */
31
- streamingApi: string;
+ streaming: string;
32
/** Instance status URL */
33
status?: string;
34
}
0 commit comments