dimsum-chat 0.1.4 → 0.1.5
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/dist/parser.d.ts +1 -1
- package/dist/websocket.d.ts +2 -2
- package/package.json +1 -1
package/dist/parser.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ declare class Parser {
|
|
|
15
15
|
get clubLevel(): number | undefined;
|
|
16
16
|
get clubName(): string | undefined;
|
|
17
17
|
get acfunClubUid(): number | undefined;
|
|
18
|
-
get douyinSubscribe():
|
|
18
|
+
get douyinSubscribe(): 0 | 1 | 2 | undefined;
|
|
19
19
|
get avatar(): string | undefined;
|
|
20
20
|
get comment(): string | undefined;
|
|
21
21
|
getCommentHTML(options?: commentParseOptions): string | undefined;
|
package/dist/websocket.d.ts
CHANGED
|
@@ -15,8 +15,8 @@ declare function getBfaceURL(uid: string | number): string;
|
|
|
15
15
|
interface onMessageOptions {
|
|
16
16
|
customWsServer?: string | URL;
|
|
17
17
|
}
|
|
18
|
-
declare function onMessage(callback: (msg
|
|
18
|
+
declare function onMessage(callback: (msg: {
|
|
19
19
|
type: string;
|
|
20
20
|
content: any;
|
|
21
|
-
}, parser
|
|
21
|
+
}, parser: Parser) => void, options?: onMessageOptions): void;
|
|
22
22
|
export { WebSocketManager, getBfaceURL, getWebSocketURL, onMessage };
|