@dcl/protocol 1.0.0-3069963250.commit-85ff482 → 1.0.0-3070738382.commit-8ad38d9
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.
|
@@ -64,21 +64,37 @@ message WsIdentification {
|
|
|
64
64
|
string address = 1;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
/**
|
|
68
|
+
* This message is received by the peers when the same address logs in in a
|
|
69
|
+
* different session. It should signal that the client should be shut down and not
|
|
70
|
+
* retry any new comms connection.
|
|
71
|
+
*/
|
|
72
|
+
message WsKicked {}
|
|
73
|
+
|
|
67
74
|
message WsPacket {
|
|
68
75
|
oneof message {
|
|
69
76
|
// direction: server->client
|
|
70
77
|
WsWelcome welcome_message = 1;
|
|
78
|
+
|
|
71
79
|
// direction: server->client
|
|
72
80
|
WsPeerJoin peer_join_message = 2;
|
|
73
|
-
|
|
81
|
+
|
|
82
|
+
// direction: client->(server)->client
|
|
74
83
|
WsPeerUpdate peer_update_message = 3;
|
|
84
|
+
|
|
75
85
|
// direction: server->client
|
|
76
86
|
WsChallengeRequired challenge_message = 4;
|
|
87
|
+
|
|
77
88
|
// direction: client->server
|
|
78
89
|
WsSignedChallenge signed_challenge_for_server = 5;
|
|
90
|
+
|
|
79
91
|
// direction: server->client
|
|
80
92
|
WsPeerLeave peer_leave_message = 6;
|
|
81
|
-
|
|
93
|
+
|
|
94
|
+
// direction: client->server
|
|
82
95
|
WsIdentification peer_identification = 7;
|
|
96
|
+
|
|
97
|
+
// direction: server->client
|
|
98
|
+
WsKicked peer_kicked = 8;
|
|
83
99
|
}
|
|
84
100
|
}
|
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-3070738382.commit-8ad38d9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
"ecs",
|
|
19
19
|
"bff"
|
|
20
20
|
],
|
|
21
|
-
"commit": "
|
|
21
|
+
"commit": "8ad38d99ed09ba91d67341813b0ec99dd068c0f8"
|
|
22
22
|
}
|