/// ───────────────────────────────────────────────────────────────────────── /// THE DELIVERY LINE'S RIDER LOG IS THE PARCEL LINE'S RIDER LOG /// /// ── What this file used to be ── /// /// A second, complete implementation of duty, breaks and the location /// heartbeat, posting to the two retired pre-v1 hosts over raw `http`. It survived the migration only because /// nothing in `lib/` imported it: the delivery shell reaches it through /// [riderShell], which is production for any tenant on the delivery line. /// /// It carried two things that had already been deleted from the parcel line: /// /// • **`_buildSslBypassClient()`** — an `IOClient` whose /// `badCertificateCallback` returned `true` for *every* certificate, with a /// hand-rolled `SecureSocket` upgrade and a hardcoded IP pin. Every request /// it carried — a rider's GPS track, his duty state, his break times — could /// be read and rewritten by anything on the path. The parcel line removed /// this; the delivery line kept it. /// • **The legacy hosts themselves**, which the v1 migration left behind. /// /// ── Why this is an export and not a rewrite ── /// /// `lib/providers/Riderlog/riderlog_provider.dart` already does exactly this /// job against `api.doormile.com`: same four class names, same legacy /// `{status, details}` envelopes, mapped onto `POST /miler/duty/start`, /// `PUT /miler/location`, `POST /miler/logs` and the break endpoints. The /// delivery line's controller calls the same four classes by the same names. /// /// So there is nothing to port. Re-exporting means one implementation, one duty /// gate, one telemetry payload and one place where a contract change lands — /// which is the whole point of having migrated the parcel line at all. The two /// lines cannot drift, because there is only one of them. /// /// The `String urldata` first parameter is gone from every method; callers that /// were building a legacy URL to pass in have had that construction deleted /// rather than made to compile. /// ───────────────────────────────────────────────────────────────────────── library; export 'package:miler/providers/Riderlog/riderlog_provider.dart' show BreakRiderLogProvider, CreateRiderLogProvider, GetRiderLogProvider, UpdateRiderLogProvider, unawaited;