Skip to content

Version 2.0.0-2 Prerelease of the Dat2 version of the SDK

Pre-release
Pre-release
Compare
Choose a tag to compare
@RangerMauve RangerMauve released this 11 Feb 19:43
· 188 commits to master since this release
  • Added method to get identity keypair 5922fa2

v2.0.0-1...v2.0.0-2

You can use const {publicKey} = await getIdentity() to get the public key you'd use for replication. This can be used by other peers when replicating in the peer-open event to check that you are who you say you are.