@luceosports/play-rendering 2.1.1 → 2.1.2

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.
@@ -100,7 +100,7 @@ export interface Shape {
100
100
  angle?: number;
101
101
  showBorder?: boolean;
102
102
  linePart?: LinePart;
103
- animations: Animation[];
103
+ animations?: Animation[];
104
104
  hideForStatic?: boolean;
105
105
  }
106
106
  export interface Note {
@@ -108,7 +108,7 @@ export interface Note {
108
108
  location: CourtPoint;
109
109
  displayModes: NoteDisplayModes;
110
110
  text: string;
111
- animations: Animation[];
111
+ animations?: Animation[];
112
112
  font: NoteFont;
113
113
  color: Color;
114
114
  showBorder: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luceosports/play-rendering",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "main": "dist/play-rendering.js",
5
5
  "types": "dist/play-rendering.d.ts",
6
6
  "scripts": {
@@ -163,7 +163,7 @@ export interface Shape {
163
163
  angle?: number;
164
164
  showBorder?: boolean;
165
165
  linePart?: LinePart;
166
- animations: Animation[];
166
+ animations?: Animation[];
167
167
  hideForStatic?: boolean;
168
168
  }
169
169
 
@@ -172,7 +172,7 @@ export interface Note {
172
172
  location: CourtPoint;
173
173
  displayModes: NoteDisplayModes;
174
174
  text: string;
175
- animations: Animation[];
175
+ animations?: Animation[];
176
176
  font: NoteFont;
177
177
  color: Color;
178
178
  showBorder: boolean;