diff --git a/.nvmrc b/.nvmrc index d60d573ec..5a6019969 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16.19.0 \ No newline at end of file +v22.16.0 \ No newline at end of file diff --git a/packages/api/src/EmbeddedChatApi.ts b/packages/api/src/EmbeddedChatApi.ts index 72e25a046..7feca230c 100644 --- a/packages/api/src/EmbeddedChatApi.ts +++ b/packages/api/src/EmbeddedChatApi.ts @@ -589,7 +589,7 @@ export default class EmbeddedChatApi { ); return await messages.json(); } catch (err) { - console.log(err); + console.error(err); } } @@ -630,7 +630,7 @@ export default class EmbeddedChatApi { ); return await messages.json(); } catch (err) { - console.log(err); + console.error(err); } } @@ -650,7 +650,7 @@ export default class EmbeddedChatApi { ); return await messages.json(); } catch (err) { - console.log(err); + console.error(err); } } @@ -671,7 +671,7 @@ export default class EmbeddedChatApi { ); return await roles.json(); } catch (err) { - console.log(err); + console.error(err); } } @@ -691,7 +691,7 @@ export default class EmbeddedChatApi { ); return await roles.json(); } catch (err) { - console.log(err); + console.error(err); } } @@ -1044,7 +1044,7 @@ export default class EmbeddedChatApi { }); return await response.json(); } catch (err) { - console.log(err); + console.error(err); } } @@ -1075,7 +1075,7 @@ export default class EmbeddedChatApi { }).then((r) => r.json()); return response; } catch (err) { - console.log(err); + console.error(err); } } diff --git a/packages/react/src/views/ChatInput/AudioMessageRecorder.js b/packages/react/src/views/ChatInput/AudioMessageRecorder.js index 35e8063a5..99d330a2e 100644 --- a/packages/react/src/views/ChatInput/AudioMessageRecorder.js +++ b/packages/react/src/views/ChatInput/AudioMessageRecorder.js @@ -75,7 +75,7 @@ const AudioMessageRecorder = (props) => { }, 1000) ); } catch (error) { - console.log(error); + console.error(error); setRecordState('idle'); } };