3.16.0 • Published 1 year ago
@slide-computer/signer-transport-plug v3.16.0
This package will be deprecated and replaced with
@slide-computer/signer-extensiononce ICRC-94 is available.
@slide-computer/signer-transport-plug
JavaScript and TypeScript library to communicate with Plug Wallet on the Internet Computer.
Installation
Using Plug transport:
npm i --save @slide-computer/signer-transport-plugIn the browser:
import { PlugTransport } from "@slide-computer/signer-transport-plug";To create a Plug transport, run
const transport = new PlugTransport();Either use with @slide-computer/signer
const signer = new Signer({transport});Or directly in your custom implementation
const channel = await transport.establishChannel();
const listener = channel.registerListener((response) => {
// Process incoming responses
});
// Send outgoing requests
channel.send(JSON_RPC_REQUEST);3.15.0
1 year ago
3.14.0
1 year ago
3.16.0
1 year ago
3.9.0
1 year ago
3.8.1
1 year ago
3.7.2
1 year ago
3.11.0
1 year ago
3.10.1
1 year ago
3.8.0
1 year ago
3.7.1
1 year ago
3.10.0
1 year ago
3.7.0
1 year ago
3.13.0
1 year ago
3.10.3
1 year ago
3.12.0
1 year ago
3.10.2
1 year ago
3.6.4
1 year ago
3.6.3
2 years ago
3.6.2
2 years ago
3.6.1
2 years ago
3.6.0
2 years ago
3.5.0
2 years ago
3.4.0
2 years ago
3.3.0
2 years ago
3.2.0
2 years ago
3.1.0
2 years ago
3.0.0
2 years ago