@xsolla/payment-client-core 0.0.12 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2461,8 +2461,8 @@ class StatusService {
2461
2461
  this.statusRequestService.setRequestParams(params);
2462
2462
  this.startWaitingStatusUpdates(params.invoice);
2463
2463
  this.statusRequestService.request();
2464
- const statusResponse = await firstValueFrom(this.listenStatusService.statusUpdated$);
2465
- return statusResponse.statusResponse.status;
2464
+ const statusResponse = await firstValueFrom(this.statusRequestService.response$);
2465
+ return statusResponse.status;
2466
2466
  }
2467
2467
  startWaitingStatusUpdates(invoice) {
2468
2468
  this.listenStatusService.listen(invoice);