react-pdf-editor-1 1.2.36 → 1.2.38

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
@@ -30,6 +30,7 @@ var useCreateIframeAndLoadViewer = function useCreateIframeAndLoadViewer(_ref) {
30
30
  onFileFailed = _ref.onFileFailed,
31
31
  defaultAnnotationEditorMode = _ref.defaultAnnotationEditorMode,
32
32
  initialAnnotations = _ref.initialAnnotations,
33
+ notarySeal = _ref.notarySeal,
33
34
  initialSigners = _ref.initialSigners,
34
35
  modifiedUiElements = _ref.modifiedUiElements;
35
36
  var _useState = (0, _react.useState)(false),
@@ -88,6 +89,7 @@ var useCreateIframeAndLoadViewer = function useCreateIframeAndLoadViewer(_ref) {
88
89
  uuid: uuid,
89
90
  customData: customData,
90
91
  initialAnnotations: initialAnnotations,
92
+ notarySeal: notarySeal,
91
93
  initialSigners: initialSigners,
92
94
  modifiedUiElements: modifiedUiElements,
93
95
  authInfo: authInfo,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-pdf-editor-1",
3
- "version": "1.2.36",
3
+ "version": "1.2.38",
4
4
  "description": "## Core",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
package/src/index.js CHANGED
@@ -15,6 +15,7 @@ export const useCreateIframeAndLoadViewer = ({
15
15
  onFileFailed,
16
16
  defaultAnnotationEditorMode,
17
17
  initialAnnotations,
18
+ notarySeal,
18
19
  initialSigners,
19
20
  modifiedUiElements
20
21
  }) => {
@@ -50,7 +51,7 @@ export const useCreateIframeAndLoadViewer = ({
50
51
  // When the iframe is loaded, post the file to it
51
52
  iframe.onload = function() {
52
53
  const targetOrigin = window.location.origin;
53
- const message = { files, fileName, tools, locale, licenseKey, mode, uuid, customData, initialAnnotations, initialSigners, modifiedUiElements, authInfo, defaultAnnotationEditorMode };
54
+ const message = { files, fileName, tools, locale, licenseKey, mode, uuid, customData, initialAnnotations, notarySeal, initialSigners, modifiedUiElements, authInfo, defaultAnnotationEditorMode };
54
55
 
55
56
  // Set up a function to send the message
56
57
  const sendMessage = () => {