diff --git a/package.json b/package.json index be4d6b7..74751a6 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "test:integration:testnet:local": "RESTURL=http://localhost:4000/v3/ mocha --timeout 30000 test/integration/testnet", "test:integration:free": "bash test/integration/test-free-tier.sh", "test:integration:free:testnet": "bash test/integration/testnet/test-free-tier.sh", - "test:temp": "mocha --timeout 30000 -g '#tokenUtxoDetails' test/integration/slp.js", + "test:temp": "mocha --timeout 30000 -g '#hydrateUtxos' test/integration/slp.js", "test:integration:api": "RESTURL=https://api.fullstack.cash/v3/ mocha --timeout 30000 test/integration", "coverage": "nyc report --reporter=text-lcov | coveralls", "coverage:report": "nyc --reporter=html mocha --timeout 25000 test/unit/", diff --git a/src/slp/utils.js b/src/slp/utils.js index fb5474d..809f714 100644 --- a/src/slp/utils.js +++ b/src/slp/utils.js @@ -767,14 +767,16 @@ class Utils { * set to false. * If the UTXO is part of an SLP transaction, it will return the UTXO object * with additional SLP information attached. An `isValid` property will be included. - * If its value is true, the UTXO is a valid SLP UTXO. If the value is null, - * then SLPDB has not yet processed that txid and validity has not been confirmed. + * If its value is true, the UTXO is a valid SLP UTXO. + * If the isValid value is null, + * then SLPDB has not yet processed that txid and validity has not been confirmed, + * or a 429 rate-limit error was enountered during the processing of the request. * * @apiExample Example usage: * * (async () => { * try { - * const utxos = await bchjs.Blockbook.utxos(`bitcoincash:qpcqs0n5xap26un2828n55gan2ylj7wavvzeuwdx05`) + * const utxos = await bchjs.Electrumx.utxo(`bitcoincash:qpcqs0n5xap26un2828n55gan2ylj7wavvzeuwdx05`) * * const utxoInfo = await bchjs.SLP.Utils.tokenUtxoDetails(utxos) * @@ -1058,8 +1060,10 @@ class Utils { * set to false. * If the UTXO is part of an SLP transaction, it will return the UTXO object * with additional SLP information attached. An `isValid` property will be included. - * If its value is true, the UTXO is a valid SLP UTXO. If the value is null, - * then SLPDB has not yet processed that txid and validity has not been confirmed. + * If its value is true, the UTXO is a valid SLP UTXO. \ + * If the isValid value is null, + * then SLPDB has not yet processed that txid and validity has not been confirmed, + * or a 429 rate-limit error was enountered during the processing of the request. * * @apiExample Example usage: *