UNPKG

@lit-protocol/types

Version:

This package provides comprehensive TypeScript type definitions for the entire Lit Protocol ecosystem. It exports interfaces and types that ensure type safety and provide excellent IDE support across all Lit Protocol packages.

25 lines (24 loc) 581 B
import { AuthSig } from '../interfaces'; export interface ParsedSignedMessage { URI?: string; Version?: string; 'Chain ID'?: string; Nonce?: string; 'Issued At'?: string; /** * Inner expiration */ 'Expiration Time'?: string; Resources?: string[]; /** * Outer expiration */ expiration?: string; [key: string]: unknown; } export interface ParsedSessionMessage extends ParsedSignedMessage { capabilities: Capability[]; } export interface Capability extends AuthSig { parsedSignedMessage?: ParsedSignedMessage; }