@v2coding/ui 1.1.12 → 1.1.13

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.
@@ -5159,7 +5159,8 @@ var quillRedefine = function quillRedefine(config) {
5159
5159
  type = upload.type,
5160
5160
  filename = upload.filename,
5161
5161
  beforeUpload = upload.beforeUpload,
5162
- afterUpload = upload.afterUpload;
5162
+ afterUpload = upload.afterUpload,
5163
+ transformRequest = upload.transformRequest;
5163
5164
  var getUrl = url;
5164
5165
 
5165
5166
  if (!Objects.isFunction(getUrl)) {
@@ -5189,7 +5190,7 @@ var quillRedefine = function quillRedefine(config) {
5189
5190
  }), {
5190
5191
  file: file,
5191
5192
  filename: filename
5192
- }).then(function (result) {
5193
+ }, transformRequest).then(function (result) {
5193
5194
  var imageUrl = afterUpload(result);
5194
5195
 
5195
5196
  if (imageUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@v2coding/ui",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "",
5
5
  "main": "dist/v2coding-ui.ssr.js",
6
6
  "browser": "dist/v2coding-ui.esm.js",