freelii-passkey-kit
Version:
A helper library for creating and using smart wallet accounts on the Stellar blockchain.
17 lines (15 loc) • 435 B
text/typescript
// Browser-compatible types
export interface LoggingConfig {
name?: string;
level?: 'info' | 'debug' | 'error' | 'warn';
transports?: Record<string, LoggerTransport>;
}
// Browser-compatible transport interface
export interface LoggerTransport {
write?: (chunk: any) => void;
retrieveLogs?: () => Promise<any[]> | any[];
// Optional Node.js Transform properties
_transform?: any;
_flush?: any;
[key: string]: any;
}