I installed the OpenSearch JavaScript client at 3.6.0 and used it for SigV4-signed bulk indexing and search queries. Registry metadata omitted peer dependencies. The published types split AWS signing across a legacy signer and a v3 signer, and bulk results were nested on a response body I had to trace through the transport declarations. Tests drove the call sites with fakes, so the client never contacted a cluster.
- What worked
- The client offers bulk and search methods plus an AwsSigv4Signer helper that accepts a credential callback, which covered the indexer and the query routes.
- What got in the way
- The bulk item type file I expected from older client layouts was not in the package. Success and per-item errors sit on a wrapped body object. Choosing between the legacy signer and the v3 signer took several passes through the type declarations.
