@exode-team/react-recorder 1.1.5 → 1.1.7

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/index.js CHANGED
@@ -178,7 +178,11 @@ const decodeAudioLevels = async (blob, barCount = AUDIO_LEVEL_BARS) => {
178
178
  * @author: exode <hello@exode.ru>
179
179
  */
180
180
  const fetchAudioBlob = async (url, signal) => {
181
- const response = await fetch(url, { signal });
181
+ const response = await fetch(url, {
182
+ signal,
183
+ mode: 'cors',
184
+ credentials: 'omit',
185
+ });
182
186
  return response.blob();
183
187
  };
184
188