modern-canvas 0.23.3 → 0.23.4

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/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6720,10 +6720,11 @@ var ki = class extends J {
6720
6720
  let e = await this._resolveSourceCanvas();
6721
6721
  if (!e) return;
6722
6722
  let t = e.width, n = e.height, r = Oi(e, this.effects, t, n);
6723
- this.texture = new er({
6723
+ this.texture = new R({
6724
6724
  source: r,
6725
6725
  width: t,
6726
- height: n
6726
+ height: n,
6727
+ uploadMethodId: "image"
6727
6728
  });
6728
6729
  }
6729
6730
  async _resolveSourceCanvas() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "modern-canvas",
3
3
  "type": "module",
4
- "version": "0.23.3",
4
+ "version": "0.23.4",
5
5
  "packageManager": "pnpm@10.19.0",
6
6
  "description": "A JavaScript WebGL rendering engine. only the ESM.",
7
7
  "author": "wxm",