Skip to content

Releases: vladpuz/cloreai

Release 4.0.2

Choose a tag to compare

@vladpuz vladpuz released this 01 Jun 09:07
  • Class field apiKey are now public and can be changed at runtime.

Release 4.0.1

Choose a tag to compare

@vladpuz vladpuz released this 18 Apr 09:04
  • Class fields baseURL, fetchOptions, fetch are now public and can be changed at runtime.

Release 4.0.0

Choose a tag to compare

@vladpuz vladpuz released this 14 Apr 10:33
  • Axios has been removed and replaced with the native fetch! Class options have been changed:
    • Instead of axiosOptions?: CreateAxiosDefaults, now fetchOptions?: RequestInit.
    • New option baseURL?: string.
    • New option fetch?: typeof fetch.
  • CloreaiError fields error.code and error.error renamed to error.statusCode and error.description.
  • The gigaspot request queue has been removed. Now, gigaspot requests are processed within the general queue:
    • Option queueGigaspotOptions?: QueueOptions removed.
    • Constant RATE_LIMIT_GIGASPOT removed.
    • Field gigaspot.queue removed.

Release 3.0.0

Choose a tag to compare

@vladpuz vladpuz released this 21 Feb 12:31
  • Changed typing to support payments in USDT and BTC.
  • Added endpoint /renter_fees.
  • The default rate limit is set to 1000ms.
  • Error classes DatabaseError, InvalidInputDataError,
    InvalidApiTokenError, InvalidEndpointError, ExceededError,
    CustomError, UnknownError has been removed. Use new class CloreaiError
    with property error.code and constant statusCodes instead of this.
  • Renamed options.queueOptionsCreateOrder and options.queueOptionsGigaspot
    to options.queueCreateOrderOptions and options.queueGigaspotOptions.