UNPKG

@chittyos/core

Version:

ChittyOS Core - Essential package with ID, auth, verification, beacon tracking, and brand components for all ChittyOS applications

49 lines (44 loc) 3.06 kB
import { b as beacon } from './index-DbMgunrq.mjs'; export { A as AppInfo, B as BeaconConfig, c as configureBeacon, d as detectApp, i as initBeacon, s as sendBeacon } from './index-DbMgunrq.mjs'; import { i as id } from './index-Baihp2pF.mjs'; export { C as ChittyID, e as ChittyIDConfig, g as generateChittyID, c as getSessionContext, a as isValidChittyID, p as parseChittyID, r as requestChittyID, d as setSessionContext, s as signWithChittyID, v as validateChittyID, b as verifyChittySignature } from './index-Baihp2pF.mjs'; import { a as auth } from './index-FnqX4RNl.mjs'; export { A as AuthConfig, j as AuthSession, g as AuthToken, i as AuthUser, c as createToken, d as hasPermissions, h as hasRoles, e as hashPassword, r as refreshToken, b as revokeSession, f as verifyPassword, v as verifyToken } from './index-FnqX4RNl.mjs'; import { v as verify } from './index-BQejESrJ.mjs'; export { S as SignedData, g as VerificationResult, V as VerifyConfig, h as hashData, e as sanitizeInput, c as signData, f as validateJSON, a as validateSchema, s as validationSchemas, b as verifyIntegrity, d as verifySignedData } from './index-BQejESrJ.mjs'; import { b as brand } from './index-CZA56mAx.mjs'; export { A as ASCII_LOGO, B as BRAND_CONFIG, e as BrandColors, f as BrandTheme, C as CHITTY_COLORS, a as CHITTY_THEME, c as generateStyleTag, d as generateTailwindConfig, g as getCSSVariables } from './index-CZA56mAx.mjs'; import { c as canon } from './index-DtE-padF.mjs'; export { b as CanonConfig, d as CanonValidation, C as CanonicalRecord, a as createCanonical, g as getCanonical, m as mergeCanonical, q as queryCanonical, u as updateCanonical, v as validateCanonical } from './index-DtE-padF.mjs'; import { r as registry } from './index-CzsCJCbE.mjs'; export { R as RegistryConfig, e as ServiceConnection, S as ServiceEndpoint, f as ServiceHealth, c as connectToService, d as getAllServices, g as getRegistry, b as getService, a as registerService } from './index-CzsCJCbE.mjs'; import { c as chittychat } from './index-BP0cNBVn.mjs'; export { C as ChittyChatConfig, M as Message, g as getChittyChat } from './index-BP0cNBVn.mjs'; import 'jose'; import 'zod'; import 'eventemitter3'; /** * ChittyOS Core - Essential package for all ChittyOS applications * * Provides: * - Beacon: Application tracking and monitoring * - ID: ChittyID requesting from id.chitty.cc service * - Auth: Authentication and authorization * - Verify: Data verification and validation * - Brand: Consistent branding and theming * - Canon: Source of truth and canonical data management * - Registry: Service discovery and connection management * - ChittyChat: Messaging client connector */ declare const _default: { beacon: typeof beacon; id: typeof id; auth: typeof auth; verify: typeof verify; brand: typeof brand; canon: typeof canon; registry: typeof registry; chittychat: typeof chittychat; }; declare const VERSION = "1.0.0"; export { VERSION, auth, beacon, brand, canon, chittychat, _default as default, id, registry, verify };