Skip to content

Commit

Permalink
Update README.md to use '@electric-sql/client' (#1539)
Browse files Browse the repository at this point in the history
Was giving this a whirl today and noticed this small issue.
  • Loading branch information
stolinski authored Aug 18, 2024
1 parent e8b9b6b commit d1aae83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/typescript-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The client exports a `ShapeStream` class for getting updates to shapes on a row-
### `ShapeStream`

```tsx
import { ShapeStream } from 'electric-sql'
import { ShapeStream } from '@electric-sql/client'

// Passes subscribers rows as they're inserted, updated, or deleted
const stream = new ShapeStream({
Expand All @@ -61,7 +61,7 @@ stream.subscribe(messages => {
### `Shape`

```tsx
import { ShapeStream, Shape } from 'electric-sql'
import { ShapeStream, Shape } from '@electric-sql/client'

const stream = new ShapeStream({
url: `${BASE_URL}/v1/shape/foo`,
Expand Down

0 comments on commit d1aae83

Please sign in to comment.