@volcengine/react-native-live-push 1.0.1 → 1.0.3-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.
Files changed (35) hide show
  1. package/README.md +1 -0
  2. package/android/build.gradle +1 -1
  3. package/android/src/main/java/com/volcengine/velive/rn/push/NativeVariableManager.java +1 -1
  4. package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushModule.java +5 -3
  5. package/android/src/main/java/com/volcengine/velive/rn/push/VeLivePushViewManager.java +10 -5
  6. package/ios/VeLivePushView.m +1 -1
  7. package/ios/VeLivePushViewManager.m +5 -1
  8. package/lib/commonjs/index.js +21799 -17839
  9. package/lib/module/index.js +21799 -17832
  10. package/lib/typescript/android/index.d.ts +3 -0
  11. package/lib/typescript/codegen/android/api.d.ts +353 -125
  12. package/lib/typescript/codegen/android/callback.d.ts +36 -5
  13. package/lib/typescript/codegen/android/errorcode.d.ts +12 -0
  14. package/lib/typescript/codegen/android/keytype.d.ts +305 -73
  15. package/lib/typescript/codegen/android/types.d.ts +7 -6
  16. package/lib/typescript/codegen/ios/api.d.ts +81 -118
  17. package/lib/typescript/codegen/ios/callback.d.ts +22 -58
  18. package/lib/typescript/codegen/ios/external.d.ts +1 -0
  19. package/lib/typescript/codegen/ios/index.d.ts +1 -0
  20. package/lib/typescript/codegen/ios/keytype.d.ts +40 -98
  21. package/lib/typescript/codegen/ios/types.d.ts +16 -5
  22. package/lib/typescript/codegen/pack/api.d.ts +1261 -1195
  23. package/lib/typescript/codegen/pack/callback.d.ts +166 -270
  24. package/lib/typescript/codegen/pack/errorcode.d.ts +24 -122
  25. package/lib/typescript/codegen/pack/index.d.ts +1 -1
  26. package/lib/typescript/codegen/pack/keytype.d.ts +1095 -1244
  27. package/lib/typescript/codegen/pack/types.d.ts +67 -0
  28. package/lib/typescript/component.d.ts +10 -3
  29. package/lib/typescript/core/api.d.ts +2 -2
  30. package/lib/typescript/core/callback.d.ts +2 -2
  31. package/lib/typescript/core/errorcode.d.ts +2 -2
  32. package/lib/typescript/core/keytype.d.ts +2 -7
  33. package/lib/typescript/platforms/ios/extends.d.ts +17 -0
  34. package/package.json +7 -4
  35. package/react-native-velive-push.podspec +1 -1
@@ -7,11 +7,13 @@ export type double = number;
7
7
  export type long = number;
8
8
  export type Integer = number;
9
9
  export type Double = number;
10
- export type List<T> = Array<T>;
11
- export type list<T> = Array<T>;
12
- export type ArrayList<T> = Array<T>;
13
- export type Map<K extends keyof any, V> = Record<K, V>;
14
- export type set<T> = Set<T>;
10
+ export type List<T = any> = Array<T>;
11
+ export type list<T = any> = Array<T>;
12
+ export type ArrayList<T = any> = Array<T>;
13
+ export type Map<K extends keyof any = any, V = any> = Record<K, V>;
14
+ export type HashMap<K extends keyof any = any, V = any> = Record<K, V>;
15
+ export type Pair<K extends keyof any = any, V = any> = Record<K, V>;
16
+ export type set<T = any> = Set<T>;
15
17
  export type map = Object;
16
18
  export type struct = Object;
17
19
  export type Bitmap = unknown;
@@ -26,7 +28,6 @@ export type View = unknown;
26
28
  export type Intent = unknown;
27
29
  export type Context = unknown;
28
30
  export type Bundle = any;
29
- export type Error = any;
30
31
  export type JSONObject = any;
31
32
  export type LiveSdkSetting = unknown;
32
33
  export type NativeImageResource = unknown;