mezon-js 2.11.8 → 2.11.10
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/api.gen.ts +4 -0
- package/client.ts +190 -185
- package/dist/api.gen.d.ts +2 -0
- package/dist/client.d.ts +3 -1
- package/dist/mezon-js.cjs.js +194 -185
- package/dist/mezon-js.esm.mjs +194 -185
- package/dist/socket.d.ts +1 -0
- package/package.json +1 -1
- package/socket.ts +9 -1
package/dist/api.gen.d.ts
CHANGED
@@ -92,6 +92,7 @@ export interface MezonUpdateClanDescBody {
|
|
92
92
|
status?: number;
|
93
93
|
is_onboarding?: boolean;
|
94
94
|
welcome_channel_id?: string;
|
95
|
+
onboarding_banner?: string;
|
95
96
|
}
|
96
97
|
/** */
|
97
98
|
export interface MezonUpdateClanDescProfileBody {
|
@@ -543,6 +544,7 @@ export interface ApiClanDesc {
|
|
543
544
|
badge_count?: number;
|
544
545
|
is_onboarding?: boolean;
|
545
546
|
welcome_channel_id?: string;
|
547
|
+
onboarding_banner?: string;
|
546
548
|
}
|
547
549
|
/** */
|
548
550
|
export interface ApiClanDescList {
|
package/dist/client.d.ts
CHANGED
@@ -69,7 +69,7 @@ export interface ChannelMessage {
|
|
69
69
|
mentions?: Array<ApiMessageMention>;
|
70
70
|
attachments?: Array<ApiMessageAttachment>;
|
71
71
|
references?: Array<ApiMessageRef>;
|
72
|
-
referenced_message?:
|
72
|
+
referenced_message?: string[];
|
73
73
|
persistent?: boolean;
|
74
74
|
sender_id: string;
|
75
75
|
update_time?: string;
|
@@ -343,6 +343,8 @@ export declare class Client {
|
|
343
343
|
readonly useSSL: boolean;
|
344
344
|
readonly timeout: number;
|
345
345
|
readonly autoRefreshSession: boolean;
|
346
|
+
/** The expired timespan used to check session lifetime. */
|
347
|
+
expiredTimespanMs: number;
|
346
348
|
/** The low level API client for Mezon server. */
|
347
349
|
private readonly apiClient;
|
348
350
|
/** thre refreshTokenPromise */
|