eddyter 1.3.36 → 1.3.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
@@ -1,7 +1,8 @@
1
- import { r, C, p, H, x, s, q, u, w, v } from "./index-455942f2.js";
1
+ import { r, C, w, p, H, s, z, x, q, u, y, v } from "./index-0bc350db.js";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
4
  import "axios";
5
+ import "react-dom";
5
6
  import "@emotion/styled";
6
7
  import "@lexical/html";
7
8
  import "@lexical/react/LexicalCheckListPlugin";
@@ -18,7 +19,6 @@ import "@lexical/react/LexicalTablePlugin";
18
19
  import "@lexical/table";
19
20
  import "@lexical/utils";
20
21
  import "lexical";
21
- import "react-dom";
22
22
  import "@lexical/code";
23
23
  import "@lexical/link";
24
24
  import "@lexical/list";
@@ -38,13 +38,15 @@ import "@lexical/react/useLexicalEditable";
38
38
  export {
39
39
  r as ConfigurableEditor,
40
40
  C as ConfigurableEditorWithAuth,
41
+ w as ContentPreview,
41
42
  p as EditorProvider,
42
43
  H as HtmlViewProvider,
43
- x as defaultEditorConfig,
44
- s as isReactNativeWebView,
44
+ s as LinkPreviewHover,
45
+ z as defaultEditorConfig,
46
+ x as isReactNativeWebView,
45
47
  q as useEditor,
46
48
  u as useHtmlView,
47
- w as useReactNativeBridge,
49
+ y as useReactNativeBridge,
48
50
  v as verifyApiKey
49
51
  };
50
52
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,20 @@
1
+ import { ChartMetadata } from '../nodes/ChartNode';
2
+
3
+ interface ChartGenerationSuccess {
4
+ success: true;
5
+ html: string;
6
+ }
7
+ interface ChartGenerationError {
8
+ success: false;
9
+ error: string;
10
+ }
11
+ type ChartGenerationResult = ChartGenerationSuccess | ChartGenerationError;
12
+ /**
13
+ * Generates chart HTML from metadata by calling the backend API
14
+ */
15
+ export declare function generateChart(metadata: ChartMetadata, apiKey: string | null | undefined): Promise<ChartGenerationResult>;
16
+ /**
17
+ * Generates chart with toast notifications for loading/success/error states
18
+ */
19
+ export declare function generateChartWithToast(metadata: ChartMetadata, apiKey: string | null | undefined): Promise<ChartGenerationResult>;
20
+ export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eddyter",
3
3
  "private": false,
4
- "version": "1.3.36",
4
+ "version": "1.3.38",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@9.0.0",
7
7
  "keywords": [