@byteplus/react-native-live-push 1.1.1-rc.1 → 1.1.2-rc.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.
@@ -191,7 +191,7 @@ export interface VeLivePusherObserver {
191
191
  * @order 7
192
192
  *
193
193
  */
194
- android_onScreenRecording?(): void;
194
+ android_onScreenRecording?(open: boolean): void;
195
195
 
196
196
  /** {en}
197
197
  * @detail callback
@@ -0,0 +1,8 @@
1
+ import type { VeLivePusher } from '../../codegen/android';
2
+ export declare class VeLivePushHelper {
3
+ static pusherMap: WeakMap<VeLivePusher, string>;
4
+ static setPusher(viewId: string, pusher: VeLivePusher): void;
5
+ static removePusher(pusher: VeLivePusher): void;
6
+ static setVeLivePusher(viewId: string, pusher: VeLivePusher): void;
7
+ static removeVeLivePusher(viewId: string): void;
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteplus/react-native-live-push",
3
- "version": "1.1.1-rc.1",
3
+ "version": "1.1.2-rc.0",
4
4
  "peerDependencies": {
5
5
  "react": "*",
6
6
  "react-native": "*"