# @metamask/snaps-types

> TypeScript types for developing MetaMask Snaps.

Latest version **3.1.0** (published 2023-11-09) · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @metamask/snaps-types
pnpm add @metamask/snaps-types
yarn add @metamask/snaps-types
bun add @metamask/snaps-types
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 3.1.0 |
| Published | 2023-11-09 |
| First published | 2022-11-16 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | ^18.16 \|\| >=20 |
| Dependencies | 4 |
| Unpacked size | 14.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 852 |
| Maintainers | mcmire, nicholasellul, lgbot, naugtur, ritave, danfinlay, kumavis, rekmarks, metamaskbot, gudahtt, brad.decker, sethkfman |

## Links

- npm: https://www.npmjs.com/package/@metamask/snaps-types
- Repository: https://github.com/MetaMask/snaps
- npm.io page: https://npm.io/package/@metamask/snaps-types

## Dependencies (4)

- [@metamask/utils](https://npm.io/package/@metamask/utils.md) ^8.1.0
- [@metamask/providers](https://npm.io/package/@metamask/providers.md) ^13.0.0
- [@metamask/snaps-utils](https://npm.io/package/@metamask/snaps-utils.md) ^3.3.0
- [@metamask/snaps-rpc-methods](https://npm.io/package/@metamask/snaps-rpc-methods.md) ^3.3.0

## Recent versions

- 3.1.0 (latest) — 2023-11-09
- 0.38.3-flask.1 (flask) — 2023-09-20
- 1.0.0-prerelease.1 (next) — 2023-06-23
- 3.0.1 — 2023-10-23
- 3.0.0 — 2023-10-09
- 2.0.0 — 2023-09-21
- 1.0.2 — 2023-08-29
- 0.38.2-flask.1 — 2023-08-25
- 0.38.1-flask.1 — 2023-08-23
- 1.0.1 — 2023-08-15
- 1.0.0 — 2023-08-14
- 0.38.0-flask.1 — 2023-07-26
- 0.37.2-flask.1 — 2023-07-20
- 0.37.1-flask.1 — 2023-07-18
- 0.37.0-flask.1 — 2023-07-18
- … 24 more at https://npm.io/package/@metamask/snaps-types/versions

## README

# @metamask/snaps-types

TypeScript types used by MetaMask Snaps at runtime. Contains both a global declaration for the global snap provider (`wallet`) and importable types for e.g. the `onRpcRequest` handler function.

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