stream-chat-react-native 5.22.0-beta.7 → 5.22.0-beta.9

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-react-native",
3
3
  "description": "The official React Native SDK for Stream Chat, a service for building chat applications",
4
- "version": "5.22.0-beta.7",
4
+ "version": "5.22.0-beta.9",
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
  "es6-symbol": "^3.1.3",
14
- "stream-chat-react-native-core": "5.22.0-beta.7"
14
+ "stream-chat-react-native-core": "5.22.0-beta.9"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "@react-native-camera-roll/camera-roll": ">=5.0.0",
@@ -78,8 +78,8 @@ export const getPhotos = async ({
78
78
  ...edge.node.image,
79
79
  duration: edge.node.image.playableDuration,
80
80
  // since we include filename, fileSize in the query, we can safely assume it will be defined
81
- filename: edge.node.image.filename as string,
82
- fileSize: edge.node.image.fileSize as number,
81
+ name: edge.node.image.filename as string,
82
+ size: edge.node.image.fileSize as number,
83
83
  source: 'picker' as const,
84
84
  type: edge.node.type,
85
85
  }));