From 56b37dab8c1241b500ce8d976879f707cb07a18f Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Fri, 3 Nov 2017 03:18:15 -0700 Subject: [PATCH] fix: switch protobufs to protons (#19) --- README.md | 2 +- package.json | 2 +- src/protocol/index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5296771..14362fb 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ The applicability of circuit-relaying is not limited to routing traffic between - circumventing NAT layers - route mangling for better privacy (matreshka/shallot dialing). - It's also possible to use it for clients that implement exotic transports such as devices that only have bluetooth radios to be reachable over bluethoot enabled relays and become full p2p nodes. + It's also possible to use it for clients that implement exotic transports such as devices that only have bluetooth radios to be reachable over bluetooth enabled relays and become full p2p nodes. ### libp2p-circuit and IPFS diff --git a/package.json b/package.json index 1186b35..d25708d 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "multistream-select": "^0.14.0", "peer-id": "^0.10.2", "peer-info": "^0.11.0", - "protocol-buffers": "^3.2.1", + "protons": "^1.0.0", "pull-abortable": "^4.1.1", "pull-handshake": "^1.1.4", "pull-stream": "^3.6.1", diff --git a/src/protocol/index.js b/src/protocol/index.js index d403960..fdfefcb 100644 --- a/src/protocol/index.js +++ b/src/protocol/index.js @@ -1,4 +1,4 @@ 'use strict' -const protobuf = require('protocol-buffers') +const protobuf = require('protons') module.exports = protobuf(require('./proto.js'))