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 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>;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.7.24",
3
+ "version": "2.7.25",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },