Closed sgwilym closed 1 month ago
There was no way to get an identity out of a Peer without knowing the tag for that identity first.
Peer
Adding a Peer.identities method which returns an async iterable over all of the identity keypairs in storage.
Peer.identities
Changed Peer.getWriteCapabilities to Peer.getWriteCaps.
Peer.getWriteCapabilities
Peer.getWriteCaps
What's the problem you solved?
There was no way to get an identity out of a
Peer
without knowing the tag for that identity first.What solution are you recommending?
Adding a
Peer.identities
method which returns an async iterable over all of the identity keypairs in storage.Also
Changed
Peer.getWriteCapabilities
toPeer.getWriteCaps
.