@threedddplus/logoeditor 0.0.152 → 0.0.154

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.
@@ -4381,24 +4381,20 @@ var converterSlice = function converterSlice(set, get) {
4381
4381
  // loadImageFromURL: async (url, canvasToLoad, createCheckerBox) => {
4382
4382
  loadImageFromURL: function () {
4383
4383
  var _loadImageFromURL = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(url) {
4384
- var response, blob;
4384
+ var response;
4385
4385
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
4386
4386
  while (1) switch (_context3.prev = _context3.next) {
4387
4387
  case 0:
4388
4388
  console.log('---.', url);
4389
- // return await requests.get(url + "?timestamp=" + Date.now());
4390
4389
  _context3.next = 3;
4391
4390
  return fetch(url);
4392
4391
  case 3:
4393
4392
  response = _context3.sent;
4394
- _context3.next = 6;
4395
- return response.text();
4396
- case 6:
4397
- blob = _context3.sent;
4398
- use3dddPlus.getState().testSVG(blob);
4393
+ // const blob = await response.text();
4394
+ use3dddPlus.getState().testSVG(response);
4399
4395
  // processImage(blob, 8, canvasToLoad, createCheckerBox);
4400
4396
  // return url;
4401
- case 8:
4397
+ case 5:
4402
4398
  case "end":
4403
4399
  return _context3.stop();
4404
4400
  }