-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: update to libp2p@2.x.x (#504)
* feat!: update to libp2p@2.x.x Incorporates API changes from the upcoming libp2p@2.x.x release. BREAKING CHANGE: Can only be used with libp2p@2.x.x or later * chore: remove CodeError * chore: update deps * chore: fix linting
- Loading branch information
1 parent
9e57215
commit 1f8f634
Showing
20 changed files
with
5,320 additions
and
7,331 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export class InvalidPeerScoreParamsError extends Error { | ||
static name = 'InvalidPeerScoreParamsError' | ||
|
||
constructor (message = 'Invalid peer score params') { | ||
super(message) | ||
this.name = 'InvalidPeerScoreParamsError' | ||
} | ||
} | ||
|
||
export class InvalidPeerScoreThresholdsError extends Error { | ||
static name = 'InvalidPeerScoreThresholdsError' | ||
|
||
constructor (message = 'Invalid peer score thresholds') { | ||
super(message) | ||
this.name = 'InvalidPeerScoreThresholdsError' | ||
} | ||
} |
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.