-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDK updated to use @smithy types and protocol http causing type errors when using mock clients #162
Comments
I have the same issue.
And this it the error when using
|
Hey, Please make extra sure that all AWS SDK libs are in the same version. You can also run If the problem persists, please create a repo with reproduction and I will take a look. |
@m-radzikowski At what version is your |
@DDachev-Allaine I've tested this with Again, if you want me to look at this, provide a reproduction. |
In case this helps, I was getting the same errors using v3.342.0 (latest as of writing this comment), but resolved by explicitly adding |
Was seeing a similar issue — making sure that all of our |
I've added a warning about this higher in the README. |
Checklist
Bug description
Following this change to the AWS SDK aws/aws-sdk-js-v3#4722 the mock clients throw a number of TS errors when ever mocks are created. This change was introduced in the 3.355.0 release https://github.com/aws/aws-sdk-js-v3/releases/tag/v3.335.0
I have tried this with SNS, Secrets manager and Cognito Identity provider with the same result.
Reproduction
Environment
The text was updated successfully, but these errors were encountered: