# @lit-protocol/access-control-conditions-schemas

> The Lit Protocol Access Control Condition definitions are a set of Zod schemas that define the conditions that can be used to control access to a resource.

Latest version **8.0.2** (published 2025-10-10) · MIT license · 0 weekly downloads

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

## Install

```sh
npm install @lit-protocol/access-control-conditions-schemas
pnpm add @lit-protocol/access-control-conditions-schemas
yarn add @lit-protocol/access-control-conditions-schemas
bun add @lit-protocol/access-control-conditions-schemas
```

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 8.0.2 |
| Published | 2025-10-10 |
| First published | 2025-05-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 42.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | glitch003, adarsh-kumar28, websaam, hwrdtm, famura, maximushaximus, spacesailor, awisniew |
| Keywords | library |

## Links

- npm: https://www.npmjs.com/package/@lit-protocol/access-control-conditions-schemas
- Repository: https://github.com/LIT-Protocol/js-sdk
- Homepage: https://github.com/Lit-Protocol/js-sdk
- Issues: https://github.com/LIT-Protocol/js-sdk/issues
- npm.io page: https://npm.io/package/@lit-protocol/access-control-conditions-schemas

## Dependencies (10)

- [zod](https://npm.io/package/zod.md) 3.24.3
- [viem](https://npm.io/package/viem.md) 2.29.4
- [tslib](https://npm.io/package/tslib.md) ^2.8.1
- [ethers](https://npm.io/package/ethers.md) ^5.7.1
- [typechain](https://npm.io/package/typechain.md) 8.3.2
- [@t3-oss/env-core](https://npm.io/package/@t3-oss/env-core.md) 0.13.8
- [@openagenda/verror](https://npm.io/package/@openagenda/verror.md) ^3.1.4
- [@typechain/ethers-v6](https://npm.io/package/@typechain/ethers-v6.md) 0.5.1
- [@lit-protocol/constants](https://npm.io/package/@lit-protocol/constants.md) 8.0.2
- [@lit-protocol/contracts](https://npm.io/package/@lit-protocol/contracts.md) 0.5.3

## Recent versions

- 8.0.2 (latest) — 2025-10-10
- 0.0.0-20251031163033 (test) — 2025-10-31
- 8.0.0 (beta) — 2025-09-22
- 8.0.0-canary.4 (canary) — 2025-09-17
- 8.0.0-prealpha-886.4 (prealpha-886) — 2025-08-22
- 8.0.0-alpha.1 (alpha) — 2025-08-22
- 0.0.0-20251031162112 — 2025-10-31
- 0.0.0-20251024142246 — 2025-10-24
- 0.0.0-20251024141743 — 2025-10-24
- 8.0.1 — 2025-10-09
- 8.0.1-test.9 — 2025-10-01
- 8.0.1-test.8 — 2025-10-01
- 8.0.1-test.7 — 2025-09-30
- 8.0.1-test.6 — 2025-09-29
- 8.0.1-test.5 — 2025-09-29
- … 43 more at https://npm.io/package/@lit-protocol/access-control-conditions-schemas/versions

## README

# Lit Protocol Access Control Condition definitions

The Lit Protocol Access Control Condition definitions are a set of Zod schemas that define the conditions that can be used to control access to a resource.

## Condition definition

A condition definition is a Zod schema that defines a condition that can be used to control access to a resource. More information can be found in the [Lit Protocol Access Control Condition definition specification](https://developer.litprotocol.com/v3/sdk/access-control/condition-types/unified-access-control-conditions)

## Condition types

The following condition types are defined:

- EVM Basic Conditions
- EVM Custom Contract Conditions
- Solana RPC Conditions
- Cosmos or Kyve Conditions

Each has its own Zod schema that defines their properties.

## Derived types

Each condition type has a derived type that can be used to type the condition object when using Typescript.

---
_Source: https://npm.io/package/@lit-protocol/access-control-conditions-schemas · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
