@splinetool/runtime 0.6.18 → 0.6.21

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.6.18",
3
+ "version": "0.6.21",
4
4
  "main": "build/runtime.js",
5
5
  "files": [
6
6
  "build",
package/runtime.d.ts CHANGED
@@ -40,14 +40,12 @@ declare module '@splinetool/runtime' {
40
40
  };
41
41
 
42
42
  export class Application {
43
+ _controls: any;
43
44
  autoRender: boolean;
44
45
  canvas: HTMLCanvasElement;
45
- constructor(
46
- canvas: HTMLCanvasElement,
47
- { autoRender }: { autoRender: true }
48
- );
46
+ constructor(canvas: HTMLCanvasElement, { autoRender: boolean }?);
49
47
  load(path: string): Promise<void>;
50
- start(json: any): Promise<void>;
48
+ start(array: ArrayBuffer): void;
51
49
  /**
52
50
  * Searches through scene's children and returns the object with that uuid
53
51
  * @param uuid String to match to the object's uuid
@@ -104,6 +102,6 @@ declare module '@splinetool/runtime' {
104
102
  /**
105
103
  * Deactivates runtime
106
104
  */
107
- unmount(): void;
105
+ dispose(): void;
108
106
  }
109
107
  }