Skip to content

Commit

Permalink
Fixed 'tokenType' field to 'type' in Non-Fungible Token
Browse files Browse the repository at this point in the history
  • Loading branch information
Hathoriel committed Sep 22, 2023
1 parent f61c217 commit fd0f66e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [3.1.7] - 2023.09.22
### Fixed
- Fixed 'tokenType' field to 'type' in Non-Fungible Token (NFT) Data Transfer Object (DTO) to match the API response.

## [3.1.6] - 2023.09.22
### Fixed
- Fix eth_getLogs method when no fromBlock or toBlock was provided
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": "@tatumio/tatum",
"version": "3.1.6",
"version": "3.1.7",
"description": "Tatum JS SDK",
"author": "Tatum",
"repository": "https://github.com/tatumio/tatum-js",
Expand Down
2 changes: 1 addition & 1 deletion src/service/nft/nft.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export interface NftTokenDetail {
/**
* Token type. Either 'nft' (ERC-721) or 'multitoken' (ERC-1155)
*/
tokenType: 'nft' | 'multitoken'
type: 'nft' | 'multitoken'
/**
* Token URI
*/
Expand Down

0 comments on commit fd0f66e

Please sign in to comment.