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

connoropolous-hc-web-client

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connoropolous-hc-web-client - npm Package Compare versions

Comparing version 0.5.5 to 0.5.6

4

lib/index.d.ts

@@ -1,3 +0,3 @@

declare type Call = (...segments: Array<string>) => (params: any) => Promise<any>;
declare type CallZome = (instanceId: string, zome: string, func: string) => (params: any) => Promise<any>;
declare type Call = (...segments: Array<string>) => (timeoutOverride?: number) => (params: any) => Promise<any>;
declare type CallZome = (instanceId: string, zome: string, func: string) => (timeoutOverride?: number) => (params: any) => Promise<any>;
declare type OnSignal = (callback: (params: any) => void) => void;

@@ -4,0 +4,0 @@ declare type Close = () => Promise<any>;

@@ -83,10 +83,10 @@ "use strict";

}
return function (params) {
return function (timeoutOverride) { return function (params) {
var method = methodSegments.length === 1
? methodSegments[0]
: methodSegments.join('/');
return callWhenConnected(ws, method, params, timeout);
};
return callWhenConnected(ws, method, params, timeoutOverride || timeout);
}; };
};
var callZome = function (instanceId, zome, func) { return function (args) {
var callZome = function (instanceId, zome, func) { return function (timeoutOverride) { return function (args) {
var callObject = {

@@ -98,4 +98,4 @@ instance_id: instanceId,

};
return callWhenConnected(ws, 'call', callObject, timeout);
}; };
return callWhenConnected(ws, 'call', callObject, timeoutOverride || timeout);
}; }; };
var onSignal = function (callback) {

@@ -102,0 +102,0 @@ // go down to the underlying websocket connection (.socket)

{
"name": "connoropolous-hc-web-client",
"version": "0.5.5",
"version": "0.5.6",
"description": "Holochain Conductor connection helper for web based UIs and any Javascript client",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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