react-native-unified-player 1.0.4 → 1.0.5

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.
@@ -1,5 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
4
- export default codegenNativeComponent('RNCVideoView');
4
+ export default codegenNativeComponent('RNCVideoView', {
5
+ interfaceOnly: true,
6
+ paperComponentName: 'RNCVideoView'
7
+ });
5
8
  //# sourceMappingURL=VideoViewNativeComponent.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["codegenNativeComponent"],"sourceRoot":"../../../../src","sources":["spec/fabric/VideoViewNativeComponent.ts"],"mappings":";;AAKA,OAAOA,sBAAsB,MAAM,yDAAyD;AAW5F,eAAeA,sBAAsB,CAAsB,cAAc,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["codegenNativeComponent","interfaceOnly","paperComponentName"],"sourceRoot":"../../../../src","sources":["spec/fabric/VideoViewNativeComponent.ts"],"mappings":";;AAKA,OAAOA,sBAAsB,MAAM,yDAAyD;AAW5F,eAAeA,sBAAsB,CAAsB,cAAc,EAAE;EACzEC,aAAa,EAAE,IAAI;EACnBC,kBAAkB,EAAE;AACtB,CAAC,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"VideoViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../../src/spec/fabric/VideoViewNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EACV,kBAAkB,EAClB,KAAK,EACN,MAAM,2CAA2C,CAAC;AAGnD,KAAK,oBAAoB,GAAG,QAAQ,CAAC;IACnC,OAAO,EAAE,KAAK,CAAC;CAChB,CAAC,CAAC;AAEH,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,OAAO,EAAE,KAAK,CAAC;IACf,eAAe,CAAC,EAAE,kBAAkB,CAAC,oBAAoB,CAAC,CAAC;CAC5D;;AAED,wBAA2E"}
1
+ {"version":3,"file":"VideoViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../../src/spec/fabric/VideoViewNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EACV,kBAAkB,EAClB,KAAK,EACN,MAAM,2CAA2C,CAAC;AAGnD,KAAK,oBAAoB,GAAG,QAAQ,CAAC;IACnC,OAAO,EAAE,KAAK,CAAC;CAChB,CAAC,CAAC;AAEH,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,OAAO,EAAE,KAAK,CAAC;IACf,eAAe,CAAC,EAAE,kBAAkB,CAAC,oBAAoB,CAAC,CAAC;CAC5D;;AAED,wBAGG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-unified-player",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Unified Player",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/module/index.js",
@@ -14,4 +14,7 @@ export interface ViewViewNativeProps extends ViewProps {
14
14
  onNitroIdChange?: DirectEventHandler<OnNitroIdChangeEvent>;
15
15
  }
16
16
 
17
- export default codegenNativeComponent<ViewViewNativeProps>('RNCVideoView');
17
+ export default codegenNativeComponent<ViewViewNativeProps>('RNCVideoView', {
18
+ interfaceOnly: true,
19
+ paperComponentName: 'RNCVideoView',
20
+ });