electron-rpc-types
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -61,1 +61,16 @@ /** Common RPC incoming envelopes resolver */ | ||
} | ||
/** Request logging function */ | ||
export interface RequestLoggingFunction { | ||
(envelope: Envelope, args: any[]): any; | ||
} | ||
/** Success logging function */ | ||
export interface SuccessLoggingFunction { | ||
(envelope: Envelope, args: any[], response: any): any; | ||
} | ||
/** Error logging function */ | ||
export interface ErrorLoggingFunction { | ||
(envelope: Envelope, args: any[], error: string): any; | ||
} |
@@ -22,7 +22,7 @@ { | ||
}, | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"license": "MIT", | ||
"gitHead": "aa93afeccf9067045acf383dcb097ec283c32375" | ||
"gitHead": "7835360ae4bf43137aa92624c1673ea0d5682f90" | ||
} |
4731
89