JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q65874F
  • License MIT

Package Exports

  • @lit-protocol/access-control-conditions-schemas
  • @lit-protocol/access-control-conditions-schemas/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@lit-protocol/access-control-conditions-schemas) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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

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.