From e9ecba6e39806ec19d7cd32c6580c71c08743c43 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 30 Nov 2023 10:27:17 +0000 Subject: [PATCH 1/2] deps: bump @libp2p/interface from 0.1.6 to 1.0.0 Bumps [@libp2p/interface](https://github.com/libp2p/js-libp2p) from 0.1.6 to 1.0.0. - [Release notes](https://github.com/libp2p/js-libp2p/releases) - [Changelog](https://github.com/libp2p/js-libp2p/blob/main/.release-please.json) - [Commits](https://github.com/libp2p/js-libp2p/compare/interface-v0.1.6...ping-v1.0.0) --- updated-dependencies: - dependency-name: "@libp2p/interface" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", From a717a3e4a9145db260d510bed028d54bfd0e8497 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Thu, 30 Nov 2023 12:32:03 +0000 Subject: [PATCH 2/2] chore: update import --- src/multiaddr.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'