Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@holochain/client

Package Overview
Dependencies
Maintainers
13
Versions
97
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.15.0 to 0.15.1

5

lib/api/admin/types.d.ts

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { Action, DhtOp, Entry, ZomeCallCapGrant } from "../../hdk/index.js";

@@ -130,3 +129,3 @@ import { ActionHash, AgentPubKey, CellId, DnaHash, DnaProperties, Duration, HoloHash, HoloHashB64, InstalledAppId, KitsuneAgent, KitsuneSpace, RoleName, Signature, Timestamp, WasmHash } from "../../types.js";

*/
export type MembraneProof = Buffer;
export type MembraneProof = Uint8Array;
/**

@@ -167,3 +166,3 @@ * @public

cell_id: CellId;
dht_ops_cursor: number | undefined;
dht_ops_cursor?: number;
};

@@ -170,0 +169,0 @@ /**

@@ -22,2 +22,10 @@ import Emittery from "emittery";

this.emitter = new Emittery();
// Ensure all super methods are bound to this instance because Emittery relies on `this` being the instance.
// Please retain until the upstream is fixed https://github.com/sindresorhus/emittery/issues/86.
Object.getOwnPropertyNames(Emittery.prototype).forEach((name) => {
const to_bind = this.emitter[name];
if (typeof to_bind === 'function') {
this.emitter[name] = to_bind.bind(this.emitter);
}
});
const env = getLauncherEnvironment();

@@ -24,0 +32,0 @@ this.installedAppId = env?.INSTALLED_APP_ID || installedAppId;

@@ -22,2 +22,10 @@ import { hashZomeCall } from "@holochain/serialization";

super();
// Ensure all super methods are bound to this instance because Emittery relies on `this` being the instance.
// Please retain until the upstream is fixed https://github.com/sindresorhus/emittery/issues/86.
Object.getOwnPropertyNames(Emittery.prototype).forEach((name) => {
const to_bind = this[name];
if (typeof to_bind === 'function') {
this[name] = to_bind.bind(this);
}
});
this.client = client;

@@ -24,0 +32,0 @@ this.defaultTimeout =

3

lib/api/client.d.ts

@@ -16,4 +16,3 @@ /// <reference types="ws" />

private pendingRequests;
index: number;
private connectRetries;
private index;
constructor(socket: IsoWebSocket, url: URL);

@@ -20,0 +19,0 @@ private setupSocket;

@@ -18,3 +18,2 @@ import { decode, encode } from "@msgpack/msgpack";

index;
connectRetries;
constructor(socket, url) {

@@ -26,3 +25,2 @@ super();

this.index = 0;
this.connectRetries = 0;
this.setupSocket();

@@ -29,0 +27,0 @@ }

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

export { IsoWebSocket, WsClient } from "./client.js";
export { CloneId, Requester, Transformer } from "./common.js";
export { CloneId, Requester, Transformer, getBaseRoleNameFromCloneId, isCloneId, } from "./common.js";
export * from "./zome-call-signing.js";

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

export { IsoWebSocket, WsClient } from "./client.js";
export { CloneId } from "./common.js";
export { CloneId, getBaseRoleNameFromCloneId, isCloneId, } from "./common.js";
export * from "./zome-call-signing.js";
{
"name": "@holochain/client",
"version": "0.15.0",
"version": "0.15.1",
"description": "A JavaScript client for the Holochain Conductor API",

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

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