richnologies / ngx-stripe

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

New version of module "@stripe/stripe-js" has no exported member 'CanMakePaymentResult' #121

Closed kivinm closed 3 years ago

kivinm commented 3 years ago

@stripe/stripe-js was updated yesterday to version 1.12.0 And it has no 'CanMakePaymentResult' class anymore. So ngx-stripe now gives an error during production build:

ERROR in node_modules/ngx-stripe/lib/components/payment-request-button.component.d.ts:3:88 - error TS2305: Module '"@stripe/stripe-js"' has no exported member 'CanMakePaymentResult'.

levarberry commented 3 years ago

downgrade to 1.11.0

BruneXX commented 3 years ago

Downgrading to v1.11.0 works for me

hofman-stripe commented 3 years ago

We just published v1.12.1 that should fix this issue. Sorry about this.

BruneXX commented 3 years ago

Thanks @hofman-stripe I'll try it right now

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.