3.16.0 • Published 3 months ago
@slide-computer/signer-transport-plug v3.16.0
This package will be deprecated and replaced with
@slide-computer/signer-extension
once 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-plug
In 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
4 months ago
3.14.0
4 months ago
3.16.0
3 months ago
3.9.0
6 months ago
3.8.1
6 months ago
3.7.2
7 months ago
3.11.0
6 months ago
3.10.1
6 months ago
3.8.0
6 months ago
3.7.1
7 months ago
3.10.0
6 months ago
3.7.0
7 months ago
3.13.0
4 months ago
3.10.3
6 months ago
3.12.0
5 months ago
3.10.2
6 months ago
3.6.4
9 months ago
3.6.3
9 months ago
3.6.2
10 months ago
3.6.1
10 months ago
3.6.0
10 months ago
3.5.0
10 months ago
3.4.0
10 months ago
3.3.0
10 months ago
3.2.0
10 months ago
3.1.0
10 months ago
3.0.0
11 months ago