mezon-js 2.12.20 → 2.12.21

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.
@@ -7109,15 +7109,13 @@ var _DefaultSocket = class _DefaultSocket {
7109
7109
  message.dropdown_box_selected
7110
7110
  );
7111
7111
  } else if (message.voice_reaction_send) {
7112
- this.onVoiceReactionMessage(
7112
+ this.onvoicereactionmessage(
7113
7113
  message.voice_reaction_send
7114
7114
  );
7115
7115
  } else if (message.webrtc_signaling_fwd) {
7116
7116
  this.onwebrtcsignalingfwd(
7117
7117
  message.webrtc_signaling_fwd
7118
7118
  );
7119
- } else if (message.sfu_signaling_fwd) {
7120
- this.onsfusignalingfwd(message.sfu_signaling_fwd);
7121
7119
  } else if (message.list_activity) {
7122
7120
  this.onactivityupdated(message.list_activity);
7123
7121
  } else if (message.sd_topic_event) {
@@ -7457,7 +7455,7 @@ var _DefaultSocket = class _DefaultSocket {
7457
7455
  console.log(msg);
7458
7456
  }
7459
7457
  }
7460
- onVoiceReactionMessage(event) {
7458
+ onvoicereactionmessage(event) {
7461
7459
  if (this.verbose && window && window.console) {
7462
7460
  console.log(event);
7463
7461
  }
@@ -7467,11 +7465,6 @@ var _DefaultSocket = class _DefaultSocket {
7467
7465
  console.log(event);
7468
7466
  }
7469
7467
  }
7470
- onsfusignalingfwd(event) {
7471
- if (this.verbose && window && window.console) {
7472
- console.log(event);
7473
- }
7474
- }
7475
7468
  onactivityupdated(list_activity) {
7476
7469
  if (this.verbose && window && window.console) {
7477
7470
  console.log(list_activity);
@@ -7075,15 +7075,13 @@ var _DefaultSocket = class _DefaultSocket {
7075
7075
  message.dropdown_box_selected
7076
7076
  );
7077
7077
  } else if (message.voice_reaction_send) {
7078
- this.onVoiceReactionMessage(
7078
+ this.onvoicereactionmessage(
7079
7079
  message.voice_reaction_send
7080
7080
  );
7081
7081
  } else if (message.webrtc_signaling_fwd) {
7082
7082
  this.onwebrtcsignalingfwd(
7083
7083
  message.webrtc_signaling_fwd
7084
7084
  );
7085
- } else if (message.sfu_signaling_fwd) {
7086
- this.onsfusignalingfwd(message.sfu_signaling_fwd);
7087
7085
  } else if (message.list_activity) {
7088
7086
  this.onactivityupdated(message.list_activity);
7089
7087
  } else if (message.sd_topic_event) {
@@ -7423,7 +7421,7 @@ var _DefaultSocket = class _DefaultSocket {
7423
7421
  console.log(msg);
7424
7422
  }
7425
7423
  }
7426
- onVoiceReactionMessage(event) {
7424
+ onvoicereactionmessage(event) {
7427
7425
  if (this.verbose && window && window.console) {
7428
7426
  console.log(event);
7429
7427
  }
@@ -7433,11 +7431,6 @@ var _DefaultSocket = class _DefaultSocket {
7433
7431
  console.log(event);
7434
7432
  }
7435
7433
  }
7436
- onsfusignalingfwd(event) {
7437
- if (this.verbose && window && window.console) {
7438
- console.log(event);
7439
- }
7440
- }
7441
7434
  onactivityupdated(list_activity) {
7442
7435
  if (this.verbose && window && window.console) {
7443
7436
  console.log(list_activity);
package/dist/socket.d.ts CHANGED
@@ -896,8 +896,7 @@ export interface Socket {
896
896
  onmessagebuttonclicked: (event: MessageButtonClicked) => void;
897
897
  onmessagedropdownboxselected: (event: DropdownBoxSelected) => void;
898
898
  onwebrtcsignalingfwd: (event: WebrtcSignalingFwd) => void;
899
- onVoiceReactionMessage: (event: VoiceReactionSend) => void;
900
- onsfusignalingfwd: (event: SFUSignalingFwd) => void;
899
+ onvoicereactionmessage: (event: VoiceReactionSend) => void;
901
900
  oneventcreated: (clan_event_created: ApiCreateEventRequest) => void;
902
901
  oncoffeegiven: (give_coffee_event: ApiGiveCoffeeEvent) => void;
903
902
  oneventemoji: (event_emoji: EventEmoji) => void;
@@ -1003,9 +1002,8 @@ export declare class DefaultSocket implements Socket {
1003
1002
  ontokensent(tokenSentEvent: ApiTokenSentEvent): void;
1004
1003
  onmessagebuttonclicked(messageButtonClicked: MessageButtonClicked): void;
1005
1004
  onmessagedropdownboxselected(msg: DropdownBoxSelected): void;
1006
- onVoiceReactionMessage(event: VoiceReactionSend): void;
1005
+ onvoicereactionmessage(event: VoiceReactionSend): void;
1007
1006
  onwebrtcsignalingfwd(event: WebrtcSignalingFwd): void;
1008
- onsfusignalingfwd(event: SFUSignalingFwd): void;
1009
1007
  onactivityupdated(list_activity: ListActivity): void;
1010
1008
  onsdtopicevent(sd_topic_event: SdTopicEvent): void;
1011
1009
  onchannelappevent(event: ChannelAppEvent): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.12.20",
4
+ "version": "2.12.21",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
package/socket.ts CHANGED
@@ -1533,9 +1533,7 @@ export interface Socket {
1533
1533
 
1534
1534
  onwebrtcsignalingfwd: (event: WebrtcSignalingFwd) => void;
1535
1535
 
1536
- onVoiceReactionMessage: (event: VoiceReactionSend) => void;
1537
-
1538
- onsfusignalingfwd: (event: SFUSignalingFwd) => void;
1536
+ onvoicereactionmessage: (event: VoiceReactionSend) => void;
1539
1537
 
1540
1538
  oneventcreated: (clan_event_created: ApiCreateEventRequest) => void;
1541
1539
 
@@ -1809,15 +1807,13 @@ export class DefaultSocket implements Socket {
1809
1807
  <DropdownBoxSelected>message.dropdown_box_selected
1810
1808
  );
1811
1809
  } else if (message.voice_reaction_send) {
1812
- this.onVoiceReactionMessage(
1810
+ this.onvoicereactionmessage(
1813
1811
  <VoiceReactionSend>message.voice_reaction_send
1814
1812
  );
1815
1813
  } else if (message.webrtc_signaling_fwd) {
1816
1814
  this.onwebrtcsignalingfwd(
1817
1815
  <WebrtcSignalingFwd>message.webrtc_signaling_fwd
1818
1816
  );
1819
- } else if (message.sfu_signaling_fwd) {
1820
- this.onsfusignalingfwd(<SFUSignalingFwd>message.sfu_signaling_fwd);
1821
1817
  } else if (message.list_activity) {
1822
1818
  this.onactivityupdated(<ListActivity>message.list_activity);
1823
1819
  } else if (message.sd_topic_event) {
@@ -2221,7 +2217,7 @@ export class DefaultSocket implements Socket {
2221
2217
  }
2222
2218
  }
2223
2219
 
2224
- onVoiceReactionMessage(event: VoiceReactionSend) {
2220
+ onvoicereactionmessage(event: VoiceReactionSend) {
2225
2221
  if (this.verbose && window && window.console) {
2226
2222
  console.log(event);
2227
2223
  }
@@ -2233,12 +2229,6 @@ export class DefaultSocket implements Socket {
2233
2229
  }
2234
2230
  }
2235
2231
 
2236
- onsfusignalingfwd(event: SFUSignalingFwd) {
2237
- if (this.verbose && window && window.console) {
2238
- console.log(event);
2239
- }
2240
- }
2241
-
2242
2232
  onactivityupdated(list_activity: ListActivity) {
2243
2233
  if (this.verbose && window && window.console) {
2244
2234
  console.log(list_activity);