@grida/canvas-wasm 0.0.3 → 0.0.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.
Binary file
package/dist/index.d.mts CHANGED
@@ -106,6 +106,7 @@ declare class ApplicationFactory {
106
106
  private readonly module;
107
107
  constructor(module: createGridaCanvas.GridaCanvasWasmBindings);
108
108
  createWebGLCanvasSurface(canvas: HTMLCanvasElement): Grida2D;
109
+ createWebGLCanvasSurfaceById(htmlcanvasid: string): Grida2D;
109
110
  }
110
111
  declare class Grida2D {
111
112
  private ptr;
@@ -169,4 +170,4 @@ declare class Grida2D {
169
170
  devtools_rendering_set_show_ruler(show: boolean): void;
170
171
  }
171
172
 
172
- export { init as default };
173
+ export { Grida2D, init as default };
package/dist/index.d.ts CHANGED
@@ -106,6 +106,7 @@ declare class ApplicationFactory {
106
106
  private readonly module;
107
107
  constructor(module: createGridaCanvas.GridaCanvasWasmBindings);
108
108
  createWebGLCanvasSurface(canvas: HTMLCanvasElement): Grida2D;
109
+ createWebGLCanvasSurfaceById(htmlcanvasid: string): Grida2D;
109
110
  }
110
111
  declare class Grida2D {
111
112
  private ptr;
@@ -169,4 +170,4 @@ declare class Grida2D {
169
170
  devtools_rendering_set_show_ruler(show: boolean): void;
170
171
  }
171
172
 
172
- export { init as default };
173
+ export { Grida2D, init as default };