@thi.ng/blurhash 0.2.0 → 0.2.2

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-08-01T16:32:31Z
3
+ - **Last updated**: 2024-08-10T15:03:07Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
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.2",
4
4
  "description": "Fast, optimized TS implementation of the Wolt Blurhash algorithm",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,21 +36,20 @@
36
36
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@thi.ng/api": "^8.11.7",
40
- "@thi.ng/base-n": "^2.7.19",
41
- "@thi.ng/canvas": "^0.3.0",
42
- "@thi.ng/errors": "^2.5.13",
43
- "@thi.ng/math": "^5.11.5"
39
+ "@thi.ng/api": "^8.11.8",
40
+ "@thi.ng/base-n": "^2.7.20",
41
+ "@thi.ng/canvas": "^0.5.0",
42
+ "@thi.ng/errors": "^2.5.14",
43
+ "@thi.ng/math": "^5.11.6"
44
44
  },
45
45
  "devDependencies": {
46
- "@microsoft/api-extractor": "^7.47.0",
46
+ "@microsoft/api-extractor": "^7.47.5",
47
47
  "esbuild": "^0.23.0",
48
48
  "tools": "^0.0.1",
49
- "typedoc": "^0.26.3",
50
- "typescript": "^5.5.3"
49
+ "typedoc": "^0.26.5",
50
+ "typescript": "^5.5.4"
51
51
  },
52
52
  "keywords": [
53
- "abgr",
54
53
  "blur",
55
54
  "blurhash",
56
55
  "canvas",
@@ -90,7 +89,8 @@
90
89
  "thi.ng": {
91
90
  "alias": "bhash",
92
91
  "status": "alpha",
93
- "year": 2023
92
+ "year": 2023,
93
+ "screenshot": "blurhash/thumb.png"
94
94
  },
95
- "gitHead": "5b6de5f99277b244646722a40ea787971c6ffd05\n"
95
+ "gitHead": "ec78f98d015e4d214a0b840e72e497407807daf3\n"
96
96
  }