# @leather-wallet/rpc

> RPC types package for Leather

Latest version **1.0.4** (published 2024-06-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @leather-wallet/rpc
pnpm add @leather-wallet/rpc
yarn add @leather-wallet/rpc
bun add @leather-wallet/rpc
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2024-06-20 |
| First published | 2024-05-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 1 |
| Unpacked size | 13.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | leather-wallet |
| Maintainers | pete-watters, kyranjamie, leather-user |

## Links

- npm: https://www.npmjs.com/package/@leather-wallet/rpc
- npm.io page: https://npm.io/package/@leather-wallet/rpc

## Dependencies (1)

- [@leather-wallet/models](https://npm.io/package/@leather-wallet/models.md) 0.9.0

## Recent versions

- 1.0.4 (latest) — 2024-06-20
- 1.0.3 — 2024-06-07
- 1.0.2 — 2024-06-07
- 1.0.1 — 2024-06-05
- 1.0.0 — 2024-06-05
- 0.3.10 — 2024-05-31
- 0.3.9 — 2024-05-23
- 0.3.8 — 2024-05-22
- 0.3.7 — 2024-05-22
- 0.3.6 — 2024-05-22
- 0.3.5 — 2024-05-20
- 0.3.4 — 2024-05-17
- 0.3.3 — 2024-05-17
- 0.3.0 — 2024-05-08
- 0.2.1 — 2024-05-08

## README

# @leather-wallet/rpc

This package provides Typescript typings Leather developers can use when interacting with the `LeatherProvider` global object.

## Consuming as global object

In your Typescript project, import `LeatherProvider` and declare it as a global type.

```ts
import { LeatherProvider } from '@leather-wallet/rpc';

declare global {
  interface Window {
    LeatherProvider?: LeatherProvider;
  }
}
```

---
_Source: https://npm.io/package/@leather-wallet/rpc · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
