@hmcts/ccpay-web-component 5.0.7-beta27 → 5.0.7-beta28

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.
@@ -3071,7 +3071,9 @@ var NotificationService = /** @class */ (function () {
3071
3071
  * @return {?}
3072
3072
  */
3073
3073
  function (body) {
3074
- return this.https.post(this.paymentLibService.NOTIFICATION_API_ROOT + "/doc-preview", body).pipe(catchError(this.errorHandlerService.handleError));
3074
+ return this.https.post(this.paymentLibService.NOTIFICATION_API_ROOT + "/doc-preview", body, {
3075
+ withCredentials: true
3076
+ }).pipe(catchError(this.errorHandlerService.handleError));
3075
3077
  };
3076
3078
  NotificationService.decorators = [
3077
3079
  { type: Injectable, args: [{
@@ -11568,7 +11570,9 @@ var NotificationPreviewComponent = /** @class */ (function () {
11568
11570
  console.log('Notification app started');
11569
11571
  /** @type {?} */
11570
11572
  var notficationPreviewRequestBody = new NotificationPreviewRequest(this.payment, this.contactDetails, this.refundReason, this.refundAmount, this.refundReference, this.paymentReference);
11571
- console.log("1." + notficationPreviewRequestBody);
11573
+ for (var notifPrev in notficationPreviewRequestBody) {
11574
+ console.log(notifPrev);
11575
+ }
11572
11576
  this.notificationService.getNotificationPreview(notficationPreviewRequestBody).subscribe((/**
11573
11577
  * @param {?} res
11574
11578
  * @return {?}