@hytopia.com/server-protocol 1.3.61 → 1.3.62

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.61",
3
+ "version": "1.3.62",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -163,11 +163,11 @@ const wrtcDataChannelSchema: JSONSchemaType<WrtcDataChannel> = {
163
163
  type: 'object',
164
164
  properties: {
165
165
  i: { type: 'string', nullable: true },
166
- pi: { type: 'string' },
166
+ pi: { type: 'string', nullable: true },
167
167
  l: { type: 'string' },
168
168
  s: wrtcSctpStreamParametersSchema,
169
169
  },
170
- required: [ 'pi', 'l', 's' ],
170
+ required: [ 'l', 's' ],
171
171
  additionalProperties: false,
172
172
  };
173
173