@galacean/effects-threejs 1.1.8 → 1.2.1

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.
@@ -34,21 +34,21 @@ export interface CompositionBaseProps {
34
34
  * @param composition - composition 对象
35
35
  * @returns
36
36
  */
37
- handleEnd?: (composition: Composition) => void;
37
+ onEnd?: (composition: Composition) => void;
38
38
  /**
39
39
  * 交互元素监听函数
40
40
  *
41
41
  * @param item
42
42
  * @returns
43
43
  */
44
- handleMessageItem?: (item: MessageItem) => void;
44
+ onMessageItem?: (item: MessageItem) => void;
45
45
  /**
46
46
  * player 暂停监听函授
47
47
  *
48
48
  * @param item
49
49
  * @returns
50
50
  */
51
- handlePlayerPause?: (item: VFXItem<VFXItemContent>) => void;
51
+ onPlayerPause?: (item: VFXItem<VFXItemContent>) => void;
52
52
  }
53
53
  export interface ThreeCompositionProps extends CompositionBaseProps {
54
54
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/effects-threejs",
3
- "version": "1.1.8",
3
+ "version": "1.2.1",
4
4
  "description": "Galacean Effects runtime threejs plugin for the web",
5
5
  "module": "./dist/index.mjs",
6
6
  "main": "./dist/index.js",
@@ -43,7 +43,7 @@
43
43
  "registry": "https://registry.npmjs.org"
44
44
  },
45
45
  "dependencies": {
46
- "@galacean/effects-core": "1.1.8"
46
+ "@galacean/effects-core": "1.2.1"
47
47
  },
48
48
  "devDependencies": {
49
49
  "three": "^0.149.0",