Releases: Rul1an/logvault-node
Releases · Rul1an/logvault-node
Release list
v0.2.7 - URL Updates
v0.2.5 - URL Updates
Changes
- Fixed documentation URLs (logvault.app → logvault.eu)
- Updated homepage in package.json
Installation
npm install @logvault/client@0.2.5v0.2.4 - Hash Chain Integrity Methods
What's New
Hash Chain Integrity Verification
This release adds methods for cryptographic chain verification, enabling auditors to independently verify the integrity of your audit trail:
verifyChain()- Verify the entire audit log chain integritygetChainStats()- Get chain statistics (coverage, chained/legacy events)getEventProof()- Get cryptographic proof for a specific eventverifyEventLocally()- Offline verification without API calls
New TypeScript Types
ChainVerificationResultChainStatsEventProofLocalVerificationResult
Example Usage
import { Client } from '@logvault/client';
const client = new Client('lv_live_...');
// Verify entire chain
const result = await client.verifyChain();
console.log(`Chain valid: ${result.is_valid}`);
// Get chain statistics
const stats = await client.getChainStats();
console.log(`Coverage: ${stats.chain_coverage}%`);
// Get proof for specific event
const proof = await client.getEventProof('event_id');
// Verify locally (offline, zero-trust)
const localResult = client.verifyEventLocally(proof.event);Full Changelog: v0.2.3...v0.2.4
v0.2.3 - List, Search & Verify
What's New
Added
listEvents()method to retrieve audit events with filteringgetEvent()method to fetch a single event by IDverifyEvent()method for cryptographic signature verificationsearchEvents()method for semantic/full-text search- New TypeScript types:
VerifyEventResponse,SearchResult,SearchEventsResponse
Changed
- Improved TypeScript exports for all new types
Installation
npm install @logvault/client@0.2.3Full Changelog: v0.2.2...v0.2.3