Bump for 0.4.3

This commit is contained in:
Brent Vatne 2015-05-14 18:10:41 -07:00
parent b41a39b7bc
commit 7259555b9c
2 changed files with 6 additions and 6 deletions

View File

@ -1,8 +1,8 @@
var React = require('react-native'); var React = require('react-native');
var NativeModules = require('NativeModules'); var NativeModules = require('NativeModules');
var ReactIOSViewAttributes = require('ReactIOSViewAttributes'); var ReactNativeViewAttributes = require('ReactNativeViewAttributes');
var StyleSheet = require('StyleSheet'); var StyleSheet = require('StyleSheet');
var createReactIOSNativeComponentClass = require('createReactIOSNativeComponentClass'); var createReactIOSNativeComponentClass = require('createReactNativeComponentClass');
var PropTypes = require('ReactPropTypes'); var PropTypes = require('ReactPropTypes');
var StyleSheetPropType = require('StyleSheetPropType'); var StyleSheetPropType = require('StyleSheetPropType');
var VideoResizeMode = require('./VideoResizeMode'); var VideoResizeMode = require('./VideoResizeMode');
@ -33,7 +33,7 @@ var Video = React.createClass({
viewConfig: { viewConfig: {
uiViewClassName: 'UIView', uiViewClassName: 'UIView',
validAttributes: ReactIOSViewAttributes.UIView validAttributes: ReactNativeViewAttributes.UIView
}, },
_onLoadStart(event) { _onLoadStart(event) {
@ -100,7 +100,7 @@ var Video = React.createClass({
}); });
var RCTVideo = createReactIOSNativeComponentClass({ var RCTVideo = createReactIOSNativeComponentClass({
validAttributes: merge(ReactIOSViewAttributes.UIView, validAttributes: merge(ReactNativeViewAttributes.UIView,
{src: {diff: deepDiffer}, resizeMode: true, repeat: true, {src: {diff: deepDiffer}, resizeMode: true, repeat: true,
seek: true, paused: true, muted: true, volume: true, rate: true}), seek: true, paused: true, muted: true, volume: true, rate: true}),
uiViewClassName: 'RCTVideo', uiViewClassName: 'RCTVideo',

View File

@ -1,6 +1,6 @@
{ {
"name": "react-native-video", "name": "react-native-video",
"version": "0.3.6", "version": "0.4.0",
"description": "A <Video /> element for react-native", "description": "A <Video /> element for react-native",
"main": "Video.ios.js", "main": "Video.ios.js",
"author": "Brent Vatne <brentvatne@gmail.com> (https://github.com/brentvatne)", "author": "Brent Vatne <brentvatne@gmail.com> (https://github.com/brentvatne)",
@ -30,6 +30,6 @@
"jest-cli": "0.2.1" "jest-cli": "0.2.1"
}, },
"peerDependencies": { "peerDependencies": {
"react-native": "^0.4.0" "react-native": "^0.4.3"
} }
} }