awslabs / amazon-qldb-driver-nodejs

A NodeJs implementation of a driver for Amazon QLDB.
https://aws.amazon.com/qldb/?nc2=h_ql_prod_db_qldb
Apache License 2.0
53 stars 22 forks source link

Add missing Smithy dependencies #652

Closed trstephen-amazon closed 7 months ago

trstephen-amazon commented 7 months ago

Resubmission of #651 while we debug creds retrieval.

Description of changes: Added explicit dependencies to @smithy/smithy-client and @smithy/node-http-handler, as they were not declared, which causes phantom dependency issues in non-hoisting package managers such as pnpm (with hoisting disabled, as used by Bazel, for example). I've chosen the same version qualifier/selector that is used in transitive dependencies to avoid any unexpected package version variations. This should not affect any of this package's consumers.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.