From 7f3e3b236bfc251c5f1ba239e8d176ced541a57b Mon Sep 17 00:00:00 2001 From: luaneko Date: Mon, 13 Jan 2025 13:54:31 +1100 Subject: [PATCH] Export more things in mod.ts --- README.md | 4 ++-- deno.json | 2 +- mod.ts | 12 +++++++++++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cb6f505..3a686fa 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,9 @@ The glue for TypeScript to PostgreSQL. ## Installation ```ts -import pglue from "https://git.lua.re/luaneko/pglue/raw/tag/v0.3.1/mod.ts"; +import pglue from "https://git.lua.re/luaneko/pglue/raw/tag/v0.3.2/mod.ts"; // ...or from github: -import pglue from "https://raw.githubusercontent.com/luaneko/pglue/refs/tags/v0.3.1/mod.ts"; +import pglue from "https://raw.githubusercontent.com/luaneko/pglue/refs/tags/v0.3.2/mod.ts"; ``` ## Documentation diff --git a/deno.json b/deno.json index 32af812..b96c59d 100644 --- a/deno.json +++ b/deno.json @@ -1,5 +1,5 @@ { "name": "@luaneko/pglue", - "version": "0.3.1", + "version": "0.3.2", "exports": "./mod.ts" } diff --git a/mod.ts b/mod.ts index b79a02f..e9db931 100644 --- a/mod.ts +++ b/mod.ts @@ -3,12 +3,20 @@ import type * as v from "./valita.ts"; import { Pool, PoolOptions, Wire, WireOptions } from "./wire.ts"; export { + Wire, + WireOptions, WireError, PostgresError, + Pool, + PoolOptions, + type WireEvents, + type PoolEvents, type LogLevel, + type Parameters, type Transaction, type Channel, - type Parameters, + type ChannelEvents, + type NotificationHandler, } from "./wire.ts"; export { type SqlFragment, @@ -16,6 +24,8 @@ export { type SqlTypeMap, SqlTypeError, sql, + sql_types, + sql_format, is_sql, Query, type Result,