Socket
Socket
Sign inDemoInstall

@holochain/client

Package Overview
Dependencies
16
Maintainers
13
Versions
79
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345
8Next

0.18.0-dev.1

Diff

Changelog

Source

2024-05-10: v0.18.0-dev.1

Added

  • App id to AppClient and AppWebsocket.
  • Optional function parameter for a custom zome transformer in AppWebsocket.
jost-s
published 0.18.0-dev.0 •

Changelog

Source

2024-05-02: v0.18.0-dev.0

Added

  • Test for Rust enum serialization.

Changed

  • BREAKING Update enum serialization to match changed Conductor API serialization format.
thetasinner
published 0.17.0-dev.12 •

Changelog

Source

2024-04-27: v0.17.0-dev.12

Fixed

  • Invalid module references which caused the client to fail to import in Node environments.
thetasinner
published 0.17.0-dev.11 •

Changelog

Source

2024-04-26: v0.17.0-dev.11

Changed

  • BREAKING Changed Appwebsocket.connect() to take a single parameter AppWebsocketConnectionOptions that includes the AppAuthenticationToken as an optional property. The AppAuthenticationToken can be omitted if it is provided by the window.__HC_LAUNCHER_ENV__ variable.
  • BREAKING The legacy framework specific zome call signing methods signZomeCallTauri and signZomeCallElectron have been removed. Runtimes like Launcher now mandatorily need to provide a window.__HC_ZOME_CALL_SIGNER__ object to have zome calls be automatically signed.
  • New optional parameter to attachAppInterface to bind the app interface to a specific app.
  • BREAKING The admin call listAppInterfaces now returns a list of AppInterfaceInfo instead of a list of ports.
thetasinner
published 0.17.0-dev.10 •

Changelog

Source

2024-04-25: v0.17.0-dev.10

Added

  • BREAKING Connecting an app websocket now requires an authentication token which can be obtained from the admin websocket using AdminWebsocket#issueAppAuthenticationToken.

Changed

  • BREAKING Merged the app and app-agent websockets into a single AppWebsocket class. Following the addition of the authentication token, the two types were well enough aligned that there was no longer a need to keep them separate.
  • BREAKING App calls that previously required an InstalledAppId no longer require one because the websocket will be authenticated with an app already, so the app interface no longer requires you to tell it which app you are calling.
jost-s
published 0.16.11 •

jost-s
published 0.17.0-dev.9 •

Changelog

Source

2024-04-16: v0.17.0-dev.9

Fixed

  • Replace all IPv4 addresses 127.0.0.1 by localhost.
jost-s
published 0.17.0-dev.8 •

Changelog

Source

2024-04-05: v0.17.0-dev.8

Changed

  • Websocket client: Specify origin parameter when establishing app websocket connections to protect localhost from cross origin attacks in browser scripts.
  • Websocket client: Add allowed_origins parameter to AdminWebsocket.attachAppInterface to specify allowed origins.
  • Consistently throw HolochainErrors throughout with specific error names and messages.
jost-s
published 0.17.0-dev.7 •

Changelog

Source

2024-02-27: v0.17.0-dev.7

Fixed

  • Type: AppInfoResponse can be null if the requested app is not found.
jost-s
published 0.16.10 •

2345
8Next
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc