Skip to content

Commit 670553a

Browse files
authored
chore(id-auth-sra): set command instance ref on smithy context (#1357)
1 parent dbed2af commit 670553a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/hip-cycles-buy.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@smithy/smithy-client": patch
3+
---
4+
5+
add command instance ref to smithy context

packages/smithy-client/src/command.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export abstract class Command<
8282
inputFilterSensitiveLog,
8383
outputFilterSensitiveLog,
8484
[SMITHY_CONTEXT_KEY]: {
85+
commandInstance: this,
8586
...smithyContext,
8687
},
8788
...additionalContext,

0 commit comments

Comments
 (0)