braid-http 0.3.19 → 0.3.20

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.
@@ -229,7 +229,7 @@ async function braid_fetch (url, params = {}) {
229
229
 
230
230
  // Now we define the subscription function we just used:
231
231
  function start_subscription (cb, error) {
232
- if (!res.ok) {
232
+ if (!res.ok)
233
233
  throw new Error('Request returned not ok status:', res.status)
234
234
 
235
235
  if (res.bodyUsed)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braid-http",
3
- "version": "0.3.19",
3
+ "version": "0.3.20",
4
4
  "description": "An implementation of Braid-HTTP for Node.js and Browsers",
5
5
  "scripts": {
6
6
  "test": "node test/server.js"