@thi.ng/blurhash 0.2.0 → 0.2.1

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/decode.d.ts +1 -1
  2. package/package.json +3 -3
package/decode.d.ts CHANGED
@@ -29,5 +29,5 @@ export declare const decode: (hash: string, width: number, height: number, contr
29
29
  * @param parent
30
30
  * @param opts
31
31
  */
32
- export declare const decodeToCanvas: (hash: string, width: number, height: number, contrast?: number, parent?: HTMLElement, opts?: Partial<Canvas2DOpts>) => HTMLCanvasElement | OffscreenCanvas;
32
+ export declare const decodeToCanvas: (hash: string, width: number, height: number, contrast?: number, parent?: HTMLElement, opts?: Partial<Canvas2DOpts>) => HTMLCanvasElement;
33
33
  //# sourceMappingURL=decode.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/blurhash",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Fast, optimized TS implementation of the Wolt Blurhash algorithm",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -38,7 +38,7 @@
38
38
  "dependencies": {
39
39
  "@thi.ng/api": "^8.11.7",
40
40
  "@thi.ng/base-n": "^2.7.19",
41
- "@thi.ng/canvas": "^0.3.0",
41
+ "@thi.ng/canvas": "^0.4.0",
42
42
  "@thi.ng/errors": "^2.5.13",
43
43
  "@thi.ng/math": "^5.11.5"
44
44
  },
@@ -92,5 +92,5 @@
92
92
  "status": "alpha",
93
93
  "year": 2023
94
94
  },
95
- "gitHead": "5b6de5f99277b244646722a40ea787971c6ffd05\n"
95
+ "gitHead": "74b023c95ab8219fd4192ef2a02962b2e2038563\n"
96
96
  }