@bigbinary/neeto-editor 1.27.0-beta.1 → 1.27.0-beta.2

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/index.cjs.js CHANGED
@@ -6509,7 +6509,7 @@ class PluginKey {
6509
6509
 
6510
6510
  function cov_1nld5fvgvp() {
6511
6511
  var path = "/Users/abhayvashokan/Documents/Work/Projects/neeto-editor/src/common/constants.js";
6512
- var hash = "8a5f5cc302b1c6d06320b87c32235c37ca96b459";
6512
+ var hash = "d4e7d093e830d64cfef7f578e5be04d3817124d4";
6513
6513
  var global = new Function("return this")();
6514
6514
  var gcv = "__coverage__";
6515
6515
  var coverageData = {
@@ -6542,7 +6542,7 @@ function cov_1nld5fvgvp() {
6542
6542
  },
6543
6543
  end: {
6544
6544
  line: 38,
6545
- column: 75
6545
+ column: 59
6546
6546
  }
6547
6547
  },
6548
6548
  "3": {
@@ -6611,7 +6611,7 @@ function cov_1nld5fvgvp() {
6611
6611
  f: {},
6612
6612
  b: {},
6613
6613
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
6614
- hash: "8a5f5cc302b1c6d06320b87c32235c37ca96b459"
6614
+ hash: "d4e7d093e830d64cfef7f578e5be04d3817124d4"
6615
6615
  };
6616
6616
  var coverage = global[gcv] || (global[gcv] = {});
6617
6617
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -6659,7 +6659,7 @@ var EDITOR_OPTIONS = (cov_1nld5fvgvp().s[0]++, {
6659
6659
  TEXT_COLOR: "text-color"
6660
6660
  });
6661
6661
  var UNSPLASH_BASE_URL = (cov_1nld5fvgvp().s[1]++, "https://api.unsplash.com/search/photos");
6662
- var DIRECT_UPLOAD_ENDPOINT = (cov_1nld5fvgvp().s[2]++, "/neeto_editor/api/v1/direct_uploads");
6662
+ var DIRECT_UPLOAD_ENDPOINT = (cov_1nld5fvgvp().s[2]++, "/api/direct_uploads");
6663
6663
  var URL_REGEXP = (cov_1nld5fvgvp().s[3]++, /[(http(s)?)://(www.)?a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)/);
6664
6664
  var YOUTUBE_URL_REGEXP = (cov_1nld5fvgvp().s[4]++, /^((?:https?:)?\/\/)?((?:www|m)\.)?((?:youtube\.com|youtu.be))(\/(?:[\w-]+\?v=|embed\/|v\/)?)([\w-]+)(\S+)?$/);
6665
6665
  var VIMEO_URL_REGEXP = (cov_1nld5fvgvp().s[5]++, /((?:http|https):\/\/)?(www\.|player\.)?vimeo\.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|(?:manage\/)?videos?\/|)(\d+)(?:(?:\/|\?h=)(\w+))?(?:|\/\?)/);
@@ -53327,7 +53327,7 @@ var buildImageOptions = function buildImageOptions() {
53327
53327
 
53328
53328
  function cov_110bdredtu() {
53329
53329
  var path = "/Users/abhayvashokan/Documents/Work/Projects/neeto-editor/src/apis/direct_uploads.js";
53330
- var hash = "767f47b2a4d8a73004a6108a8f02aa841520e78d";
53330
+ var hash = "3cb6b392fdac0d88e89453a7d2ef466ad3f49eb4";
53331
53331
  var global = new Function("return this")();
53332
53332
  var gcv = "__coverage__";
53333
53333
  var coverageData = {
@@ -53419,8 +53419,8 @@ function cov_110bdredtu() {
53419
53419
  column: 15
53420
53420
  },
53421
53421
  end: {
53422
- line: 31,
53423
- column: 54
53422
+ line: 33,
53423
+ column: 4
53424
53424
  }
53425
53425
  },
53426
53426
  "9": {
@@ -53429,17 +53429,17 @@ function cov_110bdredtu() {
53429
53429
  column: 2
53430
53430
  },
53431
53431
  end: {
53432
- line: 31,
53433
- column: 54
53432
+ line: 33,
53433
+ column: 4
53434
53434
  }
53435
53435
  },
53436
53436
  "10": {
53437
53437
  start: {
53438
- line: 33,
53438
+ line: 35,
53439
53439
  column: 25
53440
53440
  },
53441
53441
  end: {
53442
- line: 33,
53442
+ line: 35,
53443
53443
  column: 70
53444
53444
  }
53445
53445
  }
@@ -53559,8 +53559,8 @@ function cov_110bdredtu() {
53559
53559
  column: 2
53560
53560
  },
53561
53561
  end: {
53562
- line: 31,
53563
- column: 54
53562
+ line: 33,
53563
+ column: 4
53564
53564
  }
53565
53565
  },
53566
53566
  line: 31
@@ -53666,7 +53666,7 @@ function cov_110bdredtu() {
53666
53666
  "2": [0]
53667
53667
  },
53668
53668
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
53669
- hash: "767f47b2a4d8a73004a6108a8f02aa841520e78d"
53669
+ hash: "3cb6b392fdac0d88e89453a7d2ef466ad3f49eb4"
53670
53670
  };
53671
53671
  var coverage = global[gcv] || (global[gcv] = {});
53672
53672
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -53732,7 +53732,7 @@ var attach = function attach(url, payload) {
53732
53732
  var showToastr = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : (cov_110bdredtu().b[2][0]++, true);
53733
53733
  cov_110bdredtu().f[4]++;
53734
53734
  cov_110bdredtu().s[9]++;
53735
- return axios__default["default"].post("".concat(url, "/attach"), payload, {
53735
+ return axios__default["default"].post("/neeto_editor/api/v1/direct_uploads/attach", payload, {
53736
53736
  showToastr: showToastr
53737
53737
  });
53738
53738
  };