Comparing version 0.2.14 to 0.2.15
@@ -48,2 +48,6 @@ type ArgumentsType<T> = T extends (...args: infer A) => any ? A : never; | ||
onError?: (error: Error, functionName: string, args: any[]) => boolean | void; | ||
/** | ||
* Custom error handler for timeouts | ||
*/ | ||
onTimeoutError?: (functionName: string, args: any[]) => boolean | void; | ||
} | ||
@@ -50,0 +54,0 @@ type BirpcOptions<Remote> = EventOptions<Remote> & ChannelOptions; |
{ | ||
"name": "birpc", | ||
"version": "0.2.14", | ||
"packageManager": "pnpm@8.7.1", | ||
"type": "module", | ||
"version": "0.2.15", | ||
"packageManager": "pnpm@8.14.3", | ||
"description": "Message based Two-way remote procedure call", | ||
@@ -36,12 +37,12 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>", | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^0.41.0", | ||
"@antfu/ni": "^0.21.8", | ||
"@types/node": "^20.5.9", | ||
"bumpp": "^9.2.0", | ||
"eslint": "^8.48.0", | ||
"esno": "^0.17.0", | ||
"typescript": "^5.2.2", | ||
"@antfu/eslint-config": "^2.6.3", | ||
"@antfu/ni": "^0.21.12", | ||
"@types/node": "^20.11.7", | ||
"bumpp": "^9.3.0", | ||
"eslint": "^8.56.0", | ||
"esno": "^4.0.0", | ||
"typescript": "^5.3.3", | ||
"unbuild": "^2.0.0", | ||
"vite": "^4.4.9", | ||
"vitest": "^0.34.3" | ||
"vite": "^5.0.12", | ||
"vitest": "^1.2.1" | ||
}, | ||
@@ -54,4 +55,5 @@ "scripts": { | ||
"start": "esno src/index.ts", | ||
"typecheck": "tsc --noEmit", | ||
"test": "vitest" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Yes
25765
8
384