diff --git a/postgres/package-lock.json b/postgres/package-lock.json index fc61717f..7d391a63 100644 --- a/postgres/package-lock.json +++ b/postgres/package-lock.json @@ -1,17 +1,17 @@ { "name": "@winglibs/postgres", - "version": "0.1.2", + "version": "0.1.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@winglibs/postgres", - "version": "0.1.2", + "version": "0.1.4", "license": "MIT", "peerDependencies": { "@cdktf/provider-aws": "^19.12.0", "@rybickic/cdktf-provider-neon": "^2.0.0", - "@winglibs/containers": "^0.0.27", + "@winglibs/containers": "^0.1.0", "cdktf": "^0.20.6", "pg": "^8.11.3" } @@ -303,9 +303,9 @@ "peer": true }, "node_modules/@winglibs/containers": { - "version": "0.0.27", - "resolved": "https://registry.npmjs.org/@winglibs/containers/-/containers-0.0.27.tgz", - "integrity": "sha512-lxRbstQ8KdFKHL9QhM8kYKHeNpOs8bB3tt/cvaYlbXG/tEBT4ZEp2IbiQAP+SP9jsIMRRxAT7FwbaLaEKRIIyg==", + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@winglibs/containers/-/containers-0.1.0.tgz", + "integrity": "sha512-4x3msPJR4z/vIjqDgl4EStXMcRAZ1+9ObEfo+LIa4ThlVkYzud14GqNqGxwt6zOyWriuRykjx5P8ZCMnQ/+/IQ==", "peer": true, "engines": { "wing": "*" diff --git a/postgres/package.json b/postgres/package.json index 9b965722..0fde05db 100644 --- a/postgres/package.json +++ b/postgres/package.json @@ -1,6 +1,6 @@ { "name": "@winglibs/postgres", - "version": "0.1.4", + "version": "0.1.5", "description": "Postgres support for Wing", "repository": { "type": "git", @@ -14,7 +14,7 @@ "peerDependencies": { "@rybickic/cdktf-provider-neon": "^2.0.0", "@cdktf/provider-aws": "^19.12.0", - "@winglibs/containers": "^0.0.27", + "@winglibs/containers": "^0.1.0", "pg": "^8.11.3", "cdktf": "^0.20.6" }, diff --git a/postgres/pg.extern.d.ts b/postgres/pg.extern.d.ts index 91b3303d..d5e2b291 100644 --- a/postgres/pg.extern.d.ts +++ b/postgres/pg.extern.d.ts @@ -1,5 +1,6 @@ export default interface extern { _query: (query: string, creds: ConnectionOptions) => Promise<(readonly (Readonly>>)[])>, + _queryWithConnectionString: (query: string, connectionString: string) => Promise<(readonly (Readonly>>)[])>, } export interface ConnectionOptions { readonly database: string;