JSPM

@lit-protocol/access-control-conditions

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

Package Exports

  • @lit-protocol/access-control-conditions
  • @lit-protocol/access-control-conditions/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) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Access Control Conditions

A comprehensive toolkit for managing access control conditions within the Lit Protocol ecosystem. This package provides functionalities for formatting, validating, and securing access control rules.

Installation

yarn add @lit-protocol/access-control-conditions

Quick Start

import {
  validateAccessControlConditions,
  hashAccessControlConditions,
} from '@lit-protocol/access-control-conditions';

// Validate conditions
const isValid = await validateAccessControlConditions(conditions);

// Hash conditions for verification
const hash = await hashAccessControlConditions(conditions);

Key Features

  • Data formatting and canonicalization
  • Digital signature validation and creation
  • Deterministic condition hashing
  • Access control rule validation
  • Secure identifier management

Core Operations

  • Condition Validation: Verify access control rules
  • Hash Generation: Create deterministic hashes
  • Signature Management: Handle digital signatures
  • Data Canonicalization: Ensure consistent formats