This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Converts this module to typescript Depends on: - [ ] libp2p/js-libp2p-interfaces#116 BREAKING CHANGE: this module now uses the updated libp2p-interfaces module
- Loading branch information
1 parent
1faa587
commit 8bc0b09
Showing
16 changed files
with
635 additions
and
704 deletions.
There are no files selected for viewing
File renamed without changes.
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 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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
'use strict' | ||
|
||
// p2p multi-address code | ||
exports.CODE_P2P = 421 | ||
exports.CODE_CIRCUIT = 290 | ||
export const CODE_P2P = 421 | ||
export const CODE_CIRCUIT = 290 | ||
|
||
// Time to wait for a connection to close gracefully before destroying it manually | ||
exports.CLOSE_TIMEOUT = 2000 | ||
export const CLOSE_TIMEOUT = 2000 |
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.