@thi.ng/grid-iterators 3.0.0 → 3.0.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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-12-22T21:47:07Z
3
+ - **Last updated**: 2022-12-29T20:56:59Z
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.
@@ -9,6 +9,16 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [3.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/grid-iterators@3.0.1) (2022-12-29)
13
+
14
+ #### 🩹 Bug fixes
15
+
16
+ - add missing type exports ([879c11c](https://github.com/thi-ng/umbrella/commit/879c11c))
17
+
18
+ #### ♻️ Refactoring
19
+
20
+ - add GridIterator2D/3D type aliases ([610ad0e](https://github.com/thi-ng/umbrella/commit/610ad0e))
21
+
12
22
  # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/grid-iterators@3.0.0) (2022-12-22)
13
23
 
14
24
  #### 🛑 Breaking changes
package/api.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { FnU2 } from "@thi.ng/api";
1
+ import type { Fn, FnU2 } from "@thi.ng/api";
2
2
  /**
3
3
  * Higher order point coordinate transformation function. First is called with
4
4
  * grid resolution (cols,rows), then returns a function which is applied to each
@@ -22,4 +22,6 @@ export interface GridIterOpts {
22
22
  */
23
23
  tx?: PointTransform;
24
24
  }
25
+ export type GridIterator2D = Fn<GridIterOpts, Iterable<[number, number]>>;
26
+ export type GridIterator3D = Fn<GridIterOpts, Iterable<[number, number, number]>>;
25
27
  //# sourceMappingURL=api.d.ts.map
package/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from "./api.js";
1
2
  export * from "./circle.js";
2
3
  export * from "./clipping.js";
3
4
  export * from "./column-ends.js";
package/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ export * from "./api.js";
1
2
  export * from "./circle.js";
2
3
  export * from "./clipping.js";
3
4
  export * from "./column-ends.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/grid-iterators",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "2D grid and shape iterators w/ multiple orderings",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,12 +36,12 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@thi.ng/api": "^8.6.2",
39
- "@thi.ng/arrays": "^2.4.7",
39
+ "@thi.ng/arrays": "^2.5.0",
40
40
  "@thi.ng/binary": "^3.3.15",
41
41
  "@thi.ng/bitfield": "^2.2.17",
42
42
  "@thi.ng/morton": "^3.1.26",
43
43
  "@thi.ng/random": "^3.3.20",
44
- "@thi.ng/transducers": "^8.3.28"
44
+ "@thi.ng/transducers": "^8.3.29"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@microsoft/api-extractor": "^7.33.7",
@@ -158,5 +158,5 @@
158
158
  ],
159
159
  "year": 2019
160
160
  },
161
- "gitHead": "bc6f7f5e2765bb96fe64db804eaf4b2443b47fc6\n"
161
+ "gitHead": "28bb74c67217a352d673b6efdab234921d4a370e\n"
162
162
  }