@bigbinary/neeto-image-uploader-frontend 1.5.6 → 1.5.7

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.js CHANGED
@@ -2215,7 +2215,6 @@ var DEFAULT_CROP_CONFIG = {
2215
2215
  x: 0,
2216
2216
  y: 0
2217
2217
  };
2218
- var IMAGE_KIT_DEFAULT_FOLDER = process.env.IMAGE_KIT_DEFAULT_FOLDER;
2219
2218
  var INFINITE_SCROLLER_SIZES = [{
2220
2219
  columns: 4,
2221
2220
  gutter: 0
@@ -3396,7 +3395,7 @@ var useImageUploader = function useImageUploader(_ref) {
3396
3395
  xhr: XHRProgress,
3397
3396
  file: file,
3398
3397
  fileName: file.name,
3399
- folder: globalProps.imagekit.folder || IMAGE_KIT_DEFAULT_FOLDER,
3398
+ folder: globalProps.imagekit.folder,
3400
3399
  customMetadata: {
3401
3400
  organizationKey: globalProps.organization.publicApiKey,
3402
3401
  appName: globalProps.appName
@@ -4820,7 +4819,7 @@ var uploadWithImageKit = function uploadWithImageKit(file) {
4820
4819
  return imagekit.upload({
4821
4820
  file: file,
4822
4821
  fileName: UNSPLASH_DEFAULT_NAME,
4823
- folder: globalProps.imagekit.folder || IMAGE_KIT_DEFAULT_FOLDER,
4822
+ folder: globalProps.imagekit.folder,
4824
4823
  customMetadata: {
4825
4824
  organizationKey: globalProps.organization.publicApiKey,
4826
4825
  appName: globalProps.appName
@@ -5348,7 +5347,7 @@ var useImageUpload = function useImageUpload() {
5348
5347
  xhr: XHRProgress,
5349
5348
  file: file,
5350
5349
  fileName: file.name,
5351
- folder: globalProps.imagekit.folder || IMAGE_KIT_DEFAULT_FOLDER,
5350
+ folder: globalProps.imagekit.folder,
5352
5351
  customMetadata: {
5353
5352
  organizationKey: globalProps.organization.publicApiKey,
5354
5353
  appName: globalProps.appName