tiptap-notion-editor 0.6.1 → 0.6.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.
@@ -48,7 +48,7 @@ export interface UploadOptions {
48
48
  * @param {AbortSignal} signal - Signal that can be used to abort the upload
49
49
  * @returns {Promise<string>} Promise resolving to the URL of the uploaded file
50
50
  */
51
- upload: (file: File, onProgress: (event: {
51
+ upload?: (file: File, onProgress: (event: {
52
52
  progress: number;
53
53
  }) => void, signal: AbortSignal) => Promise<string>;
54
54
  /**