@hytopia.com/server-protocol 1.3.62 → 1.3.63

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hytopia.com/server-protocol",
3
- "version": "1.3.62",
3
+ "version": "1.3.63",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -18,6 +18,7 @@ type WrtcDataChannel = {
18
18
 
19
19
  type WrtcProduceDataAck = {
20
20
  i: string; // producer id
21
+ l: string; // label, used for client reference of ack
21
22
  }
22
23
 
23
24
  type WrtcTransport = {
@@ -106,8 +107,9 @@ const wrtcProduceDataAckSchema: JSONSchemaType<WrtcProduceDataAck> = {
106
107
  type: 'object',
107
108
  properties: {
108
109
  i: { type: 'string' },
110
+ l: { type: 'string' },
109
111
  },
110
- required: [ 'i' ],
112
+ required: [ 'i', 'l' ],
111
113
  additionalProperties: false,
112
114
  };
113
115