-
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: allow usage of custom codecs (#288)
The gossip codecs are now available on `GossipSub.multicodecs`. Hence, the check can use this field instead of a function that uses the constants. This enables library consumers to set their own codecs by assigning a different value to `GossipSub.multicodecs`.
- Loading branch information
Showing
3 changed files
with
14 additions
and
10 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
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
export * from './create-gossip-rpc.js' | ||
export * from './shuffle.js' | ||
export * from './has-gossip-protocol.js' | ||
export * from './messageIdToString.js' | ||
export { getPublishConfigFromPeerId } from './publishConfig.js' |