stream-chat-expo 8.6.0 → 8.6.1

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/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
  [![NPM](https://img.shields.io/npm/v/stream-chat-react-native.svg)](https://www.npmjs.com/package/stream-chat-react-native)
11
11
  [![Build Status](https://github.com/GetStream/stream-chat-react-native/actions/workflows/release.yml/badge.svg)](https://github.com/GetStream/stream-chat-react-native/actions)
12
12
  [![Component Reference](https://img.shields.io/badge/docs-component%20reference-blue.svg)](https://getstream.io/chat/docs/sdk/reactnative)
13
- ![JS Bundle Size](https://img.shields.io/badge/js_bundle_size-289%20KB-blue)
13
+ ![JS Bundle Size](https://img.shields.io/badge/js_bundle_size-290%20KB-blue)
14
14
 
15
15
  <img align="right" src="https://getstream.imgix.net/images/ios-chat-tutorial/iphone_chat_art@3x.png?auto=format,enhance" width="50%" />
16
16
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stream-chat-expo",
3
3
  "description": "The official Expo SDK for Stream Chat, a service for building chat applications",
4
- "version": "8.6.0",
4
+ "version": "8.6.1",
5
5
  "author": {
6
6
  "company": "Stream.io Inc",
7
7
  "name": "Stream.io Inc"
@@ -11,7 +11,7 @@
11
11
  "types": "types/index.d.ts",
12
12
  "dependencies": {
13
13
  "mime": "^4.0.7",
14
- "stream-chat-react-native-core": "8.6.0"
14
+ "stream-chat-react-native-core": "8.6.1"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "expo": ">=51.0.0",
@@ -235,7 +235,6 @@ class ExpoAudioRecordingAdapter {
235
235
  clearInterval(this.recordingStateInterval);
236
236
  await this.recording.stop();
237
237
  this.uri = this.recording.uri;
238
- this.recording.release();
239
238
  };
240
239
 
241
240
  getURI = () => this.uri;
@@ -69,7 +69,9 @@ class ExpoAudioSoundAdapter {
69
69
  initialStatus,
70
70
  onPlaybackStatusUpdate: (playbackStatus: PlaybackStatus) => void,
71
71
  ) {
72
- this.player = expoCreateSoundPlayer?.(source, initialStatus.progressUpdateIntervalMillis);
72
+ this.player = expoCreateSoundPlayer?.(source, {
73
+ updateInterval: initialStatus.progressUpdateIntervalMillis,
74
+ });
73
75
  this.onPlaybackStatusUpdate = (playbackStatus: ExpoAudioPlaybackStatus) => {
74
76
  onPlaybackStatusUpdate(expoAudioToExpoAvStatusAdapter(playbackStatus));
75
77
  if (playbackStatus.didJustFinish) {