-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Renames the `Multiaddr` class to `DefaultMultiaddr` - Exports `Multiaddr` as an interface The `multiaddr` function (introduced in v9.0.0) should be used to create new instances of `Multiaddr` instead of instantiating the `Multiaddr` class directly. This allows us to remove the `inspect` symbol from the interface and avoid use of `Object.defineProperty` which is very slow. Fixes: #202 BREAKING CHANGE: the `Multiaddr` class is now an interface
- Loading branch information
1 parent
413155e
commit 36de98f
Showing
4 changed files
with
481 additions
and
448 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.