hyper-sdk

Make your own hyper apps!

MIT License

Downloads
267
Stars
291
Committers
20

Bot releases are hidden (Show)

hyper-sdk - Version 2.0.0-2 Prerelease of the Dat2 version of the SDK Latest Release

Published by RangerMauve over 4 years ago

  • Added method to get identity keypair 5922fa2

https://github.com/datproject/sdk/compare/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.

hyper-sdk - Version 2.0.0-1 Prerelease of the Dat2 version of the SDK

Published by RangerMauve over 4 years ago

  • 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.

https://github.com/datproject/sdk/compare/v2.0.0-0...v2.0.0-1

hyper-sdk - Version 2.0.0-0 Prerelease of the Dat2 version of the SDK

Published by RangerMauve over 4 years ago

  • 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

https://github.com/datproject/sdk/compare/v1.0.2...v2.0.0-0

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 [email protected]
hyper-sdk - Version 1.0.2 - Fix peer-add event not firing on archive

Published by RangerMauve over 4 years ago

  • Bumped hyperdrive to use latest v9 branch 96e76b6

https://github.com/datproject/sdk/compare/v1.0.1...v1.0.2

Closes #41

hyper-sdk - Version 1.0.1 - Minor bug fixes

Published by RangerMauve over 4 years ago

  • Linter fixes, simplified promise impl a765f05
  • Added docs about installation bb792ef

https://github.com/datproject/sdk/compare/v1.0.0...v1.0.1

hyper-sdk - Version 1.0.0 - First stable release

Published by RangerMauve over 4 years ago

  • Merge pull request #40 from datproject/api-docs 04e00cc
  • Added missing APIs, added docs on existing APis 402ac17
  • Moved roadmap out of readme, added docs for secret keys f4e645f
  • Clean up localstorage to avoid urls-scratch folder. Closes #24 0c8ebd1
  • Added getSecretKey function, closes #27 671ef24

https://github.com/datproject/sdk/compare/v0.3.6...v1.0.0

hyper-sdk - Version 0.3.6 - Bumped hyperdiscovery to use latest discovery-swarm-web

Published by RangerMauve almost 5 years ago

hyper-sdk - Version 0.3.5 - Fix loading archives while offline

Published by RangerMauve almost 5 years ago

  • Merge branch 'master' of github.com:datproject/sdk 819bbe0
  • Detect Dat URLs before resolving in promise API 0815b04
  • Merge pull request #25 from AramZS/patch-1 3c29f45
  • Update example in README to show use of SDK module bcf66e9

https://github.com/datproject/sdk/compare/v0.3.4...v0.3.5

hyper-sdk - Version 0.3.4 - Bug fixes

Published by RangerMauve about 5 years ago

  • Fix loading duplicates, fix persistence in promise API, improve initial load 80aa09a
  • Fix dat:// urls not resolving on web 0ba4031

https://github.com/datproject/sdk/compare/v0.3.3...v0.3.4

hyper-sdk - Version 0.3.3 - Custom random-access-storage for hypercore

Published by RangerMauve about 5 years ago

  • Merge pull request #19 from ninabreznik/master 7c7b6bf
  • Add option to provide custom random-access storage and update Readme cf86d91
  • Merge pull request #18 from gr0kchain/patch-1 2128b0a
  • Update README 954e67d

https://github.com/datproject/sdk/compare/v0.3.2...v0.3.3

hyper-sdk - Version 0.3.2 - Fixed hypercores not persisting by default

Published by RangerMauve about 5 years ago

  • Persist hypercores by default 26d61b6
  • Merge pull request #17 from DougAnderson444/patch-1 eae39e6
  • Slight change to hypertrie use for get...value cbedbb8

https://github.com/datproject/sdk/compare/v0.3.1...v0.3.2

hyper-sdk - Version 0.3.1 - Fix handling `persist` option in promise API.

Published by RangerMauve about 5 years ago

  • Fix handling options in promise API 8d24b0a

https://github.com/datproject/sdk/compare/v0.3.0...v0.3.1

hyper-sdk - Version 0.3.0 - DatArchive API with Promises

Published by RangerMauve about 5 years ago

  • Merge pull request #15 from datproject/datarchive 0c38782
  • Remove WIP, add logo 6918055
  • Added auto.js for auto-detecting beaker and sane defaults 5062a57
  • Added DatArchive API 5d87df7

https://github.com/datproject/sdk/compare/v0.2.2...v0.3.0

hyper-sdk - Version 0.2.2 - Pass storage option to hyperdrive, gets called with location

Published by RangerMauve about 5 years ago

  • Fixed up storage ece7fce
  • Merge pull request #14 from serapath-contribution/master 5883050
  • UPDATE hyperdrive opts.storage to initialize with given location 754c22f

https://github.com/datproject/sdk/compare/v0.2.1...v0.2.2

hyper-sdk - Version 0.2.1 - Added `storage` option

Published by RangerMauve about 5 years ago

  • Merge pull request #13 from serapath-contribution/master dac2317
  • Update readme API example with opts.storage cbb2cde
  • Add option to provide custom random-access storage 4d42ff0

https://github.com/datproject/sdk/compare/v0.2.0...v0.2.1

hyper-sdk - Version 0.2.0 - Improvements

Published by RangerMauve about 5 years ago

  • Updated hyperdrive 95388e5
  • Add dirty hack to make browserify work 9c1b8d2
  • Fix swarm destroy cb not getting called 878bbb2
  • Loading existing key 0b266f8
  • Added delete, fixed create 2f22d03
  • Change the 'reallyReady' function in the example ccf33d6
  • Added unit test for closing hyperdrives b9527e4
  • Listen for close, new storage, persist flag 797addb
  • Updated example 86da92d

https://github.com/datproject/sdk/compare/fddf5e49981bdf53d51fb7aad4aec14d361bff6e...v0.2.0

Package Rankings
Top 3.96% on Npmjs.org