@psf/bch-js 6.5.5 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@psf/bch-js",
3
- "version": "6.5.5",
3
+ "version": "6.5.7",
4
4
  "description": "A JavaScript library for working with Bitcoin Cash, eCash, and SLP Tokens",
5
5
  "author": "Chris Troutner <chris.troutner@gmail.com>",
6
6
  "contributors": [
@@ -40,7 +40,7 @@
40
40
  "@chris.troutner/bip32-utils": "1.0.5",
41
41
  "@psf/bip21": "2.0.1",
42
42
  "@psf/bitcoincash-ops": "2.0.0",
43
- "@psf/bitcoincashjs-lib": "4.0.2",
43
+ "@psf/bitcoincashjs-lib": "4.0.3",
44
44
  "@psf/coininfo": "4.0.0",
45
45
  "axios": "0.26.1",
46
46
  "bc-bip68": "1.0.5",
@@ -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