@arkitektbedriftene/fe-lib 2.0.7 → 2.0.8

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.
@@ -14,7 +14,7 @@ export declare const stateToHTML: (state: SerializedEditorState | string | null
14
14
  export declare const syncStateToHTML: (state: SerializedEditorState | string | null | undefined, nodes: CreateEditorArgs["nodes"], options?: {
15
15
  maxLines?: number | null;
16
16
  onlyMainContent?: boolean;
17
- }) => Promise<{
17
+ }) => {
18
18
  html: string;
19
19
  trimCount: number;
20
- }>;
20
+ };
@@ -118,7 +118,7 @@ const sr = ({
118
118
  return i.read(() => {
119
119
  l = St(i);
120
120
  }), { html: l, trimCount: n };
121
- }, In = async (t, r, e) => {
121
+ }, In = (t, r, e) => {
122
122
  let n = 0;
123
123
  const i = Nt({
124
124
  nodes: r,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkitektbedriftene/fe-lib",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {