New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@zapjs/subscriber

Package Overview
Dependencies
Maintainers
5
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zapjs/subscriber

Zap Subscriber

latest
Source
npmnpm
Version
3.0.1
Version published
Maintainers
5
Created
Source

@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

- Node 12.20 <=14.15
- 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 :

  • Provider
  • Registry
  • Bondage
  • Dispatch
  • Arbiter
  • ZapToken
  • Zapjs

FAQs

Package last updated on 23 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts