@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.
- package/esm2020/lib/core/payment/status/status.service.mjs +3 -3
- package/fesm2015/xsolla-payment-client-core.mjs +2 -2
- package/fesm2015/xsolla-payment-client-core.mjs.map +1 -1
- package/fesm2020/xsolla-payment-client-core.mjs +2 -2
- package/fesm2020/xsolla-payment-client-core.mjs.map +1 -1
- package/package.json +1 -1
- package/xsolla-payment-client-core-0.0.13.tgz +0 -0
- package/xsolla-payment-client-core-0.0.12.tgz +0 -0
|
@@ -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.
|
|
2465
|
-
return statusResponse.
|
|
2464
|
+
const statusResponse = await firstValueFrom(this.statusRequestService.response$);
|
|
2465
|
+
return statusResponse.status;
|
|
2466
2466
|
}
|
|
2467
2467
|
startWaitingStatusUpdates(invoice) {
|
|
2468
2468
|
this.listenStatusService.listen(invoice);
|