{"_id":"@calle/co-auther","_rev":"14-59d96e0410173f6b027f0b21e2c54b5e","name":"@calle/co-auther","description":"Angular routing helper","dist-tags":{"latest":"4.1.0"},"versions":{"1.3.1":{"name":"@calle/co-auther","version":"1.3.1","description":"Angular 2 routing helper","keywords":["angular2"],"main":"src/co-auther/co-auther.js","scripts":{"start":"node server","build":"npm run typescript","webdriver":"node_modules/protractor/bin/webdriver-manager update","test-e2e":"npm run build && gulp test-e2e","typescript":"tsc","watch":"tsc -w","sass":"gulp sass","typings":"typings"},"config":{"ghooks":{"pre-commit":"npm run build"}},"author":{"name":"Carl-Ola Boketoft"},"license":"ISC","peerDependencies":{"@angular/router":"^3.0.0-rc.1","@angular/core":"^2.0.0-rc.5"},"devDependencies":{"@angular/common":"2.0.0-rc.5","@angular/compiler":"2.0.0-rc.5","@angular/core":"2.0.0-rc.5","@angular/http":"2.0.0-rc.5","@angular/platform-browser":"2.0.0-rc.5","@angular/platform-browser-dynamic":"2.0.0-rc.5","@angular/router":"3.0.0-rc.1","bootstrap":"git+https://git@github.com/twbs/bootstrap.git#v4-dev","es6-shim":"0.35.0","express":"4.14.0","ghooks":"1.3.2","gulp":"3.9.1","gulp-sass":"2.3.2","protractor":"4.0.3","reflect-metadata":"0.1.8","rxjs":"5.0.0-beta.6","systemjs":"0.19.36","typescript":"2.0.0","typings":"1.3.2","zone.js":"0.6.12"},"gitHead":"959121323649784bf139a3d7ca640cb9c02d60cf","_id":"@calle/co-auther@1.3.1","_shasum":"7c17617d28c1356664f7e2acd3dc505b2b724879","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"calle","email":"calleboketoft@gmail.com"},"dist":{"shasum":"7c17617d28c1356664f7e2acd3dc505b2b724879","tarball":"https://registry.npmjs.org/@calle/co-auther/-/co-auther-1.3.1.tgz","integrity":"sha512-jWATvs0mnAbNgDpqIcZPvIM/I0lWTNHGX0pDcC2oIN95uPzNRCwnmaC3cpe4RKhs6iOtihiIGR0GHYEa3fH/Sw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsb7iXH9yCS0xaQKv5zLix9OK5jIgeHDVi0C1cvOPqEgIhAMSEXQ9YmFT4vcwtHA8T/unF76hKfunD9Nqa8W3o1n7i"}]},"maintainers":[{"name":"calle","email":"calleboketoft@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/co-auther-1.3.1.tgz_1470932723351_0.4981536287814379"},"directories":{}},"1.4.0":{"name":"@calle/co-auther","version":"1.4.0","description":"Angular 2 routing helper","keywords":["angular2"],"main":"index.js","scripts":{"start":"node server","build":"npm run typescript","webdriver":"node_modules/protractor/bin/webdriver-manager update","test-e2e":"npm run build && gulp test-e2e","typescript":"tsc","watch":"tsc -w","sass":"gulp sass","typings":"typings"},"config":{"ghooks":{"pre-commit":"npm run build"}},"author":{"name":"Carl-Ola Boketoft"},"license":"ISC","peerDependencies":{"@angular/router":"^3.0.0-rc.1","@angular/core":"^2.0.0-rc.5"},"devDependencies":{"@angular/common":"2.0.0-rc.5","@angular/compiler":"2.0.0-rc.5","@angular/core":"2.0.0-rc.5","@angular/http":"2.0.0-rc.5","@angular/platform-browser":"2.0.0-rc.5","@angular/platform-browser-dynamic":"2.0.0-rc.5","@angular/router":"3.0.0-rc.1","bootstrap":"git+https://git@github.com/twbs/bootstrap.git#v4-dev","es6-shim":"0.35.0","express":"4.14.0","ghooks":"1.3.2","gulp":"3.9.1","gulp-sass":"2.3.2","protractor":"4.0.3","reflect-metadata":"0.1.8","rxjs":"5.0.0-beta.6","systemjs":"0.19.36","typescript":"2.0.0","typings":"1.3.2","zone.js":"0.6.12"},"gitHead":"f533cc0574fd67c41e336e1493f1fa7e6ee1fe8d","_id":"@calle/co-auther@1.4.0","_shasum":"cb288412cfc777139129db01882641b1091d4ffd","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"calle","email":"calleboketoft@gmail.com"},"dist":{"shasum":"cb288412cfc777139129db01882641b1091d4ffd","tarball":"https://registry.npmjs.org/@calle/co-auther/-/co-auther-1.4.0.tgz","integrity":"sha512-xMPKmYbfMA5N0DzpF/LWTpCFNm0auHdGLyKN6cYItWp3aWD3CjskdyS4tXMn+JcmpzuqK8hThJNFX3SFfkUE+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDj0bEGawpjqm+8P6/grqXM80MoZ884U0dB9IPVSf8HiAIgUc5edeNQu7SD0B2Ihe1LEvngsBvDJrn3HIdO6SDJeo0="}]},"maintainers":[{"name":"calle","email":"calleboketoft@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/co-auther-1.4.0.tgz_1470989909782_0.6987667505163699"},"directories":{}},"1.4.1":{"name":"@calle/co-auther","version":"1.4.1","description":"Angular 2 routing helper","keywords":["angular2"],"main":"index.js","scripts":{"start":"node server","build":"npm run typescript","typescript":"tsc","watch":"tsc -w","sass":"gulp sass","typings":"typings"},"config":{"ghooks":{"pre-commit":"npm run build"}},"author":{"name":"Carl-Ola Boketoft"},"license":"ISC","peerDependencies":{"@angular/router":"^3.0.0-rc.1","@angular/core":"^2.0.0-rc.5"},"devDependencies":{"@angular/common":"2.0.0-rc.5","@angular/compiler":"2.0.0-rc.5","@angular/core":"2.0.0-rc.5","@angular/http":"2.0.0-rc.5","@angular/platform-browser":"2.0.0-rc.5","@angular/platform-browser-dynamic":"2.0.0-rc.5","@angular/router":"3.0.0-rc.1","es6-shim":"0.35.0","express":"4.14.0","ghooks":"1.3.2","reflect-metadata":"0.1.8","rxjs":"5.0.0-beta.6","systemjs":"0.19.36","typescript":"2.0.0","typings":"1.3.2","zone.js":"0.6.12"},"gitHead":"34f9a8be42e8a520002ecb6344be9c2210d9b9dc","_id":"@calle/co-auther@1.4.1","_shasum":"5de94fc6a11880cc2846750eca7512caa2d8a9ac","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"calle","email":"calleboketoft@gmail.com"},"dist":{"shasum":"5de94fc6a11880cc2846750eca7512caa2d8a9ac","tarball":"https://registry.npmjs.org/@calle/co-auther/-/co-auther-1.4.1.tgz","integrity":"sha512-czsHiiiNzC0xdLGYvWgH0JMelW6+KpW8ng6YqAgLMqBae5kFXFy9y19xp3XU4ypTF9KxSRUalCEy+epvVQJphQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAlgyASqY0hvA3GxqIZGJIGh5Rmy7oS+L5puRxbcbBM8AiEAv5EItl+dYESoahRiWbRg/4Dn4goCJvRd1aInxmx/1f0="}]},"maintainers":[{"name":"calle","email":"calleboketoft@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/co-auther-1.4.1.tgz_1471007145834_0.5194710006471723"},"directories":{}},"1.4.2":{"name":"@calle/co-auther","version":"1.4.2","description":"Angular 2 routing helper","keywords":["angular2"],"main":"index.js","scripts":{"start":"node server","build":"npm run typescript","typescript":"tsc","watch":"tsc -w","sass":"gulp sass","typings":"typings"},"config":{"ghooks":{"pre-commit":"npm run build"}},"author":{"name":"Carl-Ola Boketoft"},"license":"ISC","peerDependencies":{"@angular/router":"^3.0.0-rc.2","@angular/core":"^2.0.0-rc.6"},"devDependencies":{"@angular/common":"2.0.0-rc.6","@angular/compiler":"2.0.0-rc.6","@angular/core":"2.0.0-rc.6","@angular/http":"2.0.0-rc.6","@angular/platform-browser":"2.0.0-rc.6","@angular/platform-browser-dynamic":"2.0.0-rc.6","@angular/router":"3.0.0-rc.2","es6-shim":"0.35.1","express":"4.14.0","ghooks":"1.3.2","reflect-metadata":"0.1.8","rxjs":"5.0.0-beta.11","systemjs":"0.19.37","typescript":"2.0.2","typings":"1.3.3","zone.js":"0.6.17"},"repository":{"type":"git","url":"git+https://github.com/calleboketoft/co-auther.git"},"gitHead":"79541dfda01e351fe1c0d9e9f6e1e8acd19130b4","bugs":{"url":"https://github.com/calleboketoft/co-auther/issues"},"homepage":"https://github.com/calleboketoft/co-auther#readme","_id":"@calle/co-auther@1.4.2","_shasum":"091b763424b1e993ae3e0fa655c3da1513becb94","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"calle","email":"calleboketoft@gmail.com"},"dist":{"shasum":"091b763424b1e993ae3e0fa655c3da1513becb94","tarball":"https://registry.npmjs.org/@calle/co-auther/-/co-auther-1.4.2.tgz","integrity":"sha512-lre6Un+Py0KH2fn4hXm5bose7FM7rIB6AY36CmxNLFM/6IScHphgflBnh2crQQxX80YvTmwd1lFaT5bHJxt3KA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICqPP+d42aclikUbnCfOkjTtV4mUGANBcIxxGU9iZNjWAiAB7H8+6e5n2Dejtc8iCp2Top4ri9+iK46ICRaYdGXJXg=="}]},"maintainers":[{"name":"calle","email":"calleboketoft@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/co-auther-1.4.2.tgz_1472735067038_0.9925901482347399"},"directories":{}},"1.4.3":{"name":"@calle/co-auther","version":"1.4.3","description":"Angular 2 routing helper","keywords":["angular2"],"main":"index.js","scripts":{"start":"node server","build":"npm run typescript","typescript":"tsc","watch":"tsc -w","sass":"gulp sass","typings":"typings"},"config":{"ghooks":{"pre-commit":"npm run build"}},"author":{"name":"Carl-Ola Boketoft"},"license":"ISC","peerDependencies":{"@angular/router":"^3.0.0-rc.2","@angular/core":"^2.0.0-rc.6"},"devDependencies":{"@angular/common":"2.0.0-rc.6","@angular/compiler":"2.0.0-rc.6","@angular/core":"2.0.0-rc.6","@angular/http":"2.0.0-rc.6","@angular/platform-browser":"2.0.0-rc.6","@angular/platform-browser-dynamic":"2.0.0-rc.6","@angular/router":"3.0.0-rc.2","es6-shim":"0.35.1","express":"4.14.0","ghooks":"1.3.2","reflect-metadata":"0.1.8","rxjs":"5.0.0-beta.11","systemjs":"0.19.37","typescript":"2.0.2","typings":"1.3.3","zone.js":"0.6.17"},"repository":{"type":"git","url":"git+https://github.com/calleboketoft/co-auther.git"},"gitHead":"aaec9bdaf63eafdb7e21a1ff34007a7338c27dc9","bugs":{"url":"https://github.com/calleboketoft/co-auther/issues"},"homepage":"https://github.com/calleboketoft/co-auther#readme","_id":"@calle/co-auther@1.4.3","_shasum":"65dea6cd414f935b847b30f4b6d518d560507cf5","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"calle","email":"calleboketoft@gmail.com"},"dist":{"shasum":"65dea6cd414f935b847b30f4b6d518d560507cf5","tarball":"https://registry.npmjs.org/@calle/co-auther/-/co-auther-1.4.3.tgz","integrity":"sha512-ewRHJtqpmq1OFHdtDtFId64TcTR0u4m4CJrWNSyk4rn4VeKjZviCP+yx2KpleUEMqDpazUosFJGdpyE86Oy7VQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIArPqNg+9C5DKgL1PtPzBzwBdNF90aBugNgyUyU1yp/GAiEAjZzq+mgYacq5/2P6z55RmMJkWW0X5xIxVPglTAT71HU="}]},"maintainers":[{"name":"calle","email":"calleboketoft@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/co-auther-1.4.3.tgz_1472838932203_0.9679226439911872"},"directories":{}},"1.4.4":{"name":"@calle/co-auther","version":"1.4.4","description":"Angular 2 routing helper","keywords":["angular2"],"main":"index.js","scripts":{"start":"node server","build":"npm run typescript","typescript":"tsc","watch":"tsc -w","sass":"gulp sass","typings":"typings"},"config":{"ghooks":{"pre-commit":"npm run build"}},"author":{"name":"Carl-Ola Boketoft"},"license":"ISC","peerDependencies":{"@angular/router":"^3.0.0","@angular/core":"^2.0.0"},"devDependencies":{"@angular/common":"2.0.0","@angular/compiler":"2.0.0","@angular/core":"2.0.0","@angular/http":"2.0.0","@angular/platform-browser":"2.0.0","@angular/platform-browser-dynamic":"2.0.0","@angular/router":"3.0.0","es6-shim":"0.35.1","express":"4.14.0","ghooks":"1.3.2","reflect-metadata":"0.1.8","rxjs":"5.0.0-beta.12","systemjs":"0.19.38","typescript":"2.0.2","typings":"1.3.3","zone.js":"0.6.23"},"repository":{"type":"git","url":"git+https://github.com/calleboketoft/co-auther.git"},"gitHead":"ebb9a15e8842f1bed8d9a4ff5524fbd75f3982f0","bugs":{"url":"https://github.com/calleboketoft/co-auther/issues"},"homepage":"https://github.com/calleboketoft/co-auther#readme","_id":"@calle/co-auther@1.4.4","_shasum":"507ca557b419cbe1db30cf0c34f870814c688ceb","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"calle","email":"calleboketoft@gmail.com"},"dist":{"shasum":"507ca557b419cbe1db30cf0c34f870814c688ceb","tarball":"https://registry.npmjs.org/@calle/co-auther/-/co-auther-1.4.4.tgz","integrity":"sha512-eql40iQgqIFluc60Eb0FWcr5VKRU+a2Uz8oKwVeV6cYsFpFJM0cbXK6LXdoTIvZPyWjQisBFPbrNZa6fmnBJvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIATaLILW1FlFRok2Wt+wEHcZXluNo4yICOwseQF1AgReAiEAzuwfXpE4hvIRxX6heJmqVdRSRxs7iqshVBhCDqeP454="}]},"maintainers":[{"name":"calle","email":"calleboketoft@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/co-auther-1.4.4.tgz_1473925799118_0.8538596711587161"},"directories":{}},"1.4.5":{"name":"@calle/co-auther","version":"1.4.5","description":"Angular 2 routing helper","keywords":["angular2"],"main":"index.js","scripts":{"start":"node server","build":"npm run typescript","typescript":"tsc","watch":"tsc -w","sass":"gulp sass","typings":"typings"},"config":{"ghooks":{"pre-commit":"npm run build"}},"author":{"name":"Carl-Ola Boketoft"},"license":"ISC","peerDependencies":{"@angular/router":"^3.1.0","@angular/core":"^2.1.0"},"devDependencies":{"@angular/common":"2.1.0","@angular/compiler":"2.1.0","@angular/core":"2.1.0","@angular/http":"2.1.0","@angular/platform-browser":"2.1.0","@angular/platform-browser-dynamic":"2.1.0","@angular/router":"3.1.0","es6-shim":"0.35.1","express":"4.14.0","ghooks":"1.3.2","reflect-metadata":"0.1.8","rxjs":"5.0.0-beta.12","systemjs":"0.19.39","typescript":"2.0.3","typings":"1.4.0","zone.js":"0.6.25"},"repository":{"type":"git","url":"git+https://github.com/calleboketoft/co-auther.git"},"gitHead":"e39bea3970b48090059db5763b4d1dd915b835bf","bugs":{"url":"https://github.com/calleboketoft/co-auther/issues"},"homepage":"https://github.com/calleboketoft/co-auther#readme","_id":"@calle/co-auther@1.4.5","_shasum":"dbdfe1eefe1e73bdac784d20500bc276596ca40a","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.1","_npmUser":{"name":"calle","email":"calleboketoft@gmail.com"},"dist":{"shasum":"dbdfe1eefe1e73bdac784d20500bc276596ca40a","tarball":"https://registry.npmjs.org/@calle/co-auther/-/co-auther-1.4.5.tgz","integrity":"sha512-eMT72QuTUQwv621RM3D66Jby7cYTCuUiocq3T96dutvQRcGsnx+/NSz1RKwXwiEbhL6K76qmMfNqoZfMJUFWDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHt78m51RETRF579mqYDPO2V/0XLnJXS44Vr1wX1EKEaAiAbZ3dyjfWk8pG6q/F6NKYnfQItNWQ2+LIPubIsnpjFZw=="}]},"maintainers":[{"name":"calle","email":"calleboketoft@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/co-auther-1.4.5.tgz_1476699565138_0.4879389056004584"},"directories":{}},"1.4.6":{"name":"@calle/co-auther","version":"1.4.6","description":"Angular 2 routing helper","keywords":["angular2"],"main":"index.js","scripts":{"start":"node server","build":"npm run typescript","typescript":"tsc","watch":"tsc -w"},"config":{"ghooks":{"pre-commit":"npm run build"}},"author":{"name":"Carl-Ola Boketoft"},"license":"ISC","peerDependencies":{"@angular/router":"^3.3.0","@angular/core":"^2.3.0"},"devDependencies":{"@angular/common":"2.3.0","@angular/compiler":"2.3.0","@angular/core":"2.3.0","@angular/http":"2.3.0","@angular/platform-browser":"2.3.0","@angular/platform-browser-dynamic":"2.3.0","@angular/router":"3.3.0","@types/core-js":"0.9.35","es6-shim":"0.35.2","express":"4.14.0","ghooks":"1.3.2","reflect-metadata":"0.1.8","rxjs":"5.0.0-rc.4","systemjs":"0.19.41","typescript":"2.1.4","zone.js":"0.7.2"},"repository":{"type":"git","url":"git+https://github.com/calleboketoft/co-auther.git"},"gitHead":"4a30f5b3a9fc5e5dfec6ecc7298db076f3a561eb","bugs":{"url":"https://github.com/calleboketoft/co-auther/issues"},"homepage":"https://github.com/calleboketoft/co-auther#readme","_id":"@calle/co-auther@1.4.6","_shasum":"030d49db75f4c817d7311c43be4d3c79097d37b7","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.1","_npmUser":{"name":"calle","email":"calleboketoft@gmail.com"},"dist":{"shasum":"030d49db75f4c817d7311c43be4d3c79097d37b7","tarball":"https://registry.npmjs.org/@calle/co-auther/-/co-auther-1.4.6.tgz","integrity":"sha512-JEp9suFr+lfr36p6wAM6jvsECe62kJAK+c/2PF0lWUGXsIMg1KSGAHQ1Ml7FDVebJ0VjaWvd4PHjSyuHEjuNiQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbUFT/2GkKfH0RrUAJBdZqTnk1QpwJWCRXyRpfCj7sdwIgPW2dE72wL60QhYMQs1yspOJ8PBUwmIWNHwO7gmUVS2I="}]},"maintainers":[{"name":"calle","email":"calleboketoft@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/co-auther-1.4.6.tgz_1481594542568_0.32858427055180073"},"directories":{}},"1.4.8":{"name":"@calle/co-auther","version":"1.4.8","description":"Angular 2 routing helper","keywords":["angular2"],"main":"index.js","scripts":{"start":"node server","build":"npm run typescript","typescript":"tsc","watch":"tsc -w","precommit":"npm run build"},"author":{"name":"Carl-Ola Boketoft"},"license":"ISC","peerDependencies":{"@angular/core":"^2.4.3","@angular/router":"^3.4.3"},"devDependencies":{"@angular/common":"2.4.3","@angular/compiler":"2.4.3","@angular/core":"2.4.3","@angular/http":"2.4.3","@angular/platform-browser":"2.4.3","@angular/platform-browser-dynamic":"2.4.3","@angular/router":"3.4.3","express":"4.14.0","husky":"0.12.0","reflect-metadata":"0.1.9","rxjs":"5.0.3","systemjs":"0.19.42","typescript":"2.1.5","zone.js":"0.7.6","tslint-config-standard":"2.0.0"},"repository":{"type":"git","url":"git+https://github.com/calleboketoft/co-auther.git"},"gitHead":"60b9ffc2f84804cda57efa8736738d26d0556b33","bugs":{"url":"https://github.com/calleboketoft/co-auther/issues"},"homepage":"https://github.com/calleboketoft/co-auther#readme","_id":"@calle/co-auther@1.4.8","_shasum":"90120cf28fae91a9b6d4be520767bc714a7f166d","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"calle","email":"calleboketoft@gmail.com"},"dist":{"shasum":"90120cf28fae91a9b6d4be520767bc714a7f166d","tarball":"https://registry.npmjs.org/@calle/co-auther/-/co-auther-1.4.8.tgz","integrity":"sha512-eyyObQhONz+lCG1iot495iMUEyUoD5xpZPv2tg4QGU0mvzV2ep11E4JIRUtw8duLP6GaSa5hIFJ3Zm7zSBl3Lg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJDr3YH4Pt+cPXm6v+UH+/08mz1LioKcTiu/43R8IiRwIhANz0/doJF6NIBF4koLpyzvbRZ4L+J8vWvEbDL5JQ9vjf"}]},"maintainers":[{"name":"calle","email":"calleboketoft@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/co-auther-1.4.8.tgz_1484733829698_0.6663995070848614"},"directories":{}},"4.0.0":{"name":"@calle/co-auther","version":"4.0.0","description":"Angular 2 routing helper","keywords":["angular2"],"main":"index.js","scripts":{"start":"node server","build":"npm run typescript","typescript":"tsc","watch":"tsc -w","precommit":"npm run build"},"author":{"name":"Carl-Ola Boketoft"},"license":"ISC","peerDependencies":{"@angular/core":"^4.0.1","@angular/router":"^4.0.1"},"devDependencies":{"@angular/common":"4.0.1","@angular/compiler":"4.0.1","@angular/core":"4.0.1","@angular/http":"4.0.1","@angular/platform-browser":"4.0.1","@angular/platform-browser-dynamic":"4.0.1","@angular/router":"4.0.1","express":"4.15.2","husky":"0.13.3","reflect-metadata":"0.1.10","rxjs":"5.2.0","systemjs":"0.20.10","typescript":"2.2.2","zone.js":"0.8.5","tslint-config-standard":"4.0.0"},"repository":{"type":"git","url":"git+https://github.com/calleboketoft/co-auther.git"},"gitHead":"fd611798135ea27180c9e1a9946d241cee6f24d3","bugs":{"url":"https://github.com/calleboketoft/co-auther/issues"},"homepage":"https://github.com/calleboketoft/co-auther#readme","_id":"@calle/co-auther@4.0.0","_shasum":"57bddb586c0e3d567dcfa09781e56d12d01d7557","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"calle","email":"calleboketoft@gmail.com"},"dist":{"shasum":"57bddb586c0e3d567dcfa09781e56d12d01d7557","tarball":"https://registry.npmjs.org/@calle/co-auther/-/co-auther-4.0.0.tgz","integrity":"sha512-tcpt0dw2it+9C/WDIahdE7Kuxq8BUfRy251w1R/FrS0NCLelqL60hsTYY9ET1JKJMIvaCJr3z0lXtwYivjvkSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSviEEORr5Mza0OmnqAuRXbPJdBpOgikn1ZV1JvJbhRgIgcrk6YH2z8+R8cpSiW11xp46jdLiMU+7Wyle812EljvA="}]},"maintainers":[{"name":"calle","email":"calleboketoft@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/co-auther-4.0.0.tgz_1490871505803_0.7184304995462298"},"directories":{}},"4.1.0":{"name":"@calle/co-auther","version":"4.1.0","description":"Angular routing helper","keywords":["angular"],"main":"index.js","scripts":{"start":"node server","build":"npm run typescript","typescript":"tsc","watch":"tsc -w","format":"prettier --write \"src/**/*.ts\""},"author":{"name":"Carl-Ola Boketoft"},"license":"ISC","devDependencies":{"@angular/common":"6.0.0-beta.5","@angular/compiler":"6.0.0-beta.5","@angular/core":"6.0.0-beta.5","@angular/http":"6.0.0-beta.5","@angular/platform-browser":"6.0.0-beta.5","@angular/platform-browser-dynamic":"6.0.0-beta.5","@angular/router":"6.0.0-beta.5","express":"4.16.2","prettier":"^1.10.2","reflect-metadata":"0.1.12","rxjs":"5.5.6","systemjs":"0.21.0","tslint-config-prettier":"^1.8.0","typescript":"2.7.2","zone.js":"0.8.20"},"repository":{"type":"git","url":"git+https://github.com/calleboketoft/co-auther.git"},"gitHead":"9619ff30278d9f4a59a19ccf3e3f79afe143bb78","bugs":{"url":"https://github.com/calleboketoft/co-auther/issues"},"homepage":"https://github.com/calleboketoft/co-auther#readme","_id":"@calle/co-auther@4.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"calle","email":"calleboketoft@gmail.com"},"dist":{"integrity":"sha512-YQzZQ7VTSNReLXki2hhiNO3HuSifD/czlRzPM76TI13rmI5aN2kUfc8VT2gSZ0uroW5La5680CEKHSrS/PZQ0w==","shasum":"403b340af4f40a089d4addfb2c77d67ddd7381a8","tarball":"https://registry.npmjs.org/@calle/co-auther/-/co-auther-4.1.0.tgz","fileCount":70,"unpackedSize":80781,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1RdWhSxDcQtVISoTKsvqAQHKr7IARQXlGuR5oIVB48AIhALTss+E71ZPxgHGZ9kxtRJftZZZNl922r6aR6XuOuIEl"}]},"maintainers":[{"name":"calle","email":"calleboketoft@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/co-auther_4.1.0_1519420381068_0.4915679266760542"},"_hasShrinkwrap":false}},"readme":"# co-auther\n\nAuthentication related routing logics for an app like this:\n\n- You are using JWT authentication\n- You have one route for authentication with username and password field\n- You need to load some data before actually being logged in properly (user roles / updates / news)\n\nThis module helps managing the routing based on if the authentication token is available, if the user data has been loaded, and if any of these requests fail. The authentication token is stored in a configurable localStorage variable.\n\n## Running example\n\n- `npm install`\n- `npm run build`\n- `npm start`\n- open browser and navigate to page\n\n## Using module\n\nThere are 3 base routes of you application\n- Authenticate: login screen\n- Initialize: loading screen for first request (optional)\n- Logged in: all pages that require authentication are children of this route\n\nYou have an \"API service\" with 3 methods (called login/logout/initialRequest) that return promises\n- login: should resolve with authentication token string\n- logout: makes logout request, nothing else\n- initialRequest: the initial request for the app\n\nExample of using module\n- See `example` code for a complete example of how to use this module.\n- The steps of integration are roughly:\n\n1. Have an `apiService` with the three functions `login`, `logout`, and `makeInitialRequest`, which all return a promise. The function `makeInitialRequest` handles routing to `authenticate` route or `logged-in` route based on if initial request succeeds or not.\n1. Implement `co-auther.provider.ts` which registers `apiService`, the three routes, and initializes `coAuther` itself.\n1. Provide CoAuther with your custom `coAutherProvider` in your `main.ts` file.\n1. Implement a custom `co-auther.guard.ts` that makes use of `coAuther` to decide which routes are accepted based on the current state of authentication and initial request(s). CoAutherGuard handles routing to `authenticate` route if you're not currently authenticated.\n\n\n\n\n## NOTE: Error handling in apiService\n\nWhen writing the error handling in the apiService you will want to use the .catch() of the promises. The problem is that once you've caught a rejected promise, it will bubble up as a resolved promise, so the parent will get a .then(). You can fix it by creating a new promise in your apiService and \"rethrow\" the error. In the file \"example-common/api-service.ts\" there is an example of this for the \"initialRequest\" function.\n\n```javascript\nlet apiService = {\n  makeInitialRequest () {\n    return new Promise((resolve, reject) => {\n      return myRequest\n        .then((data) => {\n          this.router.navigate(['logged-in'])\n          resolve(data)\n        })\n        .catch((err) => {\n          localStorage.remove('authData')\n          this.router.navigate(['authenticate'])\n          reject(err)\n        })\n    })\n  }\n}\n```","maintainers":[{"name":"calle","email":"calleboketoft@gmail.com"}],"time":{"modified":"2022-06-12T15:37:39.376Z","created":"2016-08-11T16:25:24.485Z","1.3.1":"2016-08-11T16:25:24.485Z","1.4.0":"2016-08-12T08:18:31.977Z","1.4.1":"2016-08-12T13:05:47.268Z","1.4.2":"2016-09-01T13:04:28.547Z","1.4.3":"2016-09-02T17:55:34.086Z","1.4.4":"2016-09-15T07:50:01.061Z","1.4.5":"2016-10-17T10:19:26.973Z","1.4.6":"2016-12-13T02:02:22.802Z","1.4.8":"2017-01-18T10:03:50.408Z","4.0.0":"2017-03-30T10:58:27.743Z","4.1.0":"2018-02-23T21:13:01.124Z"},"keywords":["angular"],"author":{"name":"Carl-Ola Boketoft"},"license":"ISC","readmeFilename":"README.md","homepage":"https://github.com/calleboketoft/co-auther#readme","repository":{"type":"git","url":"git+https://github.com/calleboketoft/co-auther.git"},"bugs":{"url":"https://github.com/calleboketoft/co-auther/issues"}}