@leafer-draw/worker 2.2.4 → 2.2.5

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/dist/worker.js CHANGED
@@ -4480,7 +4480,7 @@ var LeaferUI = function(exports) {
4480
4480
  if (!excludeNames.includes(name) && (!exclude || !exclude.includes(name))) {
4481
4481
  if (module.prototype) {
4482
4482
  const d = getDescriptor(module.prototype, name);
4483
- if (d.writable) target.prototype[name] = module.prototype[name];
4483
+ if (d) Object.defineProperty(target.prototype, name, d);
4484
4484
  } else {
4485
4485
  target.prototype[name] = module[name];
4486
4486
  }
@@ -6606,7 +6606,7 @@ var LeaferUI = function(exports) {
6606
6606
  this.levelMap = null;
6607
6607
  }
6608
6608
  }
6609
- const version = "2.2.4";
6609
+ const version = "2.2.5";
6610
6610
  class LeaferCanvas extends LeaferCanvasBase {
6611
6611
  get allowBackgroundColor() {
6612
6612
  return true;