@hytopia.com/server-protocol 1.4.15 → 1.4.16

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.4.15",
3
+ "version": "1.4.16",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -7,6 +7,7 @@ import type { VectorSchema } from './Vector';
7
7
  export type ParticleEmitterSchema = {
8
8
  i: number; // particle emitter id
9
9
  at?: number; // alpha test, 0 to 1
10
+ b?: number; // burst particle count
10
11
  ce?: RgbColorSchema; // color end, rgb color
11
12
  cev?: RgbColorSchema; // color end variance, rgb color
12
13
  cs?: RgbColorSchema; // color start, rgb color
@@ -43,6 +44,7 @@ export const particleEmitterSchema: JSONSchemaType<ParticleEmitterSchema> = {
43
44
  properties: {
44
45
  i: { type: 'number' },
45
46
  at: { type: 'number', nullable: true },
47
+ b: { type: 'number', nullable: true },
46
48
  ce: { ...rgbColorSchema, nullable: true },
47
49
  cev: { ...rgbColorSchema, nullable: true },
48
50
  cs: { ...rgbColorSchema, nullable: true },