0.0.1 • Published 6 years ago
slp-inpage-provider v0.0.1
SLP Inpage Provider
Used to initialize the inpage bch provider injected by SLP.
Installation
npm install slp-inpage-provider -S
Usage
// Create a stream to a remote provider:
var slpStream = new LocalMessageDuplexStream({
name: 'inpage',
target: 'contentscript',
})
// compose the inpage provider
var inpageProvider = new SlpInpageProvider(slpStream)
0.0.1
6 years ago