@searpent/react-image-annotate 2.0.39 → 2.0.40

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.
@@ -797,7 +797,7 @@ var examplePhotos = [{
797
797
  },
798
798
  "text": "[{\"key\":\"articleType\",\"value\":\"ads\"}, {\"key\":\"section\",\"value\":\"last page\"}]",
799
799
  "groupId": "1",
800
- "id": "aba453dd-f870-4510-ae40-a19eb52eb7d6"
800
+ "id": "2615bf87-7247-4bde-a0f9-45413034a6a6"
801
801
  }]
802
802
  }]
803
803
  },
@@ -167,7 +167,10 @@ export var Annotator = function Annotator(_ref) {
167
167
  }
168
168
 
169
169
  _context.next = 4;
170
- return onSave(state.images);
170
+ return onSave({
171
+ images: state.images,
172
+ albumMetadata: state.albumMetadata
173
+ });
171
174
 
172
175
  case 4:
173
176
  dispatchToReducer({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@searpent/react-image-annotate",
3
- "version": "2.0.39",
3
+ "version": "2.0.40",
4
4
  "dependencies": {
5
5
  "@editorjs/editorjs": "^2.25.0",
6
6
  "@editorjs/paragraph": "^2.8.0",