@arbidocs/react 0.3.106 → 0.3.107

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.cjs CHANGED
@@ -1719,6 +1719,9 @@ function textToArtifact(title, content, opts) {
1719
1719
  title,
1720
1720
  mode: opts?.mode ?? "markdown",
1721
1721
  content,
1722
+ // Content-backed (markdown/text/html) artifacts carry no blob; file_type is
1723
+ // required on ArtifactEvent and defaults to "" for non-image artifacts.
1724
+ file_type: "",
1722
1725
  is_complete: opts?.isComplete ?? true,
1723
1726
  version: opts?.version ?? 1,
1724
1727
  message_ext_id: null,