holochain-client-js

A JavaScript client for the Holochain Conductor API

OTHER License

Downloads
6.5K
Stars
257
Committers
23

Bot releases are visible (Hide)

holochain-client-js - v0.16.6

Published by jost-s 11 months ago

Fixed

  • Action type CreateLink: Add field link_type.
holochain-client-js - v0.17.0-dev.2

Published by jost-s 11 months ago

Fixed

  • Action type CreateLink: Add field link_type.
holochain-client-js - v0.16.5

Published by jost-s 11 months ago

Added

  • Type Link to HDK and a confirmatory test.
holochain-client-js - v0.17.0-dev.1

Published by jost-s 11 months ago

Added

  • Type Link to HDK and a confirmatory test.
holochain-client-js - v0.17.0-dev.0

Published by jost-s 11 months ago

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.
holochain-client-js - v0.16.3

Published by jost-s about 1 year ago

Fixed

  • CapAccess types Unrestricted and Transferable 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 property port. The property is optional now.

Removed

  • Dropped support for Node.js v16 after its end-of-life.
holochain-client-js - v0.16.2

Published by jost-s about 1 year ago

Added

  • Support for signing zome calls in electron via window.electronAPI.signZomeCall when __HC_LAUNCHER_ENV__.ENVIRONMENT == 'electron'.

Fixed

  • DnaProperties in DnaModifiers changed to Uint8array as it comes back serialized from Holochain.
holochain-client-js - v0.16.1

Published by jost-s about 1 year ago

Changed

  • Update InstallAppRequest with new optional field ignore_genesis_failure.
holochain-client-js - v0.16.0

Published by jost-s about 1 year ago

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 to libsodium. This lead to helper functions become async and some type changes.
  • BREAKING CHANGE: Set type of Memproof to Uint8array instead of Buffer which is specific to Node.js.
holochain-client-js - v0.15.1

Published by jost-s about 1 year ago

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.
holochain-client-js - v0.15.0

Published by jost-s over 1 year ago

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 extends Error.
holochain-client-js - v0.14.1

Published by jost-s over 1 year ago

Fixed

  • Import crypto module conditionally when in Node.js environment. For browsers and bundlers no module import is required and the Web API module is used.
holochain-client-js - v0.14.0

Published by jost-s over 1 year ago

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 support BigInt.
  • Set default timeout for API calls to 60 seconds, formerly 15 seconds.

Fixed

  • BREAKING CHANGE: Update params of NetworkInfoRequest.
holochain-client-js - v0.13.0

Published by jost-s over 1 year ago

Added

  • Add new Admin API endpoint storageInfo.
  • Add new Admin API endpoint dumpNetworkStats.
  • Add new Admin API endpoint updateCoordinators to update coordinator zomes in an already installed hApp.

Changed

  • Update response type NetworkInfo.
holochain-client-js - v0.12.5

Published by jost-s over 1 year ago

Fixed

  • Replace event listener method .on("close") by .onclose. .on is not compatible with Web API's WebSocket.
holochain-client-js - v0.12.4

Published by jost-s over 1 year ago

Fixed

  • When app websocket closes, reject pending requests.
holochain-client-js - v0.12.3

Published by jost-s over 1 year ago

Changed

  • Throw an error when calling zome with role name and provenance from AppAgentWebsocket. Role names can only be used with own agent, not for other agents.
holochain-client-js - v0.12.2

Published by jost-s over 1 year ago

Added

  • Function to generate a fake DNA hash.

Changed

holochain-client-js - v0.12.1

Published by jost-s over 1 year ago

Changed

  • Update NetworkInfo types.
holochain-client-js - v0.12.0

Published by jost-s over 1 year ago

Compatible with Holochain v0.1.0

  • No changes; minor version bump.