richnologies / ngx-stripe

Angular 6+ wrapper for StripeJS
MIT License
217 stars 77 forks source link

[BUG] Remove Stripe Cart Element types #252

Closed KeithGillette closed 5 months ago

KeithGillette commented 5 months ago

Describe the bug

While ngx-stripe package.json indicates compatibility with @stripe/stripe-js: ^3.0.0, updating to @stripe/stripe-js@3.3.0 generates error node_modules/ngx-stripe/lib/directives/elements.directive.d.ts(2,217): error TS2724: '"@stripe/stripe-js"' has no exported member named 'StripeCartElement' ontsc`.

To Reproduce

Expected behavior

No error should occur, since ngx-stripe claims compatibility with @stripe/stripe-js: ^3.3.0

Screenshots

N/A

Desktop (please complete the following information):

Smartphone (please complete the following information):

N/A

Additional context

None

richnologies commented 5 months ago

Hey @KeithGillette,

Thanks for letting us know. We have release a new version 17.2.0 that should fix the problem

Please, let us know if that works for you

KeithGillette commented 5 months ago

Works for me. Thanks for the super-fast fix!