Releases: holochain/holochain-client-js
Releases · holochain/holochain-client-js
v0.16.2
v0.16.1
v0.16.0
Added
- When generating a signing key pair, a new optional argument can be passed in to copy the last 4 bytes (= DHT location bytes) of the original agent pub key.
Changed
- BREAKING CHANGE: Swap cryptographic package from
noble/ed25519
tolibsodium
. This lead to helper functions become async and some type changes. - BREAKING CHANGE: Set type of
Memproof
toUint8array
instead ofBuffer
which is specific to Node.js.
v0.15.1
Added
- Export functions to check if a role name is a clone id.
Fixed
- In Vue projects reactivity broke signal functionality provided by Emittery. A pointer to
this
which Emittery relies on becomes undefined. Until the bug is fixed upstream in Emittery, the workaround is to bind all its methods manually after instantiating an agent websocket.
v0.15.0
Added
- When making a WsClient request, reconnect websocket in case it's closed.
Changed
- BREAKING CHANGE: Refactor client and websocket classes to use URLs instead of strings.
- BREAKING CHANGE: Error responses from Holochain are thrown as instance of new class
HolochainError
which extendsError
.
v0.14.1
v0.14.0
Changed
- BREAKING CHANGE: Replace NPM package "tweetnacl" with "@noble/ed25519". "tweetnacl" produced errors with bundlers and hasn't been updated in a longer time. Fixes #180
Bundlers need to target ES2020 to supportBigInt
. - Set default timeout for API calls to 60 seconds, formerly 15 seconds.
Fixed
- BREAKING CHANGE: Update params of
NetworkInfoRequest
.