@brainfish-ai/components 0.8.2 → 0.9.0

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.
@@ -2899,7 +2899,7 @@ function requirePrismCore () {
2899
2899
  if (typeof document === 'undefined') {
2900
2900
  return null;
2901
2901
  }
2902
- if ('currentScript' in document && 1 < 2 /* hack to trip TS' flow analysis */) {
2902
+ if (document.currentScript && document.currentScript.tagName === 'SCRIPT' && 1 < 2 /* hack to trip TS' flow analysis */) {
2903
2903
  return /** @type {any} */ (document.currentScript);
2904
2904
  }
2905
2905
 
@@ -39490,4 +39490,4 @@ const FormattedMessage = memo(({ message, isStreaming, redirectRules = [] }) =>
39490
39490
  FormattedMessage.displayName = "FormattedMessage";
39491
39491
 
39492
39492
  export { CodeBlock as C, FormattedMessage as F, MemoizedReactMarkdown as M, ZoomableImage as Z, MermaidDiagram as a, getDefaultExportFromCjs as g };
39493
- //# sourceMappingURL=FormattedMessage.DPRps9mh.js.map
39493
+ //# sourceMappingURL=FormattedMessage.aTdTW_T0.js.map