@tomorrowevening/hermes 0.1.20 → 0.1.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/dist/hermes.cjs.js +1 -602
- package/dist/hermes.es.js +80 -44871
- package/package.json +5 -4
- package/types/core/remote/RemoteTheatre.d.ts +2 -3
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"module": "./dist/hermes.esm.js",
|
|
8
8
|
"types": "./types/index.d.ts",
|
|
9
9
|
"type": "module",
|
|
10
|
-
"version": "0.1.
|
|
10
|
+
"version": "0.1.21",
|
|
11
11
|
"homepage": "https://github.com/tomorrowevening/hermes#readme",
|
|
12
12
|
"bugs": {
|
|
13
13
|
"url": "https://github.com/tomorrowevening/hermes/issues"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"server": "node server/index.mjs",
|
|
41
|
-
"clean": "
|
|
41
|
+
"clean": "rimraf dist types",
|
|
42
42
|
"dev": "vite",
|
|
43
43
|
"declare": "tsc --declaration --emitDeclarationOnly --declarationDir types",
|
|
44
44
|
"buildLib": "yarn declare && vite build",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"preview": "vite preview"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@theatre
|
|
52
|
-
"@theatre
|
|
51
|
+
"@tomorrowevening/theatre-core": "^1.0.19",
|
|
52
|
+
"@tomorrowevening/theatre-studio": "^1.0.19",
|
|
53
53
|
"@types/react": "^18.2.15",
|
|
54
54
|
"@types/react-dom": "^18.2.7",
|
|
55
55
|
"@types/three": "^0.177.0",
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
"postprocessing": "^6.37.6",
|
|
69
69
|
"react": "^18.2.0",
|
|
70
70
|
"react-dom": "^18.2.0",
|
|
71
|
+
"rimraf": "^6.1.3",
|
|
71
72
|
"sass": "^1.89.2",
|
|
72
73
|
"stats-gl": "^3.6.0",
|
|
73
74
|
"three": "^0.177.0",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IProject, ISheet, ISheetObject } from '@theatre
|
|
1
|
+
import { IProject, ISheet, ISheetObject } from '@tomorrowevening/theatre-core';
|
|
2
2
|
import BaseRemote from './BaseRemote';
|
|
3
3
|
import { BroadcastData, DataUpdateCallback, VoidCallback } from '../types';
|
|
4
4
|
type KeyframeVector = {
|
|
@@ -15,10 +15,9 @@ export default class RemoteTheatre extends BaseRemote {
|
|
|
15
15
|
sheetObjectUnsubscribe: Map<string, VoidCallback>;
|
|
16
16
|
activeSheet: ISheet | undefined;
|
|
17
17
|
studio: any;
|
|
18
|
-
rafDriver?: any;
|
|
19
18
|
constructor(debug?: boolean, editor?: boolean);
|
|
20
19
|
dispose(): void;
|
|
21
|
-
loadProject(id: string,
|
|
20
|
+
loadProject(id: string, json?: any): Promise<void>;
|
|
22
21
|
getSheetInstance(name: string, instanceId?: string): string;
|
|
23
22
|
sheet(name: string, instanceId?: string): ISheet | undefined;
|
|
24
23
|
playSheet(name: string, params?: any, instanceId?: string): Promise<boolean>;
|