@dcl/protocol 1.0.0-4671230683.commit-a8d74c3 → 1.0.0-4721150054.commit-85597a5
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/about.gen.d.ts +1 -0
- package/out-js/about.gen.js +6 -0
- package/out-js/about.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +731 -420
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +437 -392
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
- package/out-js/decentraland/realm/about.gen.d.ts +620 -0
- package/out-js/decentraland/realm/about.gen.js +857 -0
- package/out-js/decentraland/realm/about.gen.js.map +1 -0
- package/out-ts/about.gen.ts +3 -0
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +548 -493
- package/out-ts/decentraland/realm/about.gen.ts +1040 -0
- package/package.json +2 -2
- package/proto/decentraland/kernel/comms/v3/archipelago.proto +47 -34
- package/proto/decentraland/realm/about.proto +73 -0
- package/public/about.proto +5 -0
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-4721150054.commit-85597a5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"out-js",
|
|
27
27
|
"public"
|
|
28
28
|
],
|
|
29
|
-
"commit": "
|
|
29
|
+
"commit": "85597a5e332505742d1d68c3abfd676f9219814a"
|
|
30
30
|
}
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
|
|
3
|
+
import "decentraland/common/vectors.proto";
|
|
4
|
+
|
|
3
5
|
package decentraland.kernel.comms.v3;
|
|
4
6
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
// Server->Client messsages
|
|
8
|
+
message ChallengeResponseMessage {
|
|
9
|
+
string challenge_to_sign = 1;
|
|
10
|
+
bool already_connected = 2;
|
|
8
11
|
}
|
|
9
12
|
|
|
10
|
-
message
|
|
11
|
-
|
|
12
|
-
double y = 2;
|
|
13
|
-
double z = 3;
|
|
13
|
+
message WelcomeMessage {
|
|
14
|
+
string peer_id = 1;
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
message IslandChangedMessage {
|
|
17
18
|
string island_id = 1;
|
|
18
19
|
string conn_str = 2;
|
|
19
20
|
optional string from_island_id = 3;
|
|
20
|
-
map<string,
|
|
21
|
+
map<string, decentraland.common.Position> peers = 4;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
message LeftIslandMessage {
|
|
@@ -30,44 +31,56 @@ message JoinIslandMessage {
|
|
|
30
31
|
string peer_id = 2;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
repeated string peers = 2;
|
|
36
|
-
uint32 max_peers = 3;
|
|
37
|
-
Position3DMessage center = 4;
|
|
38
|
-
double radius = 5;
|
|
34
|
+
enum KickedReason {
|
|
35
|
+
KR_NEW_SESSION = 0;
|
|
39
36
|
}
|
|
40
37
|
|
|
41
|
-
message
|
|
42
|
-
|
|
38
|
+
message KickedMessage {
|
|
39
|
+
KickedReason reason = 1;
|
|
43
40
|
}
|
|
44
41
|
|
|
45
|
-
message
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
message ServerPacket {
|
|
43
|
+
oneof message {
|
|
44
|
+
ChallengeResponseMessage challenge_response = 1;
|
|
45
|
+
WelcomeMessage welcome = 2;
|
|
46
|
+
IslandChangedMessage island_changed = 3;
|
|
47
|
+
LeftIslandMessage left_island = 4;
|
|
48
|
+
JoinIslandMessage join_island = 5;
|
|
49
|
+
KickedMessage kicked = 6;
|
|
50
|
+
}
|
|
48
51
|
}
|
|
49
52
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
+
// Client->Server messsages
|
|
54
|
+
message ChallengeRequestMessage {
|
|
55
|
+
string address = 1;
|
|
53
56
|
}
|
|
54
57
|
|
|
55
|
-
message
|
|
56
|
-
string
|
|
57
|
-
string room_id = 2;
|
|
58
|
-
repeated string user_ids = 3;
|
|
58
|
+
message SignedChallengeMessage {
|
|
59
|
+
string auth_chain_json = 1;
|
|
59
60
|
}
|
|
60
61
|
|
|
61
|
-
message
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
message Heartbeat {
|
|
63
|
+
decentraland.common.Position position = 1;
|
|
64
|
+
optional string desired_room = 2;
|
|
64
65
|
}
|
|
65
66
|
|
|
66
|
-
message
|
|
67
|
+
message ClientPacket {
|
|
67
68
|
oneof message {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
TransportAuthorizationResponse auth_response = 4;
|
|
69
|
+
ChallengeRequestMessage challenge_request = 1;
|
|
70
|
+
SignedChallengeMessage signed_challenge = 2;
|
|
71
|
+
Heartbeat heartbeat = 3;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
+
|
|
75
|
+
// Others
|
|
76
|
+
message IslandData {
|
|
77
|
+
string id = 1;
|
|
78
|
+
repeated string peers = 2;
|
|
79
|
+
uint32 max_peers = 3;
|
|
80
|
+
decentraland.common.Position center = 4;
|
|
81
|
+
double radius = 5;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
message IslandStatusMessage {
|
|
85
|
+
repeated IslandData data = 1;
|
|
86
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.realm;
|
|
3
|
+
|
|
4
|
+
message AboutResponse {
|
|
5
|
+
bool healthy = 1;
|
|
6
|
+
AboutConfiguration configurations = 2;
|
|
7
|
+
ContentInfo content = 3;
|
|
8
|
+
CommsInfo comms = 4;
|
|
9
|
+
LambdasInfo lambdas = 5;
|
|
10
|
+
optional BffInfo bff = 6;
|
|
11
|
+
bool accepting_users = 7;
|
|
12
|
+
|
|
13
|
+
message MinimapConfiguration {
|
|
14
|
+
bool enabled = 1;
|
|
15
|
+
optional string data_image = 2;
|
|
16
|
+
optional string estate_image = 3;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
message SkyboxConfiguration {
|
|
20
|
+
// only one value at a time
|
|
21
|
+
optional float fixed_hour = 1;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
message AboutConfiguration {
|
|
25
|
+
optional string realm_name = 1;
|
|
26
|
+
uint32 network_id = 2;
|
|
27
|
+
repeated string global_scenes_urn = 3;
|
|
28
|
+
repeated string scenes_urn = 4;
|
|
29
|
+
optional MinimapConfiguration minimap = 5;
|
|
30
|
+
optional SkyboxConfiguration skybox = 6;
|
|
31
|
+
|
|
32
|
+
// A content server to be used to load the parcels around the user. Uses the POST /entities/active endpoint
|
|
33
|
+
// to continously fetch the parcels around the users. if null, then the default content server will be used
|
|
34
|
+
// if == "" then the city_loader will be disabled and the scenes_urn will be used to load the world
|
|
35
|
+
optional string city_loader_content_server = 7;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
message ContentInfo {
|
|
39
|
+
// common properties
|
|
40
|
+
bool healthy = 1;
|
|
41
|
+
optional string version = 2;
|
|
42
|
+
optional string commit_hash = 3;
|
|
43
|
+
string public_url = 4;
|
|
44
|
+
}
|
|
45
|
+
message LambdasInfo {
|
|
46
|
+
// common properties
|
|
47
|
+
bool healthy = 1;
|
|
48
|
+
optional string version = 2;
|
|
49
|
+
optional string commit_hash = 3;
|
|
50
|
+
string public_url = 4;
|
|
51
|
+
}
|
|
52
|
+
message CommsInfo {
|
|
53
|
+
// common properties
|
|
54
|
+
bool healthy = 1;
|
|
55
|
+
optional string version = 2;
|
|
56
|
+
optional string commit_hash = 3;
|
|
57
|
+
optional string public_url = 4;
|
|
58
|
+
// specific properties
|
|
59
|
+
string protocol = 50;
|
|
60
|
+
optional int32 users_count = 51;
|
|
61
|
+
optional string fixed_adapter = 52;
|
|
62
|
+
}
|
|
63
|
+
message BffInfo {
|
|
64
|
+
// common properties
|
|
65
|
+
bool healthy = 1;
|
|
66
|
+
optional string version = 2;
|
|
67
|
+
optional string commit_hash = 3;
|
|
68
|
+
string public_url = 4;
|
|
69
|
+
// specific properties
|
|
70
|
+
optional int32 user_count = 51;
|
|
71
|
+
optional string protocol_version = 52;
|
|
72
|
+
}
|
|
73
|
+
}
|