diff --git a/CHANGELOG.md b/CHANGELOG.md index 59c94bd..a4df95e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.10.13] - 2020-07-21 +- Adding new properties to response received when using ```CelsiusInstance.getTransctionSummary(pagination, userSecret)``` and ```CelsiusInstance.getCoinTransactions(coin, pagination, userSecret)```. + * original_interest_coin - Name of the original coin for which the interest has been accrued. + * interest_amount_in_original_coin - Amount accrued in `original_interest_coin`, before conversion to another asset. + + These properties are present only for transactions where the `nature` property is `interest`. + ## [0.10.12] - 2020-01-24 - Adding support for `Origin address of the first deposit` withdrawal scheme. * Whitelabel partners can now be configured in a way that allows withdrawing funds only to the origin addresses of first deposits. diff --git a/index.d.ts b/index.d.ts index 48494c0..481837c 100644 --- a/index.d.ts +++ b/index.d.ts @@ -125,6 +125,10 @@ declare module 'celsius-sdk' { time: string; /** The transaction id in the blockchain. It's null if the transaction was not yet submitted */ tx_id: string|null; + /** Present only in transactions where nature is `interest`. Represents the original coin for which the interest has been accrued. **/ + original_interest_coin: string; + /** Present only in transactions where nature is `interest`. Represents the amount accrued in `original_interest_coin`, before conversion to another asset. **/ + interest_amount_in_original_coin: string; } /** Celsius transaction summary */ diff --git a/package.json b/package.json index d68c50d..c515cfb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "celsius-sdk", - "version": "0.10.12", + "version": "0.10.13", "author": { "name": "Celsius Network", "email": "",