New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lit-protocol/accs-schemas

Package Overview
Dependencies
Maintainers
6
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lit-protocol/accs-schemas

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

  • 0.0.4
  • npm
  • Socket score

Version published
Weekly downloads
25K
increased by144.03%
Maintainers
6
Weekly downloads
 
Created
Source

Lit Protocol Access Control Condition definitions

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

Condition definition

A condition definition is a JSON file 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 JSON file that defines their properties.

Derived interfaces

Each condition type has a derived interface that can be used to type the condition object when using Typescript. These interfaces are generated from the condition definition files and can be found in the generated folder.

Updating the generated interfaces

After updating the condition definition files, the generated interfaces must be updated by running the following command:

yarn build:classes

FAQs

Package last updated on 20 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc