Skip to content

Commit

Permalink
chore: readme typo (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos authored Apr 24, 2019
1 parent b463b04 commit 29d8fd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ Floodsub emits two kinds of events:
```
- `peerInfo`: a [PeerInfo](https://github.com/libp2p/js-peer-info) object
- `topics`: the topics that the peer is now subscribed to
- `changes`: an array of `{ topicCID: <topic>, subscribe: <boolean> }`
eg `[ { topicCID: 'fruit', subscribe: true }, { topicCID: 'vegetables': false } ]`
- `changes`: an array of `{ topicID: <topic>, subscribe: <boolean> }`
eg `[ { topicID: 'fruit', subscribe: true }, { topicID: 'vegetables': false } ]`


## API
Expand Down

0 comments on commit 29d8fd6

Please sign in to comment.