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",