Releases: RangerMauve/hyper-sdk
Releases · RangerMauve/hyper-sdk
Version 2.0.0-2 Prerelease of the Dat2 version of the SDK
- Added method to get identity keypair 5922fa2
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.
Version 2.0.0-1 Prerelease of the Dat2 version of the SDK
- Wrap hyperdrive and hypercore with promises e04c66f
Now you can use async/await with any of the hyperdrive or hypercore methods. No need for a separate import for promise support.
Version 2.0.0-0 Prerelease of the Dat2 version of the SDK
- Dat-2 support, nodejs-only? b2af823
- Touched up webpack example, added browserify example 4fd1769
- Merge pull request #43 from urgent/master 2265ae2
- Added docs about webpack config ee0c92a
Notes:
- Only the callbacks API is implemented for now.
- The SDK constructor returns a promise which you should await
- The docs aren't updated yet
- Install with
npm i -s dat-sdk@2.0.0-0
Version 1.0.2 - Fix peer-add event not firing on archive
Version 1.0.1 - Minor bug fixes
Version 1.0.0 - First stable release
Version 0.3.6 - Bumped hyperdiscovery to use latest discovery-swarm-web
- Bumped hyperdiscovery 26b896a