@psf/bch-js 7.1.6 → 7.1.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": "7.1.6",
3
+ "version": "7.1.7",
4
4
  "type": "module",
5
5
  "description": "A JavaScript library for working with Bitcoin Cash and SLP Tokens",
6
6
  "author": "Chris Troutner <chris.troutner@gmail.com>",
package/src/bch-js.js CHANGED
@@ -95,7 +95,7 @@ class BCHJS {
95
95
  } else if (process.env.BCHJSBCHSERVERURL && process.env.BCHJSBCHSERVERURL !== '') {
96
96
  this.bchServerURL = process.env.BCHJSBCHSERVERURL
97
97
  } else {
98
- this.bchServerURL = 'https://bch.fullstack.cash/v6/'
98
+ this.bchServerURL = 'https://bch.fullstack.cash/v6'
99
99
  }
100
100
 
101
101
  const libConfig = {
package/test/unit/x402.js CHANGED
@@ -21,7 +21,7 @@ describe('#X402 Integration', () => {
21
21
 
22
22
  assert.strictEqual(bchjs.wif, '')
23
23
  assert.strictEqual(bchjs.paymentAmountSats, 10000)
24
- assert.strictEqual(bchjs.bchServerURL, 'https://bch.fullstack.cash/v6/')
24
+ assert.strictEqual(bchjs.bchServerURL, 'https://bch.fullstack.cash/v6')
25
25
  })
26
26
 
27
27
  it('should accept wif in config', () => {
@@ -60,7 +60,7 @@ describe('#X402 Integration', () => {
60
60
 
61
61
  assert.strictEqual(bchjs.wif, '')
62
62
  assert.strictEqual(bchjs.paymentAmountSats, 10000)
63
- assert.strictEqual(bchjs.bchServerURL, 'https://bch.fullstack.cash/v6/')
63
+ assert.strictEqual(bchjs.bchServerURL, 'https://bch.fullstack.cash/v6')
64
64
  })
65
65
 
66
66
  it('should read WIF from BCHJSWIF environment variable', () => {
@@ -168,7 +168,7 @@ describe('#X402 Integration', () => {
168
168
  })
169
169
 
170
170
  assert.strictEqual(bchjs.restURL, customRestURL)
171
- assert.strictEqual(bchjs.bchServerURL, 'https://bch.fullstack.cash/v6/')
171
+ assert.strictEqual(bchjs.bchServerURL, 'https://bch.fullstack.cash/v6')
172
172
  })
173
173
  })
174
174