You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
[1.0.0] - 2022-03-08
Added
Functionalities:
Added functionality to http-client for sending PUT requests. Kudos to @ptlls
Methods:
CelsiusInstance.getSupportedCountries(userSecret) that returns the list of countries supported by Celsius.
CelsiusInstance.health(message) checks the health of the server. Kudos to @andreujuanc
CelsiusInstance.getKycVerificationStatus(userId, userSecret) checks the KYC status, similar to existing getKycStatus method, but takes also userId as a parameter
and returns a response containing property status which shows the status of KYC and reason which states the reason for the status if needed.
CelsiusInstance.startKycVerification(userId, documentType, userDocuments, userSecret) starts the KYC verification same as existing verifyKyc method, but it doesn't
create the user, but rather receives an existing user's id - userId as a parameter
CelsiusInstance.createUser(user) which returns userId which can be used to manipulate user info and starting KYC verification. Also, the user_token property will be used as userSecret
UpdateEmail with email property, for updating user email.
CreateUserResponse with properties userId, userToken
SupportedCountriesResponse with properties alpha2, alpha3, countryCallingCodes, currencies emoji, ioc, languages, name and status
KYCStatusResponse with properties status and reasons
Updated
Updated methods:
getInterestRates return type changed to Promise<InterestRates[]> . Kudos to @barathvk
getTransactionSummary, pagination options parameter changed from PaginationOptions to CelsiusPaginationOptions. Kudos to @crypto-diplodocus and @rbayliss
getCoinTransactions, pagination options changed from PaginationOptions to CelsiusPaginationOptions. Kudos to @crypto-diplodocus and @rbayliss