Skip to main content

bardiyamap_sdk 0.1.0 copy "bardiyamap_sdk: ^0.1.0" to clipboard
bardiyamap_sdk: ^0.1.0 copied to clipboard

Official Bardiya Map SDK for Dart: Places, Geocoding, Directions, Distance Matrix, Tracking, Realtime (SSE) and webhooks.

Changelog #

0.1.0 — unreleased #

  • Initial Dart SDK for the Bardiya Map public v1 API.
  • Generated client (OpenAPI Generator 7.27.0, dart) covering all 39 contract operations: Maps, Places, Geocoding, Directions, Distance Matrix, Address Validation, Tracking, Client Tokens, Subscriptions, Webhooks, Health and Realtime.
  • Auth routing: Maps API key (X-API-Key), Tracking bearer, session-scoped ingest credentials.
  • Read-plane routing for tracking GETs with a transport-level read-only guard.
  • Typed error envelope with request_id and Retry-After; bounded retries for idempotent requests only.
  • Streaming tracking snapshots/locations over SSE with typed failures.
  • HMAC-SHA256 webhook signature verification.
  • Web-compatible REST client: no dart:io dependency; dart compile js verified.
  • Deterministic regeneration and drift check (generate.py).

Changed:

  • HistoryPoint.event_id is an integer (tracking_location_events.id, a PostgreSQL BIGINT) as of contract 1.1.0. Contract 1.0.0 declared it as a string while the server always returned a JSON number, so strict decoders rejected a populated history page.

Fixed:

  • Tracking reads follow an explicit base URL when no read base URL is given, instead of silently using the production read host.
  • Default retryPostComputations to false and require explicit opt-in even when Idempotency-Key is supplied (quota and Free Sandbox debits are not idempotent), add BardiyaClient.isDegradedDirections, add BardiyaStreamClient.forViewer (bdy_cli_* viewer tokens, followRedirects = false), and cap webhook future clock skew to min(60, maxAge.inSeconds).
0
likes
110
points
--
downloads

Documentation

API reference

Publisher

verified publisherbardiyamap.com

Weekly Downloads

Official Bardiya Map SDK for Dart: Places, Geocoding, Directions, Distance Matrix, Tracking, Realtime (SSE) and webhooks.

Homepage
View/report issues

Topics

#maps #geocoding #routing #tracking

License

Apache-2.0 (license)

Dependencies

collection, crypto, http, intl, meta, sse_parser

More

Packages that depend on bardiyamap_sdk