diff --git a/package.json b/package.json index 92feb567..e594cfc6 100644 --- a/package.json +++ b/package.json @@ -164,7 +164,7 @@ "dependencies": { "@chainsafe/is-ip": "^2.0.1", "@chainsafe/netmask": "^2.0.0", - "@libp2p/interface": "^0.1.1", + "@libp2p/interface": "^1.0.0", "dns-over-http-resolver": "3.0.0", "multiformats": "^12.0.1", "uint8-varint": "^2.0.1", diff --git a/src/multiaddr.ts b/src/multiaddr.ts index 706a30ae..d1447a5c 100644 --- a/src/multiaddr.ts +++ b/src/multiaddr.ts @@ -12,7 +12,7 @@ * ``` */ -import { CodeError } from '@libp2p/interface/errors' +import { CodeError } from '@libp2p/interface' import { base58btc } from 'multiformats/bases/base58' import { CID } from 'multiformats/cid' import { equals as uint8ArrayEquals } from 'uint8arrays/equals'