fresh 0.4.3 copy "fresh: ^0.4.3" to clipboard
fresh: ^0.4.3 copied to clipboard

An token refresh library for dart. This package exposes the core components that are common to various refresh token implementations (REST, GraphQL, etc...).

0.4.3 #

  • fix: wait for initial storage read before returning token
  • chore: update copyright year
  • chore: add funding to pubspec.yaml
  • ci: revamp ci setup

0.4.2 #

  • chore: adjust dart sdk constraint to ">=2.12.0 <4.0.0"
  • chore: use more strict analysis options

0.4.1 #

  • chore: upgrade dev dependencies
    • upgrade to mocktail ^0.3.0

0.4.0 #

  • BREAKING: Migrate to Dart 2.12.0 with Null Safety

0.3.0 #

  • BREAKING: Remove Token interface
  • refactor: FreshMixin internal implementation improvements

0.2.1 #

  • Add InMemoryTokenStorage
  • Add TokenHeaderBuilder typedef

0.2.0 #

  • BREAKING: split dio interceptor into separate package (fresh_dio)
    • package:fresh is repurposed to contain core refresh components

0.1.0 #

  • Improvements to internal implementation
  • Fully Unit Tested

0.0.3 #

  • Fix: expose DioErrors to shouldRefresh function (#9)

0.0.2 #

  • BREAKING: convert to dio interceptor.

0.0.1 #

Initial Release of the library.

  • Includes FreshClient with built-in token refresh.
141
likes
160
points
17.9k
downloads

Publisher

verified publisherfelangel.dev

Weekly Downloads

An token refresh library for dart. This package exposes the core components that are common to various refresh token implementations (REST, GraphQL, etc...).

Repository (GitHub)
View/report issues

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

More

Packages that depend on fresh