Skip to content

Releases: Hexagon/pup-api-client

2.0.0

Choose a tag to compare

@Hexagon Hexagon released this 21 May 19:07

Changes

  • Update dependency @pup/api-definitions
  • Bump major version 1 -> 2

1.0.6

Choose a tag to compare

@Hexagon Hexagon released this 02 May 19:45

Added

  • Add options requestTimeoutMs and retries to PupRestClient constructor

1.0.5

Choose a tag to compare

@Hexagon Hexagon released this 02 May 19:20

Added

  • Add and export Error type RestAPIConnectionError
  • Add timeout

Changed

  • Export Error type RestAPIError

1.0.4

Choose a tag to compare

@Hexagon Hexagon released this 30 Apr 20:19
  • Replace Websocketstream with regular websockets through npm:ws for broader runtime compatibility

1.0.3

Choose a tag to compare

@Hexagon Hexagon released this 29 Apr 22:08

Add support for endpoint /ipc

1.0.2

Choose a tag to compare

@Hexagon Hexagon released this 28 Apr 18:40

Changes

  • Adds support for periodic refresh of tokens through the metod .refreshApiToken().

1.0.1

Choose a tag to compare

@Hexagon Hexagon released this 25 Apr 16:43

Added

  • Add optional constructor parameter eventStream defaulting to false. Add
    .on() and .off() for subscribing to pup events through WebSocketStreams if
    eventStream is enabled.

Full Changelog: 1.0.0...1.0.1

1.0.0 - Initial Release

Choose a tag to compare

@Hexagon Hexagon released this 23 Apr 18:51

Initial release of @pup/api-client - a runtime agnostic TypeScript REST client for interacting
with the Pup REST API.