Skip to content

Commit

Permalink
chore(id-auth-sra): set command instance ref on smithy context (#1357)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe authored Aug 1, 2024
1 parent dbed2af commit 670553a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/hip-cycles-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@smithy/smithy-client": patch
---

add command instance ref to smithy context
1 change: 1 addition & 0 deletions packages/smithy-client/src/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export abstract class Command<
inputFilterSensitiveLog,
outputFilterSensitiveLog,
[SMITHY_CONTEXT_KEY]: {
commandInstance: this,
...smithyContext,
},
...additionalContext,
Expand Down

0 comments on commit 670553a

Please sign in to comment.