@ccmsg/protocol 1.21.0 → 1.22.0
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/package.json +1 -1
- package/src/attributes.ts +5 -5
package/package.json
CHANGED
package/src/attributes.ts
CHANGED
|
@@ -19,10 +19,10 @@ export interface OpAttributes {
|
|
|
19
19
|
readonly roles: readonly Role[];
|
|
20
20
|
/** Whether the op requires an identity settled by a greeting.
|
|
21
21
|
*
|
|
22
|
-
* On a WebSocket connection the ops that may arrive before one are the
|
|
23
|
-
* greetings
|
|
24
|
-
*
|
|
25
|
-
* The ops carried over HTTP answer before any connection exists, which is
|
|
22
|
+
* On a WebSocket connection the only ops that may arrive before one are the
|
|
23
|
+
* three greetings: a caller that will not say who it is has nothing to be
|
|
24
|
+
* answered, and whether the instance is there is already known once the
|
|
25
|
+
* connection was made. The ops carried over HTTP answer before any connection exists, which is
|
|
26
26
|
* what `carrier` says; `needs_hello` is false on them because there is no
|
|
27
27
|
* greeting to have sent, not because they are open on a settled one. */
|
|
28
28
|
readonly needs_hello: boolean;
|
|
@@ -90,7 +90,7 @@ export const OP_ATTRIBUTES = {
|
|
|
90
90
|
"instance.ping": {
|
|
91
91
|
plane: "common",
|
|
92
92
|
roles: ALL_ROLES,
|
|
93
|
-
needs_hello:
|
|
93
|
+
needs_hello: true,
|
|
94
94
|
locality: "cluster",
|
|
95
95
|
errors: [],
|
|
96
96
|
},
|