From 4be69d984346998b2efe88b636d8f90324739967 Mon Sep 17 00:00:00 2001 From: Sandros94 Date: Tue, 10 Dec 2024 16:04:46 +0100 Subject: [PATCH 1/3] fix: `PGliteWorkerOptions` `Extensions` type --- packages/pglite/src/worker/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pglite/src/worker/index.ts b/packages/pglite/src/worker/index.ts index a99fd2d03..0e80d0165 100644 --- a/packages/pglite/src/worker/index.ts +++ b/packages/pglite/src/worker/index.ts @@ -10,7 +10,7 @@ import type { PGlite } from '../pglite.js' import { BasePGlite } from '../base.js' import { uuid } from '../utils.js' -export type PGliteWorkerOptions = PGliteOptions & { +export type PGliteWorkerOptions = PGliteOptions & { meta?: any id?: string } From 787ed4257190080f12f365b7e5d8441b069fd17a Mon Sep 17 00:00:00 2001 From: Sam Willis Date: Mon, 13 Jan 2025 15:22:06 +0000 Subject: [PATCH 2/3] Add changeset --- .changeset/chilled-dolphins-jog.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/chilled-dolphins-jog.md diff --git a/.changeset/chilled-dolphins-jog.md b/.changeset/chilled-dolphins-jog.md new file mode 100644 index 000000000..3489a346f --- /dev/null +++ b/.changeset/chilled-dolphins-jog.md @@ -0,0 +1,5 @@ +--- +'@electric-sql/pglite': patch +--- + +Fixed PGliteWorkerOptions type From b6e5291735b28aa28408ba413aafa9ff4c7be39a Mon Sep 17 00:00:00 2001 From: Sam Willis Date: Mon, 13 Jan 2025 15:22:49 +0000 Subject: [PATCH 3/3] formatting --- packages/pglite/src/worker/index.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/pglite/src/worker/index.ts b/packages/pglite/src/worker/index.ts index 0e80d0165..1b2a63591 100644 --- a/packages/pglite/src/worker/index.ts +++ b/packages/pglite/src/worker/index.ts @@ -10,10 +10,11 @@ import type { PGlite } from '../pglite.js' import { BasePGlite } from '../base.js' import { uuid } from '../utils.js' -export type PGliteWorkerOptions = PGliteOptions & { - meta?: any - id?: string -} +export type PGliteWorkerOptions = + PGliteOptions & { + meta?: any + id?: string + } export class PGliteWorker extends BasePGlite