From 4713f7232ee9d7efe5a1db44392bacae2b82d1ae Mon Sep 17 00:00:00 2001 From: Evan Hahn Date: Mon, 29 Jan 2024 13:08:52 -0600 Subject: [PATCH] docs: correct import for @mapeo/ipc (#4) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 66363c1..1191f5b 100644 --- a/README.md +++ b/README.md @@ -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({...}) @@ -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.)