@mtgame/core 0.0.65 → 0.0.66
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/mtgame-core.umd.js +3 -1
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +1 -1
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/http-cookie.interceptor.js +4 -2
- package/esm5/http-cookie.interceptor.js +4 -2
- package/fesm2015/mtgame-core.js +3 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +3 -1
- package/fesm5/mtgame-core.js.map +1 -1
- package/package.json +1 -1
package/fesm5/mtgame-core.js
CHANGED
|
@@ -7800,7 +7800,9 @@ var HttpCookieInterceptor = /** @class */ (function () {
|
|
|
7800
7800
|
if (!this.isBrowser) {
|
|
7801
7801
|
return next.handle(req);
|
|
7802
7802
|
}
|
|
7803
|
-
|
|
7803
|
+
if (req.withCredentials !== false) {
|
|
7804
|
+
req = req.clone({ withCredentials: true });
|
|
7805
|
+
}
|
|
7804
7806
|
var csrf = getCookie('csrftoken');
|
|
7805
7807
|
if (csrf) {
|
|
7806
7808
|
req = req.clone({
|