Skip to content

Commit e02d632

Browse files
committed
fix(kit): rpcOptions option passing
1 parent 2d64b2a commit e02d632

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/kit/src/client/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export async function getDevToolsRpcClient(
5454
}> {
5555
const {
5656
baseURL = '/.devtools/',
57+
rpcOptions = {},
5758
} = options
5859
const urls = Array.isArray(baseURL) ? baseURL : [baseURL]
5960
let connectionMeta: ConnectionMeta | undefined = options.connectionMeta
@@ -86,7 +87,7 @@ export async function getDevToolsRpcClient(
8687
url,
8788
...options.wsOptions,
8889
}),
89-
...options.rpcOptions,
90+
rpcOptions,
9091
})
9192

9293
return {

0 commit comments

Comments
 (0)