Kucoin / kucoin-java-sdk

MIT License
87 stars 76 forks source link

WALLET_PROCESSING enum value added to WithdrawStatusEnum #68

Closed TLoD-Snake closed 2 months ago

TLoD-Snake commented 6 months ago

WALLET_PROCESSING withdraw status is missing in the corresponding enum WithdrawStatusEnum resulting in exceptions being thrown in client code:

Cannot deserialize value of type `com.kucoin.sdk.model.enums.WithdrawStatusEnum` from String \"WALLET_PROCESSING\": not one of the values accepted for Enum class: [FAILURE, SUCCESS, PROCESSING]\n at [Source: (okhttp3.ResponseBody$BomAwareReader); line: 1, column: 167] (through reference chain: com.kucoin.sdk.rest.response.KucoinResponse[\"data\"]->com.kucoin.sdk.rest.response.Pagination[\"items\"]->java.util.ArrayList[0]->com.kucoin.sdk.rest.response.WithdrawResponse[\"status\"]