Closed MartinCupela closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 85.52%. Comparing base (
238e801
) to head (e45e57f
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Size Change: -67.2 kB (-8.95%) â
Total Size: 684 kB
Filename | Size | Change | |
---|---|---|---|
./dist/components/Emojis/EmojiPicker.js |
0 B | -985 B (removed) | đ |
./dist/components/Emojis/index.cjs.js |
0 B | -3.59 kB (removed) | đ |
./dist/components/Emojis/index.js |
0 B | -51 B (removed) | đ |
./dist/components/MediaRecorder/classes/MediaRecorderController.js |
2.67 kB | -70 B (-2.56%) | |
./dist/components/MediaRecorder/hooks/useMediaRecorder.js |
705 B | +1 B (+0.14%) | |
./dist/components/MediaRecorder/transcode/index.js |
267 B | -77 B (-22.38%) | đ |
./dist/components/MediaRecorder/transcode/mp3.js |
0 B | -753 B (removed) | đ |
./dist/components/MessageInput/icons.js |
2.42 kB | -254 B (-9.51%) | đ |
./dist/index.cjs.js |
389 kB | -69 kB (-15.08%) | đ |
./dist/plugins/Emojis/EmojiPicker.js |
983 B | +983 B (new file) | đ |
./dist/plugins/Emojis/icons.js |
436 B | +436 B (new file) | đ |
./dist/plugins/Emojis/index.cjs.js |
3.59 kB | +3.59 kB (new file) | đ |
./dist/plugins/Emojis/index.js |
74 B | +74 B (new file) | đ |
./dist/plugins/encoders/mp3.cjs.js |
1.71 kB | +1.71 kB (new file) | đ |
./dist/plugins/encoders/mp3.js |
780 B | +780 B (new file) | đ |
:tada: This PR is included in version 12.0.0-rc.3 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
đ¯ Goal
Make lamejs a peer dependency so that the source code is not bundled within the integrator application source code. This is to prevent issues when integrators do not want to bundle code issued under LGPL license.
đ Implementation details
Emojis and mp3 encoding function have been moved to separate
plugins
folder. However, the emojis import path stays the same.A new audio recording configuration parameter has been introduced -
encoder
- to allow integrators to plug in the MP3 or other encoder.đ¨ UI Changes
None
BREAKING CHANGE: MP3 audio encoder has to be explicitly imported and used as a plugin for audio recordings. The default audio recording format is audio/wav. BREAKING CHANGE: @breezystack/lamejs became a peer dependency and has to be installed by the integrator so that the MP3 audio encoder can work properly.