@antv/g-webgpu 1.0.1 → 1.1.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/es/index.js CHANGED
@@ -3,6 +3,7 @@ import { AbstractRenderer } from '@antv/g';
3
3
  import * as DomInteraction from '@antv/g-plugin-dom-interaction';
4
4
  import * as DeviceRenderer from '@antv/g-plugin-device-renderer';
5
5
  import * as WebGPUDevice from '@antv/g-plugin-webgpu-device';
6
+ import * as HTMLRenderer from '@antv/g-plugin-html-renderer';
6
7
  import { ContextRegisterPlugin } from './ContextRegisterPlugin';
7
8
  export { DomInteraction, DeviceRenderer, WebGPUDevice };
8
9
 
@@ -22,6 +23,8 @@ function (_super) {
22
23
 
23
24
  _this.registerPlugin(new DomInteraction.Plugin());
24
25
 
26
+ _this.registerPlugin(new HTMLRenderer.Plugin());
27
+
25
28
  return _this;
26
29
  }
27
30
 
package/lib/index.js CHANGED
@@ -23,6 +23,8 @@ var WebGPUDevice = _interopRequireWildcard(require("@antv/g-plugin-webgpu-device
23
23
 
24
24
  exports.WebGPUDevice = WebGPUDevice;
25
25
 
26
+ var HTMLRenderer = _interopRequireWildcard(require("@antv/g-plugin-html-renderer"));
27
+
26
28
  var _ContextRegisterPlugin = require("./ContextRegisterPlugin");
27
29
 
28
30
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -45,6 +47,8 @@ function (_super) {
45
47
 
46
48
  _this.registerPlugin(new DomInteraction.Plugin());
47
49
 
50
+ _this.registerPlugin(new HTMLRenderer.Plugin());
51
+
48
52
  return _this;
49
53
  }
50
54
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/g-webgpu",
3
- "version": "1.0.1",
3
+ "version": "1.1.2",
4
4
  "description": "A renderer implemented by WebGPU",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -37,10 +37,10 @@
37
37
  },
38
38
  "homepage": "https://github.com/antvis/g#readme",
39
39
  "dependencies": {
40
- "@antv/g-plugin-device-renderer": "^1.0.1",
41
- "@antv/g-plugin-dom-interaction": "^1.0.21",
42
- "@antv/g-plugin-html-renderer": "^1.0.22",
43
- "@antv/g-plugin-webgpu-device": "^1.0.1"
40
+ "@antv/g-plugin-device-renderer": "^1.1.2",
41
+ "@antv/g-plugin-dom-interaction": "^1.1.2",
42
+ "@antv/g-plugin-html-renderer": "^1.1.2",
43
+ "@antv/g-plugin-webgpu-device": "^1.1.2"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@antv/g": "^5.0.1",
@@ -49,5 +49,5 @@
49
49
  "scripts": {
50
50
  "umd": "webpack"
51
51
  },
52
- "gitHead": "98a28060c701e8c9c6c23fca672534677c4401b3"
52
+ "gitHead": "633cec1df324421b0c0821cb18d3ee351c1a47f3"
53
53
  }