Skip to content

Releases: Hexagon/pup-api-client

2.0.0

21 May 19:07
Compare
Choose a tag to compare

Changes

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

1.0.6

02 May 19:45
Compare
Choose a tag to compare

Added

  • Add options requestTimeoutMs and retries to PupRestClient constructor

1.0.5

02 May 19:20
Compare
Choose a tag to compare

Added

  • Add and export Error type RestAPIConnectionError
  • Add timeout

Changed

  • Export Error type RestAPIError

1.0.4

30 Apr 20:19
Compare
Choose a tag to compare
  • Replace Websocketstream with regular websockets through npm:ws for broader runtime compatibility

1.0.3

29 Apr 22:08
Compare
Choose a tag to compare

Add support for endpoint /ipc

1.0.2

28 Apr 18:40
Compare
Choose a tag to compare

Changes

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

1.0.1

25 Apr 16:43
Compare
Choose a tag to compare

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

23 Apr 18:51
Compare
Choose a tag to compare

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