l-min-components 1.7.1318 → 1.7.1319

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "1.7.1318",
3
+ "version": "1.7.1319",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -58,7 +58,7 @@ export { default as useAudioPlayer } from "./useAudioPlayer";
58
58
  export { default as AudioWaveComponent } from "./useAudioPlayer/audioWave";
59
59
  export { default as InputEmoji } from "./InputEmoji";
60
60
  export { default as AIAnalysis } from "./AIAnalysis";
61
- export { default as aiAnalysisUtils } from "../utils/aiAnalysisUtils";
61
+ export { default as useAiUtils } from "../utils/useAiUtils";
62
62
  export { default as useAudioRecorder } from "../hooks/recorder-kit";
63
63
  export { default as useCookiePolling } from "../hooks/utils/cookiePolling";
64
64
  export { default as convertBlobToWav } from "../utils/webm2wav";
@@ -1,4 +1,4 @@
1
- export function getResponse(model) {
1
+ function getResponse(model) {
2
2
  const referenceText = model?.Reference;
3
3
 
4
4
  if (referenceText) {
@@ -44,4 +44,8 @@ const setupAnalysis = (data, otherValues = {}) => {
44
44
  return null;
45
45
  };
46
46
 
47
- export default setupAnalysis;
47
+ const useAiUtils = () => {
48
+ return { setupAnalysis, getResponse };
49
+ };
50
+
51
+ export default useAiUtils;