-
Notifications
You must be signed in to change notification settings - Fork 41
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
Argument of type 'typeof S3Client' is not assignable to parameter of type 'InstanceOrClassType<Client<ServiceInputTypes, MetadataBearer, SmithyResolvedConfiguration<HttpHandlerOptions>>>'. #168
Comments
It looks like it has to do with the difference between __Metabearer and Metabearer, as all Output extends from __Metabearer instead of Metabearer |
A fix for us was to pin all |
Such errors were usually a result of having different versions of v3.363.0 of AWS SDK migrated many dependencies from
Which is probably the cause here. I will investigate the possibility of moving from using |
I am having the same issue and cannot rollback to 3.362.0 because of vulnand cannot rollback to 3.362.0 because of vulnerability issues with that version. I am kind of in a hurry, I have a deploy on monday and I need my test suite to be all green 😭 [EDIT] |
@aka-somix What vulnerability issues are there with 3.362.0?
Maybe propose a PR then? 😛 |
Best case scenario is I fix this during the weekend, assuming everything goes smoothly (which I kind of doubt). This is an open-source library, feel free to submit a PR. |
@moltar I was just trying to get insights on this bug rather than make pressure on the resolution. Anyway, I am deleting the vulnerability part on my previous comment as it is in fact incorrect and I do not want to create confusion (I was just reported incorrectly, we were upgrading from a way lower. Thank you @m-radzikowski for the update 🙂 |
AWS SDK v3.363.0 migrated from @aws-sdk/types to @smithy/types. See: - https://github.com/aws/aws-sdk-js-v3/releases/tag/v3.363.0 - aws/aws-sdk-js-v3#4873 - #168
It seems like changing I've released v3.0.0 compatible with AWS SDK v3.363.0 (and hopefully above). |
Thank you Maciej!! |
Checklist
Bug description
Upgrading from
3.362.0
breaks types3.363.0
.Reproduction
Repro: Playground Link
Environment
The text was updated successfully, but these errors were encountered: