@dcl/protocol 1.0.0-16915195041.commit-e9319d0 → 1.0.0-17035288213.commit-7dae801
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/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +2 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +17 -3
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -1
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +19 -2
- package/package.json +2 -2
- package/proto/decentraland/social_service/v2/social_service_v2.proto +1 -0
|
@@ -707,6 +707,8 @@ export interface JoinCommunityVoiceChatResponse_Ok {
|
|
|
707
707
|
/** Request to speak in community voice chat */
|
|
708
708
|
export interface RequestToSpeakInCommunityVoiceChatPayload {
|
|
709
709
|
communityId: string;
|
|
710
|
+
/** true to raise hand (request to speak), false to lower hand (withdraw request) */
|
|
711
|
+
isRaisingHand: boolean;
|
|
710
712
|
}
|
|
711
713
|
|
|
712
714
|
export interface RequestToSpeakInCommunityVoiceChatResponse {
|
|
@@ -7639,7 +7641,7 @@ export namespace JoinCommunityVoiceChatResponse_Ok {
|
|
|
7639
7641
|
}
|
|
7640
7642
|
|
|
7641
7643
|
function createBaseRequestToSpeakInCommunityVoiceChatPayload(): RequestToSpeakInCommunityVoiceChatPayload {
|
|
7642
|
-
return { communityId: "" };
|
|
7644
|
+
return { communityId: "", isRaisingHand: false };
|
|
7643
7645
|
}
|
|
7644
7646
|
|
|
7645
7647
|
export namespace RequestToSpeakInCommunityVoiceChatPayload {
|
|
@@ -7650,6 +7652,9 @@ export namespace RequestToSpeakInCommunityVoiceChatPayload {
|
|
|
7650
7652
|
if (message.communityId !== "") {
|
|
7651
7653
|
writer.uint32(10).string(message.communityId);
|
|
7652
7654
|
}
|
|
7655
|
+
if (message.isRaisingHand === true) {
|
|
7656
|
+
writer.uint32(16).bool(message.isRaisingHand);
|
|
7657
|
+
}
|
|
7653
7658
|
return writer;
|
|
7654
7659
|
}
|
|
7655
7660
|
|
|
@@ -7667,6 +7672,13 @@ export namespace RequestToSpeakInCommunityVoiceChatPayload {
|
|
|
7667
7672
|
|
|
7668
7673
|
message.communityId = reader.string();
|
|
7669
7674
|
continue;
|
|
7675
|
+
case 2:
|
|
7676
|
+
if (tag !== 16) {
|
|
7677
|
+
break;
|
|
7678
|
+
}
|
|
7679
|
+
|
|
7680
|
+
message.isRaisingHand = reader.bool();
|
|
7681
|
+
continue;
|
|
7670
7682
|
}
|
|
7671
7683
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7672
7684
|
break;
|
|
@@ -7677,12 +7689,16 @@ export namespace RequestToSpeakInCommunityVoiceChatPayload {
|
|
|
7677
7689
|
}
|
|
7678
7690
|
|
|
7679
7691
|
export function fromJSON(object: any): RequestToSpeakInCommunityVoiceChatPayload {
|
|
7680
|
-
return {
|
|
7692
|
+
return {
|
|
7693
|
+
communityId: isSet(object.communityId) ? String(object.communityId) : "",
|
|
7694
|
+
isRaisingHand: isSet(object.isRaisingHand) ? Boolean(object.isRaisingHand) : false,
|
|
7695
|
+
};
|
|
7681
7696
|
}
|
|
7682
7697
|
|
|
7683
7698
|
export function toJSON(message: RequestToSpeakInCommunityVoiceChatPayload): unknown {
|
|
7684
7699
|
const obj: any = {};
|
|
7685
7700
|
message.communityId !== undefined && (obj.communityId = message.communityId);
|
|
7701
|
+
message.isRaisingHand !== undefined && (obj.isRaisingHand = message.isRaisingHand);
|
|
7686
7702
|
return obj;
|
|
7687
7703
|
}
|
|
7688
7704
|
|
|
@@ -7697,6 +7713,7 @@ export namespace RequestToSpeakInCommunityVoiceChatPayload {
|
|
|
7697
7713
|
): RequestToSpeakInCommunityVoiceChatPayload {
|
|
7698
7714
|
const message = createBaseRequestToSpeakInCommunityVoiceChatPayload();
|
|
7699
7715
|
message.communityId = object.communityId ?? "";
|
|
7716
|
+
message.isRaisingHand = object.isRaisingHand ?? false;
|
|
7700
7717
|
return message;
|
|
7701
7718
|
}
|
|
7702
7719
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/protocol",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-17035288213.commit-7dae801",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": "decentraland/protocol.git",
|
|
6
6
|
"homepage": "https://github.com/decentraland/protocol#readme",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"out-js",
|
|
31
31
|
"public"
|
|
32
32
|
],
|
|
33
|
-
"commit": "
|
|
33
|
+
"commit": "7dae801d3af316702ef2ce39f46a3374b0af679a"
|
|
34
34
|
}
|
|
@@ -455,6 +455,7 @@ message JoinCommunityVoiceChatResponse {
|
|
|
455
455
|
// Request to speak in community voice chat
|
|
456
456
|
message RequestToSpeakInCommunityVoiceChatPayload {
|
|
457
457
|
string community_id = 1;
|
|
458
|
+
bool is_raising_hand = 2; // true to raise hand (request to speak), false to lower hand (withdraw request)
|
|
458
459
|
}
|
|
459
460
|
|
|
460
461
|
message RequestToSpeakInCommunityVoiceChatResponse {
|