@holochain/client
Advanced tools
Changelog
2024-04-25: v0.17.0-dev.10
AdminWebsocket#issueAppAuthenticationToken
.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.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.Changelog
2024-04-16: v0.17.0-dev.9
127.0.0.1
by localhost
.Changelog
2024-04-05: v0.17.0-dev.8
origin
parameter when establishing app websocket connections to protect localhost from cross origin attacks in browser scripts.allowed_origins
parameter to AdminWebsocket.attachAppInterface
to specify allowed origins.HolochainError
s throughout with specific error names and messages.Changelog
2024-02-27: v0.17.0-dev.7
AppInfoResponse
can be null
if the requested app is not found.Changelog
2024-02-23: v0.17.0-dev.6
Websocket.connect()
functions' mandatory url
parameter is replaced by an optional options object, which contains optional properties url
and defaultTimeout
. Calling connect
if the url is not defined by parameter, nor by launcher environment will throw an error. Order of parameters in the AppAgentWebsocket.connect
function is changed, so the required parameter goes first.