@fileverse-dev/ddoc 2.2.9-update-image-arch-1 → 2.2.9-update-image-arch-3

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/README.md CHANGED
@@ -107,7 +107,8 @@ The `DdocProps` interface is a TypeScript interface that defines the properties
107
107
  | `setCharacterCount` | `React.Dispatch<SetStateAction<number>>` | Updates character count |
108
108
  | `setWordCount` | `React.Dispatch<SetStateAction<number>>` | Updates word count |
109
109
  | `ensResolutionUrl` | `string` | URL for ENS name resolution |
110
- | `secureImageUploadUrl` | `string` | URL for secure image uploads |
110
+ | `ipfsImageUploadFn` | ` (file: File) => Promise<IpfsImageUploadResponse>` | function for secure image uploads |
111
+ | `ipfsImageFetchFn` | ` (_data: IpfsImageFetchPayload) => Promise<{ url: string;file: File;}>` | function for fetch secure image from IPFS |
111
112
  | `onError` | `(error: string) => void` | General error handler |
112
113
  | `onInlineComment` | `() => void` | Callback for inline comments |
113
114
  | `onMarkdownExport` | `() => void` | Callback for markdown export |
@@ -1,4 +1,4 @@
1
- import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-CUZ6kcHQ.mjs";
1
+ import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-B94UPSTo.mjs";
2
2
  class S extends p {
3
3
  constructor({ callbackSelector: r, cause: a, data: n, extraData: i, sender: f, urls: t }) {
4
4
  var o;