@hmcts/ccpay-web-component 5.0.7-beta25 → 5.0.7-beta26

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.
@@ -11569,6 +11569,7 @@ var NotificationPreviewComponent = /** @class */ (function () {
11569
11569
  console.log('Notification app started');
11570
11570
  /** @type {?} */
11571
11571
  var notficationPreviewRequestBody = new NotificationPreviewRequest(this.payment, this.contactDetails, this.refundReason, this.refundAmount, this.refundReference, this.paymentReference);
11572
+ console.log("1." + notficationPreviewRequestBody);
11572
11573
  this.notificationService.getNotificationPreview(notficationPreviewRequestBody).subscribe((/**
11573
11574
  * @param {?} res
11574
11575
  * @return {?}
@@ -11577,7 +11578,9 @@ var NotificationPreviewComponent = /** @class */ (function () {
11577
11578
  _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
11578
11579
  /** @type {?} */
11579
11580
  var JsonResponse = JSON.parse(res);
11581
+ console.log("2." + JsonResponse);
11580
11582
  _this.notification = JsonResponse['data'];
11583
+ console.log("3." + _this.notification);
11581
11584
  if (_this.notification.template_type === 'letter') {
11582
11585
  _this.notification.body = _this.notification.body.replace(/\r\n/g, '<br/>');
11583
11586
  }