diff --git a/CHANGELOG.md b/CHANGELOG.md index 5dde52e1..8872be5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,9 +7,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Added ### Changed ### Fixed -- Hash part utility functions for core hash and DHT location. Both were using an incorrect number of bytes. ### Removed +## 2024-07-09: v0.18.0-dev.5 +### Fixed +- Hash part utility functions for core hash and DHT location. Both were using an incorrect number of bytes. + ## 2024-06-27: v0.18.0-dev.4 ### Added diff --git a/docs/client.dhtlocationfrom32.md b/docs/client.dhtlocationfrom32.md index 281e1d82..7269ffa1 100644 --- a/docs/client.dhtlocationfrom32.md +++ b/docs/client.dhtlocationfrom32.md @@ -4,7 +4,7 @@ ## dhtLocationFrom32() function -Generate dht location (last 4 bytes) from a core hash (middle 32 bytes) +Generate DHT location (last 4 bytes) from a core hash (middle 32 bytes). From https://github.com/holochain/holochain/blob/develop/crates/holo\_hash/src/hash\_type/primitive.rs diff --git a/docs/client.hash_type_prefix.md b/docs/client.hash_type_prefix.md index 0c7e8242..574e4b9c 100644 --- a/docs/client.hash_type_prefix.md +++ b/docs/client.hash_type_prefix.md @@ -4,7 +4,7 @@ ## HASH\_TYPE\_PREFIX variable -Hash type labels and their 3 byte values (forming the first 3 bytes of hash) +Hash type labels and their 3 byte values (forming the first 3 bytes of hash). From https://github.com/holochain/holochain/blob/develop/crates/holo\_hash/src/hash\_type/primitive.rs diff --git a/docs/client.hashfrom32andtype.md b/docs/client.hashfrom32andtype.md index 17f3650d..9135e11b 100644 --- a/docs/client.hashfrom32andtype.md +++ b/docs/client.hashfrom32andtype.md @@ -4,7 +4,7 @@ ## hashFrom32AndType() function -Generate full hash from a core hash (middle 32 bytes) and hash type label +Generate full hash from a core hash (middle 32 bytes) and hash type label. From https://github.com/holochain/holochain/blob/develop/crates/holo\_hash/src/hash\_type/primitive.rs diff --git a/docs/client.link.base.md b/docs/client.link.base.md new file mode 100644 index 00000000..98ce0b3b --- /dev/null +++ b/docs/client.link.base.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [@holochain/client](./client.md) > [Link](./client.link.md) > [base](./client.link.base.md) + +## Link.base property + +**Signature:** + +```typescript +base: AnyLinkableHash; +``` diff --git a/docs/client.md b/docs/client.md index 8809e510..9868da87 100644 --- a/docs/client.md +++ b/docs/client.md @@ -194,7 +194,7 @@ Decodes a Base64 encoded string to a byte array hash. -Generate dht location (last 4 bytes) from a core hash (middle 32 bytes) +Generate DHT location (last 4 bytes) from a core hash (middle 32 bytes). From https://github.com/holochain/holochain/blob/develop/crates/holo\_hash/src/hash\_type/primitive.rs @@ -347,7 +347,7 @@ Get credentials for signing zome calls. -Generate full hash from a core hash (middle 32 bytes) and hash type label +Generate full hash from a core hash (middle 32 bytes) and hash type label. From https://github.com/holochain/holochain/blob/develop/crates/holo\_hash/src/hash\_type/primitive.rs @@ -422,7 +422,7 @@ Set credentials for signing zome calls. -Get core (center 32 bytes) from a hash +Get core hash from a Holochain hash (32 bytes). From https://github.com/holochain/holochain/blob/develop/crates/holo\_hash/src/hash\_type/primitive.rs @@ -435,7 +435,7 @@ From https://github.com/holochain/holochain/blob/develop/crates/holo\_hash/src/h -Get dht location (last 4 bytes) from a hash +Get DHT location (last 4 bytes) from a hash. From https://github.com/holochain/holochain/blob/develop/crates/holo\_hash/src/hash\_type/primitive.rs @@ -448,7 +448,7 @@ From https://github.com/holochain/holochain/blob/develop/crates/holo\_hash/src/h -Get hash type (initial 3 bytes) from a hash +Get hash type (initial 3 bytes) from a hash. From https://github.com/holochain/holochain/blob/develop/crates/holo\_hash/src/hash\_type/primitive.rs @@ -1112,7 +1112,7 @@ Description -Hash type labels and their 3 byte values (forming the first 3 bytes of hash) +Hash type labels and their 3 byte values (forming the first 3 bytes of hash). From https://github.com/holochain/holochain/blob/develop/crates/holo\_hash/src/hash\_type/primitive.rs diff --git a/docs/client.slicecore32.md b/docs/client.slicecore32.md index 043ee573..2cf9cc97 100644 --- a/docs/client.slicecore32.md +++ b/docs/client.slicecore32.md @@ -4,7 +4,7 @@ ## sliceCore32() function -Get core (center 32 bytes) from a hash +Get core hash from a Holochain hash (32 bytes). From https://github.com/holochain/holochain/blob/develop/crates/holo\_hash/src/hash\_type/primitive.rs diff --git a/docs/client.slicedhtlocation.md b/docs/client.slicedhtlocation.md index abaa57a6..36ba2bd0 100644 --- a/docs/client.slicedhtlocation.md +++ b/docs/client.slicedhtlocation.md @@ -4,7 +4,7 @@ ## sliceDhtLocation() function -Get dht location (last 4 bytes) from a hash +Get DHT location (last 4 bytes) from a hash. From https://github.com/holochain/holochain/blob/develop/crates/holo\_hash/src/hash\_type/primitive.rs diff --git a/docs/client.slicehashtype.md b/docs/client.slicehashtype.md index d26ff0f3..d345e70a 100644 --- a/docs/client.slicehashtype.md +++ b/docs/client.slicehashtype.md @@ -4,7 +4,7 @@ ## sliceHashType() function -Get hash type (initial 3 bytes) from a hash +Get hash type (initial 3 bytes) from a hash. From https://github.com/holochain/holochain/blob/develop/crates/holo\_hash/src/hash\_type/primitive.rs diff --git a/package-lock.json b/package-lock.json index 0bf2fbb6..a6776f76 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@holochain/client", - "version": "0.18.0-dev.4", + "version": "0.18.0-dev.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@holochain/client", - "version": "0.18.0-dev.4", + "version": "0.18.0-dev.5", "license": "CAL-1.0", "dependencies": { "@bitgo/blake2b": "^3.2.4", diff --git a/package.json b/package.json index a8ea7329..5e1da679 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@holochain/client", - "version": "0.18.0-dev.4", + "version": "0.18.0-dev.5", "description": "A JavaScript client for the Holochain Conductor API", "author": "Holochain Foundation (https://holochain.org)", "license": "CAL-1.0",