Releases: vladpuz/cloreai
Releases · vladpuz/cloreai
Release list
Release 4.0.2
Release 4.0.1
- Class fields
baseURL,fetchOptions,fetchare now public and can be changed at runtime.
Release 4.0.0
- Axios has been removed and replaced with the native fetch! Class options have been changed:
- Instead of
axiosOptions?: CreateAxiosDefaults, nowfetchOptions?: RequestInit. - New option
baseURL?: string. - New option
fetch?: typeof fetch.
- Instead of
- CloreaiError fields
error.codeanderror.errorrenamed toerror.statusCodeanderror.description. - The gigaspot request queue has been removed. Now, gigaspot requests are processed within the general queue:
- Option
queueGigaspotOptions?: QueueOptionsremoved. - Constant
RATE_LIMIT_GIGASPOTremoved. - Field
gigaspot.queueremoved.
- Option
Release 3.0.0
- 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,UnknownErrorhas been removed. Use new classCloreaiError
with propertyerror.codeand constantstatusCodesinstead of this. - Renamed
options.queueOptionsCreateOrderandoptions.queueOptionsGigaspot
tooptions.queueCreateOrderOptionsandoptions.queueGigaspotOptions.