@melonjs/debug-plugin 14.6.0 → 14.6.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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * melonJS debug plugin - v14.6.0
2
+ * melonJS debug plugin - v14.6.2
3
3
  * http://www.melonjs.org
4
4
  * @melonjs/debug-plugin is licensed under the MIT License.
5
5
  * http://www.opensource.org/licenses/mit-license
@@ -71,7 +71,7 @@ class DebugPanel extends Renderable {
71
71
  this.name = "debugPanel";
72
72
 
73
73
  // the debug panel version
74
- this.version = "14.6.0";
74
+ this.version = "14.6.2";
75
75
 
76
76
  // persistent
77
77
  this.isPersistent = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melonjs/debug-plugin",
3
- "version": "14.6.0",
3
+ "version": "14.6.2",
4
4
  "description": "melonJS debug plugin",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "main": "dist/@melonjs/debug-plugin.js",
40
40
  "module": "dist/@melonjs/debug-plugin.js",
41
- "types": "dist/index.d.ts",
41
+ "types": "dist/@melonjs/debug-plugin.d.ts",
42
42
  "sideEffects": false,
43
43
  "files": [
44
44
  "dist/@melonjs/debug-plugin.js",
@@ -69,7 +69,7 @@
69
69
  "build": "npm run lint && rollup -c --silent && npm run types",
70
70
  "lint": "eslint src/**.js rollup.config.mjs",
71
71
  "prepublishOnly": "npm run build",
72
- "clean": "del-cli --force dist/*.*",
72
+ "clean": "del-cli --force dist/*",
73
73
  "types": "tsc"
74
74
  }
75
75
  }
package/src/debugPanel.js CHANGED
@@ -26,7 +26,7 @@ import fontDataSource from "./font/PressStart2P.fnt";
26
26
 
27
27
  const DEBUG_HEIGHT = 50;
28
28
 
29
- class DebugPanel extends Renderable {
29
+ export class DebugPanel extends Renderable {
30
30
  constructor(debugToggle = input.KEY.S) {
31
31
  // call the super constructor
32
32
  super(0, 0, video.renderer.getWidth(), DEBUG_HEIGHT );
@@ -560,5 +560,3 @@ class DebugPanel extends Renderable {
560
560
  input.unbindKey(this.toggleKey);
561
561
  }
562
562
  }
563
-
564
- export default DebugPanel;
package/src/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { utils, plugin } from "melonjs";
2
- import DebugPanel from "./debugPanel";
2
+ import { DebugPanel } from "./debugPanel";
3
3
 
4
4
  /**
5
5
  * @classdesc