chain-client-sdk-dart/lib
flemming-it f481eee687
Some checks failed
Security / Security check (push) Failing after 1s
feat(client): GrpcWebClientChannel on web targets via conditional import
Splits channel construction into two files selected at
compile-time via `if (dart.library.html)`:

  channel_factory_io.dart   — native ClientChannel (HTTP/2)
  channel_factory_web.dart  — GrpcWebClientChannel.xhr (HTTP/1.1)

HubClient._channel is now `ClientChannelBase` so both
implementations satisfy the same field type. dart:html-only
imports (`package:grpc/grpc_web.dart`) stay isolated from the
native compile path.

Pairs with the hub-side `fai_grpc_web` adapter crate
(fai/platform 0d07892) — `tonic-web` on the same port as
native gRPC, so one `fai serve` listener handles both
surfaces.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-05-26 13:34:26 +02:00
..
src feat(client): GrpcWebClientChannel on web targets via conditional import 2026-05-26 13:34:26 +02:00
fai_dart_sdk.dart feat: live HubClient with generated proto bindings 2026-05-05 16:24:16 +02:00