stream-chat-react-native 8.11.0-beta.1 → 8.11.0
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,12 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stream-chat-react-native",
|
|
3
3
|
"description": "The official React Native SDK for Stream Chat, a service for building chat applications",
|
|
4
|
-
"version": "8.11.0
|
|
4
|
+
"version": "8.11.0",
|
|
5
5
|
"homepage": "https://www.npmjs.com/package/stream-chat-react-native",
|
|
6
6
|
"author": {
|
|
7
7
|
"company": "Stream.io Inc",
|
|
8
8
|
"name": "Stream.io Inc"
|
|
9
9
|
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://github.com/GetStream/stream-chat-react-native.git",
|
|
13
|
+
"directory": "package/native-package"
|
|
14
|
+
},
|
|
10
15
|
"files": [
|
|
11
16
|
"src",
|
|
12
17
|
"types",
|
|
@@ -21,7 +26,7 @@
|
|
|
21
26
|
"dependencies": {
|
|
22
27
|
"es6-symbol": "^3.1.3",
|
|
23
28
|
"mime": "^4.0.7",
|
|
24
|
-
"stream-chat-react-native-core": "8.11.0
|
|
29
|
+
"stream-chat-react-native-core": "8.11.0"
|
|
25
30
|
},
|
|
26
31
|
"peerDependencies": {
|
|
27
32
|
"@react-native-camera-roll/camera-roll": ">=7.8.0",
|
|
@@ -131,6 +131,9 @@ class _Audio {
|
|
|
131
131
|
resumePlayer = async () => {
|
|
132
132
|
await audioRecorderPlayer.resumePlayer();
|
|
133
133
|
};
|
|
134
|
+
seekToPlayer = async (positionInMillis: number) => {
|
|
135
|
+
await audioRecorderPlayer.seekToPlayer(positionInMillis);
|
|
136
|
+
};
|
|
134
137
|
startPlayer = async (uri, _, onPlaybackStatusUpdate) => {
|
|
135
138
|
try {
|
|
136
139
|
const playback = await audioRecorderPlayer.startPlayer(uri);
|