@gridworkjs/hashgrid 1.0.0 → 1.1.0

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/package.json +1 -1
  2. package/src/hashgrid.js +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridworkjs/hashgrid",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Spatial hash grid for uniform distributions and fast neighbor lookups",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/hashgrid.js CHANGED
@@ -154,6 +154,8 @@ export function createHashGrid(accessor, options = {}) {
154
154
  const index = {
155
155
  [SPATIAL_INDEX]: true,
156
156
 
157
+ accessor,
158
+
157
159
  get size() { return size },
158
160
 
159
161
  get bounds() { return totalBounds },