mezon-js 2.10.27 → 2.10.29

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.
@@ -7969,8 +7969,7 @@ var _DefaultSocket = class _DefaultSocket {
7969
7969
  clan_id: clanId,
7970
7970
  channel_id: channelId,
7971
7971
  data_type: dataType,
7972
- json_data: jsonData,
7973
- receiver_id: ""
7972
+ json_data: jsonData
7974
7973
  }
7975
7974
  });
7976
7975
  return response.join_ptt_channel;
@@ -7935,8 +7935,7 @@ var _DefaultSocket = class _DefaultSocket {
7935
7935
  clan_id: clanId,
7936
7936
  channel_id: channelId,
7937
7937
  data_type: dataType,
7938
- json_data: jsonData,
7939
- receiver_id: ""
7938
+ json_data: jsonData
7940
7939
  }
7941
7940
  });
7942
7941
  return response.join_ptt_channel;
package/dist/socket.d.ts CHANGED
@@ -627,7 +627,7 @@ export interface JoinPTTChannel {
627
627
  /** offer */
628
628
  json_data: string;
629
629
  /** receiver id */
630
- receiver_id: string;
630
+ user_id: string;
631
631
  /** clan id */
632
632
  clan_id: string;
633
633
  /** is talk */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.10.27",
4
+ "version": "2.10.29",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
package/socket.ts CHANGED
@@ -879,7 +879,7 @@ export interface JoinPTTChannel {
879
879
  /** offer */
880
880
  json_data: string;
881
881
  /** receiver id */
882
- receiver_id: string;
882
+ user_id: string;
883
883
  /** clan id */
884
884
  clan_id: string;
885
885
  /** is talk */
@@ -2411,7 +2411,6 @@ export class DefaultSocket implements Socket {
2411
2411
  channel_id: channelId,
2412
2412
  data_type: dataType,
2413
2413
  json_data: jsonData,
2414
- receiver_id: "",
2415
2414
  },
2416
2415
  });
2417
2416
  return response.join_ptt_channel;
@@ -2426,7 +2425,7 @@ export class DefaultSocket implements Socket {
2426
2425
  talk_ptt_channel: {
2427
2426
  clan_id: clanId,
2428
2427
  channel_id: channelId,
2429
- isTalk
2428
+ isTalk: isTalk,
2430
2429
  },
2431
2430
  });
2432
2431
  return response.talk_ptt_channel;