@factorialco/f0-react 2.41.4 → 2.41.5

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/ai.d.ts CHANGED
@@ -4294,8 +4294,10 @@ declare module "@tiptap/core" {
4294
4294
 
4295
4295
  declare module "@tiptap/core" {
4296
4296
  interface Commands<ReturnType> {
4297
- transcript: {
4298
- insertTranscript: (data: TranscriptData) => ReturnType;
4297
+ videoEmbed: {
4298
+ setVideoEmbed: (options: {
4299
+ src: string;
4300
+ }) => ReturnType;
4299
4301
  };
4300
4302
  }
4301
4303
  }
@@ -4303,10 +4305,8 @@ declare module "@tiptap/core" {
4303
4305
 
4304
4306
  declare module "@tiptap/core" {
4305
4307
  interface Commands<ReturnType> {
4306
- videoEmbed: {
4307
- setVideoEmbed: (options: {
4308
- src: string;
4309
- }) => ReturnType;
4308
+ transcript: {
4309
+ insertTranscript: (data: TranscriptData) => ReturnType;
4310
4310
  };
4311
4311
  }
4312
4312
  }
@@ -8764,8 +8764,10 @@ declare module "@tiptap/core" {
8764
8764
 
8765
8765
  declare module "@tiptap/core" {
8766
8766
  interface Commands<ReturnType> {
8767
- transcript: {
8768
- insertTranscript: (data: TranscriptData) => ReturnType;
8767
+ videoEmbed: {
8768
+ setVideoEmbed: (options: {
8769
+ src: string;
8770
+ }) => ReturnType;
8769
8771
  };
8770
8772
  }
8771
8773
  }
@@ -8773,10 +8775,8 @@ declare module "@tiptap/core" {
8773
8775
 
8774
8776
  declare module "@tiptap/core" {
8775
8777
  interface Commands<ReturnType> {
8776
- videoEmbed: {
8777
- setVideoEmbed: (options: {
8778
- src: string;
8779
- }) => ReturnType;
8778
+ transcript: {
8779
+ insertTranscript: (data: TranscriptData) => ReturnType;
8780
8780
  };
8781
8781
  }
8782
8782
  }
package/dist/f0.d.ts CHANGED
@@ -15588,8 +15588,10 @@ declare module "@tiptap/core" {
15588
15588
 
15589
15589
  declare module "@tiptap/core" {
15590
15590
  interface Commands<ReturnType> {
15591
- transcript: {
15592
- insertTranscript: (data: TranscriptData) => ReturnType;
15591
+ videoEmbed: {
15592
+ setVideoEmbed: (options: {
15593
+ src: string;
15594
+ }) => ReturnType;
15593
15595
  };
15594
15596
  }
15595
15597
  }
@@ -15597,10 +15599,8 @@ declare module "@tiptap/core" {
15597
15599
 
15598
15600
  declare module "@tiptap/core" {
15599
15601
  interface Commands<ReturnType> {
15600
- videoEmbed: {
15601
- setVideoEmbed: (options: {
15602
- src: string;
15603
- }) => ReturnType;
15602
+ transcript: {
15603
+ insertTranscript: (data: TranscriptData) => ReturnType;
15604
15604
  };
15605
15605
  }
15606
15606
  }
package/dist/f0.js CHANGED
@@ -63163,7 +63163,7 @@ function XG(r) {
63163
63163
  for (const Lt of Object.keys(Oe))
63164
63164
  Oe[Lt] === null && (Oe[Lt] = void 0);
63165
63165
  const ht = await s(Oe);
63166
- ht.success ? (X.reset(Be), xt(), mt(ht.message), Ye("success"), G.current = setTimeout(() => {
63166
+ ht.success ? (X.reset(X.getValues()), xt(), mt(ht.message), Ye("success"), G.current = setTimeout(() => {
63167
63167
  Ye("idle"), mt(void 0), G.current = null;
63168
63168
  }, O ?? 2e3)) : (Ye("idle"), ht.errors && Object.entries(ht.errors).forEach(([Lt, Ht]) => {
63169
63169
  X.setError(Lt, { message: Ht });
@@ -881,8 +881,10 @@ declare module "@tiptap/core" {
881
881
 
882
882
  declare module "@tiptap/core" {
883
883
  interface Commands<ReturnType> {
884
- transcript: {
885
- insertTranscript: (data: TranscriptData) => ReturnType;
884
+ videoEmbed: {
885
+ setVideoEmbed: (options: {
886
+ src: string;
887
+ }) => ReturnType;
886
888
  };
887
889
  }
888
890
  }
@@ -890,10 +892,8 @@ declare module "@tiptap/core" {
890
892
 
891
893
  declare module "@tiptap/core" {
892
894
  interface Commands<ReturnType> {
893
- videoEmbed: {
894
- setVideoEmbed: (options: {
895
- src: string;
896
- }) => ReturnType;
895
+ transcript: {
896
+ insertTranscript: (data: TranscriptData) => ReturnType;
897
897
  };
898
898
  }
899
899
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "2.41.4",
3
+ "version": "2.41.5",
4
4
  "private": false,
5
5
  "files": [
6
6
  "assets",