@hytopia.com/server-protocol 1.0.57 → 1.0.58

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.0.57",
3
+ "version": "1.0.58",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -25,6 +25,7 @@ export type RigidBodySchema = {
25
25
  ld?: number; // linear damping
26
26
  lv?: VectorSchema; // linear velocity
27
27
  r?: QuaternionSchema; // rotation
28
+ rm?: boolean; // removed
28
29
  sl?: boolean; // sleeping
29
30
  scp?: number; // soft ccd prediction
30
31
  t?: VectorSchema; // translation
@@ -49,6 +50,7 @@ export const rigidBodySchema: JSONSchemaType<RigidBodySchema> = {
49
50
  ld: { type: 'number', nullable: true },
50
51
  lv: { ...vectorSchema, nullable: true },
51
52
  r: { ...quaternionSchema, nullable: true },
53
+ rm: { type: 'boolean', nullable: true },
52
54
  sl: { type: 'boolean', nullable: true },
53
55
  scp: { type: 'number', nullable: true },
54
56
  t: { ...vectorSchema, nullable: true },