Socket
Socket
Sign inDemoInstall

@holochain/client

Package Overview
Dependencies
Maintainers
13
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@holochain/client - npm Package Versions

1
9

0.16.0

Diff

Changelog

Source

2023-08-07: 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 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.
jost-s
published 0.15.1 •

Changelog

Source

2023-08-02: 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.
jost-s
published 0.15.0 •

Changelog

Source

2023-06-16: 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 extends Error.
jost-s
published 0.14.1 •

Changelog

Source

2023-05-04: v0.14.1

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. Add
...
    externals: {
        "node:crypto": {}
    },
...

to Webpack config.

jost-s
published 0.14.0 •

Changelog

Source

2023-05-01: v0.14.0

Changed

  • Set default timeout for API calls to 60 seconds, formerly 15 seconds.
  • BREAKING CHANGE: Replace NPM package "tweetnacl" with "@noble/ed25519". "tweetnacl" produced errors with bundlers and hasn't been updated in a longer time.

Fixed

  • BREAKING CHANGE: Update params of NetworkInfoRequest.
jost-s
published 0.13.0 •

Changelog

Source

2023-04-15: v0.13.0

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.
jost-s
published 0.12.5 •

Changelog

Source

2023-03-01: v0.12.5

Fixed

  • Replace event listener method .on("close") by .onclose. .on is not compatible with Web API's WebSocket.
jost-s
published 0.12.4 •

Changelog

Source

2023-03-01: v0.12.4

Fixed

  • When app websocket closes, reject pending requests.
jost-s
published 0.12.3 •

Changelog

Source

2023-02-24: v0.12.3

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.
jost-s
published 0.12.2 •

Changelog

Source

2023-02-13: v0.12.2

Added

  • Function to generate a fake DNA hash.

Changed

  • Switch to Nix flake for develop environment. Run nix develop from now on instead of nix-shell. Pass on --extra-experimental-features nix-command --extra-experimental-features flakes or enable these features for your user in ~/.config/nix/nix.conf.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc