@dcl/protocol 1.0.0-3069678574.commit-63cc310 → 1.0.0-3069963250.commit-85ff482
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.
|
@@ -39,7 +39,7 @@ message WsPeerUpdate {
|
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
* Sent to the clients as first message, it contains a challenge string and a
|
|
42
|
-
* hint about if the same address is connected to another
|
|
42
|
+
* hint about if the same address is connected to another room. In such case,
|
|
43
43
|
* after authentication, the server may decide to end the former connection. This
|
|
44
44
|
* hint exists for UX purposes of the explorers for cases like multiple running
|
|
45
45
|
* instances of the explorer.
|
|
@@ -56,6 +56,14 @@ message WsSignedChallenge {
|
|
|
56
56
|
string auth_chain_json = 1;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
+
/**
|
|
60
|
+
* This is the first message sent by the clients, it us used to identify the client
|
|
61
|
+
* in the server.
|
|
62
|
+
*/
|
|
63
|
+
message WsIdentification {
|
|
64
|
+
string address = 1;
|
|
65
|
+
}
|
|
66
|
+
|
|
59
67
|
message WsPacket {
|
|
60
68
|
oneof message {
|
|
61
69
|
// direction: server->client
|
|
@@ -70,5 +78,7 @@ message WsPacket {
|
|
|
70
78
|
WsSignedChallenge signed_challenge_for_server = 5;
|
|
71
79
|
// direction: server->client
|
|
72
80
|
WsPeerLeave peer_leave_message = 6;
|
|
81
|
+
// direction: server->client
|
|
82
|
+
WsIdentification peer_identification = 7;
|
|
73
83
|
}
|
|
74
84
|
}
|
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-3069963250.commit-85ff482",
|
|
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": "85ff482a573d0b52fc981bc3e467b8133ab6dda3"
|
|
22
22
|
}
|