@mtgame/core 0.0.74 → 0.0.75
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 +1 -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/api/file-api.js +3 -3
- package/esm5/api/file-api.js +2 -2
- package/fesm2015/mtgame-core.js +2 -2
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +1 -1
- package/fesm5/mtgame-core.js.map +1 -1
- package/package.json +1 -1
package/fesm5/mtgame-core.js
CHANGED
|
@@ -2596,7 +2596,7 @@ var FileApi = /** @class */ (function () {
|
|
|
2596
2596
|
return __generator(this, function (_a) {
|
|
2597
2597
|
params = new HttpParams();
|
|
2598
2598
|
if (width && height) {
|
|
2599
|
-
params.set('width', width.toString()).set('height', height.toString());
|
|
2599
|
+
params = params.set('width', width.toString()).set('height', height.toString());
|
|
2600
2600
|
}
|
|
2601
2601
|
formData = new FormData();
|
|
2602
2602
|
formData.append('file', fileData, filename);
|