# @theorchard/grass-token-manager

## 1.4.1

### Patch Changes

-   Add lodash-es to lodash jest module mapping for ESM compatibility

## 1.4.0

### Minor Changes

-   Add onOnlineCheck handler

## 1.3.0

### Minor Changes

-   Continuously try to refresh token on network errors.

## 1.2.4

### Patch Changes

-   Fix TokenManager.fetchToken method not returning a promise.

## 1.2.3

### Patch Changes

-   Does not start automatic refresh if token duration is zero.
-   Fixes an issue where the refresh was not queued, but executed immediately.

## 1.2.0

### Minor Changes

-   Make it opt-in to fetch token on init.

## 1.1.0

### Minor Changes

-   Fixes default token duration to 20 minutes.
-   Allow specifying a default duration in options.
-   Allow token prop to be a string.

## 1.0.2

### Patch Changes

-   Export missing types.

## 1.0.1

### Patch Changes

-   Export missing types.
