Skip to content

Commit

Permalink
docs: correct import for @mapeo/ipc (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHahn authored Jan 29, 2024
1 parent 88b2b18 commit 4713f72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ In the server:

```ts
import { MapeoManager } from '@mapeo/core'
import { createMapeoServer } from '@mapeo/core'
import { createMapeoServer } from '@mapeo/ipc'

// Create Mapeo manager instance
const manager = new MapeoManager({...})
Expand All @@ -59,7 +59,7 @@ server.close()
In the client:

```ts
import { createMapeoClient, closeMapeoClient } from '@mapeo/core'
import { createMapeoClient, closeMapeoClient } from '@mapeo/ipc'

// Create the client instance
// `messagePort` can vary based on context (e.g. a port from a MessageChannel, a NodeJS Mobile bridge channel, etc.)
Expand Down

0 comments on commit 4713f72

Please sign in to comment.