A JavaScript client for the Holochain Conductor API
OTHER License
Bot releases are visible (Hide)
Published by jost-s 5 months ago
AppClient
and AppWebsocket
.AppWebsocket
.Published by jost-s 6 months ago
Published by ThetaSinner 6 months ago
Published by ThetaSinner 6 months ago
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.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.attachAppInterface
to bind the app interface to a specific app.listAppInterfaces
now returns a list of AppInterfaceInfo
instead of a list of ports.Published by ThetaSinner 6 months ago
Published by jost-s 6 months ago
127.0.0.1
by localhost
.Published by jost-s 6 months ago
127.0.0.1
by localhost
.Published by jost-s 7 months ago
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.Published by jost-s 8 months ago
AppInfoResponse
can be null
if the requested app is not found.Published by jost-s 8 months ago
AppInfoResponse
can be null
if the requested app is not found.Published by jost-s 8 months ago
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.Published by jost-s 9 months ago
Published by jost-s 9 months ago
Published by jost-s 9 months ago
Published by jost-s 9 months ago
Published by jost-s 9 months ago
Published by jost-s 9 months ago
Published by jost-s 11 months ago
sliceHashType
, sliceCore32
, sliceDhtLocation
dhtLocationFrom32
, hashFrom32AndType
:coreByte
which if defined will be repeated for all core 32 bytes of the hashPublished by jost-s 11 months ago
sliceHashType
, sliceCore32
, sliceDhtLocation
dhtLocationFrom32
, hashFrom32AndType
:coreByte
which if defined will be repeated for all core 32 bytes of the hash