From 4575534016c491e01babd6dfbff0e40b7385658d Mon Sep 17 00:00:00 2001 From: Sophia Chu <112967780+sophia-bq@users.noreply.github.com> Date: Thu, 26 Nov 2026 14:41:43 -0700 Subject: [PATCH 1/2] fix: prisma example --- examples/prisma_example/adapter/pgaws.ts | 2 +- examples/prisma_example/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/prisma_example/adapter/pgaws.ts b/examples/prisma_example/adapter/pgaws.ts index 9c02c0bb..b4869178 100644 --- a/examples/prisma_example/adapter/pgaws.ts +++ b/examples/prisma_example/adapter/pgaws.ts @@ -27,7 +27,7 @@ import type { TransactionOptions } from "@prisma/driver-adapter-utils"; import { Error, ok, err } from "@prisma/driver-adapter-utils"; -import { AwsPgClient } from "aws-advanced-nodejs-wrapper/dist/pg/lib/index.js"; +import { AwsPgClient } from "aws-advanced-nodejs-wrapper/pg"; import { fieldToColumnType, UnsupportedNativeDataType } from "./conversion"; class AwsQueryable implements Queryable { diff --git a/examples/prisma_example/package.json b/examples/prisma_example/package.json index ae7bbfdb..9f849858 100644 --- a/examples/prisma_example/package.json +++ b/examples/prisma_example/package.json @@ -11,7 +11,7 @@ "license": "ISC", "devDependencies": { "@types/node": "^22.10.1", - "prisma": "^6.0.1", + "prisma": "6.0.1", "tsx": "^4.19.2", "typescript": "^5.6.2" }, From 29836d79b1272d3185a2668f3781410bd836b8bf Mon Sep 17 00:00:00 2001 From: Sophia Chu <112967780+sophia-bq@users.noreply.github.com> Date: Thu, 26 Nov 2026 14:47:47 -0700 Subject: [PATCH 2/2] fix: remove private logger import --- ..._internal_connection_pool_password_warning_mysql_example.ts | 3 +-- ...ternal_connection_pool_password_warning_postgres_example.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/aws_driver_example/aws_internal_connection_pool_password_warning_mysql_example.ts b/examples/aws_driver_example/aws_internal_connection_pool_password_warning_mysql_example.ts index ce20b35c..84515a94 100644 --- a/examples/aws_driver_example/aws_internal_connection_pool_password_warning_mysql_example.ts +++ b/examples/aws_driver_example/aws_internal_connection_pool_password_warning_mysql_example.ts @@ -16,7 +16,6 @@ import { AwsMySQLClient } from "../../mysql"; import { InternalPooledConnectionProvider, PluginManager } from "../../index"; -import { logger } from "../../common/logutils"; const mysqlHost = "db-identifier.XYZ.us-east-2.rds.amazonaws.com"; const username = "john_smith"; @@ -92,5 +91,5 @@ try { // Clean up resources used by the plugins. await PluginManager.releaseResources(); - logger.debug("example complete"); + console.log("example complete"); } diff --git a/examples/aws_driver_example/aws_internal_connection_pool_password_warning_postgres_example.ts b/examples/aws_driver_example/aws_internal_connection_pool_password_warning_postgres_example.ts index 79cef253..8467a314 100644 --- a/examples/aws_driver_example/aws_internal_connection_pool_password_warning_postgres_example.ts +++ b/examples/aws_driver_example/aws_internal_connection_pool_password_warning_postgres_example.ts @@ -15,7 +15,6 @@ */ import { InternalPooledConnectionProvider, PluginManager } from "../../index"; -import { logger } from "../../common/logutils"; import { AwsPgClient } from "../../pg"; const postgresHost = "db-identifier.XYZ.us-east-2.rds.amazonaws.com"; @@ -92,5 +91,5 @@ try { // Clean up resources used by the plugins. await PluginManager.releaseResources(); - logger.debug("example complete"); + console.log("example complete"); }