mirror of
https://github.com/Permissionless-Software-Foundation/bch-js.git
synced 2026-09-21 16:51:59 -07:00
fix(psf-slp-indexer): Switching URL back
This commit is contained in:
Generated
+4758
-2045
File diff suppressed because it is too large
Load Diff
+4
-4
@@ -37,8 +37,8 @@
|
|||||||
"url": "git+https://github.com/Permissionless-Software-Foundation/bch-js.git"
|
"url": "git+https://github.com/Permissionless-Software-Foundation/bch-js.git"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@psf/bip21": "2.0.1",
|
|
||||||
"@chris.troutner/bip32-utils": "1.0.5",
|
"@chris.troutner/bip32-utils": "1.0.5",
|
||||||
|
"@psf/bip21": "2.0.1",
|
||||||
"@psf/bitcoincash-ops": "2.0.0",
|
"@psf/bitcoincash-ops": "2.0.0",
|
||||||
"@psf/bitcoincashjs-lib": "4.0.2",
|
"@psf/bitcoincashjs-lib": "4.0.2",
|
||||||
"@psf/coininfo": "4.0.0",
|
"@psf/coininfo": "4.0.0",
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
"wif": "2.0.6"
|
"wif": "2.0.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"apidoc": "0.17.7",
|
"apidoc": "^0.50.5",
|
||||||
"assert": "2.0.0",
|
"assert": "2.0.0",
|
||||||
"chai": "4.1.2",
|
"chai": "4.1.2",
|
||||||
"coveralls": "3.0.2",
|
"coveralls": "3.0.2",
|
||||||
@@ -77,10 +77,10 @@
|
|||||||
"eslint-plugin-standard": "4.0.0",
|
"eslint-plugin-standard": "4.0.0",
|
||||||
"husky": "^4.3.8",
|
"husky": "^4.3.8",
|
||||||
"lodash.clonedeep": "4.5.0",
|
"lodash.clonedeep": "4.5.0",
|
||||||
"mocha": "9.1.3",
|
"mocha": "^9.2.1",
|
||||||
"node-mocks-http": "1.7.0",
|
"node-mocks-http": "1.7.0",
|
||||||
"nyc": "15.1.0",
|
"nyc": "15.1.0",
|
||||||
"semantic-release": "18.0.0",
|
"semantic-release": "^19.0.2",
|
||||||
"sinon": "9.2.2",
|
"sinon": "9.2.2",
|
||||||
"standard": "^16.0.4"
|
"standard": "^16.0.4"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ class PsfSlpIndexer {
|
|||||||
async status () {
|
async status () {
|
||||||
try {
|
try {
|
||||||
const response = await axios.get(
|
const response = await axios.get(
|
||||||
`${this.restURL}/psf/slp/status`,
|
`${this.restURL}psf/slp/status`,
|
||||||
this.axiosOptions
|
this.axiosOptions
|
||||||
)
|
)
|
||||||
return response.data
|
return response.data
|
||||||
@@ -137,7 +137,7 @@ class PsfSlpIndexer {
|
|||||||
// Handle single address.
|
// Handle single address.
|
||||||
if (typeof address === 'string') {
|
if (typeof address === 'string') {
|
||||||
const response = await axios.post(
|
const response = await axios.post(
|
||||||
`${this.restURL}/psf/slp/address`,
|
`${this.restURL}psf/slp/address`,
|
||||||
{ address},
|
{ address},
|
||||||
this.axiosOptions
|
this.axiosOptions
|
||||||
)
|
)
|
||||||
@@ -201,7 +201,7 @@ class PsfSlpIndexer {
|
|||||||
// Handle single address.
|
// Handle single address.
|
||||||
if (typeof tokenId === 'string') {
|
if (typeof tokenId === 'string') {
|
||||||
const response = await axios.post(
|
const response = await axios.post(
|
||||||
`${this.restURL}/psf/slp/token`,
|
`${this.restURL}psf/slp/token`,
|
||||||
{ tokenId, withTxHistory},
|
{ tokenId, withTxHistory},
|
||||||
this.axiosOptions
|
this.axiosOptions
|
||||||
)
|
)
|
||||||
@@ -291,7 +291,7 @@ class PsfSlpIndexer {
|
|||||||
// Handle single address.
|
// Handle single address.
|
||||||
if (typeof txid === 'string') {
|
if (typeof txid === 'string') {
|
||||||
const response = await axios.post(
|
const response = await axios.post(
|
||||||
`${this.restURL}/psf/slp/txid`,
|
`${this.restURL}psf/slp/txid`,
|
||||||
{ txid},
|
{ txid},
|
||||||
this.axiosOptions
|
this.axiosOptions
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user