Skip to content

Commit

Permalink
fix: pass opts when creating project rpc client
Browse files Browse the repository at this point in the history
  • Loading branch information
achou11 committed Feb 1, 2024
1 parent 8dfca00 commit abe845d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export function createMapeoClient(messagePort, opts = {}) {
const projectChannel = new SubChannel(messagePort, projectPublicId)

/** @type {import('rpc-reflector').ClientApi<import('@mapeo/core/dist/mapeo-project.js').MapeoProject>} */
const projectClient = createClient(projectChannel)
const projectClient = createClient(projectChannel, opts)
projectChannel.start()

deferred.resolve(projectClient)
Expand Down

0 comments on commit abe845d

Please sign in to comment.