Simplify wording

This commit is contained in:
phillmac
2019-09-20 08:02:47 +10:00
committed by GitHub
parent d800e5d817
commit 77eb229554

2
API.md
View File

@@ -609,7 +609,7 @@ Emitted after an entry was added locally to the database. *hash* is the IPFS has
db.events.on('peer', (peer) => ... )
```
Emitted when a new peer connects via ipfs pubsub. *peer* is a string containing the new peer's id
Emitted when a new peer connects via ipfs pubsub. *peer* is a string containing the id of the new peer
### `closed`
Emitted once the database has finished closing.