From 3152ccd13c325e6dc971d31152c660e2c9038b6f Mon Sep 17 00:00:00 2001 From: Bert Date: Tue, 24 Sep 2024 13:29:26 -0300 Subject: [PATCH] fix: re-add hostOverride arg to ConnectionOptions (#1694) Fixes issue where hostOverride was no-longer passed through to RemoteConnection --- node/src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/node/src/index.ts b/node/src/index.ts index 6e580c8b..20cfcfc4 100644 --- a/node/src/index.ts +++ b/node/src/index.ts @@ -220,7 +220,8 @@ export async function connect( region: partOpts.region ?? defaultRegion, timeout: partOpts.timeout ?? defaultRequestTimeout, readConsistencyInterval: partOpts.readConsistencyInterval ?? undefined, - storageOptions: partOpts.storageOptions ?? undefined + storageOptions: partOpts.storageOptions ?? undefined, + hostOverride: partOpts.hostOverride ?? undefined } if (opts.uri.startsWith("db://")) { // Remote connection