stream-chat-expo 3.10.1 → 4.0.0-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.
Files changed (2) hide show
  1. package/package.json +2 -3
  2. package/src/index.js +0 -5
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": "3.10.1",
4
+ "version": "4.0.0-beta.2",
5
5
  "author": {
6
6
  "company": "Stream.io Inc",
7
7
  "name": "Stream.io Inc"
@@ -10,12 +10,11 @@
10
10
  "main": "src/index.js",
11
11
  "types": "types/index.d.ts",
12
12
  "dependencies": {
13
- "stream-chat-react-native-core": "3.10.1"
13
+ "stream-chat-react-native-core": "4.0.0-beta.2"
14
14
  },
15
15
  "peerDependencies": {
16
16
  "@react-native-community/netinfo": "^6.0.0",
17
17
  "expo": "^41.0.1",
18
- "expo-blur": "^9.0.3",
19
18
  "expo-document-picker": "^9.1.2",
20
19
  "expo-file-system": "^11.0.2",
21
20
  "expo-haptics": "^10.0.0",
package/src/index.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { FlatList } from 'react-native';
3
3
  import NetInfo from '@react-native-community/netinfo';
4
- import { BlurView as ExpoBlurView } from 'expo-blur';
5
4
  import * as DocumentPicker from 'expo-document-picker';
6
5
  import * as FileSystem from 'expo-file-system';
7
6
  import * as Haptics from 'expo-haptics';
@@ -12,10 +11,6 @@ import * as Sharing from 'expo-sharing';
12
11
  import { registerNativeHandlers } from 'stream-chat-react-native-core';
13
12
 
14
13
  registerNativeHandlers({
15
- // eslint-disable-next-line react/display-name
16
- BlurView: ({ blurAmount = 100, blurType = 'dark', style }) => (
17
- <ExpoBlurView intensity={blurAmount} style={style} tint={blurType} />
18
- ),
19
14
  compressImage: async ({ compressImageQuality = 1, uri }) => {
20
15
  const { uri: compressedUri } = await ImageManipulator.manipulateAsync(uri, [], {
21
16
  compress: Math.min(Math.max(0, compressImageQuality), 1),