{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/928","repository_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib","labels_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/928/labels{/name}","comments_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/928/comments","events_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/928/events","html_url":"https://github.com/bitcoinjs/bitcoinjs-lib/issues/928","id":275548040,"number":928,"title":"script.decompile should return Maybe Chunks","user":{"login":"dcousens","id":413395,"avatar_url":"https://avatars0.githubusercontent.com/u/413395?v=4","gravatar_id":"","url":"https://api.github.com/users/dcousens","html_url":"https://github.com/dcousens","followers_url":"https://api.github.com/users/dcousens/followers","following_url":"https://api.github.com/users/dcousens/following{/other_user}","gists_url":"https://api.github.com/users/dcousens/gists{/gist_id}","starred_url":"https://api.github.com/users/dcousens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcousens/subscriptions","organizations_url":"https://api.github.com/users/dcousens/orgs","repos_url":"https://api.github.com/users/dcousens/repos","events_url":"https://api.github.com/users/dcousens/events{/privacy}","received_events_url":"https://api.github.com/users/dcousens/received_events","type":"User","site_admin":false},"labels":[{"id":205084215,"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/labels/breaking%20change","name":"breaking change","color":"fbca04","default":false},{"id":187759984,"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/labels/feature","name":"feature","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/milestones/9","html_url":"https://github.com/bitcoinjs/bitcoinjs-lib/milestone/9","labels_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/milestones/9/labels","id":1294781,"number":9,"title":"4.0.0","description":"","creator":{"login":"dcousens","id":413395,"avatar_url":"https://avatars0.githubusercontent.com/u/413395?v=4","gravatar_id":"","url":"https://api.github.com/users/dcousens","html_url":"https://github.com/dcousens","followers_url":"https://api.github.com/users/dcousens/followers","following_url":"https://api.github.com/users/dcousens/following{/other_user}","gists_url":"https://api.github.com/users/dcousens/gists{/gist_id}","starred_url":"https://api.github.com/users/dcousens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcousens/subscriptions","organizations_url":"https://api.github.com/users/dcousens/orgs","repos_url":"https://api.github.com/users/dcousens/repos","events_url":"https://api.github.com/users/dcousens/events{/privacy}","received_events_url":"https://api.github.com/users/dcousens/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":25,"state":"open","created_at":"2015-09-08T06:39:26Z","updated_at":"2018-04-13T15:45:16Z","due_on":"2018-03-23T07:00:00Z","closed_at":null},"comments":1,"created_at":"2017-11-21T00:46:27Z","updated_at":"2018-04-13T15:45:16Z","closed_at":"2018-04-13T15:45:16Z","author_association":"OWNER","body":"The type signature for `bitcoin.script.decompile` at this time is:\r\n\r\n``` haskell\r\ndecompile :: Buffer -> Array\r\n```\r\n\r\nWhere,  if `Buffer` does **not** decompile nicely, `[]` is returned (an empty `Array`).\r\n\r\nI propose we change that in `4.0.0` to be:\r\n``` haskell\r\ndecompile :: Buffer -> Maybe Array\r\n```\r\n\r\nWhere `null` is returned if `decompile` fails,  _or_ an `Error` is thrown (but IMHO, `null` is nicer)."},"comment":{"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/comments/381177198","html_url":"https://github.com/bitcoinjs/bitcoinjs-lib/issues/928#issuecomment-381177198","issue_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/928","id":381177198,"user":{"login":"dcousens","id":413395,"avatar_url":"https://avatars0.githubusercontent.com/u/413395?v=4","gravatar_id":"","url":"https://api.github.com/users/dcousens","html_url":"https://github.com/dcousens","followers_url":"https://api.github.com/users/dcousens/followers","following_url":"https://api.github.com/users/dcousens/following{/other_user}","gists_url":"https://api.github.com/users/dcousens/gists{/gist_id}","starred_url":"https://api.github.com/users/dcousens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcousens/subscriptions","organizations_url":"https://api.github.com/users/dcousens/orgs","repos_url":"https://api.github.com/users/dcousens/repos","events_url":"https://api.github.com/users/dcousens/events{/privacy}","received_events_url":"https://api.github.com/users/dcousens/received_events","type":"User","site_admin":false},"created_at":"2018-04-13T15:45:16Z","updated_at":"2018-04-13T15:45:16Z","author_association":"OWNER","body":"See https://github.com/bitcoinjs/bitcoinjs-lib/pull/1039"}}
{"actor":{"display_login":"dcousens"}}