diff --git a/package.json b/package.json index 327f7c4..72d893f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fleekhq/browser-rpc", - "version": "2.0.0", + "version": "2.0.1", "main": "dist/index.js", "module": "dist/esm/index.js", "jsnext:main": "dist/esm/index.js", diff --git a/src/types.ts b/src/types.ts index bed4bd4..e9271b1 100644 --- a/src/types.ts +++ b/src/types.ts @@ -56,8 +56,8 @@ export type HandlerProps = { export type Handler = (props: HandlerProps, ...args: any[]) => any; export type CallConfigObject = { - timeout: number; - target: string; + timeout?: number; + target?: string; }; export type ValidationMessageObject = {