@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.js CHANGED
@@ -6481,7 +6481,7 @@ class PluginKey {
6481
6481
 
6482
6482
  function cov_1nld5fvgvp() {
6483
6483
  var path = "/Users/abhayvashokan/Documents/Work/Projects/neeto-editor/src/common/constants.js";
6484
- var hash = "8a5f5cc302b1c6d06320b87c32235c37ca96b459";
6484
+ var hash = "d4e7d093e830d64cfef7f578e5be04d3817124d4";
6485
6485
  var global = new Function("return this")();
6486
6486
  var gcv = "__coverage__";
6487
6487
  var coverageData = {
@@ -6514,7 +6514,7 @@ function cov_1nld5fvgvp() {
6514
6514
  },
6515
6515
  end: {
6516
6516
  line: 38,
6517
- column: 75
6517
+ column: 59
6518
6518
  }
6519
6519
  },
6520
6520
  "3": {
@@ -6583,7 +6583,7 @@ function cov_1nld5fvgvp() {
6583
6583
  f: {},
6584
6584
  b: {},
6585
6585
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
6586
- hash: "8a5f5cc302b1c6d06320b87c32235c37ca96b459"
6586
+ hash: "d4e7d093e830d64cfef7f578e5be04d3817124d4"
6587
6587
  };
6588
6588
  var coverage = global[gcv] || (global[gcv] = {});
6589
6589
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -6631,7 +6631,7 @@ var EDITOR_OPTIONS = (cov_1nld5fvgvp().s[0]++, {
6631
6631
  TEXT_COLOR: "text-color"
6632
6632
  });
6633
6633
  var UNSPLASH_BASE_URL = (cov_1nld5fvgvp().s[1]++, "https://api.unsplash.com/search/photos");
6634
- var DIRECT_UPLOAD_ENDPOINT = (cov_1nld5fvgvp().s[2]++, "/neeto_editor/api/v1/direct_uploads");
6634
+ var DIRECT_UPLOAD_ENDPOINT = (cov_1nld5fvgvp().s[2]++, "/api/direct_uploads");
6635
6635
  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@:%_+.~#?&//=]*)/);
6636
6636
  var YOUTUBE_URL_REGEXP = (cov_1nld5fvgvp().s[4]++, /^((?:https?:)?\/\/)?((?:www|m)\.)?((?:youtube\.com|youtu.be))(\/(?:[\w-]+\?v=|embed\/|v\/)?)([\w-]+)(\S+)?$/);
6637
6637
  var VIMEO_URL_REGEXP = (cov_1nld5fvgvp().s[5]++, /((?:http|https):\/\/)?(www\.|player\.)?vimeo\.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|(?:manage\/)?videos?\/|)(\d+)(?:(?:\/|\?h=)(\w+))?(?:|\/\?)/);
@@ -53299,7 +53299,7 @@ var buildImageOptions = function buildImageOptions() {
53299
53299
 
53300
53300
  function cov_110bdredtu() {
53301
53301
  var path = "/Users/abhayvashokan/Documents/Work/Projects/neeto-editor/src/apis/direct_uploads.js";
53302
- var hash = "767f47b2a4d8a73004a6108a8f02aa841520e78d";
53302
+ var hash = "3cb6b392fdac0d88e89453a7d2ef466ad3f49eb4";
53303
53303
  var global = new Function("return this")();
53304
53304
  var gcv = "__coverage__";
53305
53305
  var coverageData = {
@@ -53391,8 +53391,8 @@ function cov_110bdredtu() {
53391
53391
  column: 15
53392
53392
  },
53393
53393
  end: {
53394
- line: 31,
53395
- column: 54
53394
+ line: 33,
53395
+ column: 4
53396
53396
  }
53397
53397
  },
53398
53398
  "9": {
@@ -53401,17 +53401,17 @@ function cov_110bdredtu() {
53401
53401
  column: 2
53402
53402
  },
53403
53403
  end: {
53404
- line: 31,
53405
- column: 54
53404
+ line: 33,
53405
+ column: 4
53406
53406
  }
53407
53407
  },
53408
53408
  "10": {
53409
53409
  start: {
53410
- line: 33,
53410
+ line: 35,
53411
53411
  column: 25
53412
53412
  },
53413
53413
  end: {
53414
- line: 33,
53414
+ line: 35,
53415
53415
  column: 70
53416
53416
  }
53417
53417
  }
@@ -53531,8 +53531,8 @@ function cov_110bdredtu() {
53531
53531
  column: 2
53532
53532
  },
53533
53533
  end: {
53534
- line: 31,
53535
- column: 54
53534
+ line: 33,
53535
+ column: 4
53536
53536
  }
53537
53537
  },
53538
53538
  line: 31
@@ -53638,7 +53638,7 @@ function cov_110bdredtu() {
53638
53638
  "2": [0]
53639
53639
  },
53640
53640
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
53641
- hash: "767f47b2a4d8a73004a6108a8f02aa841520e78d"
53641
+ hash: "3cb6b392fdac0d88e89453a7d2ef466ad3f49eb4"
53642
53642
  };
53643
53643
  var coverage = global[gcv] || (global[gcv] = {});
53644
53644
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -53704,7 +53704,7 @@ var attach = function attach(url, payload) {
53704
53704
  var showToastr = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : (cov_110bdredtu().b[2][0]++, true);
53705
53705
  cov_110bdredtu().f[4]++;
53706
53706
  cov_110bdredtu().s[9]++;
53707
- return axios.post("".concat(url, "/attach"), payload, {
53707
+ return axios.post("/neeto_editor/api/v1/direct_uploads/attach", payload, {
53708
53708
  showToastr: showToastr
53709
53709
  });
53710
53710
  };