stream-chat-expo 9.3.0 → 9.3.1-beta.2
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,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": "9.3.
|
|
4
|
+
"version": "9.3.1-beta.2",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"types": "types/index.d.ts",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"mime": "^4.0.7",
|
|
30
|
-
"stream-chat-react-native-core": "9.3.
|
|
30
|
+
"stream-chat-react-native-core": "9.3.1-beta.2"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"expo": ">=52.0.0",
|
|
34
|
-
"
|
|
34
|
+
"expo-audio": "*",
|
|
35
35
|
"expo-av": "*",
|
|
36
36
|
"expo-clipboard": "*",
|
|
37
37
|
"expo-document-picker": "*",
|
|
@@ -42,16 +42,13 @@
|
|
|
42
42
|
"expo-media-library": "*",
|
|
43
43
|
"expo-sharing": "*",
|
|
44
44
|
"expo-video": "*",
|
|
45
|
-
"
|
|
45
|
+
"react-native": ">=0.76.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependenciesMeta": {
|
|
48
|
-
"expo-av": {
|
|
49
|
-
"optional": true
|
|
50
|
-
},
|
|
51
48
|
"expo-audio": {
|
|
52
49
|
"optional": true
|
|
53
50
|
},
|
|
54
|
-
"expo-
|
|
51
|
+
"expo-av": {
|
|
55
52
|
"optional": true
|
|
56
53
|
},
|
|
57
54
|
"expo-clipboard": {
|
|
@@ -63,26 +60,29 @@
|
|
|
63
60
|
"expo-file-system": {
|
|
64
61
|
"optional": true
|
|
65
62
|
},
|
|
66
|
-
"expo-
|
|
63
|
+
"expo-haptics": {
|
|
64
|
+
"optional": true
|
|
65
|
+
},
|
|
66
|
+
"expo-image-manipulator": {
|
|
67
67
|
"optional": true
|
|
68
68
|
},
|
|
69
69
|
"expo-image-picker": {
|
|
70
70
|
"optional": true
|
|
71
71
|
},
|
|
72
|
-
"expo-
|
|
72
|
+
"expo-media-library": {
|
|
73
73
|
"optional": true
|
|
74
74
|
},
|
|
75
75
|
"expo-sharing": {
|
|
76
76
|
"optional": true
|
|
77
77
|
},
|
|
78
|
-
"expo-
|
|
78
|
+
"expo-video": {
|
|
79
79
|
"optional": true
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"expo": "^53.0.12",
|
|
84
|
-
"expo-
|
|
85
|
-
"expo-
|
|
84
|
+
"expo-audio": "~0.4.6",
|
|
85
|
+
"expo-image-manipulator": "^12.0.5"
|
|
86
86
|
},
|
|
87
87
|
"scripts": {
|
|
88
88
|
"prepack": "bash ../scripts/sync-shared-native.sh expo-package && cp ../../README.md .",
|
|
@@ -104,8 +104,5 @@
|
|
|
104
104
|
"StreamShimmerView": "StreamShimmerViewComponentView"
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
},
|
|
108
|
-
"resolutions": {
|
|
109
|
-
"@types/react": "^19.0.0"
|
|
110
107
|
}
|
|
111
108
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import NativeStreamVideoThumbnail, {
|
|
1
|
+
import NativeStreamVideoThumbnail, {
|
|
2
|
+
type VideoThumbnailResult,
|
|
3
|
+
} from './NativeStreamVideoThumbnail';
|
|
2
4
|
|
|
3
5
|
export type { VideoThumbnailResult } from './NativeStreamVideoThumbnail';
|
|
4
6
|
|
|
@@ -2,8 +2,7 @@ import { createGenerateVideoThumbnails } from 'stream-chat-react-native-core/src
|
|
|
2
2
|
|
|
3
3
|
import { createVideoThumbnails, type VideoThumbnailResult } from '../native/videoThumbnail';
|
|
4
4
|
|
|
5
|
-
export const generateThumbnails: (
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
});
|
|
5
|
+
export const generateThumbnails: (uris: string[]) => Promise<Record<string, VideoThumbnailResult>> =
|
|
6
|
+
createGenerateVideoThumbnails({
|
|
7
|
+
createVideoThumbnails,
|
|
8
|
+
});
|