@psf/bch-js 6.5.6 → 6.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/psf-slp-indexer.js +2 -2
package/package.json
CHANGED
package/src/psf-slp-indexer.js
CHANGED
|
@@ -514,7 +514,7 @@ class PsfSlpIndexer {
|
|
|
514
514
|
* }
|
|
515
515
|
*
|
|
516
516
|
*/
|
|
517
|
-
async getTokenData2 (tokenId) {
|
|
517
|
+
async getTokenData2 (tokenId, updateCache = false) {
|
|
518
518
|
try {
|
|
519
519
|
const url = `${this.restURL}psf/slp/token/data2`
|
|
520
520
|
// console.log(`url: ${url}`)
|
|
@@ -524,7 +524,7 @@ class PsfSlpIndexer {
|
|
|
524
524
|
const response = await axios.post(
|
|
525
525
|
// 'https://bchn.fullstack.cash/v5/psf/slp/token/data/',
|
|
526
526
|
url,
|
|
527
|
-
{ tokenId },
|
|
527
|
+
{ tokenId, updateCache },
|
|
528
528
|
this.axiosOptions
|
|
529
529
|
)
|
|
530
530
|
return response.data
|