mezon-js 2.8.46 → 2.8.47

Sign up to get free protection for your applications and to get access to all the features.
@@ -4743,7 +4743,7 @@ var _DefaultSocket = class _DefaultSocket {
4743
4743
  this.onuserprofileupdate(message.user_profile_updated_event);
4744
4744
  } else if (message.user_profile_updated_event) {
4745
4745
  this.onuserchannelremoved(message.user_channel_removed_event);
4746
- } else if (message.user_clan_removed_event) {
4746
+ } else if (message.user_channel_removed_event) {
4747
4747
  this.onuserclanremoved(message.user_clan_removed_event);
4748
4748
  } else {
4749
4749
  if (this.verbose && window && window.console) {
@@ -4714,7 +4714,7 @@ var _DefaultSocket = class _DefaultSocket {
4714
4714
  this.onuserprofileupdate(message.user_profile_updated_event);
4715
4715
  } else if (message.user_profile_updated_event) {
4716
4716
  this.onuserchannelremoved(message.user_channel_removed_event);
4717
- } else if (message.user_clan_removed_event) {
4717
+ } else if (message.user_channel_removed_event) {
4718
4718
  this.onuserclanremoved(message.user_clan_removed_event);
4719
4719
  } else {
4720
4720
  if (this.verbose && window && window.console) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.8.46",
3
+ "version": "2.8.47",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },
@@ -38,7 +38,6 @@
38
38
  "base64-arraybuffer": "^1.0.2",
39
39
  "esbuild": "^0.19.11",
40
40
  "js-base64": "^3.7.4",
41
- "mezon-js": "file:",
42
41
  "whatwg-fetch": "^3.6.2"
43
42
  },
44
43
  "devDependencies": {
package/socket.ts CHANGED
@@ -1016,7 +1016,7 @@ export class DefaultSocket implements Socket {
1016
1016
  this.onuserprofileupdate(<UserProfileUpdatedEvent>message.user_profile_updated_event);
1017
1017
  } else if (message.user_profile_updated_event) {
1018
1018
  this.onuserchannelremoved(<UserChannelRemovedEvent>message.user_channel_removed_event);
1019
- } else if (message.user_clan_removed_event) {
1019
+ } else if (message.user_channel_removed_event) {
1020
1020
  this.onuserclanremoved(<UserClanRemovedEvent>message.user_clan_removed_event);
1021
1021
  } else {
1022
1022
  if (this.verbose && window && window.console) {