bmlt-query-client 1.4.0 → 1.4.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
@@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.4.1] - 2026-05-15
10
+
11
+ ### Fixed
12
+
13
+ - Republish of 1.4.0 with regenerated `dist/` files. The 1.4.0 npm tarball shipped stale type declarations (`dist/app.d.ts` was baked from a 1.3.0-era build), so TypeScript consumers still saw the old `string` types for `Meeting.weekday_tinyint`, `latitude`, `longitude`, etc. — even though the source had been updated to `number`. No source changes; this release just ensures `dist/` matches `src/`.
14
+ - Added a `prepublishOnly` script (`npm run clean && npm run build`) so future publishes always ship a fresh build.
15
+
9
16
  ## [1.4.0] - 2026-05-15
10
17
 
11
18
  ### Added
@@ -85,7 +92,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
85
92
  - Zero external runtime dependencies — p-queue and p-retry are bundled via Vite.
86
93
  - ES module only; native `fetch` API; TypeScript declarations included.
87
94
 
88
- [Unreleased]: https://github.com/bmlt-enabled/bmlt-query-client/compare/v1.4.0...HEAD
95
+ [Unreleased]: https://github.com/bmlt-enabled/bmlt-query-client/compare/v1.4.1...HEAD
96
+ [1.4.1]: https://github.com/bmlt-enabled/bmlt-query-client/compare/v1.4.0...v1.4.1
89
97
  [1.4.0]: https://github.com/bmlt-enabled/bmlt-query-client/compare/v1.3.0...v1.4.0
90
98
  [1.3.0]: https://github.com/bmlt-enabled/bmlt-query-client/compare/v1.2.0...v1.3.0
91
99
  [1.2.0]: https://github.com/bmlt-enabled/bmlt-query-client/compare/v1.1.0...v1.2.0
package/dist/app.d.ts CHANGED
@@ -311,14 +311,14 @@ export declare interface Coordinates {
311
311
  export declare function countUniqueGroups(meetings: Meeting[]): number;
312
312
 
313
313
  export declare interface CoverageArea {
314
- /** Northwest corner longitude as a numeric string */
315
- nw_corner_longitude: string;
316
- /** Northwest corner latitude as a numeric string */
317
- nw_corner_latitude: string;
318
- /** Southeast corner longitude as a numeric string */
319
- se_corner_longitude: string;
320
- /** Southeast corner latitude as a numeric string */
321
- se_corner_latitude: string;
314
+ /** Northwest corner longitude */
315
+ nw_corner_longitude: number;
316
+ /** Northwest corner latitude */
317
+ nw_corner_latitude: number;
318
+ /** Southeast corner longitude */
319
+ se_corner_longitude: number;
320
+ /** Southeast corner latitude */
321
+ se_corner_latitude: number;
322
322
  }
323
323
 
324
324
  /** A single meeting paired with the index of the list it came from */
@@ -596,10 +596,10 @@ export declare enum Language {
596
596
  export declare interface Meeting {
597
597
  /** Meeting ID */
598
598
  id_bigint: string;
599
- /** Weekday (1-7) as a numeric string */
600
- weekday_tinyint: string;
601
- /** Venue type (1=In-person, 2=Virtual, 3=Hybrid) as a numeric string */
602
- venue_type: string;
599
+ /** Weekday (1=Sunday, 7=Saturday) */
600
+ weekday_tinyint: number;
601
+ /** Venue type (1=In-person, 2=Virtual, 3=Hybrid) */
602
+ venue_type: number;
603
603
  /** Start time (24-hour format HH:MM:SS) */
604
604
  start_time: string;
605
605
  /** Duration time (HH:MM:SS) */
@@ -628,12 +628,12 @@ export declare interface Meeting {
628
628
  location_sub_province?: string;
629
629
  /** Location nation */
630
630
  location_nation?: string;
631
- /** Latitude as a numeric string */
632
- latitude: string;
633
- /** Longitude as a numeric string */
634
- longitude: string;
635
- /** Published status (0=unpublished, 1=published) as a numeric string */
636
- published: string;
631
+ /** Latitude */
632
+ latitude: number;
633
+ /** Longitude */
634
+ longitude: number;
635
+ /** Published status (0=unpublished, 1=published) */
636
+ published: number;
637
637
  /** Email contact */
638
638
  email_contact?: string;
639
639
  /** World Committee Code */
@@ -678,10 +678,10 @@ export declare interface Meeting {
678
678
  admin_notes?: string;
679
679
  /** Root server URI (for aggregator mode) */
680
680
  root_server_uri?: string;
681
- /** Distance from search point in km as a numeric string (when using geographic search; may be empty string otherwise) */
682
- distance_in_km?: string;
683
- /** Distance from search point in miles as a numeric string (when using geographic search; may be empty string otherwise) */
684
- distance_in_miles?: string;
681
+ /** Distance from search point in km (undefined when not a geographic search) */
682
+ distance_in_km?: number;
683
+ /** Distance from search point in miles (undefined when not a geographic search) */
684
+ distance_in_miles?: number;
685
685
  }
686
686
 
687
687
  export declare class MeetingQueryBuilder {
@@ -1043,18 +1043,18 @@ export declare interface SearchResultsParams extends BaseSearchParams {
1043
1043
  export declare interface ServerInfo {
1044
1044
  /** Server version (e.g. "4.2.0") */
1045
1045
  version: string;
1046
- /** Server version as integer string (e.g. "4002000") */
1047
- versionInt: string;
1046
+ /** Server version as integer (e.g. 4002000) */
1047
+ versionInt: number;
1048
1048
  /** Supported languages, comma-separated (e.g. "da,de,el,en,es") */
1049
1049
  langs: string;
1050
1050
  /** Native language code (e.g. "en") */
1051
1051
  nativeLang: string;
1052
- /** Map center longitude as a numeric string */
1053
- centerLongitude: string;
1054
- /** Map center latitude as a numeric string */
1055
- centerLatitude: string;
1056
- /** Default map zoom level as a numeric string */
1057
- centerZoom: string;
1052
+ /** Map center longitude */
1053
+ centerLongitude: number;
1054
+ /** Map center latitude */
1055
+ centerLatitude: number;
1056
+ /** Default map zoom level */
1057
+ centerZoom: number;
1058
1058
  /** Default meeting duration (HH:MM:SS) */
1059
1059
  defaultDuration: string;
1060
1060
  /** Region bias for geocoding (e.g. "us") */
@@ -1063,10 +1063,10 @@ export declare interface ServerInfo {
1063
1063
  charSet: string;
1064
1064
  /** Distance units ("mi" or "km") */
1065
1065
  distanceUnits: string;
1066
- /** Semantic admin enabled flag as a numeric string ("0" or "1") */
1067
- semanticAdmin: string;
1068
- /** Number of changes tracked per meeting as a numeric string */
1069
- changesPerMeeting: string;
1066
+ /** Semantic admin enabled flag (0 or 1) */
1067
+ semanticAdmin: number;
1068
+ /** Number of changes tracked per meeting */
1069
+ changesPerMeeting: number;
1070
1070
  /** Comma-separated list of states/provinces with meetings */
1071
1071
  meeting_states_and_provinces: string;
1072
1072
  /** Comma-separated list of counties/sub-provinces with meetings */