richnologies/ngx-stripe

[BUG] Module '"ngx-stripe"' has no exported member 'provideNgxStripe'.

german-e-mas opened this issue · 3 comments

I'm trying to setup ngx-stripe using bootstrapApplication but I cannot use the provideNgxStripe method, as it is not exported.

I'm using node v18.16.0 and npm i ngx-stripe installed 16.1.2.

The installed version does not include an export of provideNgxStripe.


The docs mention the provide function, and I see it exported correctly in the public api of the main branch.

Has this not yet been released? If so, when do you think it's going to be released?

In the meantime, how can I use the existing NgxStripeModule alongside bootstrapApplication?

Just in case, using importProvidersFrom(NgxStripeModule.forRoot(STRIPE_PUBLIC_KEY)) seems to do the trick.

Hey @german-e-mas, sorry, my fault, I've been very busy this last couple of weeks.

I now version has been release 16.2.0 that should include the method.

Please let me know if that works for you

Thank you for the quick response @richnologies !! I installed 16.2.0 and the provideNgxStripe function is exported and working as intended.