diff --git a/packages/peer/package.json b/packages/peer/package.json index 38bb0a6c..3af4ea9a 100644 --- a/packages/peer/package.json +++ b/packages/peer/package.json @@ -27,6 +27,7 @@ "relay-node": "node dist/relay.js" }, "dependencies": { + "@cerc-io/libp2p": "0.42.2-laconic-0.1.0", "@chainsafe/libp2p-noise": "^11.0.0", "@libp2p/floodsub": "^6.0.0", "@libp2p/mplex": "^7.1.1", @@ -39,7 +40,6 @@ "it-map": "^2.0.0", "it-pipe": "^2.0.5", "it-pushable": "^3.1.2", - "libp2p": "^0.42.2", "node-pre-gyp": "^0.13.0", "uint8arrays": "^4.0.3", "wrtc": "^0.4.7", diff --git a/packages/peer/src/index.ts b/packages/peer/src/index.ts index 2676d8dc..c753be3e 100644 --- a/packages/peer/src/index.ts +++ b/packages/peer/src/index.ts @@ -2,7 +2,7 @@ // Copyright 2022 Vulcanize, Inc. // -import { createLibp2p, Libp2p } from 'libp2p'; +import { createLibp2p, Libp2p } from '@cerc-io/libp2p'; // For nodejs. import wrtc from 'wrtc'; import assert from 'assert'; diff --git a/packages/peer/src/relay.ts b/packages/peer/src/relay.ts index 38bf51cc..32021c1d 100644 --- a/packages/peer/src/relay.ts +++ b/packages/peer/src/relay.ts @@ -2,7 +2,7 @@ // Copyright 2022 Vulcanize, Inc. // -import { Libp2p, createLibp2p } from 'libp2p'; +import { Libp2p, createLibp2p } from '@cerc-io/libp2p'; import wrtc from 'wrtc'; import { hideBin } from 'yargs/helpers'; import yargs from 'yargs';