@threedddplus/logoeditor 0.0.206 → 0.0.208
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/components/customToast/customToast.d.ts +1 -1
- package/dist/logoeditor.cjs.development.js +7 -2
- package/dist/logoeditor.cjs.development.js.map +1 -1
- package/dist/logoeditor.cjs.production.min.js +1 -1
- package/dist/logoeditor.cjs.production.min.js.map +1 -1
- package/dist/logoeditor.esm.js +7 -2
- package/dist/logoeditor.esm.js.map +1 -1
- package/package.json +133 -132
package/dist/logoeditor.esm.js
CHANGED
@@ -1765,6 +1765,11 @@ var SnapToCenter = function SnapToCenter(props) {
|
|
1765
1765
|
};
|
1766
1766
|
|
1767
1767
|
function CustomToast(type, message, toastId, style) {
|
1768
|
+
var _C = toast.isActive(toastId);
|
1769
|
+
console.log(_C);
|
1770
|
+
if (_C) {
|
1771
|
+
return React.createElement(React.Fragment, null);
|
1772
|
+
}
|
1768
1773
|
switch (type) {
|
1769
1774
|
case 'info':
|
1770
1775
|
return toast.info(toastGen({
|
@@ -4219,10 +4224,10 @@ var converterSlice = function converterSlice(set, get) {
|
|
4219
4224
|
case 0:
|
4220
4225
|
formData = new FormData();
|
4221
4226
|
formData.append('file', aiFile);
|
4222
|
-
url =
|
4227
|
+
url = process.env.REACT_APP_MAGENTO_URL + '/rest/V1/file-conversion';
|
4223
4228
|
config = {
|
4224
4229
|
headers: {
|
4225
|
-
Authorization:
|
4230
|
+
Authorization: "Bearer " + process.env.REACT_APP_MAGENTO_TOKEN,
|
4226
4231
|
'Content-Type': 'multipart/form-data'
|
4227
4232
|
}
|
4228
4233
|
};
|