react-authedmine
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "react-authedmine", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Authedmine from CoinHive.com", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -6,13 +6,2 @@ import React, { Component } from 'react'; | ||
class AuthedMine extends Component { | ||
static propTypes = { | ||
run: PropTypes.bool.isRequired, | ||
siteKey: PropTypes.string, | ||
userName: PropTypes.string, | ||
autoThreads: PropTypes.bool, | ||
threads: PropTypes.number, | ||
throttle: PropTypes.number, | ||
}; | ||
static defaultProps = { | ||
@@ -131,2 +120,13 @@ siteKey: '4JhmNo9o1xspPb3GrouihQ5N7cB0V6EQ', | ||
AuthedMine.propTypes = { | ||
run: PropTypes.bool.isRequired, | ||
siteKey: PropTypes.string, | ||
userName: PropTypes.string, | ||
autoThreads: PropTypes.bool, | ||
threads: PropTypes.number, | ||
throttle: PropTypes.number, | ||
}; | ||
export default AuthedMine; |
9490