mezon-js 2.7.24 → 2.7.25
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/dist/api.gen.d.ts +2 -0
- package/dist/mezon-js.cjs.js +7 -0
- package/package.json +1 -1
package/api.gen.ts
CHANGED
@@ -228,6 +228,10 @@ export interface ApiChannelDescription {
|
|
228
228
|
last_seen_message?: ApiChannelMessageHeader;
|
229
229
|
//
|
230
230
|
last_sent_message?: ApiChannelMessageHeader;
|
231
|
+
//
|
232
|
+
meeting_code?: string;
|
233
|
+
//
|
234
|
+
meeting_uri?: string;
|
231
235
|
//The parrent channel this message belongs to.
|
232
236
|
parrent_id?: string;
|
233
237
|
//The channel type.
|
package/dist/api.gen.d.ts
CHANGED
@@ -131,6 +131,8 @@ export interface ApiChannelDescription {
|
|
131
131
|
creator_id?: string;
|
132
132
|
last_seen_message?: ApiChannelMessageHeader;
|
133
133
|
last_sent_message?: ApiChannelMessageHeader;
|
134
|
+
meeting_code?: string;
|
135
|
+
meeting_uri?: string;
|
134
136
|
parrent_id?: string;
|
135
137
|
type?: number;
|
136
138
|
user_id?: Array<string>;
|
package/dist/mezon-js.cjs.js
CHANGED
@@ -58,6 +58,7 @@ __export(mezon_js_exports, {
|
|
58
58
|
ChannelType: () => ChannelType,
|
59
59
|
Client: () => Client,
|
60
60
|
DefaultSocket: () => DefaultSocket,
|
61
|
+
NotificationType: () => NotificationType,
|
61
62
|
Session: () => Session,
|
62
63
|
WebSocketAdapterText: () => WebSocketAdapterText
|
63
64
|
});
|
@@ -4398,6 +4399,12 @@ var ChannelStreamMode = /* @__PURE__ */ ((ChannelStreamMode2) => {
|
|
4398
4399
|
ChannelStreamMode2[ChannelStreamMode2["STREAM_MODE_DM"] = 4] = "STREAM_MODE_DM";
|
4399
4400
|
return ChannelStreamMode2;
|
4400
4401
|
})(ChannelStreamMode || {});
|
4402
|
+
var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
|
4403
|
+
NotificationType2["ALL_MESSAGE"] = "ALL";
|
4404
|
+
NotificationType2["NOTHING_MESSAGE"] = "NOTHING";
|
4405
|
+
NotificationType2["MENTION_MESSAGE"] = "MENTION";
|
4406
|
+
return NotificationType2;
|
4407
|
+
})(NotificationType || {});
|
4401
4408
|
var Client = class {
|
4402
4409
|
constructor(serverkey = DEFAULT_SERVER_KEY, host = DEFAULT_HOST, port = DEFAULT_PORT, useSSL = false, timeout = DEFAULT_TIMEOUT_MS, autoRefreshSession = true) {
|
4403
4410
|
this.serverkey = serverkey;
|