@e-mc/compat-v4 0.6.2 → 0.6.3

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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -192,7 +192,8 @@ catch {
192
192
  try {
193
193
  const Image = require("@e-mc/image");
194
194
  Image.using = async function (instance, data, command) {
195
- return instance.using?.(data, command);
195
+ var _a;
196
+ return (_a = instance.using) === null || _a === void 0 ? void 0 : _a.call(instance, data, command);
196
197
  };
197
198
  setModule("@squared-functions/image-v3", Image);
198
199
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/compat-v4",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Base class compatibility with squared-functions.",
5
5
  "main": "index.js",
6
6
  "publishConfig": {
@@ -22,8 +22,8 @@
22
22
  "license": "MIT",
23
23
  "homepage": "https://github.com/anpham6/e-mc#readme",
24
24
  "dependencies": {
25
- "@e-mc/module": "0.6.2",
26
- "@e-mc/request": "0.6.2",
27
- "@e-mc/types": "0.6.2"
25
+ "@e-mc/module": "0.6.3",
26
+ "@e-mc/request": "0.6.3",
27
+ "@e-mc/types": "0.6.3"
28
28
  }
29
29
  }