Skip to content

v0.10.14

Compare
Choose a tag to compare
@g4ndr4 g4ndr4 released this 25 Nov 15:31
· 35 commits to master since this release
bbbbc55
  • Fixing error handling to cover unhandled cases such as Wallet API being offline and signature verification failing.
  • Adding a new class CelsiusSDKError that encapsulates errors raised within the Celsius SDK. This class extends the Error class and contains the following additional attributes:
    • slug - Unique identifier tied to the error, returned by the API;
    • status - Status code returned by the API;
    • originalError - Original error which was used to instantiate CelsiusSDKError.
  • Exporting CelsiusSDKError and ValidationError classes used by Celsius SDK to encapsulate errors.
  • Fixing unhandled promise rejections in http-client.js::post method.