@dcl/protocol 1.0.0-22576259823.commit-260e173 → 1.0.0-22578236808.commit-b829b38

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.
@@ -2,7 +2,6 @@
2
2
  import Long from "long";
3
3
  import _m0 from "protobufjs/minimal";
4
4
  import { Empty } from "../../../google/protobuf/empty.gen";
5
- import { Color3 } from "../../common/colors.gen";
6
5
  import {
7
6
  ConflictingError,
8
7
  ForbiddenError,
@@ -289,7 +288,6 @@ export interface FriendProfile {
289
288
  name: string;
290
289
  hasClaimedName: boolean;
291
290
  profilePictureUrl: string;
292
- nameColor?: Color3 | undefined;
293
291
  }
294
292
 
295
293
  export interface BlockedUserProfile {
@@ -298,7 +296,6 @@ export interface BlockedUserProfile {
298
296
  hasClaimedName: boolean;
299
297
  profilePictureUrl: string;
300
298
  blockedAt?: number | undefined;
301
- nameColor?: Color3 | undefined;
302
299
  }
303
300
 
304
301
  export interface Pagination {
@@ -930,7 +927,7 @@ export namespace User {
930
927
  }
931
928
 
932
929
  function createBaseFriendProfile(): FriendProfile {
933
- return { address: "", name: "", hasClaimedName: false, profilePictureUrl: "", nameColor: undefined };
930
+ return { address: "", name: "", hasClaimedName: false, profilePictureUrl: "" };
934
931
  }
935
932
 
936
933
  export namespace FriendProfile {
@@ -947,9 +944,6 @@ export namespace FriendProfile {
947
944
  if (message.profilePictureUrl !== "") {
948
945
  writer.uint32(34).string(message.profilePictureUrl);
949
946
  }
950
- if (message.nameColor !== undefined) {
951
- Color3.encode(message.nameColor, writer.uint32(42).fork()).ldelim();
952
- }
953
947
  return writer;
954
948
  }
955
949
 
@@ -988,13 +982,6 @@ export namespace FriendProfile {
988
982
 
989
983
  message.profilePictureUrl = reader.string();
990
984
  continue;
991
- case 5:
992
- if (tag !== 42) {
993
- break;
994
- }
995
-
996
- message.nameColor = Color3.decode(reader, reader.uint32());
997
- continue;
998
985
  }
999
986
  if ((tag & 7) === 4 || tag === 0) {
1000
987
  break;
@@ -1010,7 +997,6 @@ export namespace FriendProfile {
1010
997
  name: isSet(object.name) ? String(object.name) : "",
1011
998
  hasClaimedName: isSet(object.hasClaimedName) ? Boolean(object.hasClaimedName) : false,
1012
999
  profilePictureUrl: isSet(object.profilePictureUrl) ? String(object.profilePictureUrl) : "",
1013
- nameColor: isSet(object.nameColor) ? Color3.fromJSON(object.nameColor) : undefined,
1014
1000
  };
1015
1001
  }
1016
1002
 
@@ -1020,8 +1006,6 @@ export namespace FriendProfile {
1020
1006
  message.name !== undefined && (obj.name = message.name);
1021
1007
  message.hasClaimedName !== undefined && (obj.hasClaimedName = message.hasClaimedName);
1022
1008
  message.profilePictureUrl !== undefined && (obj.profilePictureUrl = message.profilePictureUrl);
1023
- message.nameColor !== undefined &&
1024
- (obj.nameColor = message.nameColor ? Color3.toJSON(message.nameColor) : undefined);
1025
1009
  return obj;
1026
1010
  }
1027
1011
 
@@ -1035,22 +1019,12 @@ export namespace FriendProfile {
1035
1019
  message.name = object.name ?? "";
1036
1020
  message.hasClaimedName = object.hasClaimedName ?? false;
1037
1021
  message.profilePictureUrl = object.profilePictureUrl ?? "";
1038
- message.nameColor = (object.nameColor !== undefined && object.nameColor !== null)
1039
- ? Color3.fromPartial(object.nameColor)
1040
- : undefined;
1041
1022
  return message;
1042
1023
  }
1043
1024
  }
1044
1025
 
1045
1026
  function createBaseBlockedUserProfile(): BlockedUserProfile {
1046
- return {
1047
- address: "",
1048
- name: "",
1049
- hasClaimedName: false,
1050
- profilePictureUrl: "",
1051
- blockedAt: undefined,
1052
- nameColor: undefined,
1053
- };
1027
+ return { address: "", name: "", hasClaimedName: false, profilePictureUrl: "", blockedAt: undefined };
1054
1028
  }
1055
1029
 
1056
1030
  export namespace BlockedUserProfile {
@@ -1070,9 +1044,6 @@ export namespace BlockedUserProfile {
1070
1044
  if (message.blockedAt !== undefined) {
1071
1045
  writer.uint32(40).int64(message.blockedAt);
1072
1046
  }
1073
- if (message.nameColor !== undefined) {
1074
- Color3.encode(message.nameColor, writer.uint32(50).fork()).ldelim();
1075
- }
1076
1047
  return writer;
1077
1048
  }
1078
1049
 
@@ -1118,13 +1089,6 @@ export namespace BlockedUserProfile {
1118
1089
 
1119
1090
  message.blockedAt = longToNumber(reader.int64() as Long);
1120
1091
  continue;
1121
- case 6:
1122
- if (tag !== 50) {
1123
- break;
1124
- }
1125
-
1126
- message.nameColor = Color3.decode(reader, reader.uint32());
1127
- continue;
1128
1092
  }
1129
1093
  if ((tag & 7) === 4 || tag === 0) {
1130
1094
  break;
@@ -1141,7 +1105,6 @@ export namespace BlockedUserProfile {
1141
1105
  hasClaimedName: isSet(object.hasClaimedName) ? Boolean(object.hasClaimedName) : false,
1142
1106
  profilePictureUrl: isSet(object.profilePictureUrl) ? String(object.profilePictureUrl) : "",
1143
1107
  blockedAt: isSet(object.blockedAt) ? Number(object.blockedAt) : undefined,
1144
- nameColor: isSet(object.nameColor) ? Color3.fromJSON(object.nameColor) : undefined,
1145
1108
  };
1146
1109
  }
1147
1110
 
@@ -1152,8 +1115,6 @@ export namespace BlockedUserProfile {
1152
1115
  message.hasClaimedName !== undefined && (obj.hasClaimedName = message.hasClaimedName);
1153
1116
  message.profilePictureUrl !== undefined && (obj.profilePictureUrl = message.profilePictureUrl);
1154
1117
  message.blockedAt !== undefined && (obj.blockedAt = Math.round(message.blockedAt));
1155
- message.nameColor !== undefined &&
1156
- (obj.nameColor = message.nameColor ? Color3.toJSON(message.nameColor) : undefined);
1157
1118
  return obj;
1158
1119
  }
1159
1120
 
@@ -1168,9 +1129,6 @@ export namespace BlockedUserProfile {
1168
1129
  message.hasClaimedName = object.hasClaimedName ?? false;
1169
1130
  message.profilePictureUrl = object.profilePictureUrl ?? "";
1170
1131
  message.blockedAt = object.blockedAt ?? undefined;
1171
- message.nameColor = (object.nameColor !== undefined && object.nameColor !== null)
1172
- ? Color3.fromPartial(object.nameColor)
1173
- : undefined;
1174
1132
  return message;
1175
1133
  }
1176
1134
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/protocol",
3
- "version": "1.0.0-22576259823.commit-260e173",
3
+ "version": "1.0.0-22578236808.commit-b829b38",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,5 +33,5 @@
33
33
  "out-js",
34
34
  "public"
35
35
  ],
36
- "commit": "260e173ec2bef5afa8381de043159ff1f0ec73f0"
36
+ "commit": "b829b38e1b41f5db266d9b8a922977f7484d2ea2"
37
37
  }
@@ -5,7 +5,7 @@ package decentraland.sdk.components;
5
5
  import "decentraland/sdk/components/common/id.proto";
6
6
  import "decentraland/common/colors.proto";
7
7
 
8
- option (common.ecs_component_id) = 1211;
8
+ option (common.ecs_component_id) = 1503;
9
9
 
10
10
  message PBCameraLayer {
11
11
  // layer to which these settings apply. must be > 0
@@ -2,7 +2,6 @@ syntax = "proto3";
2
2
  package decentraland.social_service.v2;
3
3
 
4
4
  import "google/protobuf/empty.proto";
5
- import "decentraland/common/colors.proto";
6
5
  import "decentraland/social_service/errors.proto";
7
6
 
8
7
  // Types
@@ -13,7 +12,6 @@ message FriendProfile {
13
12
  string name = 2;
14
13
  bool has_claimed_name = 3;
15
14
  string profile_picture_url = 4;
16
- optional decentraland.common.Color3 name_color = 5;
17
15
  }
18
16
 
19
17
  message BlockedUserProfile {
@@ -22,7 +20,6 @@ message BlockedUserProfile {
22
20
  bool has_claimed_name = 3;
23
21
  string profile_picture_url = 4;
24
22
  optional int64 blocked_at = 5;
25
- optional decentraland.common.Color3 name_color = 6;
26
23
  }
27
24
 
28
25
  message Pagination {