Socket
Socket
Sign inDemoInstall

@holochain/client

Package Overview
Dependencies
Maintainers
13
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@holochain/client - npm Package Compare versions

Comparing version 0.11.11 to 0.11.12

3

lib/api/app/websocket.js

@@ -6,2 +6,3 @@ import { hashZomeCall } from "@holochain/serialization";

import { getLauncherEnvironment, isLauncher, signZomeCallTauri, } from "../../environments/launcher.js";
import { encodeHashToBase64 } from "../../utils/base64.js";
import { WsClient } from "../client.js";

@@ -66,3 +67,3 @@ import { catchError, DEFAULT_TIMEOUT, promiseTimeout, requesterTransformer, } from "../common.js";

if (!signingCredentialsForCell) {
throw new Error(`cannot sign zome call: no signing credentials have been authorized for cell ${request.cell_id}`);
throw new Error(`cannot sign zome call: no signing credentials have been authorized for cell [${encodeHashToBase64(request.cell_id[0])}, ${encodeHashToBase64(request.cell_id[1])}]`);
}

@@ -69,0 +70,0 @@ const unsignedZomeCallPayload = {

@@ -43,3 +43,3 @@ import nacl from "tweetnacl";

else {
const crypto = await import("node:crypto");
const crypto = await import("crypto");
return new Uint8Array(crypto.randomBytes(length));

@@ -46,0 +46,0 @@ }

{
"name": "@holochain/client",
"version": "0.11.11",
"version": "0.11.12",
"description": "A JavaScript client for the Holochain Conductor API",

@@ -5,0 +5,0 @@ "author": "Holochain Foundation <info@holochain.org> (http://holochain.org)",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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