Releases: holochain/holochain-client-js
Releases · holochain/holochain-client-js
v0.16.7
Added
- Utility functions for slicing hashes into their components:
sliceHashType
,sliceCore32
,sliceDhtLocation
- Utility functions for generating hashes from components:
dhtLocationFrom32
,hashFrom32AndType
:
Changed
- Utility functions fakeAgentPubKey, fakeEntryHash, fakeActionHash and fakeDnaHash now generate valid hashes with a valid final 4 bytes
- Utility functions fakeAgentPubKey, fakeEntryHash, fakeActionHash and fakeDnaHash now optionally take a single parameter
coreByte
which if defined will be repeated for all core 32 bytes of the hash
v0.17.0-dev.2
Fixed
- Action type
CreateLink
: Add fieldlink_type
.
v0.16.6
v0.17.0-dev.1
Added
- Type
Link
to HDK and a confirmatory test.
v0.16.5
v0.17.0-dev.0
Changed
- BREAKING CHANGE: Conductor API ser/deserialization has changed on Holochain side. Tags are serialized like
{ type: { app_info: null } }
now, when before it was{ type: "app_info" }
for requests and responses.
v0.16.3
Fixed
CapAccess
typesUnrestricted
andTransferable
were not correctly implemented. Both need to be nested objects containing a single property with a Pascal cased name, e. g.{ access: { Unrestricted: null } }
.AttachAppInterfaceRequest
took a mandatory propertyport
. The property is optional now.
Removed
- Dropped support for Node.js v16 after its end-of-life.
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.