1.3.3 • Published 11 months ago

@spartan-hc/holochain-websocket v1.3.3

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

npm.io

Holochain WebSocket Client

A Javascript library for communicating with Holochain's Websocket API

npm.io npm.io npm.io

Overview

Features

  • Request/Response handling
  • Detailed error classes

Install

npm i @spartan-hc/holochain-websocket

Basic Usage

App Interface

Each example assumes this code is present

import { Connection } from '@spartan-hc/holochain-websocket';

const admin_interface_port = 45678;

const conn = new Connection( admin_interface_port );

Example

let agent_hash = await conn.request("generate_agent_pub_key");

API Reference

See docs/API.md

Contributing

See CONTRIBUTING.md

1.3.3

11 months ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.2

1 year ago

1.0.1

2 years ago

1.0.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago