gb-image-decoder 0.1.9 → 0.1.10

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/index.d.cts CHANGED
@@ -102,7 +102,7 @@ declare class RGBNDecoder {
102
102
  private lockFrame;
103
103
  private channels;
104
104
  private tilesPerLine;
105
- constructor(options: DecoderOptions);
105
+ constructor(options?: DecoderOptions);
106
106
  update({ canvas, tiles, palette, lockFrame, }: {
107
107
  canvas: HTMLCanvasElement | null;
108
108
  tiles: RGBNTiles;
package/dist/index.d.mts CHANGED
@@ -102,7 +102,7 @@ declare class RGBNDecoder {
102
102
  private lockFrame;
103
103
  private channels;
104
104
  private tilesPerLine;
105
- constructor(options: DecoderOptions);
105
+ constructor(options?: DecoderOptions);
106
106
  update({ canvas, tiles, palette, lockFrame, }: {
107
107
  canvas: HTMLCanvasElement | null;
108
108
  tiles: RGBNTiles;
package/dist/index.d.ts CHANGED
@@ -102,7 +102,7 @@ declare class RGBNDecoder {
102
102
  private lockFrame;
103
103
  private channels;
104
104
  private tilesPerLine;
105
- constructor(options: DecoderOptions);
105
+ constructor(options?: DecoderOptions);
106
106
  update({ canvas, tiles, palette, lockFrame, }: {
107
107
  canvas: HTMLCanvasElement | null;
108
108
  tiles: RGBNTiles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gb-image-decoder",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Decoder classes for GameBoy-encoded images",
5
5
  "repository": "",
6
6
  "license": "MIT",