{"action":"created","issue":{"url":"https://api.github.com/repos/GlobalSign/PKI.js/issues/41","labels_url":"https://api.github.com/repos/GlobalSign/PKI.js/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/GlobalSign/PKI.js/issues/41/comments","events_url":"https://api.github.com/repos/GlobalSign/PKI.js/issues/41/events","html_url":"https://github.com/GlobalSign/PKI.js/issues/41","id":93501127,"number":41,"title":"pkijs.org.pkijs.getAlgorithmParameters missing from npm module","user":{"login":"mikemaccana","id":172594,"avatar_url":"https://avatars.githubusercontent.com/u/172594?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemaccana","html_url":"https://github.com/mikemaccana","followers_url":"https://api.github.com/users/mikemaccana/followers","following_url":"https://api.github.com/users/mikemaccana/following{/other_user}","gists_url":"https://api.github.com/users/mikemaccana/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemaccana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemaccana/subscriptions","organizations_url":"https://api.github.com/users/mikemaccana/orgs","repos_url":"https://api.github.com/users/mikemaccana/repos","events_url":"https://api.github.com/users/mikemaccana/events{/privacy}","received_events_url":"https://api.github.com/users/mikemaccana/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-07T10:41:29Z","updated_at":"2015-07-07T10:52:20Z","closed_at":null,"body":"I'm trying to get pkijs working, in the browser, using the npm module and the custom instructions needed to load pkijs:\r\n\r\n    // See https://www.npmjs.com/package/pkijs\r\n    var merge = require(\"node.extend\");\r\n    var common = require(\"asn1js/org/pkijs/common\");\r\n    var _asn1js = require(\"asn1js\");\r\n    var _pkijs = require(\"pkijs\");\r\n    var _x509schema = require(\"pkijs/org/pkijs/x509_schema\");\r\n    // #region Merging function/object declarations for ASN1js and PKIjs\r\n    var asn1js = merge(true, _asn1js, common);\r\n    var x509schema = merge(true, _x509schema, asn1js);\r\n    var pkijs_1 = merge(true, _pkijs, asn1js);\r\n    var pkijs = merge(true, pkijs_1, x509schema);\r\n\r\npkijs.org.pkijs exists, however pkijs.org.pkijs.getAlgorithmParameters is missing. \r\n\r\nIt looks like `getAlgorithmParameters` itself is missing from `./node_modules/asn1js/org/pkijs/common.js`. Whereas `https://pkijs.org/examples/org/pkijs/common.js` includes it. \r\n\r\nPerhaps this was from back in the day when only node used npm? "},"comment":{"url":"https://api.github.com/repos/GlobalSign/PKI.js/issues/comments/119167525","html_url":"https://github.com/GlobalSign/PKI.js/issues/41#issuecomment-119167525","issue_url":"https://api.github.com/repos/GlobalSign/PKI.js/issues/41","id":119167525,"user":{"login":"mikemaccana","id":172594,"avatar_url":"https://avatars.githubusercontent.com/u/172594?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemaccana","html_url":"https://github.com/mikemaccana","followers_url":"https://api.github.com/users/mikemaccana/followers","following_url":"https://api.github.com/users/mikemaccana/following{/other_user}","gists_url":"https://api.github.com/users/mikemaccana/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemaccana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemaccana/subscriptions","organizations_url":"https://api.github.com/users/mikemaccana/orgs","repos_url":"https://api.github.com/users/mikemaccana/repos","events_url":"https://api.github.com/users/mikemaccana/events{/privacy}","received_events_url":"https://api.github.com/users/mikemaccana/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T10:52:20Z","updated_at":"2015-07-07T10:52:20Z","body":"Ah, is it difficult to `npm publish` the current code? I imagine this will catch a few people."}}