mezon-js 2.10.5 → 2.10.6
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/mezon-js.cjs.js +2 -5
- package/dist/mezon-js.esm.mjs +2 -5
- package/dist/socket.d.ts +1 -1
- package/package.json +1 -1
- package/socket.ts +2 -8
package/dist/mezon-js.cjs.js
CHANGED
@@ -7969,14 +7969,11 @@ var _DefaultSocket = class _DefaultSocket {
|
|
7969
7969
|
return response.join_ptt_channel;
|
7970
7970
|
});
|
7971
7971
|
}
|
7972
|
-
talkPTTChannel(channelId
|
7972
|
+
talkPTTChannel(channelId) {
|
7973
7973
|
return __async(this, null, function* () {
|
7974
7974
|
const response = yield this.send({
|
7975
7975
|
talk_ptt_channel: {
|
7976
|
-
channel_id: channelId
|
7977
|
-
data_type: dataType,
|
7978
|
-
json_data: jsonData,
|
7979
|
-
state
|
7976
|
+
channel_id: channelId
|
7980
7977
|
}
|
7981
7978
|
});
|
7982
7979
|
return response.talk_ptt_channel;
|
package/dist/mezon-js.esm.mjs
CHANGED
@@ -7935,14 +7935,11 @@ var _DefaultSocket = class _DefaultSocket {
|
|
7935
7935
|
return response.join_ptt_channel;
|
7936
7936
|
});
|
7937
7937
|
}
|
7938
|
-
talkPTTChannel(channelId
|
7938
|
+
talkPTTChannel(channelId) {
|
7939
7939
|
return __async(this, null, function* () {
|
7940
7940
|
const response = yield this.send({
|
7941
7941
|
talk_ptt_channel: {
|
7942
|
-
channel_id: channelId
|
7943
|
-
data_type: dataType,
|
7944
|
-
json_data: jsonData,
|
7945
|
-
state
|
7942
|
+
channel_id: channelId
|
7946
7943
|
}
|
7947
7944
|
});
|
7948
7945
|
return response.talk_ptt_channel;
|
package/dist/socket.d.ts
CHANGED
@@ -902,7 +902,7 @@ export declare class DefaultSocket implements Socket {
|
|
902
902
|
handleDropdownBoxSelected(message_id: string, channel_id: string, selectbox_id: string, sender_id: string, user_id: string, value: Array<string>): Promise<DropdownBoxSelected>;
|
903
903
|
handleMessageButtonClick(message_id: string, channel_id: string, button_id: string, sender_id: string, user_id: string, extra_data: string): Promise<MessageButtonClicked>;
|
904
904
|
joinPTTChannel(clanId: string, channelId: string, dataType: number, jsonData: string): Promise<JoinPTTChannel>;
|
905
|
-
talkPTTChannel(channelId: string
|
905
|
+
talkPTTChannel(channelId: string): Promise<TalkPTTChannel>;
|
906
906
|
private pingPong;
|
907
907
|
}
|
908
908
|
export {};
|
package/package.json
CHANGED
package/socket.ts
CHANGED
@@ -2405,17 +2405,11 @@ export class DefaultSocket implements Socket {
|
|
2405
2405
|
}
|
2406
2406
|
|
2407
2407
|
async talkPTTChannel(
|
2408
|
-
channelId: string
|
2409
|
-
dataType: number,
|
2410
|
-
jsonData: string,
|
2411
|
-
state: number
|
2408
|
+
channelId: string
|
2412
2409
|
): Promise<TalkPTTChannel> {
|
2413
2410
|
const response = await this.send({
|
2414
2411
|
talk_ptt_channel: {
|
2415
|
-
channel_id: channelId
|
2416
|
-
data_type: dataType,
|
2417
|
-
json_data: jsonData,
|
2418
|
-
state: state,
|
2412
|
+
channel_id: channelId
|
2419
2413
|
},
|
2420
2414
|
});
|
2421
2415
|
return response.talk_ptt_channel;
|