monolib_openrouter 0.1.1
monolib_openrouter: ^0.1.1 copied to clipboard
OpenRouter client for dart projects
0.1.1 #
- Adds
openRouterJsonDecoder, fusingDropLeadingWhitespaceConverter,utf8.decoder, andjson.decoderfor OpenRouter streamed response streams.
0.1.0 #
- Updates
monolib_dartdependency constraint to^0.1.0. - Comprehensive documentation harmonization across streaming, JSON, and timeout utilities with zero analyzer or Dartdoc warnings.
- Privatizes internal state and error handling in
DropLeadingWhitespaceConverterandUtf8StreamStringSink.
0.0.2 #
- Adds
OnFutureextension withtimeoutAsStreamto turn a future into a stream that closes without emitting on timeout. - Adds
OnStreamextension withtimeoutAndCloseto close a stream on timeout instead of emitting aTimeoutException.
0.0.1 #
- Initial package setup.
- Adds
DropLeadingWhitespaceConverterthat strips leading ASCII whitespace bytes from a byte stream, with an optionalonErrorcallback. - Adds
Utf8StreamStringSink, aStringSinkthat UTF-8 encodes written values into anEventSink<List<int>>, with an optionalonErrorcallback. - Adds
OnFluentJsonextension withassertNoTopLevelErrorto throw when json has a top levelerrorelement.