@hytopia.com/server-protocol 1.4.11 → 1.4.12

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.11",
3
+ "version": "1.4.12",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -23,6 +23,7 @@ export type ParticleEmitterSchema = {
23
23
  os?: number; // opacity start
24
24
  osv?: number; // opacity start variance
25
25
  p?: VectorSchema; // spatial position
26
+ pa?: boolean; // paused state
26
27
  pv?: VectorSchema; // particle spatial variance relative to attachment or position
27
28
  r?: number; // rate, in particles per second
28
29
  rv?: number; // rate variance, in particles per second
@@ -56,6 +57,7 @@ export const particleEmitterSchema: JSONSchemaType<ParticleEmitterSchema> = {
56
57
  os: { type: 'number', nullable: true },
57
58
  osv: { type: 'number', nullable: true },
58
59
  p: { ...vectorSchema, nullable: true },
60
+ pa: { type: 'boolean', nullable: true },
59
61
  pv: { ...vectorSchema, nullable: true },
60
62
  r: { type: 'number', nullable: true },
61
63
  rv: { type: 'number', nullable: true },