stream-chat-react-native 9.7.2 → 9.7.3-beta.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/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": "9.7.2",
4
+ "version": "9.7.3-beta.1",
5
5
  "homepage": "https://www.npmjs.com/package/stream-chat-react-native",
6
6
  "author": {
7
7
  "company": "Stream.io Inc",
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "es6-symbol": "^3.1.3",
32
32
  "mime": "^4.0.7",
33
- "stream-chat-react-native-core": "9.7.2"
33
+ "stream-chat-react-native-core": "9.7.3-beta.1"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@react-native-camera-roll/camera-roll": ">=7.9.0",
@@ -78,11 +78,14 @@
78
78
  }
79
79
  },
80
80
  "scripts": {
81
+ "typecheck": "tsc --noEmit -p tsconfig.json",
81
82
  "prepack": "bash ../scripts/sync-shared-native.sh native-package && cp ../../README.md .",
82
83
  "postpack": "rm README.md && bash ../scripts/clean-shared-native-copies.sh native-package"
83
84
  },
84
85
  "devDependencies": {
85
- "react-native": "0.86.0"
86
+ "@stream-io/typescript-config": "workspace:^",
87
+ "react-native": "0.86.0",
88
+ "typescript": "6.0.3"
86
89
  },
87
90
  "codegenConfig": {
88
91
  "name": "StreamChatReactNativeSpec",
@@ -150,7 +150,7 @@ class _Audio {
150
150
  await verifyAndroidPermissions();
151
151
  } catch (err) {
152
152
  console.warn('Audio Recording Permissions error', err);
153
- return;
153
+ return { accessGranted: false, recording: null };
154
154
  }
155
155
  }
156
156
  try {
@@ -22,6 +22,8 @@ let AudioVideoComponent:
22
22
  };
23
23
  ignoreSilentSwitch?: 'ignore' | 'obey';
24
24
  repeat?: boolean;
25
+ resizeMode?: string;
26
+ rate?: number;
25
27
  }>
26
28
  | undefined;
27
29
 
@@ -40,6 +40,7 @@ export const shareImage = RNShare
40
40
  return true;
41
41
  } catch (error) {
42
42
  console.warn('Sharing failed...', error);
43
+ return false;
43
44
  }
44
45
  }
45
46
  : null;