mezon-js 2.10.6 → 2.10.7
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/dist/socket.d.ts +1 -1
- package/package.json +1 -1
- package/socket.ts +1 -4
package/dist/socket.d.ts
CHANGED
@@ -711,7 +711,7 @@ export interface Socket {
|
|
711
711
|
/** send voice leaved */
|
712
712
|
writeVoiceLeaved(id: string, clanId: string, voiceChannelId: string, voiceUserId: string): Promise<VoiceLeavedEvent>;
|
713
713
|
joinPTTChannel(clanId: string, channelId: string, dataType: number, jsonData: string): Promise<JoinPTTChannel>;
|
714
|
-
talkPTTChannel(channelId: string
|
714
|
+
talkPTTChannel(channelId: string): Promise<TalkPTTChannel>;
|
715
715
|
setHeartbeatTimeoutMs(ms: number): void;
|
716
716
|
getHeartbeatTimeoutMs(): number;
|
717
717
|
checkDuplicateName(name: string, condition_id: string, type: number): Promise<CheckNameExistedEvent>;
|
package/package.json
CHANGED
package/socket.ts
CHANGED
@@ -1093,10 +1093,7 @@ export interface Socket {
|
|
1093
1093
|
): Promise<JoinPTTChannel>;
|
1094
1094
|
|
1095
1095
|
talkPTTChannel(
|
1096
|
-
channelId: string
|
1097
|
-
dataType: number,
|
1098
|
-
jsonData: string,
|
1099
|
-
state: number
|
1096
|
+
channelId: string
|
1100
1097
|
): Promise<TalkPTTChannel>;
|
1101
1098
|
|
1102
1099
|
/* Set the heartbeat timeout used by the socket to detect if it has lost connectivity to the server. */
|