@bigbinary/neeto-image-uploader-frontend 1.2.10 → 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 +24 -21
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +24 -21
- 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 = {
|
|
@@ -9707,7 +9707,7 @@ function cov_1ukp3guhfu() {
|
|
|
9707
9707
|
column: 15
|
|
9708
9708
|
},
|
|
9709
9709
|
end: {
|
|
9710
|
-
line:
|
|
9710
|
+
line: 8,
|
|
9711
9711
|
column: 3
|
|
9712
9712
|
}
|
|
9713
9713
|
},
|
|
@@ -9717,37 +9717,37 @@ function cov_1ukp3guhfu() {
|
|
|
9717
9717
|
column: 2
|
|
9718
9718
|
},
|
|
9719
9719
|
end: {
|
|
9720
|
-
line:
|
|
9720
|
+
line: 8,
|
|
9721
9721
|
column: 3
|
|
9722
9722
|
}
|
|
9723
9723
|
},
|
|
9724
9724
|
"2": {
|
|
9725
9725
|
start: {
|
|
9726
|
-
line:
|
|
9726
|
+
line: 10,
|
|
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": {
|
|
9735
9735
|
start: {
|
|
9736
|
-
line:
|
|
9736
|
+
line: 11,
|
|
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
|
}
|
|
@@ -9771,7 +9771,7 @@ function cov_1ukp3guhfu() {
|
|
|
9771
9771
|
column: 2
|
|
9772
9772
|
},
|
|
9773
9773
|
end: {
|
|
9774
|
-
line:
|
|
9774
|
+
line: 8,
|
|
9775
9775
|
column: 3
|
|
9776
9776
|
}
|
|
9777
9777
|
},
|
|
@@ -9781,25 +9781,25 @@ function cov_1ukp3guhfu() {
|
|
|
9781
9781
|
name: "(anonymous_1)",
|
|
9782
9782
|
decl: {
|
|
9783
9783
|
start: {
|
|
9784
|
-
line:
|
|
9784
|
+
line: 10,
|
|
9785
9785
|
column: 15
|
|
9786
9786
|
},
|
|
9787
9787
|
end: {
|
|
9788
|
-
line:
|
|
9788
|
+
line: 10,
|
|
9789
9789
|
column: 16
|
|
9790
9790
|
}
|
|
9791
9791
|
},
|
|
9792
9792
|
loc: {
|
|
9793
9793
|
start: {
|
|
9794
|
-
line:
|
|
9794
|
+
line: 11,
|
|
9795
9795
|
column: 2
|
|
9796
9796
|
},
|
|
9797
9797
|
end: {
|
|
9798
|
-
line:
|
|
9799
|
-
column:
|
|
9798
|
+
line: 17,
|
|
9799
|
+
column: 3
|
|
9800
9800
|
}
|
|
9801
9801
|
},
|
|
9802
|
-
line:
|
|
9802
|
+
line: 11
|
|
9803
9803
|
}
|
|
9804
9804
|
},
|
|
9805
9805
|
branchMap: {},
|
|
@@ -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,10 +9836,10 @@ 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("api/direct_uploads", {
|
|
9839
|
+
return axios.post("/api/direct_uploads", {
|
|
9840
9840
|
blob: payload
|
|
9841
9841
|
}, {
|
|
9842
|
-
|
|
9842
|
+
transformRequestCase: false
|
|
9843
9843
|
});
|
|
9844
9844
|
};
|
|
9845
9845
|
cov_1ukp3guhfu().s[2]++;
|
|
@@ -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
|
}
|