From 2c3a96f0541d1624a301d0c289a91ddbb254f8f9 Mon Sep 17 00:00:00 2001 From: mkg20001 Date: Thu, 7 Sep 2017 19:37:42 +0200 Subject: [PATCH] Updates - Use protons instead of protocol-buffers (see ipfs/js-ipfs#991) --- lib/index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/index.js b/lib/index.js index 57101f7..416f921 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1,6 +1,6 @@ "use strict" -const protobuf = require("protocol-buffers") +const protobuf = require("protons") const assert = require("assert") const PeerRequest = require("peer-request") const validate = require("zeronet-common/lib/verify").verifyProtocol diff --git a/package.json b/package.json index 4d35062..a671de7 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "msgpack5": "^3.5.1", "once": "^1.4.0", "peer-request": "^0.1.2", - "protocol-buffers": "^3.2.1", + "protons": "^1.0.0", "pull-catch": "^1.0.0", "pull-protocol-buffers": "^0.1.1", "pull-queue": "^0.1.3",