{"action":"created","issue":{"url":"https://api.github.com/repos/flowgrammable/uint-js/issues/4","labels_url":"https://api.github.com/repos/flowgrammable/uint-js/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/flowgrammable/uint-js/issues/4/comments","events_url":"https://api.github.com/repos/flowgrammable/uint-js/issues/4/events","html_url":"https://github.com/flowgrammable/uint-js/issues/4","id":82874224,"number":4,"title":"Should construction check value type","user":{"login":"cchojnacki","id":491522,"avatar_url":"https://avatars.githubusercontent.com/u/491522?v=3","gravatar_id":"","url":"https://api.github.com/users/cchojnacki","html_url":"https://github.com/cchojnacki","followers_url":"https://api.github.com/users/cchojnacki/followers","following_url":"https://api.github.com/users/cchojnacki/following{/other_user}","gists_url":"https://api.github.com/users/cchojnacki/gists{/gist_id}","starred_url":"https://api.github.com/users/cchojnacki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cchojnacki/subscriptions","organizations_url":"https://api.github.com/users/cchojnacki/orgs","repos_url":"https://api.github.com/users/cchojnacki/repos","events_url":"https://api.github.com/users/cchojnacki/events{/privacy}","received_events_url":"https://api.github.com/users/cchojnacki/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flowgrammable/uint-js/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-30T18:01:03Z","updated_at":"2015-05-31T11:17:56Z","closed_at":null,"body":"Currently its possible to construct UInt({ bytes: 5 , value: 2}). The result is { _bytes: 5, _value: 2 }. Should we permit specifying  the value of 5 byte uint as an integer? Maybe this should throw an error, or convert the value to an array.\r\n"},"comment":{"url":"https://api.github.com/repos/flowgrammable/uint-js/issues/comments/107157266","html_url":"https://github.com/flowgrammable/uint-js/issues/4#issuecomment-107157266","issue_url":"https://api.github.com/repos/flowgrammable/uint-js/issues/4","id":107157266,"user":{"login":"jassoncasey","id":971765,"avatar_url":"https://avatars.githubusercontent.com/u/971765?v=3","gravatar_id":"","url":"https://api.github.com/users/jassoncasey","html_url":"https://github.com/jassoncasey","followers_url":"https://api.github.com/users/jassoncasey/followers","following_url":"https://api.github.com/users/jassoncasey/following{/other_user}","gists_url":"https://api.github.com/users/jassoncasey/gists{/gist_id}","starred_url":"https://api.github.com/users/jassoncasey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jassoncasey/subscriptions","organizations_url":"https://api.github.com/users/jassoncasey/orgs","repos_url":"https://api.github.com/users/jassoncasey/repos","events_url":"https://api.github.com/users/jassoncasey/events{/privacy}","received_events_url":"https://api.github.com/users/jassoncasey/received_events","type":"User","site_admin":false},"created_at":"2015-05-31T11:17:56Z","updated_at":"2015-05-31T11:17:56Z","body":"This should not throw; however, the internal representation should be a\nbyte array and not a number.\n\n-jasson\n\nOn Sat, May 30, 2015 at 2:01 PM, Colton Chojnacki <notifications@github.com>\nwrote:\n\n> Currently its possible to construct UInt({ bytes: 5 , value: 2}). The\n> result is { _bytes: 5, _value: 2 }. Should we permit specifying the value\n> of 5 byte uint as an integer? Maybe this should throw an error, or convert\n> the value to an array.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/flowgrammable/uint-js/issues/4>.\n>\n"}}