@byteplus/react-native-live-pull 1.0.2 → 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 (31) hide show
  1. package/android/build.gradle +2 -2
  2. package/android/src/main/java/com/volcengine/velive/rn/pull/VolcLiveModule.java +1 -1
  3. package/android/src/main/java/com/volcengine/velive/rn/pull/VolcViewManager.java +1 -1
  4. package/ios/VeLivePullView.m +1 -1
  5. package/ios/VeLivePullViewManager.m +1 -1
  6. package/lib/commonjs/index.js +12227 -8161
  7. package/lib/module/index.js +12228 -8160
  8. package/lib/typescript/codegen/android/api.d.ts +253 -4
  9. package/lib/typescript/codegen/android/errorcode.d.ts +2 -2
  10. package/lib/typescript/codegen/android/external.d.ts +1 -0
  11. package/lib/typescript/codegen/android/index.d.ts +1 -0
  12. package/lib/typescript/codegen/android/keytype.d.ts +2 -4
  13. package/lib/typescript/codegen/android/types.d.ts +7 -6
  14. package/lib/typescript/codegen/ios/api.d.ts +4 -8
  15. package/lib/typescript/codegen/ios/callback.d.ts +17 -21
  16. package/lib/typescript/codegen/ios/external.d.ts +1 -0
  17. package/lib/typescript/codegen/ios/index.d.ts +1 -0
  18. package/lib/typescript/codegen/ios/keytype.d.ts +0 -30
  19. package/lib/typescript/codegen/ios/types.d.ts +16 -5
  20. package/lib/typescript/codegen/pack/api.d.ts +73 -96
  21. package/lib/typescript/codegen/pack/callback.d.ts +59 -45
  22. package/lib/typescript/codegen/pack/errorcode.d.ts +56 -49
  23. package/lib/typescript/codegen/pack/external.d.ts +1 -0
  24. package/lib/typescript/codegen/pack/index.d.ts +2 -1
  25. package/lib/typescript/codegen/pack/keytype.d.ts +346 -630
  26. package/lib/typescript/codegen/pack/types.d.ts +68 -1
  27. package/lib/typescript/component.d.ts +9 -2
  28. package/lib/typescript/core/keytype.d.ts +1 -1
  29. package/lib/typescript/platforms/ios/extends.d.ts +2 -0
  30. package/package.json +1 -1
  31. package/react-native-velive-pull.podspec +3 -3
@@ -88,6 +88,6 @@ dependencies {
88
88
  // noinspection GradleDynamicVersion
89
89
  implementation "com.facebook.react:react-native:+"
90
90
 
91
- implementation "com.volcengine:VolcApiEngine:1.0.3"
92
- implementation 'com.bytedanceapi:ttsdk-ttlivepull_rtc:1.41.3.4'
91
+ implementation "com.volcengine:VolcApiEngine:1.2.3"
92
+ implementation 'com.bytedanceapi:ttsdk-ttlivepull_rtc:1.41.300.103'
93
93
  }
@@ -12,7 +12,7 @@ import com.facebook.react.bridge.WritableMap;
12
12
  import com.facebook.react.module.annotations.ReactModule;
13
13
  import com.facebook.react.modules.core.DeviceEventManagerModule;
14
14
 
15
- import com.volcengine.VolcApiEngine.runtime.*;
15
+ import com.volcengine.VolcApiEngine.*;
16
16
  import com.volcengine.velive.rn.pull.autogen.MethodSignature;
17
17
 
18
18
  @ReactModule(name = VolcLiveModule.NAME)
@@ -80,7 +80,7 @@ public class VolcViewManager extends SimpleViewManager<VolcView> implements Volc
80
80
  "load",
81
81
  MapBuilder.of(
82
82
  "phasedRegistrationNames",
83
- MapBuilder.of("bubbled", "onLoad")
83
+ MapBuilder.of("bubbled", "onViewLoad")
84
84
  )
85
85
  ).build();
86
86
  }
@@ -30,7 +30,7 @@
30
30
  [self emitLoaded];
31
31
  }
32
32
 
33
- - (void) setOnLoad:(RCTBubblingEventBlock)onLoad {
33
+ - (void) setOnViewLoad:(RCTBubblingEventBlock)onLoad {
34
34
  _onLoad = onLoad;
35
35
 
36
36
  [self emitLoaded];
@@ -19,7 +19,7 @@
19
19
  RCT_EXPORT_MODULE(VolcView)
20
20
 
21
21
  // 导出 events
22
- RCT_EXPORT_VIEW_PROPERTY(onLoad, RCTBubblingEventBlock)
22
+ RCT_EXPORT_VIEW_PROPERTY(onViewLoad, RCTBubblingEventBlock)
23
23
 
24
24
  // 导出 events
25
25
  RCT_CUSTOM_VIEW_PROPERTY(viewId, NSString, VeUIView)