Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
samwillis committed Mar 28, 2024
1 parent cff189b commit 006b9a7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

![PGlite](https://raw.githubusercontent.com/electric-sql/pglite/main/screenshot.png)

PGlite is a WASM Postgres build packaged into a TypeScript client library that enables you to run Postgres in the browser, Node.js and Bun, with no need to install any other dependencies. It is only 3.7mb gzipped.
PGlite is a WASM Postgres build packaged into a TypeScript client library that enables you to run Postgres in the browser, Node.js and Bun, with no need to install any other dependencies. It is only 2.6mb gzipped.

```javascript
import { PGlite } from "@electric-sql/pglite";
Expand Down Expand Up @@ -178,7 +178,7 @@ await pg.query(
The `query` and `exec` methods take an optional `options` objects with the following parameters:

- `rowMode: "object" | "array"`
The returned row object type, either an object of `fieldName: value` mappings or an array of positional values. Defaults to `"object"`.
The returned row object type, either an object of `felidName: value` mappings or an array of positional values. Defaults to `"object"`.
- `parsers: ParserOptions`
An object of type `{[[pgType: number]: (value: string) => any;]}` mapping Postgres data type id to parser function.
For convenance the `pglite` package exports a const for most common Postgres types:
Expand Down Expand Up @@ -302,7 +302,7 @@ await pg.exec(`

## Extensions

PGlite supports the pl/pgsql procedural language extension, this is included and enabled by default.
PGlite supports the pl/pgsql procedural langue extension, this is included and enabled by default.

In future we plan to support additional extensions, see the [roadmap](#roadmap).

Expand Down
2 changes: 1 addition & 1 deletion packages/pglite/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

![PGlite](https://raw.githubusercontent.com/electric-sql/pglite/main/screenshot.png)

PGlite is a WASM Postgres build packaged into a TypeScript client library that enables you to run Postgres in the browser, Node.js and Bun, with no need to install any other dependencies. It is only 3.7mb gzipped.
PGlite is a WASM Postgres build packaged into a TypeScript client library that enables you to run Postgres in the browser, Node.js and Bun, with no need to install any other dependencies. It is only 2.6mb gzipped.

```javascript
import { PGlite } from "@electric-sql/pglite";
Expand Down
2 changes: 1 addition & 1 deletion packages/pglite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electric-sql/pglite",
"version": "0.1.0",
"version": "0.1.1",
"private": false,
"publishConfig": {
"access": "public"
Expand Down

2 comments on commit 006b9a7

@ttsirkia
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reverted #59

@samwillis
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ttsirkia Good spot!

Please sign in to comment.