@hmcts/ccpay-web-component 5.0.10-beta19 → 5.0.10-beta20
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/bundles/hmcts-ccpay-web-component.umd.js +1 -3
- package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
- package/esm2015/lib/payment-lib.component.js +1 -3
- package/esm2015/lib/services/notification/notification.service.js +2 -2
- package/fesm2015/hmcts-ccpay-web-component.js +1 -3
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/lib/payment-lib.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -240,8 +240,6 @@
|
|
|
240
240
|
this.cd.detectChanges();
|
|
241
241
|
};
|
|
242
242
|
PaymentLibComponent.prototype.ngOnInit = function () {
|
|
243
|
-
console.log("Component getting initialized");
|
|
244
|
-
console.log("NOTIFICATION_API_ROOT : " + this.NOTIFICATION_API_ROOT);
|
|
245
243
|
this.paymentLibService.setApiRootUrl(this.API_ROOT);
|
|
246
244
|
this.paymentLibService.setBulkScanApiRootUrl(this.BULKSCAN_API_ROOT);
|
|
247
245
|
this.paymentLibService.setRefundndsApiRootUrl(this.REFUNDS_API_ROOT);
|
|
@@ -1033,7 +1031,7 @@
|
|
|
1033
1031
|
.pipe(operators.catchError(this.errorHandlerService.handleError));
|
|
1034
1032
|
};
|
|
1035
1033
|
NotificationService.prototype.getNotificationPreview = function (body) {
|
|
1036
|
-
return this.https.post(this.paymentLibService.
|
|
1034
|
+
return this.https.post(this.paymentLibService.REFUNDS_API_ROOT + "/doc-preview", body).pipe(operators.catchError(this.errorHandlerService.handleError));
|
|
1037
1035
|
};
|
|
1038
1036
|
NotificationService.prototype.getNotificationInstructionType = function (paymentChannel, paymentMethod) {
|
|
1039
1037
|
if (paymentChannel === 'bulk scan' && paymentMethod === 'postal order') {
|