v0.1.6: Field-test bug fixes
Field-test bug fixes
Three fixes from field-testing: a crash on invalid API input, a flag that was always false, and inaccurate pagination counts when filtering aggregates.
Fixed:
- Error envelope array unwrap in
getData— WB error responses are wrapped in an array; accessing.messageon the outer array caused TypeError on invalid indicator/country isAggregatelookup now checkscountryiso3code(ISO3, e.g. AFE) in addition tocountry.id(ISO2); aggregate entries were always flagged falselistCountrieswithinclude_aggregates: falseover-fetches all entries and re-paginates client-side;totalandpagesnow reflect the filtered set
32 tests pass; bun run devcheck clean.