@hytopia.com/server-protocol 1.3.66 → 1.3.68

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.66",
3
+ "version": "1.3.68",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1 +1,2 @@
1
- export * from './Connection';
1
+ export * from './Connection';
2
+ export * from './Heartbeat';
package/schemas/World.ts CHANGED
@@ -11,7 +11,7 @@ export type WorldSchema = {
11
11
  dc?: RgbColorSchema; // directional light color
12
12
  di?: number; // directional light intensity
13
13
  dp?: VectorSchema; // directional light position
14
- f?: boolean; // focused
14
+ j?: boolean; // joined
15
15
  n?: string; // name
16
16
  s?: string; // skyboxUri
17
17
  t?: number; // timestep (seconds)
@@ -26,7 +26,7 @@ export const worldSchema: JSONSchemaType<WorldSchema> = {
26
26
  dc: { ...rgbColorSchema, nullable: true },
27
27
  di: { type: 'number', nullable: true },
28
28
  dp: { ...vectorSchema, nullable: true },
29
- f: { type: 'boolean', nullable: true },
29
+ j: { type: 'boolean', nullable: true },
30
30
  n: { type: 'string', nullable: true },
31
31
  s: { type: 'string', nullable: true },
32
32
  t: { type: 'number', nullable: true },