@splinetool/runtime 0.6.18 → 0.6.19

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/runtime.d.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splinetool/runtime",
3
- "version": "0.6.18",
3
+ "version": "0.6.19",
4
4
  "main": "build/runtime.js",
5
5
  "files": [
6
6
  "build",
package/runtime.d.ts CHANGED
@@ -47,7 +47,7 @@ declare module '@splinetool/runtime' {
47
47
  { autoRender }: { autoRender: true }
48
48
  );
49
49
  load(path: string): Promise<void>;
50
- start(json: any): Promise<void>;
50
+ start(array: ArrayBuffer): Promise<void>;
51
51
  /**
52
52
  * Searches through scene's children and returns the object with that uuid
53
53
  * @param uuid String to match to the object's uuid
@@ -104,6 +104,6 @@ declare module '@splinetool/runtime' {
104
104
  /**
105
105
  * Deactivates runtime
106
106
  */
107
- unmount(): void;
107
+ dispose(): void;
108
108
  }
109
109
  }