richnologies / ngx-stripe

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

[BUG] #203

Closed ali-alamine closed 1 year ago

ali-alamine commented 1 year ago

Describe the bug lastValueFrom doesn't exists in the rxjs 6.6.7 image

To Reproduce Steps to reproduce the behavior:

  1. installed stripe v 14 or the latest version (npm install ngx-stripe @stripe/stripe-js)
  2. the error message appears after installing. ./node_modules/ngx-stripe/fesm2020/ngx-stripe.mjs:4886:33-46 - Error: export 'lastValueFrom' (imported as 'lastValueFrom') was not found in 'rxjs' (possible exports: ArgumentOutOfRangeError, AsyncSubject, BehaviorSubject, ConnectableObservable, EMPTY, EmptyError, GroupedObservable, NEVER, Notification, NotificationKind, ObjectUnsubscribedError, Observable, ReplaySubject, Scheduler, Subject, Subscriber, Subscription, TimeoutError, UnsubscriptionError, VirtualAction, VirtualTimeScheduler, animationFrame, animationFrameScheduler, asap, asapScheduler, async, asyncScheduler, bindCallback, bindNodeCallback, combineLatest, concat, config, defer, empty, forkJoin, from, fromEvent, fromEventPattern, generate, identity, iif, interval, isObservable, merge, never, noop, observable, of, onErrorResumeNext, pairs, partition, pipe, queue, queueScheduler, race, range, scheduled, throwError, timer, using, zip)

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image

richnologies commented 1 year ago

Hey @ali-alamine, sorry about this. Thank you so much for bring this to my attention. You are absolutely right. We have release new versions that should fix your problem:

Use the one matching your Angular major

Let me know if it works

Regards

R