@bindu-dashing/dam-solution-v2 5.8.44 → 5.8.45

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.
@@ -18,6 +18,7 @@ import CustomButton from "../common/Button";
18
18
  import TestImagePickerModal from "./TestImagePickerModal";
19
19
  const FiImageIcon = FiImage;
20
20
  function ImagePicker({ id, onSelect, url, }) {
21
+ console.log("id123", id, url);
21
22
  const damConfig = useDamConfig();
22
23
  const { brand } = damConfig;
23
24
  const [picker, setPicker] = useState({});
@@ -83,7 +83,7 @@ export declare const USER_LOGIN = "/users/login/keys";
83
83
  export declare const FETCH_BRAND_USING_SUBDOMAIN = "/brands/subdomain";
84
84
  export declare const CREATE_SUB_BRAND = "/brands/sub-brand";
85
85
  export declare const FETCH_IMAGEPICKERS_URL = "/image-picker";
86
- export declare const FETCH_IMAGEPICKER_URL = "/image-picker/691d2d8c0ea52c157a94521e";
86
+ export declare const FETCH_IMAGEPICKER_URL = "/image-picker/:id";
87
87
  export declare const FETCH_META_FIELD_OPTIONS_URL = "/image-picker/file-filters/:id";
88
88
  export declare const FETCH_META_FIELD_FILES_URL = "/image-picker/files/:id";
89
89
  export declare const UPLOAD_IMAGE_PICKER_LOCAL_FILE_URL = "/image-picker/upload";
@@ -100,7 +100,7 @@ export const FETCH_BRAND_USING_SUBDOMAIN = "/brands/subdomain";
100
100
  export const CREATE_SUB_BRAND = "/brands/sub-brand";
101
101
  //image picker
102
102
  export const FETCH_IMAGEPICKERS_URL = "/image-picker";
103
- export const FETCH_IMAGEPICKER_URL = "/image-picker/691d2d8c0ea52c157a94521e";
103
+ export const FETCH_IMAGEPICKER_URL = "/image-picker/:id";
104
104
  export const FETCH_META_FIELD_OPTIONS_URL = "/image-picker/file-filters/:id";
105
105
  export const FETCH_META_FIELD_FILES_URL = "/image-picker/files/:id";
106
106
  export const UPLOAD_IMAGE_PICKER_LOCAL_FILE_URL = "/image-picker/upload";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bindu-dashing/dam-solution-v2",
3
- "version": "5.8.44",
3
+ "version": "5.8.45",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.0.1",
6
6
  "@emoji-mart/data": "^1.2.1",