@hytopia.com/server-protocol 1.0.69 → 1.0.71

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.69",
3
+ "version": "1.0.71",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -10,7 +10,7 @@ import type { QuaternionSchema } from './Quaternion';
10
10
 
11
11
  export type RigidBodySchema = {
12
12
  ad?: number; // angular dampening
13
- am?: { // additional mass properties
13
+ ap?: { // additional mass properties
14
14
  am: number; // additional mass
15
15
  cm: VectorSchema; // center of mass
16
16
  pf: QuaternionSchema; // principal angular inertia local frame
@@ -40,7 +40,7 @@ export const rigidBodySchema: JSONSchemaType<RigidBodySchema> = {
40
40
  type: 'object',
41
41
  properties: {
42
42
  ad: { type: 'number', nullable: true },
43
- am: {
43
+ ap: {
44
44
  type: 'object',
45
45
  properties: {
46
46
  am: { type: 'number' },