@splinetool/runtime 0.9.416 → 0.9.418

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": "@splinetool/runtime",
3
- "version": "0.9.416",
3
+ "version": "0.9.418",
4
4
  "type": "module",
5
5
  "main": "./build/runtime.js",
6
6
  "module": "./build/runtime.js",
package/runtime.d.ts CHANGED
@@ -1,6 +1,3 @@
1
- import { ControlsManager, EventManager } from 'spe';
2
- import { DocumentData } from 'spline-data';
3
-
4
1
  declare module '@splinetool/runtime' {
5
2
  export type SplineEvent = {
6
3
  target: {
@@ -152,9 +149,9 @@ declare module '@splinetool/runtime' {
152
149
 
153
150
  /**
154
151
  * Change the event type to global when passing true and local when passing false
155
- * @param global
152
+ * @param global
156
153
  */
157
- setGlobalEvents(global:boolean):void;
154
+ setGlobalEvents(global: boolean): void;
158
155
 
159
156
  /**
160
157
  * Manually sets the canvas size to a specific value.
@@ -165,9 +162,9 @@ declare module '@splinetool/runtime' {
165
162
  */
166
163
  setSize(width: number, height: number): void;
167
164
 
168
- get data(): DocumentData;
169
- get eventManager(): EventManager;
170
- get controls(): ControlsManager;
165
+ get data(): any;
166
+ get eventManager(): any;
167
+ get controls(): any;
171
168
 
172
169
  /**
173
170
  * Returns true if spline.stop() was previously called