@mailwoman/resolver-wof-wasm 10.2.2 → 10.4.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.
- package/README.md +1 -1
- package/lib/httpvfs/poi.ts +1 -1
- package/lib/loader.ts +1 -1
- package/out/httpvfs/poi.d.ts +1 -1
- package/out/loader.d.ts +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -68,7 +68,7 @@ For webpack: use `asset/resource` rules on the `.wasm` extension and pass the re
|
|
|
68
68
|
|
|
69
69
|
One rung is not the demo's to decide: where a **postcode** sits against the locality. That has a single answer, it comes from `@mailwoman/codex`, and both routes to it are read here exactly as the Node ladder reads them — an exact hit on a unit-grade code (`isUnitGradePostcodeHit`), or an address system whose area-grade codes are finer than its localities (`areaPostcodeLeadsLocality`).
|
|
70
70
|
|
|
71
|
-
Otherwise an area-grade postcode ranks **below the whole locality tier**, `{locality, borough, localadmin}`, not below `locality`
|
|
71
|
+
Otherwise an area-grade postcode ranks **below the whole locality tier**, `{locality, borough, localadmin}`, not below the `locality` placetype by itself. A rank between them placed the postcode where the CLI returns the town on 20.2% of a US panel, and the town was closer on 65.6% of those rows. For example, `344 East Sheldon Rd, Sheldon, VT 05450` read 10.73 km from its ZIP centroid and 1.49 km from Sheldon. New England civil towns are `localadmin` in Who's On First, so the tier has three members and not one.
|
|
72
72
|
|
|
73
73
|
If you change this table, change it against the Node ladder. The two sides agreed on constants for a whole release once while the formula underneath them diverged.
|
|
74
74
|
|
package/lib/httpvfs/poi.ts
CHANGED
|
@@ -50,7 +50,7 @@ export interface POISearchOpts {
|
|
|
50
50
|
/**
|
|
51
51
|
* The number of H3 rings to search outward from the center, defaulting to 6.
|
|
52
52
|
*
|
|
53
|
-
* A smaller default missed ordinary
|
|
53
|
+
* A smaller default missed ordinary clusters a few rings from the center.
|
|
54
54
|
* The Node reader searches further by default.
|
|
55
55
|
*/
|
|
56
56
|
maxRings?: number
|
package/lib/loader.ts
CHANGED
|
@@ -30,7 +30,7 @@ export interface LoadSlimOpts {
|
|
|
30
30
|
* Where the sqlite-wasm runtime can find its .wasm asset.
|
|
31
31
|
*
|
|
32
32
|
* Required in browser builds because the default URL is relative to the worker script.
|
|
33
|
-
*
|
|
33
|
+
* A bundler can rewrite that script URL.
|
|
34
34
|
*
|
|
35
35
|
* Most bundlers will let you
|
|
36
36
|
* do `new URL("../node_modules/@sqlite.org/sqlite-wasm/sqlite-wasm/jswasm/sqlite3.wasm", import.meta.url).href`.
|
package/out/httpvfs/poi.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export interface POISearchOpts {
|
|
|
28
28
|
/**
|
|
29
29
|
* The number of H3 rings to search outward from the center, defaulting to 6.
|
|
30
30
|
*
|
|
31
|
-
* A smaller default missed ordinary
|
|
31
|
+
* A smaller default missed ordinary clusters a few rings from the center.
|
|
32
32
|
* The Node reader searches further by default.
|
|
33
33
|
*/
|
|
34
34
|
maxRings?: number;
|
package/out/loader.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export interface LoadSlimOpts {
|
|
|
28
28
|
* Where the sqlite-wasm runtime can find its .wasm asset.
|
|
29
29
|
*
|
|
30
30
|
* Required in browser builds because the default URL is relative to the worker script.
|
|
31
|
-
*
|
|
31
|
+
* A bundler can rewrite that script URL.
|
|
32
32
|
*
|
|
33
33
|
* Most bundlers will let you
|
|
34
34
|
* do `new URL("../node_modules/@sqlite.org/sqlite-wasm/sqlite-wasm/jswasm/sqlite3.wasm", import.meta.url).href`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mailwoman/resolver-wof-wasm",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.4.0",
|
|
4
4
|
"description": "Who's On First WASM resolver — browser-side PlaceLookup backed by @sqlite.org/sqlite-wasm. Drop-in replacement for @mailwoman/resolver-wof-sqlite when you need a static-asset deploy (Phase B of the demo plan).",
|
|
5
5
|
"license": "AGPL-3.0-only OR LicenseRef-Commercial",
|
|
6
6
|
"repository": {
|
|
@@ -68,12 +68,12 @@
|
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@mailwoman/codex": "10.
|
|
72
|
-
"@mailwoman/core": "10.
|
|
73
|
-
"@mailwoman/resolver": "10.
|
|
74
|
-
"@mailwoman/resolver-wof-sqlite": "10.
|
|
75
|
-
"@mailwoman/spatial": "10.
|
|
76
|
-
"@mailwoman/sqlite": "10.
|
|
71
|
+
"@mailwoman/codex": "10.4.0",
|
|
72
|
+
"@mailwoman/core": "10.4.0",
|
|
73
|
+
"@mailwoman/resolver": "10.4.0",
|
|
74
|
+
"@mailwoman/resolver-wof-sqlite": "10.4.0",
|
|
75
|
+
"@mailwoman/spatial": "10.4.0",
|
|
76
|
+
"@mailwoman/sqlite": "10.4.0",
|
|
77
77
|
"@sqlite.org/sqlite-wasm": "^3.53.4-build2",
|
|
78
78
|
"h3-js": "^4.5.0",
|
|
79
79
|
"path-ts": "^2.5.0",
|