Skip to content

Commit

Permalink
Release v0.10.15 (#54)
Browse files Browse the repository at this point in the history
* Adding new property `amount_precise` to typescript types.

* Bump ini from 1.3.5 to 1.3.7 (#52)

Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](npm/ini@v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fixing typo

Fixing typo in jsdoc.

* Bumping version to 0.10.15

* Updating CHANGELOG.md

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sagi <[email protected]>
  • Loading branch information
3 people authored Dec 23, 2020
1 parent 32b4796 commit 1d65b65
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ 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.15] - 2020-12-23
- Adding a new property `amount_precise` to the `CelsiusTransactionRecord` type. It provides the exact transaction amount, without any rounding applied.
- Fixing typos in jsdoc. Kudos to [@saginadir](https://github.com/saginadir) who noticed the typo and contributed code that fixes it!

## [0.10.14] - 2020-11-25
- Fixing error handling to cover unhandled cases such as Wallet API being offline and signature verification failing.
- Adding a new class `CelsiusSDKError` that encapsulates errors raised within the Celsius SDK. This class extends the Error class and contains the following additional attributes:
Expand Down
4 changes: 3 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,12 @@ declare module 'celsius-sdk' {
}

interface CelsiusTransactionRecord extends CelsiusCoinBalanceResponse {
/** The amount in this coin */
/** The amount in this coin rounded down to coin's decimals */
amount: string;
/** The amount in US dollars for this coin */
amount_usd: string,
/** The amount in this coin without any rounding applied **/
amount_precise: string,
/** The coin of the transaction */
coin: string;
/** In which state the transaction is in */
Expand Down
2 changes: 1 addition & 1 deletion lib/http-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const HttpClient = function (config) {
}

/**
* Sends HTTP requst to the api.
* Sends HTTP request to the api.
*
* @private
* @function _dispatchAxiosRequest
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.14",
"version": "0.10.15",
"author": {
"name": "Celsius Network",
"email": "",
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1005,9 +1005,9 @@ inherits@2, inherits@^2.0.3, inherits@~2.0.3:
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"

ini@^1.3.4:
version "1.3.5"
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==
version "1.3.7"
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.7.tgz#a09363e1911972ea16d7a8851005d84cf09a9a84"
integrity sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ==

inquirer@^6.1.0:
version "6.2.1"
Expand Down

0 comments on commit 1d65b65

Please sign in to comment.