Skip to content

v13.0.2

Choose a tag to compare

@maxholman maxholman released this 09 May 09:12
· 121 commits to master since this release

feat: allow per-call base override via RuntimeOptions

Lets a single client target a different host on a per-call basis without spinning up a second RestServiceClient. Use case: a command that PUTs to a presigned upload URL while the rest of the client points at the API.

await client.send(
  new PutImageCommand(
    { image_id: "1234", body: input.file },
    { "content-type": mimeType, "content-length": `${input.file.size}` },
  ),
  { base: new URL(presignedUrl) },
);

Full Changelog: v13.0.1...v13.0.2