Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use Multiaddr as class name #352

Merged
merged 1 commit into from
Nov 6, 2023
Merged

Commits on Nov 4, 2023

  1. fix: use multiaddr as class name

    Cosmetic change ahead.
    
    When logging multaddrs in browsers `DefaultMultiaddr` appears in
    the console.
    
    It's called this to prevent a collision with the `Multiaddr`
    TypeScript interface name.
    
    The interfaces are removed at compile time so here we import the
    interface with a different name, freeing up the `Multiaddr` symbol
    to be used as the class name.
    achingbrain committed Nov 4, 2023
    Configuration menu
    Copy the full SHA
    286b50a View commit details
    Browse the repository at this point in the history