Skip to content

Commit

Permalink
Merge pull request #22 from ElrondNetwork/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
claudiulataretu authored Jul 8, 2021
2 parents 98cfd85 + 4046b7b commit b1ecbdb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,22 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how

## [Unreleased]

## [6.1.1]

- [Updated ESDTToken fields to match new API response #20](https://github.com/ElrondNetwork/elrond-sdk-erdjs/pull/20)
- `token` is now `identifier`

## [6.1.0]

- [Added simple signing function for dapp providers #17](https://github.com/ElrondNetwork/elrond-sdk-erdjs/pull/17)

## [6.0.0]

- [Added encryption component #11](https://github.com/ElrondNetwork/elrond-sdk-erdjs/pull/11)
- [Added option to config the axios requests #10](https://github.com/ElrondNetwork/elrond-sdk-erdjs/pull/10)
- Breaking changes:
1. `new ProxyProvider(url: string, timeout?: number)` becomes `new ProxyProvider(url: string, config?: AxiosRequestConfig)` -
note that `timeout` can still be passed in the `config` object
- Breaking changes:
1. `new ProxyProvider(url: string, timeout?: number)` becomes `new ProxyProvider(url: string, config?: AxiosRequestConfig)` -
note that `timeout` can still be passed in the `config` object

## [5.0.1] - 07.06.2021

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": "@elrondnetwork/erdjs",
"version": "6.1.0",
"version": "6.1.1",
"description": "Smart Contracts interaction framework",
"main": "out/index.js",
"types": "out/index.d.js",
Expand Down
4 changes: 2 additions & 2 deletions src/esdtToken.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

export class ESDTToken {
token: string = '';
identifier: string = '';
name: string = '';
type: string = '';
owner: string = '';
Expand Down Expand Up @@ -46,7 +46,7 @@ export class ESDTToken {
}

getTokenIdentifier() {
return this.token;
return this.identifier;
}

}

0 comments on commit b1ecbdb

Please sign in to comment.