@leafer-draw/miniapp 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.
@@ -4773,7 +4773,7 @@ function useModule(module, exclude) {
4773
4773
  if (!excludeNames.includes(name) && (!exclude || !exclude.includes(name))) {
4774
4774
  if (module.prototype) {
4775
4775
  const d = getDescriptor(module.prototype, name);
4776
- if (d.writable) target.prototype[name] = module.prototype[name];
4776
+ if (d) Object.defineProperty(target.prototype, name, d);
4777
4777
  } else {
4778
4778
  target.prototype[name] = module[name];
4779
4779
  }
@@ -7023,7 +7023,7 @@ class LeafLevelList {
7023
7023
  }
7024
7024
  }
7025
7025
 
7026
- const version = "2.2.4";
7026
+ const version = "2.2.5";
7027
7027
 
7028
7028
  class LeaferCanvas extends LeaferCanvasBase {
7029
7029
  get allowBackgroundColor() {