@hytopia.com/server-protocol 1.3.70 → 1.4.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/schemas/World.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hytopia.com/server-protocol",
3
- "version": "1.3.70",
3
+ "version": "1.4.1",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/schemas/World.ts CHANGED
@@ -13,6 +13,7 @@ export type WorldSchema = {
13
13
  dp?: VectorSchema; // directional light position
14
14
  n?: string; // name
15
15
  s?: string; // skyboxUri
16
+ si?: number; // skybox intensity
16
17
  t?: number; // timestep (seconds)
17
18
  };
18
19
 
@@ -27,6 +28,7 @@ export const worldSchema: JSONSchemaType<WorldSchema> = {
27
28
  dp: { ...vectorSchema, nullable: true },
28
29
  n: { type: 'string', nullable: true },
29
30
  s: { type: 'string', nullable: true },
31
+ si: { type: 'number', nullable: true },
30
32
  t: { type: 'number', nullable: true },
31
33
  },
32
34
  required: [ 'i' ],