Commit d48bce8f authored by Marek Kotewicz's avatar Marek Kotewicz
Browse files

version 8

parent 30d69b67
......@@ -90,7 +90,7 @@ android {
applicationId "com.nativesigner"
minSdkVersion 16
targetSdkVersion 22
versionCode 7
versionCode 8
versionName "1.0b"
ndk {
abiFilters "armeabi-v7a", "x86"
......
......@@ -448,7 +448,7 @@ __d(function(e,t,n,o){function r(e){var t=e.navigationState,n=e.selector,o=e.sta
__d(function(e,t,r,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var s=t(259),o=babelHelpers.interopRequireDefault(s),n=t(12),i=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){return o.default.createElement(n.Text,{style:this.props.selected?p.selected:p.normal},this.props.title)}}]),t}(s.Component);i.propTypes={title:s.PropTypes.string.isRequired},l.default=i;var p=n.StyleSheet.create({normal:{color:"white"},selected:{fontWeight:"bold",color:"#ddd"}})},445);
__d(function(e,t,n,u){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var c=t(361),o=t(398),i=t(447),r=babelHelpers.interopRequireDefault(i),l=(0,c.connect)(void 0,function(e,t){return{onSelect:function(e){o.Actions.accountNew({seed:e})}}})(r.default);u.default=l},446);
__d(function(e,t,r,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var s=t(259),o=babelHelpers.interopRequireDefault(s),a=t(12),l=t(448),i=babelHelpers.interopRequireDefault(l),c=t(449),u=babelHelpers.interopRequireDefault(c),p=t(450),f=function(e){function t(){var e,r,n,s,o=this;babelHelpers.classCallCheck(this,t);for(var a=arguments.length,l=Array(a),i=0;i<a;i++)l[i]=arguments[i];return r=n=babelHelpers.possibleConstructorReturn(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),n.state={icons:[]},n.refreshIcons=function(){var e;return regeneratorRuntime.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,regeneratorRuntime.awrap(Promise.all(Array(6).join(" ").split(" ").map(function(){return(0,p.words)()})));case 3:e=t.sent,n.setState({icons:e}),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.error(t.t0);case 10:case"end":return t.stop()}},null,o,[[0,7]])},s=r,babelHelpers.possibleConstructorReturn(n,s)}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"componentDidMount",value:function(){this.refreshIcons()}},{key:"render",value:function(){var e=this;return o.default.createElement(a.ScrollView,{style:i.default.view},o.default.createElement(a.View,{style:h.iconsContainer},this.state.icons.map(function(t){return o.default.createElement(d,{key:t,seed:t,onSelect:e.props.onSelect})})),o.default.createElement(a.Button,{onPress:this.refreshIcons,color:"green",title:"More"}))}}]),t}(s.Component);f.propTypes={onSelect:s.PropTypes.func.isRequired},n.default=f;var d=function(e){function t(){var e,r,n,s;babelHelpers.classCallCheck(this,t);for(var o=arguments.length,a=Array(o),l=0;l<o;l++)a[l]=arguments[l];return r=n=babelHelpers.possibleConstructorReturn(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.state={address:null},n.onSelect=function(){n.props.onSelect(n.props.seed)},s=r,babelHelpers.possibleConstructorReturn(n,s)}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"componentDidMount",value:function(){this.refreshAddress(this.props.seed)}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.seed;e.seed!==t&&this.refreshAddress(t)}},{key:"refreshAddress",value:function(e){var t;return regeneratorRuntime.async(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,regeneratorRuntime.awrap((0,p.brainWalletAddress)(e));case 3:t=r.sent,this.props.seed===e&&this.setState({address:t}),r.next=10;break;case 7:r.prev=7,r.t0=r.catch(0),console.error(r.t0);case 10:case"end":return r.stop()}},null,this,[[0,7]])}},{key:"render",value:function(){var e=this.props.seed,t=this.state.address;return o.default.createElement(a.View,{style:h.icon,key:e},t?o.default.createElement(a.TouchableOpacity,{onPress:this.onSelect},o.default.createElement(u.default,{style:i.default.icon,seed:"0x"+t})):null)}}]),t}(s.Component);d.propTypes={seed:s.PropTypes.string.isRequired,onSelect:s.PropTypes.func.isRequired};var h=a.StyleSheet.create({iconsContainer:{justifyContent:"center",flexDirection:"row",flexWrap:"wrap",marginBottom:20},icon:{marginLeft:15,marginRight:15,marginTop:10,width:100,height:100}})},447);
__d(function(t,e,o,i){Object.defineProperty(i,"__esModule",{value:!0});var n=e(12);i.default=n.StyleSheet.create({view:{flex:1,marginTop:"ios"===n.Platform.OS?64:54,marginBottom:50,padding:20},listView:{flex:1,marginTop:"ios"===n.Platform.OS?64:54,marginBottom:50},hintText:{fontSize:14,color:"#ccc",marginBottom:10,marginTop:10},hintTextSmall:{fontSize:12,color:"#777",marginBottom:10},valueText:{fontSize:12,color:"black",marginBottom:20,fontWeight:"bold"},valueTextInput:{height:35,padding:5,marginTop:-5},inputValue:{color:"black",marginBottom:20,height:40},inputValueSmall:{fontSize:12},pin:{color:"black",height:70,width:300,textAlign:"center"},center:{flex:1,alignItems:"center",justifyContent:"center"},buttonContainer:{height:65},icon:{height:100,width:100,marginBottom:10,borderRadius:50,borderWidth:2,borderColor:"#eee"}})},448);
__d(function(t,e,o,i){Object.defineProperty(i,"__esModule",{value:!0});var n=e(12);i.default=n.StyleSheet.create({view:{flex:1,marginTop:"ios"===n.Platform.OS?64:54,marginBottom:50,padding:20},listView:{flex:1,marginTop:"ios"===n.Platform.OS?64:54,marginBottom:50},hintText:{fontSize:14,color:"#ccc",marginBottom:10,marginTop:10},hintTextSmall:{fontSize:12,color:"#777",marginBottom:10},valueText:{fontSize:12,color:"black",marginBottom:20,fontWeight:"bold"},valueTextInput:{height:35,padding:5,marginTop:-5},inputValue:{color:"black",marginBottom:20,height:40},inputValueSmall:{fontSize:12},pin:{color:"black",height:70,width:300,textAlign:"center"},center:{flex:1,alignItems:"center",justifyContent:"center"},buttonContainer:{height:65},icon:{height:100,width:100,marginBottom:10,borderRadius:50,borderWidth:1,borderColor:"#eee"}})},448);
__d(function(e,t,r,n){"use strict";function s(e,t){var r;return regeneratorRuntime.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,regeneratorRuntime.awrap((0,l.blockiesIcon)(t));case 3:r=n.sent,e.setState({icon:r}),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),console.log(n.t0);case 10:case"end":return n.stop()}},null,this,[[0,7]])}Object.defineProperty(n,"__esModule",{value:!0});var o=t(259),a=babelHelpers.interopRequireDefault(o),i=t(12),l=t(450),c=function(e){function t(){var e,r,n,s;babelHelpers.classCallCheck(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=n=babelHelpers.possibleConstructorReturn(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.state={},s=r,babelHelpers.possibleConstructorReturn(n,s)}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"componentDidMount",value:function(){s(this,this.props.seed)}},{key:"componentWillReceiveProps",value:function(e){e.seed!==this.props.seed&&s(this,e.seed)}},{key:"render",value:function(){return a.default.createElement(i.View,{style:u.identicon},a.default.createElement(i.Image,{style:this.props.style||{},source:{uri:this.state.icon}}))}}]),t}(o.Component);c.propTypes={seed:o.PropTypes.string.isRequired},n.default=c;var u=i.StyleSheet.create({identicon:{alignItems:"center"}})},449);
__d(function(e,t,r,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.decryptData=n.encryptData=n.words=n.blockiesIcon=n.keccak=n.rlpItem=n.brainWalletSign=n.brainWalletSecret=n.brainWalletAddress=void 0;var i=t(27),a=t(451),c=function(e){return e.split("").map(function(e){return e.charCodeAt(0).toString(16)}).join("")},u=(n.brainWalletAddress=function(e){return i.EthkeyBridge.brainWalletAddress(e).then(function(e){return u(c(e)).then(function(t){return(0,a.checksummedAddress)(e,t)})})},n.brainWalletSecret=function(e){return i.EthkeyBridge.brainWalletSecret(e)},n.brainWalletSign=function(e,t){return i.EthkeyBridge.brainWalletSign(e,t)},n.rlpItem=function(e,t){return i.EthkeyBridge.rlpItem(e,t)},n.keccak=function(e){return i.EthkeyBridge.keccak(e)});n.blockiesIcon=function(e){return i.EthkeyBridge.blockiesIcon(e.toLowerCase()).then(function(e){return"data:image/png;base64,"+e})},n.words=function(){return i.EthkeyBridge.randomPhrase(11)},n.encryptData=function(e,t){return i.EthkeyBridge.encryptData(e,t)},n.decryptData=function(e,t){return i.EthkeyBridge.decryptData(e,t)}},450);
__d(function(e,r,t,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0});s.checksummedAddress=function(e,r){for(var t="",s=0;s<40;s++)t=""+t+(parseInt(r[s],16)>7?e[s].toUpperCase():e[s]);return t}},451);
......
q#OFeO(%hH>
\ No newline at end of file
T'ԕ\ȦV
\ No newline at end of file
......@@ -19,7 +19,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>5</string>
<string>8</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
......
......@@ -79,7 +79,7 @@ export default StyleSheet.create({
width: 100,
marginBottom: 10,
borderRadius: 50,
borderWidth: 2,
borderWidth: 1,
borderColor: '#eee'
}
})
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment