@mtgame/core 0.0.64 → 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 +6 -4
- 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/esm2015/models/league.js +4 -4
- package/esm5/http-cookie.interceptor.js +4 -2
- package/esm5/models/league.js +4 -4
- package/fesm2015/mtgame-core.js +6 -4
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +6 -4
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/league.d.ts +1 -1
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/fesm5/mtgame-core.js
CHANGED
|
@@ -883,7 +883,7 @@ var League = /** @class */ (function (_super) {
|
|
|
883
883
|
__extends(League, _super);
|
|
884
884
|
function League() {
|
|
885
885
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
886
|
-
_this.
|
|
886
|
+
_this.documents = [];
|
|
887
887
|
return _this;
|
|
888
888
|
}
|
|
889
889
|
League.toFront = function (data) { };
|
|
@@ -933,14 +933,14 @@ var League = /** @class */ (function (_super) {
|
|
|
933
933
|
closest_game_datetime: 'closestGameDatetime',
|
|
934
934
|
cover: 'cover',
|
|
935
935
|
about: 'about',
|
|
936
|
-
|
|
936
|
+
documents: 'documents',
|
|
937
937
|
},
|
|
938
938
|
relation: {
|
|
939
939
|
organization: Organization,
|
|
940
940
|
logo: File,
|
|
941
941
|
cover: File,
|
|
942
942
|
sport: Sport,
|
|
943
|
-
|
|
943
|
+
documents: listField(File),
|
|
944
944
|
}
|
|
945
945
|
})
|
|
946
946
|
], League);
|
|
@@ -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({
|