Skip to content

Commit

Permalink
Merge pull request #45 from CelsiusNetwork/release/v0.10.13
Browse files Browse the repository at this point in the history
Release v0.10.13
  • Loading branch information
g4ndr4 authored Jul 21, 2020
2 parents 0849bc0 + 7cf517a commit 882142e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "celsius-sdk",
"version": "0.10.12",
"version": "0.10.13",
"author": {
"name": "Celsius Network",
"email": "",
Expand Down

0 comments on commit 882142e

Please sign in to comment.