digipay-utility-payment 0.0.19 → 0.0.20

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.
Binary file
@@ -5951,11 +5951,17 @@ class TopupAndBillpaymentReviewComponent extends TransactionClass {
5951
5951
  this.isTpinVerifiedForPayment = false;
5952
5952
  if (this.sdkState?.isActive()) {
5953
5953
  this.sdkState.setStep("CATEGORY");
5954
+ this.redirectTo(this.router, "/operations/topup-and-billpayment", { flow: "true" });
5954
5955
  }
5955
5956
  else {
5956
5957
  this.router.navigateByUrl("/operations/topup-and-billpayment");
5957
5958
  }
5958
5959
  }
5960
+ redirectTo = (router, url, queryParams = {}) => {
5961
+ router
5962
+ .navigateByUrl("/", { skipLocationChange: true })
5963
+ .then(() => router.navigate([url], { queryParams }));
5964
+ };
5959
5965
  closeTransactionPinModal() {
5960
5966
  this.hideModal("TransactionPIN");
5961
5967
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digipay-utility-payment",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",