bch-consumer
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -275,2 +275,3 @@ /* | ||
* - tokenId - (required) string containing token ID | ||
* - updateCache - (optional) Boolean, false by default. If true, server will refresh its mutable data cache. | ||
* | ||
@@ -289,5 +290,6 @@ * @apiExample {js} Example usage: | ||
*/ | ||
async getTokenData2 (tokenId) { | ||
async getTokenData2 (tokenId, updateCache = false) { | ||
const body = { | ||
tokenId | ||
tokenId, | ||
updateCache | ||
} | ||
@@ -294,0 +296,0 @@ |
{ | ||
"name": "bch-consumer", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "A npm JS library for interacting with ipfs-bch-wallet-consumer REST API", | ||
@@ -34,3 +34,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@psf/bch-js": "6.5.3", | ||
"@psf/bch-js": "6.5.7", | ||
"apidoc": "0.51.0", | ||
@@ -37,0 +37,0 @@ "axios": "0.25.0" |
39483
1014
+ Added@psf/bch-js@6.5.7(transitive)
+ Added@psf/bitcoincashjs-lib@4.0.3(transitive)
- Removed@psf/bch-js@6.5.3(transitive)
- Removed@psf/bitcoincashjs-lib@4.0.2(transitive)
Updated@psf/bch-js@6.5.7