mezon-js-protobuf 1.6.57 → 1.6.58
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.
|
@@ -934,8 +934,8 @@ export interface JoinPTTChannel {
|
|
|
934
934
|
data_type: number;
|
|
935
935
|
/** offer */
|
|
936
936
|
json_data: string;
|
|
937
|
-
/**
|
|
938
|
-
|
|
937
|
+
/** user id */
|
|
938
|
+
user_id: string;
|
|
939
939
|
/** clan id */
|
|
940
940
|
clan_id: string;
|
|
941
941
|
}
|
|
@@ -1723,7 +1723,7 @@ export declare const Envelope: {
|
|
|
1723
1723
|
channel_id?: string | undefined;
|
|
1724
1724
|
data_type?: number | undefined;
|
|
1725
1725
|
json_data?: string | undefined;
|
|
1726
|
-
|
|
1726
|
+
user_id?: string | undefined;
|
|
1727
1727
|
clan_id?: string | undefined;
|
|
1728
1728
|
} | undefined;
|
|
1729
1729
|
talk_ptt_channel?: {
|
|
@@ -3857,13 +3857,13 @@ export declare const Envelope: {
|
|
|
3857
3857
|
channel_id?: string | undefined;
|
|
3858
3858
|
data_type?: number | undefined;
|
|
3859
3859
|
json_data?: string | undefined;
|
|
3860
|
-
|
|
3860
|
+
user_id?: string | undefined;
|
|
3861
3861
|
clan_id?: string | undefined;
|
|
3862
3862
|
} & {
|
|
3863
3863
|
channel_id?: string | undefined;
|
|
3864
3864
|
data_type?: number | undefined;
|
|
3865
3865
|
json_data?: string | undefined;
|
|
3866
|
-
|
|
3866
|
+
user_id?: string | undefined;
|
|
3867
3867
|
clan_id?: string | undefined;
|
|
3868
3868
|
} & { [K_136 in Exclude<keyof I["join_ptt_channel"], keyof JoinPTTChannel>]: never; }) | undefined;
|
|
3869
3869
|
talk_ptt_channel?: ({
|
|
@@ -4717,7 +4717,7 @@ export declare const Envelope: {
|
|
|
4717
4717
|
channel_id?: string | undefined;
|
|
4718
4718
|
data_type?: number | undefined;
|
|
4719
4719
|
json_data?: string | undefined;
|
|
4720
|
-
|
|
4720
|
+
user_id?: string | undefined;
|
|
4721
4721
|
clan_id?: string | undefined;
|
|
4722
4722
|
} | undefined;
|
|
4723
4723
|
talk_ptt_channel?: {
|
|
@@ -6851,13 +6851,13 @@ export declare const Envelope: {
|
|
|
6851
6851
|
channel_id?: string | undefined;
|
|
6852
6852
|
data_type?: number | undefined;
|
|
6853
6853
|
json_data?: string | undefined;
|
|
6854
|
-
|
|
6854
|
+
user_id?: string | undefined;
|
|
6855
6855
|
clan_id?: string | undefined;
|
|
6856
6856
|
} & {
|
|
6857
6857
|
channel_id?: string | undefined;
|
|
6858
6858
|
data_type?: number | undefined;
|
|
6859
6859
|
json_data?: string | undefined;
|
|
6860
|
-
|
|
6860
|
+
user_id?: string | undefined;
|
|
6861
6861
|
clan_id?: string | undefined;
|
|
6862
6862
|
} & { [K_284 in Exclude<keyof I_1["join_ptt_channel"], keyof JoinPTTChannel>]: never; }) | undefined;
|
|
6863
6863
|
talk_ptt_channel?: ({
|
|
@@ -11653,26 +11653,26 @@ export declare const JoinPTTChannel: {
|
|
|
11653
11653
|
channel_id?: string | undefined;
|
|
11654
11654
|
data_type?: number | undefined;
|
|
11655
11655
|
json_data?: string | undefined;
|
|
11656
|
-
|
|
11656
|
+
user_id?: string | undefined;
|
|
11657
11657
|
clan_id?: string | undefined;
|
|
11658
11658
|
} & {
|
|
11659
11659
|
channel_id?: string | undefined;
|
|
11660
11660
|
data_type?: number | undefined;
|
|
11661
11661
|
json_data?: string | undefined;
|
|
11662
|
-
|
|
11662
|
+
user_id?: string | undefined;
|
|
11663
11663
|
clan_id?: string | undefined;
|
|
11664
11664
|
} & { [K in Exclude<keyof I, keyof JoinPTTChannel>]: never; }>(base?: I | undefined): JoinPTTChannel;
|
|
11665
11665
|
fromPartial<I_1 extends {
|
|
11666
11666
|
channel_id?: string | undefined;
|
|
11667
11667
|
data_type?: number | undefined;
|
|
11668
11668
|
json_data?: string | undefined;
|
|
11669
|
-
|
|
11669
|
+
user_id?: string | undefined;
|
|
11670
11670
|
clan_id?: string | undefined;
|
|
11671
11671
|
} & {
|
|
11672
11672
|
channel_id?: string | undefined;
|
|
11673
11673
|
data_type?: number | undefined;
|
|
11674
11674
|
json_data?: string | undefined;
|
|
11675
|
-
|
|
11675
|
+
user_id?: string | undefined;
|
|
11676
11676
|
clan_id?: string | undefined;
|
|
11677
11677
|
} & { [K_1 in Exclude<keyof I_1, keyof JoinPTTChannel>]: never; }>(object: I_1): JoinPTTChannel;
|
|
11678
11678
|
};
|
|
@@ -13591,7 +13591,7 @@ var UnmuteEvent = {
|
|
|
13591
13591
|
}
|
|
13592
13592
|
};
|
|
13593
13593
|
function createBaseJoinPTTChannel() {
|
|
13594
|
-
return { channel_id: "", data_type: 0, json_data: "",
|
|
13594
|
+
return { channel_id: "", data_type: 0, json_data: "", user_id: "", clan_id: "" };
|
|
13595
13595
|
}
|
|
13596
13596
|
var JoinPTTChannel = {
|
|
13597
13597
|
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
@@ -13604,8 +13604,8 @@ var JoinPTTChannel = {
|
|
|
13604
13604
|
if (message.json_data !== "") {
|
|
13605
13605
|
writer.uint32(26).string(message.json_data);
|
|
13606
13606
|
}
|
|
13607
|
-
if (message.
|
|
13608
|
-
writer.uint32(34).string(message.
|
|
13607
|
+
if (message.user_id !== "") {
|
|
13608
|
+
writer.uint32(34).string(message.user_id);
|
|
13609
13609
|
}
|
|
13610
13610
|
if (message.clan_id !== "") {
|
|
13611
13611
|
writer.uint32(42).string(message.clan_id);
|
|
@@ -13641,7 +13641,7 @@ var JoinPTTChannel = {
|
|
|
13641
13641
|
if (tag !== 34) {
|
|
13642
13642
|
break;
|
|
13643
13643
|
}
|
|
13644
|
-
message.
|
|
13644
|
+
message.user_id = reader.string();
|
|
13645
13645
|
continue;
|
|
13646
13646
|
case 5:
|
|
13647
13647
|
if (tag !== 42) {
|
|
@@ -13662,7 +13662,7 @@ var JoinPTTChannel = {
|
|
|
13662
13662
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
13663
13663
|
data_type: isSet4(object.data_type) ? globalThis.Number(object.data_type) : 0,
|
|
13664
13664
|
json_data: isSet4(object.json_data) ? globalThis.String(object.json_data) : "",
|
|
13665
|
-
|
|
13665
|
+
user_id: isSet4(object.user_id) ? globalThis.String(object.user_id) : "",
|
|
13666
13666
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : ""
|
|
13667
13667
|
};
|
|
13668
13668
|
},
|
|
@@ -13677,8 +13677,8 @@ var JoinPTTChannel = {
|
|
|
13677
13677
|
if (message.json_data !== "") {
|
|
13678
13678
|
obj.json_data = message.json_data;
|
|
13679
13679
|
}
|
|
13680
|
-
if (message.
|
|
13681
|
-
obj.
|
|
13680
|
+
if (message.user_id !== "") {
|
|
13681
|
+
obj.user_id = message.user_id;
|
|
13682
13682
|
}
|
|
13683
13683
|
if (message.clan_id !== "") {
|
|
13684
13684
|
obj.clan_id = message.clan_id;
|
|
@@ -13694,7 +13694,7 @@ var JoinPTTChannel = {
|
|
|
13694
13694
|
message.channel_id = (_a = object.channel_id) != null ? _a : "";
|
|
13695
13695
|
message.data_type = (_b = object.data_type) != null ? _b : 0;
|
|
13696
13696
|
message.json_data = (_c = object.json_data) != null ? _c : "";
|
|
13697
|
-
message.
|
|
13697
|
+
message.user_id = (_d = object.user_id) != null ? _d : "";
|
|
13698
13698
|
message.clan_id = (_e = object.clan_id) != null ? _e : "";
|
|
13699
13699
|
return message;
|
|
13700
13700
|
}
|
|
@@ -13578,7 +13578,7 @@ var UnmuteEvent = {
|
|
|
13578
13578
|
}
|
|
13579
13579
|
};
|
|
13580
13580
|
function createBaseJoinPTTChannel() {
|
|
13581
|
-
return { channel_id: "", data_type: 0, json_data: "",
|
|
13581
|
+
return { channel_id: "", data_type: 0, json_data: "", user_id: "", clan_id: "" };
|
|
13582
13582
|
}
|
|
13583
13583
|
var JoinPTTChannel = {
|
|
13584
13584
|
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
@@ -13591,8 +13591,8 @@ var JoinPTTChannel = {
|
|
|
13591
13591
|
if (message.json_data !== "") {
|
|
13592
13592
|
writer.uint32(26).string(message.json_data);
|
|
13593
13593
|
}
|
|
13594
|
-
if (message.
|
|
13595
|
-
writer.uint32(34).string(message.
|
|
13594
|
+
if (message.user_id !== "") {
|
|
13595
|
+
writer.uint32(34).string(message.user_id);
|
|
13596
13596
|
}
|
|
13597
13597
|
if (message.clan_id !== "") {
|
|
13598
13598
|
writer.uint32(42).string(message.clan_id);
|
|
@@ -13628,7 +13628,7 @@ var JoinPTTChannel = {
|
|
|
13628
13628
|
if (tag !== 34) {
|
|
13629
13629
|
break;
|
|
13630
13630
|
}
|
|
13631
|
-
message.
|
|
13631
|
+
message.user_id = reader.string();
|
|
13632
13632
|
continue;
|
|
13633
13633
|
case 5:
|
|
13634
13634
|
if (tag !== 42) {
|
|
@@ -13649,7 +13649,7 @@ var JoinPTTChannel = {
|
|
|
13649
13649
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
13650
13650
|
data_type: isSet4(object.data_type) ? globalThis.Number(object.data_type) : 0,
|
|
13651
13651
|
json_data: isSet4(object.json_data) ? globalThis.String(object.json_data) : "",
|
|
13652
|
-
|
|
13652
|
+
user_id: isSet4(object.user_id) ? globalThis.String(object.user_id) : "",
|
|
13653
13653
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : ""
|
|
13654
13654
|
};
|
|
13655
13655
|
},
|
|
@@ -13664,8 +13664,8 @@ var JoinPTTChannel = {
|
|
|
13664
13664
|
if (message.json_data !== "") {
|
|
13665
13665
|
obj.json_data = message.json_data;
|
|
13666
13666
|
}
|
|
13667
|
-
if (message.
|
|
13668
|
-
obj.
|
|
13667
|
+
if (message.user_id !== "") {
|
|
13668
|
+
obj.user_id = message.user_id;
|
|
13669
13669
|
}
|
|
13670
13670
|
if (message.clan_id !== "") {
|
|
13671
13671
|
obj.clan_id = message.clan_id;
|
|
@@ -13681,7 +13681,7 @@ var JoinPTTChannel = {
|
|
|
13681
13681
|
message.channel_id = (_a = object.channel_id) != null ? _a : "";
|
|
13682
13682
|
message.data_type = (_b = object.data_type) != null ? _b : 0;
|
|
13683
13683
|
message.json_data = (_c = object.json_data) != null ? _c : "";
|
|
13684
|
-
message.
|
|
13684
|
+
message.user_id = (_d = object.user_id) != null ? _d : "";
|
|
13685
13685
|
message.clan_id = (_e = object.clan_id) != null ? _e : "";
|
|
13686
13686
|
return message;
|
|
13687
13687
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.58",
|
|
4
4
|
"description": "Websocket adapter adding protocol buffer support to the Mezon Javascript client.",
|
|
5
5
|
"main": "dist/mezon-js-protobuf.cjs.js",
|
|
6
6
|
"module": "dist/mezon-js-protobuf.esm.mjs",
|
package/rtapi/realtime.ts
CHANGED
|
@@ -1243,8 +1243,8 @@ export interface JoinPTTChannel {
|
|
|
1243
1243
|
data_type: number;
|
|
1244
1244
|
/** offer */
|
|
1245
1245
|
json_data: string;
|
|
1246
|
-
/**
|
|
1247
|
-
|
|
1246
|
+
/** user id */
|
|
1247
|
+
user_id: string;
|
|
1248
1248
|
/** clan id */
|
|
1249
1249
|
clan_id: string;
|
|
1250
1250
|
}
|
|
@@ -10551,7 +10551,7 @@ export const UnmuteEvent = {
|
|
|
10551
10551
|
};
|
|
10552
10552
|
|
|
10553
10553
|
function createBaseJoinPTTChannel(): JoinPTTChannel {
|
|
10554
|
-
return { channel_id: "", data_type: 0, json_data: "",
|
|
10554
|
+
return { channel_id: "", data_type: 0, json_data: "", user_id: "", clan_id: "" };
|
|
10555
10555
|
}
|
|
10556
10556
|
|
|
10557
10557
|
export const JoinPTTChannel = {
|
|
@@ -10565,8 +10565,8 @@ export const JoinPTTChannel = {
|
|
|
10565
10565
|
if (message.json_data !== "") {
|
|
10566
10566
|
writer.uint32(26).string(message.json_data);
|
|
10567
10567
|
}
|
|
10568
|
-
if (message.
|
|
10569
|
-
writer.uint32(34).string(message.
|
|
10568
|
+
if (message.user_id !== "") {
|
|
10569
|
+
writer.uint32(34).string(message.user_id);
|
|
10570
10570
|
}
|
|
10571
10571
|
if (message.clan_id !== "") {
|
|
10572
10572
|
writer.uint32(42).string(message.clan_id);
|
|
@@ -10607,7 +10607,7 @@ export const JoinPTTChannel = {
|
|
|
10607
10607
|
break;
|
|
10608
10608
|
}
|
|
10609
10609
|
|
|
10610
|
-
message.
|
|
10610
|
+
message.user_id = reader.string();
|
|
10611
10611
|
continue;
|
|
10612
10612
|
case 5:
|
|
10613
10613
|
if (tag !== 42) {
|
|
@@ -10630,7 +10630,7 @@ export const JoinPTTChannel = {
|
|
|
10630
10630
|
channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
10631
10631
|
data_type: isSet(object.data_type) ? globalThis.Number(object.data_type) : 0,
|
|
10632
10632
|
json_data: isSet(object.json_data) ? globalThis.String(object.json_data) : "",
|
|
10633
|
-
|
|
10633
|
+
user_id: isSet(object.user_id) ? globalThis.String(object.user_id) : "",
|
|
10634
10634
|
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
10635
10635
|
};
|
|
10636
10636
|
},
|
|
@@ -10646,8 +10646,8 @@ export const JoinPTTChannel = {
|
|
|
10646
10646
|
if (message.json_data !== "") {
|
|
10647
10647
|
obj.json_data = message.json_data;
|
|
10648
10648
|
}
|
|
10649
|
-
if (message.
|
|
10650
|
-
obj.
|
|
10649
|
+
if (message.user_id !== "") {
|
|
10650
|
+
obj.user_id = message.user_id;
|
|
10651
10651
|
}
|
|
10652
10652
|
if (message.clan_id !== "") {
|
|
10653
10653
|
obj.clan_id = message.clan_id;
|
|
@@ -10663,7 +10663,7 @@ export const JoinPTTChannel = {
|
|
|
10663
10663
|
message.channel_id = object.channel_id ?? "";
|
|
10664
10664
|
message.data_type = object.data_type ?? 0;
|
|
10665
10665
|
message.json_data = object.json_data ?? "";
|
|
10666
|
-
message.
|
|
10666
|
+
message.user_id = object.user_id ?? "";
|
|
10667
10667
|
message.clan_id = object.clan_id ?? "";
|
|
10668
10668
|
return message;
|
|
10669
10669
|
},
|