{"action":"closed","issue":{"url":"https://api.github.com/repos/zeit/next.js/issues/4220","repository_url":"https://api.github.com/repos/zeit/next.js","labels_url":"https://api.github.com/repos/zeit/next.js/issues/4220/labels{/name}","comments_url":"https://api.github.com/repos/zeit/next.js/issues/4220/comments","events_url":"https://api.github.com/repos/zeit/next.js/issues/4220/events","html_url":"https://github.com/zeit/next.js/issues/4220","id":318464324,"number":4220,"title":"WebCrypto API disappears in production","user":{"login":"KristerV","id":2750622,"avatar_url":"https://avatars1.githubusercontent.com/u/2750622?v=4","gravatar_id":"","url":"https://api.github.com/users/KristerV","html_url":"https://github.com/KristerV","followers_url":"https://api.github.com/users/KristerV/followers","following_url":"https://api.github.com/users/KristerV/following{/other_user}","gists_url":"https://api.github.com/users/KristerV/gists{/gist_id}","starred_url":"https://api.github.com/users/KristerV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KristerV/subscriptions","organizations_url":"https://api.github.com/users/KristerV/orgs","repos_url":"https://api.github.com/users/KristerV/repos","events_url":"https://api.github.com/users/KristerV/events{/privacy}","received_events_url":"https://api.github.com/users/KristerV/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-27T16:01:06Z","updated_at":"2018-04-27T20:46:30Z","closed_at":"2018-04-27T20:46:30Z","author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n\r\n<!--\r\n⚠️ IMPORTANT ⚠️\r\nIf you have a question about Next.js please ask it on Spectrum https://spectrum.chat/next-js\r\nor join our Slack community at https://zeit.chat and ask it in the `#next` channel\r\n-->\r\n\r\n<!--\r\n    Thank you very much for contributing to Next.js by creating an issue! ❤️\r\n    To avoid duplicate issues we ask you to check off the following list\r\n-->\r\n\r\n<!-- Checked checkbox should look like this: [x] -->\r\n- [x] I have searched the [issues](https://github.com/zeit/next.js/issues?q=is%3Aissue) of this repository and believe that this is not a duplicate.\r\n\r\n## Expected Behavior\r\n\r\nThe WebCrypto library makes available a variable \"crypto\" in browser side. This variable has useful keys like `subtle`. And in the development environment this works just fine.\r\n\r\n## Current Behavior\r\n\r\nIn production however the variable `crypto` is an empty object. As in `{}`. This is true in Chromium: Version 65.0.3325.181 (Official Build) Arch Linux (64-bit)\r\n\r\nFirefox 50.0.2 works just fine.\r\n\r\n## Steps to Reproduce (for bugs)\r\n\r\nThe production site is here: http://159.65.115.61/\r\n\r\nLater I'll try produce a minimal code example too.\r\n\r\n## Context\r\n\r\nI need to do ArrayBuffer -> SHA256 hashing on client side.\r\n\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n| Tech    | Version |\r\n|---------|---------|\r\n| next    | ^5.0.0 |\r\n| node | v8.2.1 |\r\n| OS      | docker + ubuntu |\r\n| browser | Chrome 65.0.3325.181 |\r\n\r\n## Other\r\n\r\nWhile this may be a Chrome issue it's unclear how do I debug the situation since it's working in dev env.\r\n"}}
{"actor":{"display_login":"timneutkens"}}