@hmcts/ccpay-web-component 6.0.0-beta23 → 6.0.0-beta24
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 +8 -2
- 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/services/refunds/refunds.service.js +6 -2
- package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +6 -2
- package/esm5/lib/services/refunds/refunds.service.js +6 -2
- package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +6 -2
- package/fesm2015/hmcts-ccpay-web-component.js +10 -2
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +10 -2
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/package.json +1 -1
|
@@ -1008,7 +1008,10 @@
|
|
|
1008
1008
|
}));
|
|
1009
1009
|
}
|
|
1010
1010
|
headers['X-Requested-With'] = 'XMLHttpRequest';
|
|
1011
|
-
if (csrfToken === null)
|
|
1011
|
+
if (csrfToken.content === null && document.cookie.split(';').find(( /**
|
|
1012
|
+
* @param {?} row
|
|
1013
|
+
* @return {?}
|
|
1014
|
+
*/function (row) { return row.startsWith('XSRF-TOKEN'); })) !== undefined) {
|
|
1012
1015
|
headers['CSRF-Token'] = document.cookie.split(';').find(( /**
|
|
1013
1016
|
* @param {?} row
|
|
1014
1017
|
* @return {?}
|
|
@@ -2023,7 +2026,10 @@
|
|
|
2023
2026
|
}));
|
|
2024
2027
|
}
|
|
2025
2028
|
headers['X-Requested-With'] = 'XMLHttpRequest';
|
|
2026
|
-
if (csrfToken.content === null)
|
|
2029
|
+
if (csrfToken.content === null && document.cookie.split(';').find(( /**
|
|
2030
|
+
* @param {?} row
|
|
2031
|
+
* @return {?}
|
|
2032
|
+
*/function (row) { return row.startsWith('XSRF-TOKEN'); })) !== undefined) {
|
|
2027
2033
|
headers['CSRF-Token'] = document.cookie.split(';').find(( /**
|
|
2028
2034
|
* @param {?} row
|
|
2029
2035
|
* @return {?}
|