braid-http 0.3.5 → 0.3.6

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.
@@ -168,7 +168,7 @@ async function braid_fetch (url, params = {}) {
168
168
  if (params.subscribe)
169
169
  params.headers.set('subscribe', 'true')
170
170
  if (params.peer)
171
- params.header.set('peer', params.peer)
171
+ params.headers.set('peer', params.peer)
172
172
 
173
173
  // Prevent browsers from going to disk cache
174
174
  params.cache = 'no-cache'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braid-http",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "An implementation of Braid-HTTP for Node.js and Browsers",
5
5
  "scripts": {
6
6
  "test": "node test/server.js"