@codybrom/denim 2.0.0 → 2.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 +9 -0
- package/deno.json +1 -1
- package/package.json +1 -1
- package/src/api/searchLocations.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
6
6
|
and this project adheres to
|
|
7
7
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
8
8
|
|
|
9
|
+
## [2.0.1] - 2026-04-17
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- `searchLocations()` now sends the query string as the `q` URL parameter.
|
|
14
|
+
Meta's `/location_search` endpoint requires `q`; the prior `query` name was
|
|
15
|
+
silently ignored, causing proximity-only results regardless of the search
|
|
16
|
+
string.
|
|
17
|
+
|
|
9
18
|
## [2.0.0] - 2026-02-08
|
|
10
19
|
|
|
11
20
|
### Changed
|
package/deno.json
CHANGED
package/package.json
CHANGED
|
@@ -26,7 +26,7 @@ export async function searchLocations(
|
|
|
26
26
|
url.searchParams.append("access_token", accessToken);
|
|
27
27
|
url.searchParams.append("fields", fieldList);
|
|
28
28
|
|
|
29
|
-
if (options.query) url.searchParams.append("
|
|
29
|
+
if (options.query) url.searchParams.append("q", options.query);
|
|
30
30
|
if (options.latitude !== undefined) {
|
|
31
31
|
url.searchParams.append("latitude", options.latitude.toString());
|
|
32
32
|
}
|