mezon-js 2.7.48 → 2.7.49

Sign up to get free protection for your applications and to get access to all the features.
package/dist/socket.d.ts CHANGED
@@ -49,9 +49,9 @@ export interface ClanJoin {
49
49
  interface ChannelJoin {
50
50
  channel_join: {
51
51
  /** The id of the channel to join. */
52
- target_id: string;
52
+ channel_id: string;
53
53
  /** The name of the channel to join. */
54
- target: string;
54
+ channel_label: string;
55
55
  /** The channel type: 1 = Channel, 2 = Direct Message, 3 = Group. */
56
56
  type: number;
57
57
  /** Whether channel messages are persisted in the database. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.7.48",
3
+ "version": "2.7.49",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },
package/socket.ts CHANGED
@@ -64,9 +64,9 @@ export interface ClanJoin {
64
64
  interface ChannelJoin {
65
65
  channel_join: {
66
66
  /** The id of the channel to join. */
67
- target_id: string;
67
+ channel_id: string;
68
68
  /** The name of the channel to join. */
69
- target: string;
69
+ channel_label: string;
70
70
  /** The channel type: 1 = Channel, 2 = Direct Message, 3 = Group. */
71
71
  type: number;
72
72
  /** Whether channel messages are persisted in the database. */