3.16.0 • Published 6 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
6 months ago
3.14.0
6 months ago
3.16.0
6 months ago
3.9.0
9 months ago
3.8.1
9 months ago
3.7.2
9 months ago
3.11.0
9 months ago
3.10.1
9 months ago
3.8.0
9 months ago
3.7.1
9 months ago
3.10.0
9 months ago
3.7.0
10 months ago
3.13.0
6 months ago
3.10.3
9 months ago
3.12.0
7 months ago
3.10.2
9 months ago
3.6.4
11 months ago
3.6.3
12 months ago
3.6.2
12 months ago
3.6.1
12 months ago
3.6.0
12 months ago
3.5.0
12 months ago
3.4.0
1 year ago
3.3.0
1 year ago
3.2.0
1 year ago
3.1.0
1 year ago
3.0.0
1 year ago