@holochain/client
Advanced tools
Comparing version 0.11.11 to 0.11.12
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
105025
1800