@mulsense/xnew 0.4.7 → 0.4.8

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.
@@ -63,6 +63,9 @@
63
63
  unit.on('finalize', () => {
64
64
  parent.removeChild(object);
65
65
  });
66
+ return {
67
+ pixiObject: object,
68
+ };
66
69
  }
67
70
 
68
71
  return xpixi;
@@ -41,6 +41,9 @@ function Nest(unit, { object }) {
41
41
  unit.on('finalize', () => {
42
42
  parent.removeChild(object);
43
43
  });
44
+ return {
45
+ pixiObject: object,
46
+ };
44
47
  }
45
48
 
46
49
  export { xpixi as default };
@@ -65,6 +65,9 @@
65
65
  unit.on('finalize', () => {
66
66
  parent.remove(object);
67
67
  });
68
+ return {
69
+ threeObject: object,
70
+ };
68
71
  }
69
72
 
70
73
  return xthree;
@@ -43,6 +43,9 @@ function Nest(unit, { object }) {
43
43
  unit.on('finalize', () => {
44
44
  parent.remove(object);
45
45
  });
46
+ return {
47
+ threeObject: object,
48
+ };
46
49
  }
47
50
 
48
51
  export { xthree as default };
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "keywords": [
5
5
  "Component-Oriented Programming"
6
6
  ],
7
- "version": "0.4.7",
7
+ "version": "0.4.8",
8
8
  "main": "dist/xnew.js",
9
9
  "module": "dist/xnew.mjs",
10
10
  "types": "dist/xnew.d.ts",