@bigbinary/neeto-image-uploader-frontend 1.2.11 → 1.2.12
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/dist/index.cjs.js +14 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +14 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9695,7 +9695,7 @@ function _extends$1() {
|
|
|
9695
9695
|
|
|
9696
9696
|
function cov_1ukp3guhfu() {
|
|
9697
9697
|
var path = "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/apis/direct_uploads.js";
|
|
9698
|
-
var hash = "
|
|
9698
|
+
var hash = "f074c9414e4a1e062399fbde6442c0051712f20c";
|
|
9699
9699
|
var global = new Function("return this")();
|
|
9700
9700
|
var gcv = "__coverage__";
|
|
9701
9701
|
var coverageData = {
|
|
@@ -9727,8 +9727,8 @@ function cov_1ukp3guhfu() {
|
|
|
9727
9727
|
column: 15
|
|
9728
9728
|
},
|
|
9729
9729
|
end: {
|
|
9730
|
-
line:
|
|
9731
|
-
column:
|
|
9730
|
+
line: 17,
|
|
9731
|
+
column: 3
|
|
9732
9732
|
}
|
|
9733
9733
|
},
|
|
9734
9734
|
"3": {
|
|
@@ -9737,17 +9737,17 @@ function cov_1ukp3guhfu() {
|
|
|
9737
9737
|
column: 2
|
|
9738
9738
|
},
|
|
9739
9739
|
end: {
|
|
9740
|
-
line:
|
|
9741
|
-
column:
|
|
9740
|
+
line: 17,
|
|
9741
|
+
column: 3
|
|
9742
9742
|
}
|
|
9743
9743
|
},
|
|
9744
9744
|
"4": {
|
|
9745
9745
|
start: {
|
|
9746
|
-
line:
|
|
9746
|
+
line: 18,
|
|
9747
9747
|
column: 25
|
|
9748
9748
|
},
|
|
9749
9749
|
end: {
|
|
9750
|
-
line:
|
|
9750
|
+
line: 18,
|
|
9751
9751
|
column: 43
|
|
9752
9752
|
}
|
|
9753
9753
|
}
|
|
@@ -9795,8 +9795,8 @@ function cov_1ukp3guhfu() {
|
|
|
9795
9795
|
column: 2
|
|
9796
9796
|
},
|
|
9797
9797
|
end: {
|
|
9798
|
-
line:
|
|
9799
|
-
column:
|
|
9798
|
+
line: 17,
|
|
9799
|
+
column: 3
|
|
9800
9800
|
}
|
|
9801
9801
|
},
|
|
9802
9802
|
line: 11
|
|
@@ -9816,7 +9816,7 @@ function cov_1ukp3guhfu() {
|
|
|
9816
9816
|
},
|
|
9817
9817
|
b: {},
|
|
9818
9818
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
9819
|
-
hash: "
|
|
9819
|
+
hash: "f074c9414e4a1e062399fbde6442c0051712f20c"
|
|
9820
9820
|
};
|
|
9821
9821
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
9822
9822
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -9836,7 +9836,7 @@ cov_1ukp3guhfu().s[0]++;
|
|
|
9836
9836
|
var create = function create(payload) {
|
|
9837
9837
|
cov_1ukp3guhfu().f[0]++;
|
|
9838
9838
|
cov_1ukp3guhfu().s[1]++;
|
|
9839
|
-
return axios.post("
|
|
9839
|
+
return axios.post("/api/direct_uploads", {
|
|
9840
9840
|
blob: payload
|
|
9841
9841
|
}, {
|
|
9842
9842
|
transformRequestCase: false
|
|
@@ -9850,6 +9850,8 @@ var update = function update(_ref) {
|
|
|
9850
9850
|
cov_1ukp3guhfu().s[3]++;
|
|
9851
9851
|
return axios.put("neeto_image_uploader_engine/api/direct_uploads/".concat(id), {
|
|
9852
9852
|
blob: payload
|
|
9853
|
+
}, {
|
|
9854
|
+
transformRequestCase: false
|
|
9853
9855
|
});
|
|
9854
9856
|
};
|
|
9855
9857
|
var directUploadsApi = (cov_1ukp3guhfu().s[4]++, {
|
|
@@ -19525,6 +19527,7 @@ var ImageUploader = function ImageUploader(_ref) {
|
|
|
19525
19527
|
payload = (cov_1avu3clziw().s[27]++, {
|
|
19526
19528
|
id: signedId,
|
|
19527
19529
|
payload: {
|
|
19530
|
+
service_name: "imagekitio",
|
|
19528
19531
|
metadata: {
|
|
19529
19532
|
url: url
|
|
19530
19533
|
}
|