@zapjs/subscriber
Zap Subscriber
Last updated a year ago by propulsor .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @zapjs/subscriber 
SYNC missed versions from official npm registry.

@zapjs/subscriber

This repository provides wrapper classes for data subscribers subscribers to interface with Zap providers.

Getting Started

Prerequisites

What things you need to install the software and how to install them

- Nodejs and npm>=6.1.11
- Typescript

Installing

npm install @zapjs/subscriber

Usage

Create a Zap Susbcriber and interact with Provider
import {ZapSubscriber} from '@zapjs/subscriber';
let myZapSubscriber = new ZapSubscriber({owner:address})

With Custom configuration

let myZapSubscriber = new myZapSubscriber(owner,{networkId,networkProvider,coordinator});

Methods

await myZapSubscriber.bond({provider, endpoint, zapNum})
await myZapSuscriber.unBond({provider, endpoint, dots})
await myZapSubscriber.subscribe({provider, endpoint, endpointParams, dots})  

See more Usages of each packages :

Current Tags

  • 2.2.3                                ...           latest (a year ago)

26 Versions

  • 2.2.3                                ...           a year ago
  • 2.2.1                                ...           a year ago
  • 2.2.0                                ...           a year ago
  • 2.0.21                                ...           a year ago
  • 2.0.20                                ...           a year ago
  • 2.0.19                                ...           a year ago
  • 2.0.17                                ...           a year ago
  • 2.0.16                                ...           a year ago
  • 2.0.15                                ...           a year ago
  • 2.0.14                                ...           2 years ago
  • 2.0.13                                ...           2 years ago
  • 2.0.12                                ...           2 years ago
  • 2.0.11                                ...           2 years ago
  • 2.0.10                                ...           2 years ago
  • 2.0.9                                ...           2 years ago
  • 2.0.8                                ...           2 years ago
  • 2.0.7                                ...           2 years ago
  • 2.0.6                                ...           2 years ago
  • 2.0.5                                ...           2 years ago
  • 2.0.4                                ...           2 years ago
  • 2.0.3                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 0
Dependencies (7)
Dev Dependencies (16)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |