diff --git a/package.json b/package.json index 4d7efaf0..7efd03b4 100644 --- a/package.json +++ b/package.json @@ -62,4 +62,4 @@ "greenkeeper[bot] ", "npm-to-cdn-bot (by Forbes Lindesay) " ] -} \ No newline at end of file +} diff --git a/src/protocols-table.js b/src/protocols-table.js index 6e8129eb..b7815cf8 100644 --- a/src/protocols-table.js +++ b/src/protocols-table.js @@ -41,7 +41,7 @@ Protocols.table = [ [443, 0, 'https'], [477, 0, 'ws'], [478, 0, 'wss'], - [479, 0, 'p2p-websockets-star'], + [479, 0, 'p2p-websocket-star'], [275, 0, 'p2p-webrtc-star'], [276, 0, 'p2p-webrtc-direct'], [290, 0, 'p2p-circuit'] diff --git a/test/index.spec.js b/test/index.spec.js index 09db66ed..936b55d1 100644 --- a/test/index.spec.js +++ b/test/index.spec.js @@ -313,8 +313,8 @@ describe('variants', () => { expect(addr.toString()).to.equal(str) }) - it('p2p-websockets-star', () => { - const str = '/ip4/127.0.0.1/tcp/9090/ws/p2p-websockets-star' + it('p2p-websocket-star', () => { + const str = '/ip4/127.0.0.1/tcp/9090/ws/p2p-websocket-star' const addr = multiaddr(str) expect(addr).to.have.property('buffer') expect(addr.toString()).to.equal(str)