react-pixi-fiber 1.0.1 → 1.0.2

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": "react-pixi-fiber",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "React Fiber renderer for PixiJS",
5
5
  "main": "index.js",
6
6
  "umd:main": "index.umd.js",
package/src/render.js CHANGED
@@ -1,7 +1,8 @@
1
1
  import invariant from "fbjs/lib/invariant";
2
+ import { version } from "react";
2
3
 
3
4
  export function getDevToolsVersion() {
4
- return require("react").version;
5
+ return version;
5
6
  }
6
7
 
7
8
  export const roots = new Map();
@@ -21477,7 +21477,7 @@
21477
21477
  var unstable_batchedUpdates = ReactPixiFiberAsPrimaryRenderer.batchedUpdates;
21478
21478
 
21479
21479
  function getDevToolsVersion() {
21480
- return require("react").version;
21480
+ return React.version;
21481
21481
  }
21482
21482
  var roots = new Map();
21483
21483
  /*