{"_id":"publication-server","_rev":"246-ca2e139f22d80e128bc64cb6ea34c9fe","name":"publication-server","dist-tags":{"beta":"3.0.2-beta.1","latest":"3.0.6"},"versions":{"1.0.0":{"name":"publication-server","version":"1.0.0","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.0.0","maintainers":[{"name":"ttacon","email":"ttacon@gmail.com"}],"dist":{"shasum":"6f5c67c7dd3a44301a0b466c1e5d9a2aac384f80","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.0.0.tgz","integrity":"sha512-hqwxgaZFU+10TIfz2SDGXDJoXPYtnkssirY3iyUFtbyhS/xbSvU44BwVM3wBoWBoZPEiASerN89gYmP+pDOM3g==","signatures":[{"sig":"MEUCIH7gtewBnh38LjcQlOOKkGRrIabCsYNqYx27mpzUC/rpAiEAgtw3Wyt46K5NMXaEdA5W4AH99ts/GWrN/fZbDdP/Z2M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"6f5c67c7dd3a44301a0b466c1e5d9a2aac384f80","gitHead":"c16d39f8cd2ceab1295bee70b97befaf8bf2724f","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ttacon","email":"ttacon@gmail.com"},"_npmVersion":"2.14.12","description":"publication-server =====","directories":{},"_nodeVersion":"4.3.2","dependencies":{"uws":"^0.12.0","ejson":"^2.1.2","primus":"^6.0.8","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/publication-server-1.0.0.tgz_1485549457332_0.3546457136981189","host":"packages-12-west.internal.npmjs.com"}},"1.1.0":{"name":"publication-server","version":"1.1.0","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.1.0","maintainers":[{"name":"ttacon","email":"ttacon@gmail.com"}],"dist":{"shasum":"b56c5367a9b09053d1068b50b8c4e1b54d54e08e","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.1.0.tgz","integrity":"sha512-mpvLtcGjzvbOn+KW0EoOSjUmFc1av5w9scFZSAL8HrKl/2RE8Wr/gM+BRIVSzJ17YaTacmdINOgDUVVsB88KfQ==","signatures":[{"sig":"MEYCIQDBNz2wFv61ugYPchqqIGJO5o9aRqFSID95ZSc47ZzwTQIhAKTaxgk4iOl+rCJYO9Qv6y4PVRqkNqNdr5zFOaOfxG3d","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"b56c5367a9b09053d1068b50b8c4e1b54d54e08e","gitHead":"03df03cc89e0288489181351710ff02a735ae142","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ttacon","email":"ttacon@gmail.com"},"_npmVersion":"2.14.12","description":"publication-server =====","directories":{},"_nodeVersion":"4.3.2","dependencies":{"uws":"^0.12.0","ejson":"^2.1.2","primus":"^6.0.8","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/publication-server-1.1.0.tgz_1485726269498_0.1452327286824584","host":"packages-12-west.internal.npmjs.com"}},"1.1.1":{"name":"publication-server","version":"1.1.1","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.1.1","maintainers":[{"name":"ttacon","email":"ttacon@gmail.com"}],"dist":{"shasum":"d241ccdee8a6be3362b8510c10b32f7449c92d1d","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.1.1.tgz","integrity":"sha512-/slyvHBa9rXje9F6ju+egXtC3k296cD80/+u3DxSPPOF69AfWLbtrsR8xapV1/G2wvuUASZNnbP5I+xei3cOYQ==","signatures":[{"sig":"MEUCIAfpNpUvmX9GcyU2EFqHcV5CICS1qHnMvVOfA2pR9IjiAiEA3Ane5s/Ybs2m4dBT0LbXOPN7jgzvOKDP/+XeKNvYbwo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"d241ccdee8a6be3362b8510c10b32f7449c92d1d","gitHead":"125cad3a63451d8e8c75bcb5dc8e8609c6c6edd2","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ttacon","email":"ttacon@gmail.com"},"_npmVersion":"2.14.12","description":"publication-server =====","directories":{},"_nodeVersion":"4.3.2","dependencies":{"uws":"^0.12.0","ejson":"^2.1.2","primus":"^6.0.8","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/publication-server-1.1.1.tgz_1485793744625_0.6838355702348053","host":"packages-18-east.internal.npmjs.com"}},"1.2.1":{"name":"publication-server","version":"1.2.1","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.2.1","maintainers":[{"name":"ttacon","email":"ttacon@gmail.com"}],"dist":{"shasum":"7b0f7084cbc960c8c008e2c07df75d037400fa10","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.2.1.tgz","integrity":"sha512-r/Yx0iv1ggw4VOrk+GJ+mRQmIzcPgOjhozDJZg/I6SW+LN4GKjFEiw8JHB5/D/ZNR99/np0lcU17PU2QiSP8OA==","signatures":[{"sig":"MEUCIQDx2FbwKyek7bVtxX6rL83CO9UdiD470O0/gxKdVd+d8gIgdNLRMFNZ+52G52uuDNs8MBnk01sDV/RZ51YUyWPh4AU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"7b0f7084cbc960c8c008e2c07df75d037400fa10","gitHead":"1a94b8567ef384e24e8d25d19081ac811ff4565e","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ttacon","email":"ttacon@gmail.com"},"_npmVersion":"2.14.12","description":"publication-server =====","directories":{},"_nodeVersion":"4.3.2","dependencies":{"uws":"^0.12.0","ejson":"^2.1.2","primus":"^6.0.8","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/publication-server-1.2.1.tgz_1485963587358_0.13914762041531503","host":"packages-12-west.internal.npmjs.com"}},"1.3.0":{"name":"publication-server","version":"1.3.0","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.3.0","maintainers":[{"name":"ttacon","email":"ttacon@gmail.com"}],"dist":{"shasum":"cdec0a99ac71914f4b42c8f3f46f31207caae0fb","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.3.0.tgz","integrity":"sha512-olGZ4OehPWsOcTy/OMnE6iBp0OdCWby1hVtZ7kRhera3PLiny2SrBzN+6JNoqFFKQytnQiaHP3rq+uXltvyBVg==","signatures":[{"sig":"MEYCIQDYM2Z3EwO3DIcMMTiT8ecdCNd6g+jMZvuEkitIFj4RsQIhAPL2itso8Vovzhl0te9d+mMhYRKTAanB80K7LodtCymJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"cdec0a99ac71914f4b42c8f3f46f31207caae0fb","gitHead":"9da13b0ae7ecfc981d4871966f004705be69e5c4","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ttacon","email":"ttacon@gmail.com"},"_npmVersion":"2.14.12","description":"publication-server =====","directories":{},"_nodeVersion":"4.3.2","dependencies":{"uws":"^0.12.0","ejson":"^2.1.2","primus":"^6.0.8","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/publication-server-1.3.0.tgz_1485987066938_0.19366843113675714","host":"packages-18-east.internal.npmjs.com"}},"1.4.0":{"name":"publication-server","version":"1.4.0","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.4.0","maintainers":[{"name":"ttacon","email":"ttacon@gmail.com"}],"dist":{"shasum":"9150c52cad9fc85f55d2d866ecccc1f45f5a779c","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.4.0.tgz","integrity":"sha512-fa7x0YY0aaxhQXn49yPH22bscMvicmBRU6pF66movSaiP6BLfXfxxId+Aa+boaSlIu8lAU2co/HnIPfr3nV8sw==","signatures":[{"sig":"MEUCIQDR4oljF8npB4EYX8KDkJSMFnLc1pkdMtI24xI10LbUvAIgKyaFKFWtu4+yNxEDyoT5lFWKX7/7S4woFGhld3lDsCQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"9150c52cad9fc85f55d2d866ecccc1f45f5a779c","gitHead":"b05747314ccd30ee20d8ded0976e21c457df7363","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ttacon","email":"ttacon@gmail.com"},"_npmVersion":"2.14.12","description":"publication-server =====","directories":{},"_nodeVersion":"4.3.2","dependencies":{"uws":"^0.12.0","ejson":"^2.1.2","primus":"^6.0.8","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/publication-server-1.4.0.tgz_1486049108570_0.7735750514548272","host":"packages-12-west.internal.npmjs.com"}},"1.4.1":{"name":"publication-server","version":"1.4.1","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.4.1","maintainers":[{"name":"ttacon","email":"ttacon@gmail.com"}],"dist":{"shasum":"4bdb2cc9e3c931ec0f45aee2e66803016045b0c5","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.4.1.tgz","integrity":"sha512-ByBSWAVpHy/N3UAKqygDRhxtmW1jRZ3IytVASoPoRz/N/0Zn/MfZNq1cQ2ily6suSQWEgCbwpYr01yxFrdS0eg==","signatures":[{"sig":"MEYCIQDqYKBEMOaUYKonA3ciI7hBOq794e+C+rbxdK19Y3JAPAIhAIIsVQuzjn6eLPox9qrqb9HZ8Y17RgObaCytGwWKkLpS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"4bdb2cc9e3c931ec0f45aee2e66803016045b0c5","gitHead":"650c20e428e67de280571659678c617235579482","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ttacon","email":"ttacon@gmail.com"},"_npmVersion":"2.14.12","description":"publication-server =====","directories":{},"_nodeVersion":"4.3.2","dependencies":{"uws":"^0.12.0","ejson":"^2.1.2","primus":"^6.0.8","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/publication-server-1.4.1.tgz_1486492357391_0.6961857753340155","host":"packages-12-west.internal.npmjs.com"}},"1.4.2":{"name":"publication-server","version":"1.4.2","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.4.2","maintainers":[{"name":"ttacon","email":"ttacon@gmail.com"}],"dist":{"shasum":"1d90eefaac48fd603fd05bf3eea158140d3ddd46","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.4.2.tgz","integrity":"sha512-iZLOWAYkyi7BRnvuRzVdJQEMxeG48C5GtKTZyWtr2JNy5s/GYu/QkbZseKnx2mlhM5P7uNMrx3dflUodhiqt7w==","signatures":[{"sig":"MEYCIQDARhCyP5SyoOsqo1UNLIrxj8/s/YJN7x//rZykVRRDRgIhAOwkN8+khRceUGbRCE3PIcw4/+fflqTivrqSJZQLmuQ0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"1d90eefaac48fd603fd05bf3eea158140d3ddd46","gitHead":"f48b65f42f3ec1d3f3fb803f172d6853d7fb81c5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ttacon","email":"ttacon@gmail.com"},"_npmVersion":"2.14.12","description":"publication-server =====","directories":{},"_nodeVersion":"4.3.2","dependencies":{"uws":"^0.12.0","ejson":"^2.1.2","primus":"^6.0.8","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/publication-server-1.4.2.tgz_1488988649787_0.247147771762684","host":"packages-18-east.internal.npmjs.com"}},"1.4.3":{"name":"publication-server","version":"1.4.3","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.4.3","maintainers":[{"name":"ttacon","email":"ttacon@gmail.com"}],"dist":{"shasum":"dfeb8bef84817759e34dff189b71f86cc70bff38","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.4.3.tgz","integrity":"sha512-0Ip6aLAysZGqvsEETFnw5oSYimHfisJtAmJpO1gnFcN99mD+CJTEsnbGqM9Z1I93vQ/ah0tU9hmmMszAkGRXPA==","signatures":[{"sig":"MEUCIG86JwnrHwzA4vFIMWz7tsWjZ4nN7wch0+08TjvD5ODuAiEAsK9wuBMoWpQOcdZ+Dmq+GW0bovYuWHm0s9MmZWchLaM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"dfeb8bef84817759e34dff189b71f86cc70bff38","gitHead":"8ab48016e13f4f5f9eeb620cec70f15fc058cd92","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ttacon","email":"ttacon@gmail.com"},"_npmVersion":"2.15.5","description":"publication-server =====","directories":{},"_nodeVersion":"6.9.1","dependencies":{"uws":"^0.12.0","ejson":"^2.1.2","primus":"^6.0.8","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/publication-server-1.4.3.tgz_1489009201030_0.9109451626427472","host":"packages-12-west.internal.npmjs.com"}},"1.4.4":{"name":"publication-server","version":"1.4.4","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.4.4","maintainers":[{"name":"alex-mcnamara-mixmax","email":"alex@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"chanpory","email":"junk@rith.com"},{"name":"chuy-mixmax","email":"chuy@mixmax.com"},{"name":"jenskene","email":"jen+npm@mixmax.com"},{"name":"jmixmax","email":"jeremy+npm@mixmax.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"olofster","email":"olofmathe@hotmail.com"},{"name":"pricj004","email":"pricj004@gmail.com"},{"name":"scb","email":"me@spencer.sx"},{"name":"simonxca","email":"simoncxiong@gmail.com"},{"name":"ssorallen","email":"rossgit@gmail.com"},{"name":"thas","email":"thas@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"},{"name":"wearhere","email":"jeffreywear@gmail.com"}],"dist":{"shasum":"46c9679527ddae17064426227b5f94644d0c97ad","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.4.4.tgz","integrity":"sha512-HmzjE8YzCxJvdA8G2hcZ+uM7aK0zepcSmhITHLq7C/7oKGqqmJquT0wEFKX++01ti8jjdaXxjU7VEwayb1IdtQ==","signatures":[{"sig":"MEYCIQDOGyrWgBuHhU2Vb4xLBbmNnvJ2i4rBwt4ROnpSyXYebAIhANsJpQX7b5u+Enl02toZysSDKRaEQMqxZ1HNPdtdHulw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"46c9679527ddae17064426227b5f94644d0c97ad","gitHead":"b6e8420977377fc10116b451f80de62f35d7ead0","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ttacon","email":"ttacon@gmail.com"},"_npmVersion":"2.15.5","description":"publication-server =====","directories":{},"_nodeVersion":"6.9.1","dependencies":{"uws":"^0.12.0","ejson":"^2.1.2","primus":"^6.0.8","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/publication-server-1.4.4.tgz_1491848251625_0.973673552274704","host":"packages-12-west.internal.npmjs.com"}},"1.4.5":{"name":"publication-server","version":"1.4.5","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.4.5","maintainers":[{"name":"alex-mcnamara-mixmax","email":"alex@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"chanpory","email":"junk@rith.com"},{"name":"chuy-mixmax","email":"chuy@mixmax.com"},{"name":"jenskene","email":"jen+npm@mixmax.com"},{"name":"jmixmax","email":"jeremy+npm@mixmax.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"olofster","email":"olofmathe@hotmail.com"},{"name":"pricj004","email":"pricj004@gmail.com"},{"name":"scb","email":"me@spencer.sx"},{"name":"simonxca","email":"simoncxiong@gmail.com"},{"name":"ssorallen","email":"rossgit@gmail.com"},{"name":"thas","email":"thas@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"},{"name":"wearhere","email":"jeffreywear@gmail.com"}],"dist":{"shasum":"1bd30064b8e225da30f2a124cfdd7ca3a12d67d9","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.4.5.tgz","integrity":"sha512-OMc7Gt4Vc+rtl7zGmE0nIZLxIvMavVDbniXy3VZQBRXF7w+pPUxL9ztYOZXfFP/vmqPmujlrVHVzIc94EDM9vw==","signatures":[{"sig":"MEYCIQC8ZI5YMC5hlicE1lCCIlY4esl7d9D2UI2b4aACnBhawQIhAJ9OxacJAWghCq5lXfcdV0ZzG0hsc6cHdSPMQ84aMD8B","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"1bd30064b8e225da30f2a124cfdd7ca3a12d67d9","gitHead":"f532940fb01459b16fe1cbf81dc257a07b30ec79","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ttacon","email":"ttacon@gmail.com"},"_npmVersion":"2.15.5","description":"publication-server =====","directories":{},"_nodeVersion":"6.9.1","dependencies":{"uws":"^0.12.0","ejson":"^2.1.2","primus":"^6.0.8","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/publication-server-1.4.5.tgz_1491849649403_0.6666772568132728","host":"packages-18-east.internal.npmjs.com"}},"1.5.0":{"name":"publication-server","version":"1.5.0","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.5.0","maintainers":[{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"chanpory","email":"junk@rith.com"},{"name":"chuy-mixmax","email":"chuy@mixmax.com"},{"name":"jenskene","email":"jen+npm@mixmax.com"},{"name":"jmixmax","email":"jeremy+npm@mixmax.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"olofster","email":"olofmathe@hotmail.com"},{"name":"pricj004","email":"pricj004@gmail.com"},{"name":"scb","email":"me@spencer.sx"},{"name":"simonxca","email":"simoncxiong@gmail.com"},{"name":"ssorallen","email":"rossgit@gmail.com"},{"name":"thas","email":"thas@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"},{"name":"wearhere","email":"jeffreywear@gmail.com"}],"dist":{"shasum":"471f886ee381cd2575a37bb9e0e698c62fbff021","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.5.0.tgz","integrity":"sha512-vrmegSB2oAoe4XJE/sxShFRBiBtpbVxsKbDpfwhYLrs1LUSE9wMnhWopv9hS8cVLt2mC7TqdYhniK6JaSxzc6Q==","signatures":[{"sig":"MEQCIDuAvJkl4aoXEg8arlhCq0st91Ue3CEIyVEAqThQpbYOAiAPb6IBgqwha2TdFIPPgSQCupCEWsjkLRrHnxM/OH+eFA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"471f886ee381cd2575a37bb9e0e698c62fbff021","gitHead":"834201dbf6f4666c65aab18a434c66f4b6fe111f","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"scb","email":"me@spencer.sx"},"_npmVersion":"2.15.9","description":"publication-server =====","directories":{},"_nodeVersion":"6.9.1","dependencies":{"uws":"^0.14.1","ejson":"^2.1.2","primus":"^6.0.8","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/publication-server-1.5.0.tgz_1492475810771_0.4707881973590702","host":"packages-12-west.internal.npmjs.com"}},"1.5.1":{"name":"publication-server","version":"1.5.1","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.5.1","maintainers":[{"name":"wbw20","email":"wbw20@case.edu"},{"name":"mericsson","email":"mericsson@gmail.com"},{"name":"simonxca","email":"simoncxiong@gmail.com"},{"name":"logandavis","email":"logankeahidavis@gmail.com"},{"name":"ghmeier","email":"meier.garret@gmail.com"},{"name":"skeggse","email":"skeggse@gmail.com"},{"name":"olofster","email":"olofmathe@hotmail.com"},{"name":"jenskene","email":"jen+npm@mixmax.com"},{"name":"chanpory","email":"junk@rith.com"},{"name":"pricj004","email":"pricj004@gmail.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"chuy-mixmax","email":"chuy@mixmax.com"},{"name":"scb","email":"me@spencer.sx"},{"name":"ttacon","email":"ttacon@gmail.com"},{"name":"wearhere","email":"jeffreywear@gmail.com"}],"dist":{"shasum":"0730d234fc5cfeeb6177880f5ce8d4196bfd9b1f","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.5.1.tgz","integrity":"sha512-IsENPfFtSPukhqvybLCi4jRVDvTjUJhCTLt0de0tSFDDMP1RbvbwF1NvJwzLJYd4uM9s7BBhl4VXCA51ZA1ArA==","signatures":[{"sig":"MEYCIQDtzBT9Z9GH4Vd21i8yKXCcV3Ku0LPAdnVxXSWz8BvltQIhANMyotvSriraMj8xckDvqpv3sjnLkWoiklLS6RBm5Yki","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","gitHead":"9e8fc7f08d888f03156f3bf7642ec31d4ddb4953","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},"pre-commit":["lint"],"_npmVersion":"5.5.1","description":"publication-server =====","directories":{},"_nodeVersion":"7.6.0","dependencies":{"uws":"^0.14.1","ejson":"^2.1.2","primus":"^6.0.8","node-uuid":"^1.4.7","underscore":"^1.8.3"},"devDependencies":{"eslint":">=3","pre-commit":"^1.2.2","eslint-config-mixmax":"^0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/publication-server-1.5.1.tgz_1516230373539_0.6594127514399588","host":"s3://npm-registry-packages"}},"1.6.0":{"name":"publication-server","version":"1.6.0","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.6.0","maintainers":[{"name":"andytran","email":"hello@andytran.me"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"chanpory","email":"junk@rith.com"},{"name":"chuy-mixmax","email":"chuy@mixmax.com"},{"name":"evanhellmuth","email":"evan.hellmuth@gmail.com"},{"name":"gaastonsr","email":"gaastonsr@gmail.com"},{"name":"ghmeier","email":"meier.garret@gmail.com"},{"name":"jenskene","email":"jen+npm@mixmax.com"},{"name":"liisa","email":"liisa@mixmax.com"},{"name":"logandavis","email":"logankeahidavis@gmail.com"},{"name":"megantinleywilson","email":"megan@mixmax.com"},{"name":"mericsson","email":"mericsson@gmail.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"olofster","email":"olofmathe@hotmail.com"},{"name":"pricj004","email":"pricj004@gmail.com"},{"name":"rockinghelvetica","email":"nicholas@mixmax.com"},{"name":"scb","email":"me@spencer.sx"},{"name":"skeggse","email":"skeggse@gmail.com"},{"name":"ttacon","email":"ttacon@gmail.com"},{"name":"wearhere","email":"jeffreywear@gmail.com"}],"dist":{"shasum":"3c1ea243e8f41e8ffca044fa646618a098976552","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.6.0.tgz","fileCount":20,"integrity":"sha512-WjNfVEaSSiIERvkQ6CFoYAYg5myzGKx4y64K59tlNXES1wQ1K6hMMIKq9O6AsEqwlUKFRZvEvaqT8cSNJxV8Vw==","signatures":[{"sig":"MEUCIQCrt+bRc2yvMzck2caKyeSbCj57CXqxMOj3x/l00pyzvwIgAYx+V7PAG9I337A9Q1S6AY8MXfkjMR0lN9HTvUKfQWc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":217609,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/NMPCRA9TVsSAnZWagAA/0UP/AzIfAbhwfh8AV5L7Dmu\nMh2apsxe1ucyTudtAUEpzv43VwAQ2Uk8nyMuD5Qweu2CZSMOc1oBKiVcbEZh\n9MhTZaRtxlNtHjpp0OAzc4bALn9eNmIhyGx2tinzXBUmt7+BgZGmT6gIZqbF\nKUpw23GCO21B5nXGHXvl/ytMpVkxEGGWuYpyVaZbSYCKFrVyimmALptWGVUS\nDFyPCqJKi7MYJCeErdpqhY5mIHTLb/dOUfXVftjmp4WaHaaIn9DMSimHZgXn\n/ZEStJrVgsmwsVW2KPoQwJYMo+4/dBsddn8OBZD1VV4qZqZREQjnZiGxVcDS\nKWWh32CI5GbYRMN4ITIsXqVfBWFvHXrVzb2uu9qbI0XQdEKZ8k/T2OSX2bHA\nbdxdkSsziLKr8xEQlo+yDxTYtuOWPh+NsVwX3n15l7NNUXox1cfBWvo+wLtO\npyDJzKrXUDNqfXcvUrxo55kFDSCGXX2RwshHOCzOOqJSdvBP6u5Z+RvvUikh\nKttanHNg2XkEM+1ZW/C1X/1hlOgF7WuBiMRaayrov2ggxXCGRXUY5pvVu4p3\ngL64a0QBvinm3lxldFaBtVgVIN2UMP17QEJUmIBZ0+rBFABh4US7OTAYrtC+\nmq2rhD86gf6sHpblsJIBWoCLLuOCAj4v1uAYXobTVQfC7wYCCJWyz0UeW1jX\nzx0R\r\n=mKbB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"94f7396b7c0ed5cdd610cfa3d9a09061933c3cdc","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"liisa","email":"liisa@mixmax.com"},"pre-commit":["lint"],"_npmVersion":"6.0.0","description":"publication-server =====","directories":{},"_nodeVersion":"8.9.3","dependencies":{"uws":"0.14.1","ejson":"^2.1.2","primus":"^6.0.8","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":">=3","pre-commit":"^1.2.2","eslint-config-mixmax":"^0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_1.6.0_1526518542251_0.15081645692366297","host":"s3://npm-registry-packages"}},"1.6.1":{"name":"publication-server","version":"1.6.1","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.6.1","maintainers":[{"name":"andytran","email":"hello@andytran.me"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"chanpory","email":"junk@rith.com"},{"name":"chuy-mixmax","email":"chuy@mixmax.com"},{"name":"gaastonsr","email":"gaastonsr@gmail.com"},{"name":"ghmeier","email":"meier.garret@gmail.com"},{"name":"jcperez91","email":"j.perez@outlook.com"},{"name":"jpdstan","email":"stan@mixmax.com"},{"name":"logandavis","email":"logankeahidavis@gmail.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"mixmaxryan","email":"ryan@mixmax.com"},{"name":"olofster","email":"olofmathe@hotmail.com"},{"name":"pricj004","email":"pricj004@gmail.com"},{"name":"ryanbrunner","email":"ryan@ryanbrunner.ca"},{"name":"sbalaji1996","email":"srinand@mixmax.com"},{"name":"shils","email":"shil.sinha@gmail.com"},{"name":"skeggse","email":"skeggse@gmail.com"},{"name":"tleavitt","email":"tucker@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"},{"name":"wearhere","email":"jeffreywear@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"6fa8a1a41517a4fce6978338c28b87f681389703","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.6.1.tgz","fileCount":22,"integrity":"sha512-HlOq2cxl72Q/I8a0YuOyt+SJk2q6POu3FSEVwzM4ohuxAXS+2bwk3RmvbE6IXzxnrLatbmla4o+NdbTMptahTw==","signatures":[{"sig":"MEUCIQCKkj+CbSCbJG5Dq//KPFwaMaAKP7CedmiQfaCd26VCSAIgCmiOOaI6cZA6tQCSqe9VDSyNGmetMXeNCSSfxaoRMR0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":521973,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWFEmCRA9TVsSAnZWagAANjkQAIsOra3yGsCHyCWhu+jB\nuHVDysz8H+O8FXvPtiddOrkcYr+XLXM2fMp8mZ2ZZqHRBnDy49kogRWp3t2p\n5q7p9JP3F9KKjvxwybRoFwpfbQkttNtfqI9EQgIbeBnETzDGAr5Xn0gTCE7q\nC8W7DNgvuf6v9h2ws5twzrpth40ue2oZ+FsWoClQjn7rhiFd6Y5MoqWmykBO\nnTzOvB2ovUGW4b6cQeq+1l+xtkQk0jYxhVFRTW2By1KN5JHofaoEsGDHg6hq\n5o6rIzRWUwhPVnAQRbQhCOep8LEqLynF44GXvLetANP1o+nE5ZgApdw9jyI8\nILsej3mi7wmLd2IrWyxUA9MtlhXtbgoFazcPLzyER7eM2KnuRjeOBTHzbDKB\ndGeCebrANCHRV04VycYXHgAtj7s4EiJb9Z7XdTGKepQDdUwu8VwysYtps7LE\nYaHfZYpwAzdG7zIbC9Zgh0jBe87dWohNYtzN+PfZwKAGGFnhlSO1CNOJn3VL\n6D/OkZYZhVvAiuwcR3b3rKTj7OEN+YyMet782K26LNii7TOhZg7Fm5Aik7gg\nSwG8hzrQc2LqHz9uUGG9P7c5bkGTUB0nZM+P8+c5qwBWbMkUsoDp3WNysRa2\n472zd7DuAuPzWV2chVT6PUlhsewg01Egqzc1dzG3r2lpv/f7TaZHPJNy+W4x\n1Uju\r\n=E3om\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"ba456e0e3357eee1590fd5a133f79b3f61946524","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mixmaxryan","email":"ryan@mixmax.com"},"pre-commit":["lint"],"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"6.4.1","description":"publication-server =====","directories":{},"_nodeVersion":"8.9.3","dependencies":{"uws":"0.14.1","ejson":"^2.1.2","primus":"^6.0.8","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":">=3","pre-commit":"^1.2.2","eslint-config-mixmax":"^0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_1.6.1_1549291814202_0.2527380480249184","host":"s3://npm-registry-packages"}},"1.6.2":{"name":"publication-server","version":"1.6.2","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.6.2","maintainers":[{"name":"andytran","email":"hello@andytran.me"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"chanpory","email":"junk@rith.com"},{"name":"chuy-mixmax","email":"chuy@mixmax.com"},{"name":"gaastonsr","email":"gaastonsr@gmail.com"},{"name":"ghmeier","email":"meier.garret@gmail.com"},{"name":"jcperez91","email":"j.perez@outlook.com"},{"name":"jpdstan","email":"stan@mixmax.com"},{"name":"logandavis","email":"logankeahidavis@gmail.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"mixmaxryan","email":"ryan@mixmax.com"},{"name":"olofster","email":"olofmathe@hotmail.com"},{"name":"pricj004","email":"pricj004@gmail.com"},{"name":"ryanbrunner","email":"ryan@ryanbrunner.ca"},{"name":"sbalaji1996","email":"srinand@mixmax.com"},{"name":"shils","email":"shil.sinha@gmail.com"},{"name":"skeggse","email":"skeggse@gmail.com"},{"name":"tleavitt","email":"tucker@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"},{"name":"wearhere","email":"jeffreywear@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"0023a04df4b0e7e40c1e665e91b0766dc975e1b2","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.6.2.tgz","fileCount":21,"integrity":"sha512-Inw/BCVCp0Xg3N7RVmrMyEOM9JFt8s9uKRTSQi9EKx9ROqy8PHkQNLWZ7AVkoyL+pBo7Bs+PbOqbUCOK2sEyeQ==","signatures":[{"sig":"MEYCIQDylXSE4631HbswIHKbmZOVgKhuLa0o6tG/OiVb8wtwCwIhAIarL5Jc4E1bB0aum1Cr3ohRYKuZ/b+VR4pWNA/Y4OSD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":219576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWFa+CRA9TVsSAnZWagAABiwP/A3aRgWOrFmwgVPBB4Am\nCzFBdoVkHfu4qI41pA2mumatT3ON7uD0vnAQd6PdUWwdSoG0xA6aPIwZMVc8\nXyvGDV+bW5lTTeS4kyFUW2RscLavGLzU3no5s6q3aPjrrOxTKGbffb7z+ANQ\nDATB6fZ1AxP8YtxaI2NuDwmfe/0giXGDMT7DUOjPu2Maxv4l9Cy4BPlWB1V3\nisz8+Be0QUEPQO41TUvoNgP5OXXScZPgGrfnHA9Gt9f05WvTdnUh792GeuOE\nGsEoeqzxuxi6F+emKyUd/K4EeqWo9saDGfSZJSOCzftGC1XeOXwioho//qot\nXypgOmZOisFj0SRNxFxFy68Kc0Ml9iuvPv00AfXzmfxZge80Bbt9+Bb5XeYE\n4hXlXezhzoWSbPxAHTeo9HLAOZaS29Id744uJnAz9uaNcHv10UQ0aVLvjS+w\nAovKCNifHZZOY0hW4v7L2FW+o5hH7PrFcEDe9LaUmadvq5HfP1t1a/BKyAfr\n+IaKGrTd/ltqPuSckbts0jAkHO7YGFtEnOaSLFe+qJxZyBNBEuiAoULltd3X\nAng2zzJ2bP2JoFSVIlBm8ARUCYEVW0H4ZuAn3oGo0CDfYNBqvcwNCuVXNBCz\nhDFtPHrnNftsqh/BHfs8DmXSKq+ATHD3b7zDXWq9RvmSa4u142dJaEH9arzP\nvEkc\r\n=g4D/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"7f3ac2ddfdfd785614e6ce24bd0e47451817daa0","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"mixmaxryan","email":"ryan@mixmax.com"},"pre-commit":["lint"],"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"6.4.1","description":"publication-server =====","directories":{},"_nodeVersion":"8.9.3","dependencies":{"uws":"0.14.1","ejson":"^2.1.2","primus":"^6.0.8","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":">=3","pre-commit":"^1.2.2","eslint-config-mixmax":"^0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_1.6.2_1549293246062_0.4833493220324818","host":"s3://npm-registry-packages"}},"1.6.4":{"name":"publication-server","version":"1.6.4","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.6.4","maintainers":[{"name":"andytran","email":"hello@andytran.me"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"chanpory","email":"junk@rith.com"},{"name":"chuy-mixmax","email":"chuy@mixmax.com"},{"name":"enricribas","email":"ribas.enric@gmail.com"},{"name":"gaastonsr","email":"gaastonsr@gmail.com"},{"name":"ghmeier","email":"meier.garret@gmail.com"},{"name":"jcperez91","email":"j.perez@outlook.com"},{"name":"jpdstan","email":"stan@mixmax.com"},{"name":"logandavis","email":"logankeahidavis@gmail.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"mixmaxryan","email":"ryan@mixmax.com"},{"name":"olofster","email":"olofmathe@hotmail.com"},{"name":"pricj004","email":"pricj004@gmail.com"},{"name":"ryanbrunner","email":"ryan@ryanbrunner.ca"},{"name":"sbalaji1996","email":"srinand@mixmax.com"},{"name":"shils","email":"shil.sinha@gmail.com"},{"name":"skeggse","email":"skeggse@gmail.com"},{"name":"tleavitt","email":"tucker@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"},{"name":"wearhere","email":"jeffreywear@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"1168821adee64244c06faaf51bb07d8b3d1674d1","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.6.4.tgz","fileCount":22,"integrity":"sha512-hWe0oH7/tNY3FV/h7RPai4mmhtAxhQm4L6+uI07BydDpntJ1KgoZY7MMzdrt6coqsf/W2OL/VQjASDtaHm6bYg==","signatures":[{"sig":"MEUCIDlhT3VRe+G4KS+22fa8i77Z7aaMpq/03PHeVPBW2vTaAiEA1z06fV/o+GaRiYybBLZGCUmwS2Y4iu/cXpLwCzzj5GA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":220747,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckmhoCRA9TVsSAnZWagAAcIIP/A5JL1P5uuDzq7SN82p9\n+5kKx0b75OO4rFzRv4o22WA/Mlyup//0voOWT9VLxKR9ltIc/ZJ2jHtf1q7D\n0ZPqCuhHUnZft0ezJos06Y/yc3DQA1yxwIe3h8yhWxOoKbQZ6crilBt5B3Mk\nTXEkLiwOwP0g71/QXr6AQ9kYceIFLVG8ZO+6416QEDzi5QYw2qM2b2GwHdue\nsb0CMpHf9dWrILmPLudLOY3iU94xpuoalp3Z4a2iyGhfmPUn0kmCDYvCUMw5\nPUPXxoHXbtro/ryCxEwSrTo/mXQizB6xh84xogT2hCX5JNlc+f+UYysOYbVJ\nS1jg/b5aIJctIzIM5wkmQERS7Kn+o7jAGLEMoM8aH5yep+mpQSTCtGB+PH8d\nORhVTcfL6JBNzZkzTRdYiR4gM9WRIbVf2XqdMuXvX2CR8O0uMV3ysrSy5T64\nwJPwtD0cgPsE3tN4ABRTUdJKWQPVIR8TELhDSrSyqgrvSdWnlxLt4Jb2qz/5\nsVdVHtUOttpDXlUziBmZRTY9+G7utbZkw3i72XG9ZJBfrfMvtSWB5ZqJZoGQ\n+rNgx1v69wZLVFhcSKB4hyc0e99kEO3gBI1tl7z6/+A30lIqmh1y6U2dOD9g\n5d05n2ANlvbhKyzt85pbQ+0chaidRKcbMfJLOpw2m/9+YUwlsHbH708LtR4z\nVDNK\r\n=R1Wq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"8b8276c158fe038a9f90d8a268f60075ad785568","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ghmeier","email":"meier.garret@gmail.com"},"pre-commit":["lint"],"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"6.9.0","description":"publication-server =====","directories":{},"_nodeVersion":"8.9.3","dependencies":{"uws":"0.14.1","ejson":"^2.1.2","primus":"^6.0.8","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^5.15.3","pre-commit":"^1.2.2","eslint-config-mixmax":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_1.6.4_1553098856010_0.13574974375377025","host":"s3://npm-registry-packages"}},"1.7.0":{"name":"publication-server","version":"1.7.0","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.7.0","maintainers":[{"name":"andytran","email":"hello@andytran.me"},{"name":"bkhmn","email":"bekah@mixmax.com"},{"name":"bobbymart1n","email":"bobby@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"chanpory","email":"junk@rith.com"},{"name":"charlestwall3","email":"CharlesTWall3@gmail.com"},{"name":"chuy-mixmax","email":"chuy@mixmax.com"},{"name":"enricribas","email":"ribas.enric@gmail.com"},{"name":"geoffwhatley","email":"me@geoffwhatley.com"},{"name":"ghmeier","email":"meier.garret@gmail.com"},{"name":"jcperez91","email":"j.perez@outlook.com"},{"name":"jhoffmanmixmax","email":"josh@mixmax.com"},{"name":"jpdstan","email":"stan@mixmax.com"},{"name":"logandavis","email":"logankeahidavis@gmail.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"mixmaxryan","email":"ryan@mixmax.com"},{"name":"olofster","email":"olofmathe@hotmail.com"},{"name":"pricj004","email":"pricj004@gmail.com"},{"name":"ryanbrunner","email":"ryan@ryanbrunner.ca"},{"name":"sbalaji1996","email":"srinand@mixmax.com"},{"name":"sethsakamoto","email":"seth@mixmax.com"},{"name":"shils","email":"shil.sinha@gmail.com"},{"name":"skeggse","email":"skeggse@gmail.com"},{"name":"tleavitt","email":"tucker@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"},{"name":"wearhere","email":"jeffreywear@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"9f5456135ff574d44ff5fb29414151cd0eb834cf","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.7.0.tgz","fileCount":22,"integrity":"sha512-AwfOGjGti3tFGbDKTpXSJWYubUVrRRbkU6p6IGynNkZOwxScjg/48jq+Q+50IbsadjqNr1YysQPc98T6gNuQHg==","signatures":[{"sig":"MEUCIDCfSAq/Jq7dCzu/Ss0KNrWnwz6RJwIoxItibPbZgX7AAiEAqlqLRxxhIYmc8dnAItc4wJh+xmUZd3WCme+PqvlXh+s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":220821,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcW+YCRA9TVsSAnZWagAAcJAP/A0De3URb3XASThXY0cD\nW3yxGqa1dC7gyd85+kfW8W6VvHIR1We8gHmMYy5wmaseOQxY+fBP7d6HP1Tu\nDKzGIyDPmLzPK0hcCzI9AlQBdmt90kxDHEjj0DUHz4rM1SaUVHlvvxH173aK\nUEpT11/7rMjOI91+a0zQu0B7X1PKkZVbWyC384PnsOJ0xorGtOuJv/OQFpn1\nECJJ3zyxJWpdbrwaa/M+2VZ1ddz109MxVnOQBW4BGW+/x8rWqam0f1ni6C4z\nZ7D1P9I11lljnPg1ik6/g3MDkhqkrUTA9ZvCIN0yqmpnoNUJH5idyv3eJO87\nFwlV2oUq6VjG9M4boDQGlHea7JfRyaZIzEJQPda67mWyNzqeT/PvtSU5jKMX\nkJ3IeSQBAnRDILmODjFDvasbD9V5mVUVe7tobM54PQTj1nAl7k++H1FQKYva\nYqYw8cavfW8f25fdPhK/PL3Ap++gniR5+nDB9wxNe/yS1y0ulxOoFN2zwfJJ\nkfH2+bUz7Lv2c8SMauB0GPipENpqPCCn1FUJ5YWoWAo2Jb800lfUQHMrPs4k\nt6tdk0bdclvHtBwyHUDCngAwTnPqK8eJc7K53sSKqq8U8aJMLevlREdXtLmA\naj4DyMuw/KstWNTIEY8PveOnfO0h7ftEHyfVWIMIGzJIgOL0Bj2UJvc92ZJG\nUi3e\r\n=zILt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"e51567e257e630a05f6149ad405cd887ef40af34","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ghmeier","email":"meier.garret@gmail.com"},"pre-commit":["lint"],"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"6.11.3","description":"publication-server =====","directories":{},"_nodeVersion":"10.16.0","dependencies":{"uws":"^10.148.1","ejson":"^2.1.2","primus":"^7.3.3","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^5.15.3","pre-commit":"^1.2.2","eslint-config-mixmax":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_1.7.0_1567715223927_0.09542490493472244","host":"s3://npm-registry-packages"}},"1.8.0":{"name":"publication-server","version":"1.8.0","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.8.0","maintainers":[{"name":"andytran","email":"hello@andytran.me"},{"name":"bkhmn","email":"bekah@mixmax.com"},{"name":"bobbymart1n","email":"bobby@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"chanpory","email":"junk@rith.com"},{"name":"charlestwall3","email":"CharlesTWall3@gmail.com"},{"name":"chuy-mixmax","email":"chuy@mixmax.com"},{"name":"enricribas","email":"ribas.enric@gmail.com"},{"name":"geoffwhatley","email":"me@geoffwhatley.com"},{"name":"ghmeier","email":"meier.garret@gmail.com"},{"name":"jcperez91","email":"j.perez@outlook.com"},{"name":"jhoffmanmixmax","email":"josh@mixmax.com"},{"name":"jpdstan","email":"stan@mixmax.com"},{"name":"logandavis","email":"logankeahidavis@gmail.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"mixmaxryan","email":"ryan@mixmax.com"},{"name":"olofster","email":"olofmathe@hotmail.com"},{"name":"pricj004","email":"pricj004@gmail.com"},{"name":"ryanbrunner","email":"ryan@ryanbrunner.ca"},{"name":"sbalaji1996","email":"srinand@mixmax.com"},{"name":"sethsakamoto","email":"seth@mixmax.com"},{"name":"shils","email":"shil.sinha@gmail.com"},{"name":"skeggse","email":"skeggse@gmail.com"},{"name":"tleavitt","email":"tucker@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"},{"name":"wearhere","email":"jeffreywear@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"0753139560480c2950a068d17b3a62e0af370a86","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.8.0.tgz","fileCount":23,"integrity":"sha512-ON6ovG3UDX2XZg0jzVQoh6KoXFCIzVk3kzQSAgAgORvPqOPId1eOspifzIiZdbjgBoF/parVvKRlIIfw+b07hw==","signatures":[{"sig":"MEUCIQCpEgAbzDrHskA5eQe8nZuUaZky1VRIHf7OBRmXXOTb/wIgPgUfqmhyS8Kcf6VLpdzPLLkzxxtnO+ivf7yROuPuwHc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":524518,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcYURCRA9TVsSAnZWagAA6eEP/iB8Boppze/zgLjaIBFO\nK7AHSpGImZqS5rnI+4YRy3IXl+xJWPf/vSiFHfRX48TkOYnz23ydspjZZXtO\nN6rjkATGZaZ/K1LfY8mwBXYfwMsV9O8WKR0yrWEQCSiW46aIgc1Xopci4TEV\n7RpH3EI6zuc7SmolnBHxX8igiy8gR3ih8VMAuUgV5PMbLmyiUCS6Q7jlQ9o6\n4If0i7NdLDti9UkovGzJBu8djl4IlYR9Vcp77BLukt7NqB2Np1iTm8yBIu/F\nrT3lRvT1yPxygJ5qpJbzntu+SUVrnPUVxkpCIpfyblRBfy+z4EajST6+6Tc7\nXy6/Ryf391LGvjE+G69D3Vctd8ux28Rpjz2dVFVcetv5UPAGjmeyg9k6TLqt\nAM3hartMx0t56ySeVutgz5MdoamPVPCdLqRl7fH+CB3nyqmp4Hld/nrgrsPa\ngA4sRoh3c2dtlStKA+qmk4DFrmle+o+F//wTn9amMO4GznjVA7zFZX3oWqq3\n/PFcqxfmcHv9qHf5b7tLeWijZaKeEXgibIkfpYgk7Ei8V3TiWNohLHw13fsR\naaOZLlgTbgQDDXzdQc12pICV5c3yaX3+iAWoEZ0TP1LA59FjjPA46qnY/lfk\nqfgRyStzUcpkIM3ByOHes3BiMHC5H7MvAZQgdy9jEHgy7+0To0/yLk5GQnsw\nxp53\r\n=Gr1w\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"8ed658abe9624444593877e23a398fb9c5e2f2de","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ghmeier","email":"meier.garret@gmail.com"},"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"6.11.3","description":"publication-server =====","directories":{},"_nodeVersion":"10.16.0","dependencies":{"uws":"10.148.1","ejson":"^2.1.2","primus":"^7.3.3","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^5.15.3","eslint-config-mixmax":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_1.8.0_1567720720744_0.8691096867601873","host":"s3://npm-registry-packages"}},"1.8.1":{"name":"publication-server","version":"1.8.1","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.8.1","maintainers":[{"name":"andytran","email":"hello@andytran.me"},{"name":"bkhmn","email":"bekah@mixmax.com"},{"name":"bobbymart1n","email":"bobby@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"chanpory","email":"junk@rith.com"},{"name":"charlestwall3","email":"CharlesTWall3@gmail.com"},{"name":"enricribas","email":"ribas.enric@gmail.com"},{"name":"geoffwhatley","email":"me@geoffwhatley.com"},{"name":"ghmeier","email":"meier.garret@gmail.com"},{"name":"jcperez91","email":"j.perez@outlook.com"},{"name":"jhoffmanmixmax","email":"josh@mixmax.com"},{"name":"jpdstan","email":"stan@mixmax.com"},{"name":"logandavis","email":"logankeahidavis@gmail.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"mixmaxryan","email":"ryan@mixmax.com"},{"name":"olofster","email":"olofmathe@hotmail.com"},{"name":"pricj004","email":"pricj004@gmail.com"},{"name":"ryanbrunner","email":"ryan@ryanbrunner.ca"},{"name":"sbalaji1996","email":"srinand@mixmax.com"},{"name":"sethsakamoto","email":"seth@mixmax.com"},{"name":"shils","email":"shil.sinha@gmail.com"},{"name":"skeggse","email":"skeggse@gmail.com"},{"name":"ttacon","email":"ttacon@gmail.com"},{"name":"wearhere","email":"jeffreywear@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"70fc8c27d6931e35b6b7dc5924f854ab5bdd7ff3","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.8.1.tgz","fileCount":23,"integrity":"sha512-gVudNbdzr1lLd9L/lgALpAWpU/qcwekwzYB9S8r9je0mtwA0cly2qIv9yuHsOUcj3Z7MV2Qs46ZYHRiX2rn1QA==","signatures":[{"sig":"MEYCIQD3aPJqfKwWmdL+3ISHGEvDgVLPfcHH4CXno1d0vfFEDQIhAOt9fNEvwzbX+dSZCfgX04vEDxWD5w0zBmY1gGRgAfPw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":524605,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddu7zCRA9TVsSAnZWagAAx4IP+gN+k7L9pak1MNFSAE1I\nmasGjP7fZJB+hfg2yJWyDPat0VWanxRufjDWcOtt5EegE7nImHC8RmWWZSn9\nOQDYu4qTRWIeKG3VsLP+HBNFqxCfir7Q7b5bgI+90yuyt68e+fKS+TccS0D3\ngkMQUarPeG1AMqXkz6fX5SI3JCyGHKnD7xufvHuCLIG1mW956A33ciEUkV6P\nG9y59f48fRfQPUtg+trMgiCqXNitzkDQpEbWRFtBTHvFg+O/SBOw4/QBEOYo\nn1oIt5eRfbvvGyNql9aK+GIYgJpTShPhNY+iy1nnqqilBH6K9q5ynD5kKTFo\n0/xMqjk+N4CTVqkYfpUJNKh6XYPjyefDauKAG2zSU0WF+1uxvQ4QlaI2xKft\nbwgqm+O0m5o/sZzYDxY1faTmr51XRqe5vN2s4fYFop4j9qcSA8DkEdcQjm4h\nmqwvm9sGS6k7Mzq0FGO+lRBFv9uzjH+QOwSrBufq57I1uzqoh/orji/Orn9z\n6MxgfQ/uxO8YimY6Noe490oPplBag4TSnYKQm3KPFmoS0/IpbV2m/pL2I5Yb\nW98N/b+0YDw7fk1C29QyLV/fBvhPgrufySKEKNvKNsQ/f/qobDGWpXy/6wuR\naQVPi8khJW4o28hGev7hp5dpV4+AEQw0wMAvP6YU1sO5R2cB5ZDaVG/YBGGT\nHGTP\r\n=Ndjs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"8c373cd34bd7daf3648afa2f4c9683ad37b42605","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ghmeier","email":"meier.garret@gmail.com"},"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"6.11.3","description":"publication-server =====","directories":{},"_nodeVersion":"10.16.0","dependencies":{"uws":"10.148.1","ejson":"^2.1.2","primus":"^7.3.3","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^5.15.3","eslint-config-mixmax":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_1.8.1_1568075506837_0.278193452353805","host":"s3://npm-registry-packages"}},"1.9.0":{"name":"publication-server","version":"1.9.0","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.9.0","maintainers":[{"name":"andytran","email":"hello@andytran.me"},{"name":"bkhmn","email":"bekah@mixmax.com"},{"name":"bobbymart1n","email":"bobby@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"chanpory","email":"junk@rith.com"},{"name":"charlestwall3","email":"CharlesTWall3@gmail.com"},{"name":"enricribas","email":"ribas.enric@gmail.com"},{"name":"geoffwhatley","email":"me@geoffwhatley.com"},{"name":"ghmeier","email":"meier.garret@gmail.com"},{"name":"jcperez91","email":"j.perez@outlook.com"},{"name":"jhoffmanmixmax","email":"josh@mixmax.com"},{"name":"jpdstan","email":"stan@mixmax.com"},{"name":"logandavis","email":"logankeahidavis@gmail.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"mixmaxryan","email":"ryan@mixmax.com"},{"name":"olofster","email":"olofmathe@hotmail.com"},{"name":"pricj004","email":"pricj004@gmail.com"},{"name":"ryanbrunner","email":"ryan@ryanbrunner.ca"},{"name":"sbalaji1996","email":"srinand@mixmax.com"},{"name":"sethsakamoto","email":"seth@mixmax.com"},{"name":"shils","email":"shil.sinha@gmail.com"},{"name":"skeggse","email":"skeggse@gmail.com"},{"name":"ttacon","email":"ttacon@gmail.com"},{"name":"wearhere","email":"jeffreywear@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"90acc4c9182afed84d9ddc39d7145dfb4efddd2e","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.9.0.tgz","fileCount":23,"integrity":"sha512-DccEP27MT536y5zPnEa3HN7Frk5vM3Se+QAscgYf+djpqnq7NQ9qBVBTHLEhCSPCO7Q4ujhoHnEBk4D1ivAbxw==","signatures":[{"sig":"MEUCIDBNapDkBENXXZxw935/yUsAYfXaS/I9XX0mkwIThtccAiEA7F5ndTEk/Mkd1ZbRQWd13fI/Fit6rG/7d0CLkVpob88=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":524712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeYqNCRA9TVsSAnZWagAAEIUP/ibBYVf51mqZiv0q8cha\n54ItPvl2Kecy5OkyCfuOd7OAYmqeSJQHtZO3aEw/y6btxHFBQiSK0mzwm7Sl\nORy2qg1h939yqNraiFJkeLxMQBvxRP5JKPRk783+g5JCcM4s27qRxrDBpdyS\nvBxu2ff/qHIPFM2V26QFnT0GZyoELPJU8hX9/QIhEZfce+g5EVzOcT+ENvIK\nWxk0Ivl3vdYY7BxXPNf3E8mtN1BUJdaLzL8oD7LzqZDGa+BTeREPqklNknzW\nDR5I4w9FsKQWsdFGJc31gbRZr8zCsB7eFqn2hgzZbh88m30pcqfZ7ulQFTjY\nb/BTStb8rkemfqJTc2X4kVo/n+/KS4EIvLU6/HryqvAVUAGfDg0FYrVcRC2j\nIWz1bWBcTCQh8c5K+TIZAhdjnduaFAsXKti1XdqcwveHmPU0l8dL5i0+kFHI\ngTEsH6Hs7ErHD45MuncUoLtH5yHbksQ/q6SvNM67i9ZQm+Ne30nbadxvvXy/\nplAAh7gVrJ0G6UOht4pzxuGf25GLhdfCN3CGK6nTb7+jT34t55RHf6rc4y1c\nW7FIEEyidVxuE5hfrG0MB1H+/8HD1RQknNV2z4f3J/8OAas8FCSpSUXuvb0u\njDrq38+t4TRkU083R8jXJa2TPi9VOo2GFNBPqjl3YhPtTw4n76PKDAfCP3N8\n/wzO\r\n=yqZ3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"ae08a4e794adada375ac6094baa05fce378e277b","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ghmeier","email":"meier.garret@gmail.com"},"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"6.11.3","description":"publication-server =====","directories":{},"_nodeVersion":"10.16.0","dependencies":{"uws":"10.148.1","ejson":"^2.1.2","primus":"^7.3.3","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^5.15.3","eslint-config-mixmax":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_1.9.0_1568246413022_0.25890240723693214","host":"s3://npm-registry-packages"}},"1.9.1":{"name":"publication-server","version":"1.9.1","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.9.1","maintainers":[{"name":"andytran","email":"hello@andytran.me"},{"name":"bkhmn","email":"bekah@mixmax.com"},{"name":"bobbymart1n","email":"bobby@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"chanpory","email":"junk@rith.com"},{"name":"charlestwall3","email":"CharlesTWall3@gmail.com"},{"name":"enricribas","email":"ribas.enric@gmail.com"},{"name":"geoffwhatley","email":"me@geoffwhatley.com"},{"name":"ghmeier","email":"meier.garret@gmail.com"},{"name":"jcperez91","email":"j.perez@outlook.com"},{"name":"jhoffmanmixmax","email":"josh@mixmax.com"},{"name":"jpdstan","email":"stan@mixmax.com"},{"name":"logandavis","email":"logankeahidavis@gmail.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"mixmaxryan","email":"ryan@mixmax.com"},{"name":"olofster","email":"olofmathe@hotmail.com"},{"name":"pricj004","email":"pricj004@gmail.com"},{"name":"ryanbrunner","email":"ryan@ryanbrunner.ca"},{"name":"sbalaji1996","email":"srinand@mixmax.com"},{"name":"sethsakamoto","email":"seth@mixmax.com"},{"name":"shils","email":"shil.sinha@gmail.com"},{"name":"skeggse","email":"skeggse@gmail.com"},{"name":"ttacon","email":"ttacon@gmail.com"},{"name":"wearhere","email":"jeffreywear@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"78296e279c299850a8748f7027cc2dd9d718aafb","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.9.1.tgz","fileCount":23,"integrity":"sha512-isZiSyPkh4UNpYMst96BDYTzwqy3oDrA7K/wQl0eyAMQg8a5HzJ/oBugxsu2fhVTlf584NPCxG5yZ4oOxjTe0A==","signatures":[{"sig":"MEUCICSeKFFXKYlcBiOFY2AJphaftDlHBNKDx8Q5ZynPgB7aAiEAkz+02HUhyaVKu/aegKVO5UKOJtIpYNzQ2qQPcKjC5G0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":524758,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdepZ+CRA9TVsSAnZWagAACSsP/0CnI8E3223LXV0uNviA\n/TdKPKxZZfPjboFweEaiOOz1EnLBuOmTPP+YladpTd3YzwJzsUpXyqJXWBE9\np1tVhAPC9nORii43x4YMMx8f8udcLPTYg6c0R2Ta8nvVLsNSh0/idxz/Lff1\nw7YckN9WyJbkFuVzo/2p3NinHyS/95xg0Y3fLRuoe7ANoh37lSomJ4kqyjeB\noBOWEWuG5yNGEp1s/6y86vTqg6MwY9JmFScNmRY95SwTk6QUpjaYBzB5oKO9\nxA37jHAV9v+IzeGTVys/qrZ2/kxdyKmXTKw90hEhs/4G5GL3cwRLYqrkIEsC\nvxyPBngTJyyRC/nkDsYxJGcgxSFZJo9wlZKlbGOvRU0aCIQSuOVvQYa5SrPL\npwc/yWudbKwbTaIn45Lcqd9jiE3p136dGdbSy9S9DTtzgfo6GDGrxGjKplpT\nt0EAfbiWYqH3K4fsyarjgTDpHA5u25ted43NbCOFVSOOHcJZAeAMHJW0uNUI\nrfThKrOg3Pds6MYlKGf0leSj16Wd/xawQT5ni0KtjWCjbDbW4koU6RMIVPO+\nru0rnk70QiO6cUfC2CZTi6Ks/7Zq4794dhF92Myka308u89ZJL7nyizsbj/Z\njsA8xTsheE4FTlcmWwAx7Iuk8cjVPUWvIHuDo5BafZA0Ctq7cgbStKUl+4Hr\n6pAv\r\n=lVde\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"bc169fe402bd6889664c1e25703b2b37495d06b1","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ghmeier","email":"meier.garret@gmail.com"},"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"6.11.3","description":"publication-server =====","directories":{},"_nodeVersion":"10.16.0","dependencies":{"uws":"10.148.1","ejson":"^2.1.2","primus":"^7.3.3","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^5.15.3","eslint-config-mixmax":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_1.9.1_1568315005599_0.4675345563231952","host":"s3://npm-registry-packages"}},"1.9.2":{"name":"publication-server","version":"1.9.2","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@1.9.2","maintainers":[{"name":"andytran","email":"hello@andytran.me"},{"name":"bkhmn","email":"bekah@mixmax.com"},{"name":"bobbymart1n","email":"bobby@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"chanpory","email":"junk@rith.com"},{"name":"charlestwall3","email":"CharlesTWall3@gmail.com"},{"name":"enricribas","email":"ribas.enric@gmail.com"},{"name":"geoffwhatley","email":"me@geoffwhatley.com"},{"name":"ghmeier","email":"meier.garret@gmail.com"},{"name":"jcperez91","email":"j.perez@outlook.com"},{"name":"jhoffmanmixmax","email":"josh@mixmax.com"},{"name":"jpdstan","email":"stan@mixmax.com"},{"name":"logandavis","email":"logankeahidavis@gmail.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"mixmaxryan","email":"ryan@mixmax.com"},{"name":"olofster","email":"olofmathe@hotmail.com"},{"name":"pricj004","email":"pricj004@gmail.com"},{"name":"ryanbrunner","email":"ryan@ryanbrunner.ca"},{"name":"sbalaji1996","email":"srinand@mixmax.com"},{"name":"sethsakamoto","email":"seth@mixmax.com"},{"name":"shils","email":"shil.sinha@gmail.com"},{"name":"skeggse","email":"skeggse@gmail.com"},{"name":"ttacon","email":"ttacon@gmail.com"},{"name":"wearhere","email":"jeffreywear@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"a07b099db1d72015d7295f49dc243fc3f630b9d6","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-1.9.2.tgz","fileCount":23,"integrity":"sha512-b6VcZKqATbDwSEQVNn1QVlAKn82XFN3pp9MTnlt8ggGybHTL975Moabw97h1WRMNjrunfB7szgT6zFX1pL1JzQ==","signatures":[{"sig":"MEUCIGDZNQ1JFKdHhurF9h9HcNq/eIpE7Rja7YdVV2o8W4DwAiEAsMRKdJfPzrQZAaQO+ta34KLKtPiEMZMp/NFYsfJMmEM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":524829,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeqfqCRA9TVsSAnZWagAAN+kP+wXRexcPney9vmvHREV4\nPtn9GxIaITWkhbfXxpGvdWqxVSLCcJU5pjKefukIGiIEjS1ysS4G2J/zrfef\nixqmWwdjlAwubjc2EQccNbsAEmw78dcr4qCB+eTmUYiSENIE6Ble0o0xTcmN\nm4HqpqUNoXT2hBBdB8sliCVxYM5TFF30SwjC6o3BeNdkhv1UAFHx3fsWTSZl\nA8P+W5UAqVWzhw+Go57suW5eoBbaCLLLX4XBoUb4a/SmcH/oVbmIpDeHjack\n3YiQltWUKbRnpVB0oN6nTwexcXnsUqDF2FLEkHm5l1tEsoEogTUrBkrNkBV5\nO/zKknFKAoN/PhvmimkQhsdu793klQnQhbVj1rhzVulsW7+Anip3JYV+6dkd\nJxjtWrVtuOFxjY7rcyEhmnRrmC7LRVVhwjmpZnE0+pJvvxUyhYGBVKh/kprZ\nI4qV46tspGoYUfIUkVBcX/AViQ6xakRb2PQlWXtcxEm33AFnlR3HrCOC9avM\n6Mye36VbnynmTcI9IkDHSxumK170UxgukgcoOiMxxE/FJwbbF1i8UO6oBMbz\noF1pbTvFsgxWI6cNB8u+xpmbw1Kp07QxAZm+PHTkQbcs30WIZHdrcsSlgRPU\n5hw6VysDedI5CwCo80p2YvLpCuG5UX9Irkbw30iexzGnBIM0+WJlpK8bMxef\n/wb2\r\n=bWr8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"313a92a1774975d60611b982d2b6fecc4236ef54","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ghmeier","email":"meier.garret@gmail.com"},"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"6.11.3","description":"publication-server =====","directories":{},"_nodeVersion":"10.16.0","dependencies":{"uws":"^0.14.1","ejson":"^2.1.2","primus":"^6.1.0","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^5.15.3","eslint-config-mixmax":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_1.9.2_1568319466145_0.7666331073095336","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"publication-server","version":"2.0.0","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@2.0.0","maintainers":[{"name":"mixmaxryan","email":"ryan@mixmax.com"},{"name":"shils","email":"shil.sinha@gmail.com"},{"name":"sbalaji1996","email":"srinand@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"ghmeier","email":"meier.garret@gmail.com"},{"name":"logandavis","email":"logankeahidavis@gmail.com"},{"name":"yasin.mixmax","email":"yasin@mixmax.com"},{"name":"jsalvata","email":"jordi@mixmax.com"},{"name":"unphonetic","email":"siobhan@mixmax.com"},{"name":"sicarul","email":"pabloseibelt@gmail.com"},{"name":"rtasson_mixmax","email":"ryant@mixmax.com"},{"name":"vladimir-mixmax","email":"vladimir@mixmax.com"},{"name":"laryro","email":"laryssa.vrocha@gmail.com"},{"name":"mdumrauf","email":"matias.dumrauf@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"5024504c85660a98060ab477e842989abcbd12f0","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-2.0.0.tgz","fileCount":14,"integrity":"sha512-bLEP3baVb1wbtyCGTrVQVyjjdaw86GA4Xbtq8J9siL6sMkpkvY3NycqxP1k10bU5aix6I5/9CNUfFffguePEHQ==","signatures":[{"sig":"MEYCIQCZhVncdVbDQ4p+r5OikORsJVEwd0liYU99iRcQBBPeBQIhAN828mPsuZWYyB+4Ro4ClKsoE/MY5fzGUsJSll4P05uA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf+NNiCRA9TVsSAnZWagAAwS8P/RVMJQvPxYgUoLEkEqk4\nEFtCNQS0dLf9WlFMMm4W14/9Ama7HMfUtD8Dpqa0HqYEmkQSMKuWEY3+ueeO\nQQeIly5aJGz1KiPiYfh6Av0tZxdWlMRtUoWmCvpIS0DY6XC67Vt0ZmLS94Uu\negXmfo1TUKMrPZVTWqsOgLVYbinl5XyvOlCGD2dP08GnUicTlzTyzvAvTp9V\n9CQItmdNGS+/iA8AzaXEFlqDjLOj3jLmpvm7Z7+HdnaBxDqSATfyUy/s0R0j\n6YChX9yBQ7yChCm2su7VNk64Lt3uZloTst8KXxs1kDbDOO9JAT7+gFtrin2e\nZLENlsD2t6ZuzThHhS5uH5+Xw7RgEpHmXgx7ieEewxhRkgzGr0MS2+xL08fn\nNirkKeuJFbyKVHe/SO+RkpfI6kneDYsvgmCQHI+Z4WCpFpuXGUUULdGPE430\nbTJTutSTPbGbxbzF7/CrLd2r0wt4DjTyuEDDrwr6Q8d3KuXK2ir2kGRR0a7o\nQoPRQzBAfInlgb33M5+GTlPmqwzOZpXuX1Pn5vKvANdpabDYjGhyWCS0E0X5\n5LDRJ4jw19ycBGIbuXO+IuDouBapNgTRU17zXgUk5lMtpklFEulrpmFtY75E\nOXjmSVH720hwOWCCoH937z4XWE0cob2FpzV69fVSa6oEB0AkEStH+TYA2D40\n9mT+\r\n=HBOm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"ce361537c102f6b26c47d770811fca98e153cc29","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ttacon","email":"ttacon@gmail.com"},"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"6.14.9","description":"publication-server =====","directories":{},"_nodeVersion":"12.19.1","dependencies":{"uws":"^0.14.1","ejson":"^2.1.2","primus":"^8.0.1","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.8.0","prettier":"^1.19.1","eslint-config-mixmax":"^4.8.0","@mixmaxhq/prettier-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_2.0.0_1610142562170_0.12823758971866916","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"publication-server","version":"2.1.0","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@2.1.0","maintainers":[{"name":"mixmaxryan","email":"ryan@mixmax.com"},{"name":"shils","email":"shil.sinha@gmail.com"},{"name":"sbalaji1996","email":"srinand@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"ghmeier","email":"meier.garret@gmail.com"},{"name":"logandavis","email":"logankeahidavis@gmail.com"},{"name":"yasin.mixmax","email":"yasin@mixmax.com"},{"name":"jsalvata","email":"jordi@mixmax.com"},{"name":"unphonetic","email":"siobhan@mixmax.com"},{"name":"sicarul","email":"pabloseibelt@gmail.com"},{"name":"rtasson_mixmax","email":"ryant@mixmax.com"},{"name":"vladimir-mixmax","email":"vladimir@mixmax.com"},{"name":"laryro","email":"laryssa.vrocha@gmail.com"},{"name":"mdumrauf","email":"matias.dumrauf@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"c4feda47be21df84d986540e88ce12165d45793b","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-2.1.0.tgz","fileCount":14,"integrity":"sha512-pIfu/uBYdP3lsdoo5AEZ5w2GkyIj3MUSCuLuqs4JvQgGTJQEaPvZbEG/P3T6TKL9GSf3ZpLZbXJcCXQel1rx7Q==","signatures":[{"sig":"MEQCIHlgo/SlAhInW2UsqcjyXXt5/uSBq/0+wRTvpazq99KuAiAKNJoXZvtEsmZxO7NDOLY1svjOaX3w87rZkMGOEXufMQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh23a7CRA9TVsSAnZWagAAb5kQAI7XAdP++JrJPEadk1oA\nGjWOtO+l1G7y3PSIzAaWNjXjQ1K+G4C1xg6kvg9YiB1QLH9z1+RcoYSrFWNm\nzrzsTaM7yuCjy2pwtMH9vdGq8wt0j4EOpHammYFc92n0KQaKQs/n44CSNiCS\nqpMQjf6m7lFNBxXm/EyOsXicGI8X+GZhpYGYdvBDI11l3TjF9qk5qG7WYinD\n0xWxw1V6h/sajQheMot7Fz+tW8Pla/KZ+Rivlb7eeUZwGJaZay3z0kLfxmvj\nrRcC1KrxH9uEHPIMLfAZgCNxA7IsyF33iAlLz9+9eEblzQMuoPv2ds+ycyUV\n7IfEHBpFQbnQLYlWC/DkaKbvCVW17DX7HIte77dd6TlSIQOYXfbBY8NKT1Uz\n8hXyRJCwDWli5dhSk7COp+SxOt5mTE1XnN+3sElPf54vIhwj3qt4fsiGnO3C\nOyRppu5vU/c2GIVqG/NfI0zsvs3CvuUpawKPWcySPbQ/wxdz4BQbcb0N683b\njC4/9IFpC2el9G8LNOrfkQyPVxajYMfZvxPORzL5Jjlvja0DDzMDrYa17YYK\nw3MdvsoxdTJHjCtMIZWa8leYXlSU5vNiBIVbfgOUAftPP6ZDhyu0SWGhxViO\nQtVeoz6JS0rb+ElWNlA1aYl1P9UX6217ltYXCZ2Rde8gs9hRZtvKBIp/D7Ht\nrIVh\r\n=ZhF9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"4ac8de9307f1340044992f1c3e48cf5b10d4e1c9","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ttacon","email":"ttacon@gmail.com"},"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"6.14.9","description":"publication-server =====","directories":{},"_nodeVersion":"12.19.1","dependencies":{"ws":"^7.4.2","uws":"^0.14.1","ejson":"^2.1.2","primus":"^8.0.1","node-uuid":"^1.4.7","underscore":"^1.8.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.8.0","prettier":"^1.19.1","eslint-config-mixmax":"^4.8.0","@mixmaxhq/prettier-config":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_2.1.0_1610730049024_0.028688209624559535","host":"s3://npm-registry-packages"}},"3.0.0-beta.1":{"name":"publication-server","version":"3.0.0-beta.1","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@3.0.0-beta.1","maintainers":[{"name":"sergei.kukhariev","email":"serge.kukharev@gmail.com"},{"name":"fealaer","email":"fealaer@gmail.com"},{"name":"rafael.decampos","email":"rafael.decampos@mixmax.com"},{"name":"mixmaxkristina","email":"kristina@mixmax.com"},{"name":"corridonimatias","email":"npm@matias.corridoni.me"},{"name":"mikusd","email":"mikusdominikcz@gmail.com"},{"name":"mixmax_it","email":"it-ops@mixmax.com"},{"name":"andra.lazariuc","email":"andra.lazariuc@yahoo.com"},{"name":"anda.nenu","email":"anda.nenu@gmail.com"},{"name":"danaya","email":"danaya@gmail.com"},{"name":"suretrust","email":"saholadele@gmail.com"},{"name":"jfbarranco","email":"jfbarranco@gmail.com"},{"name":"adborroto","email":"adborroto90@gmail.com"},{"name":"aaavakian","email":"aaavakn@gmail.com"},{"name":"kovalskyi","email":"mykhailo.kovalskyi@gmail.com"},{"name":"dnechay","email":"lelekkofe@gmail.com"},{"name":"raphaelbs","email":"raphael.b.souza@hotmail.com"},{"name":"fzaffarana","email":"fzaffarana@gmail.com"},{"name":"guilhermemj","email":"guilhermem.j@hotmail.com"},{"name":"eduard.borges","email":"eduardborges@me.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"jessem3","email":"jesse@mixmax.com"},{"name":"jsalvata","email":"jordi@mixmax.com"},{"name":"mdumrauf","email":"matias.dumrauf@gmail.com"},{"name":"leanmarty","email":"leanmarty@gmail.com"},{"name":"gabriel-mixmax","email":"gabriel@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"2d90a94247322793daaffa6d5758f16faa93217a","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-3.0.0-beta.1.tgz","fileCount":29,"integrity":"sha512-7/TPqo7TRXsf7diCMzTQ+cr1otPtcxgBuCd7q8ZzY7F7SfZJNrh8USPqm/o8VRoGZk8TKR4WCDnmKbqiaD68Xw==","signatures":[{"sig":"MEYCIQCOg/qVmPs/fAASTD2UFrOYhypvBHOWtom5ItF1PwVTDwIhALX/bEKTUNBAPdpKYrqBU6/GL7wML8cTm8fEGFn1CXKT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13112704,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjV6nXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmorIhAAnrtiukfpickIg3vVehg5ikAmAEcNS0fGWXNZ8lnT3OF70sTu\r\nKkGRkk1cV+rmxhpxnuzA0YvL862oJLW3VfXoiyJ0PLNGP9ilhM9TBKWakEo1\r\n8ZKS//HMkeA9GL4UsONAW+QsbQ7RVsyLsuAuLnfyFNKXwQ7tRli7iXi+G2Nz\r\nztI0fOWV2kjSwb1SY6+FYY/rgu/CTHA37G7F84RXGIAf54T13Kfn+xj1qomq\r\n+TFc7fgVndb61DsxL0+SIogIvcxAk+Nrt/IDUCCX54zjq2/FZg3kM/qvCSfy\r\n6++1asxTbPpqkjsPv/Fy86+1CRxnjMF6uqvgq0D0kSSOrJLv5XUhXZM8Wz89\r\nN9ZHiYcbyrws31WQU/4dmlAqyx08EbSluMZoe/hSobo6ROc1zdTnMsY2F57z\r\ngmP91JQiiOE8i/k2pZkZbH1BhMOKeW30ihyymeYxNqTfa5n0A/eVbbsWbLd6\r\nJ9qHqZwYtoA2NMpi5vm7VpZgpminmMh69jJM4L+15Q/hnrlvG1X34x8UKTYO\r\nQz0JAffZT+7kguGvECpwdtNnnGyvUvrTScEFAPLUOrWGOZJrHixXoe5KG/RU\r\nt7GHbUlakFh+h+0ejMVit3ijexfwRRUgPZXVSS8iZACZTnYOZhPCjgbi0U+b\r\nQZvQZAgW6v/X9fqmPA5qYvQ9NqzSPkr8KVU=\r\n=+9iM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"manualPublishMessage":"This repository is configured to use semantic-release for its releases. Please do not release manually.\n"},"readme":"# publication-server\n\n### Usage\n\nSee [/examples](/examples) for example how to use this.\n\nIn order to be able to mount a WebSocket server on the same port as an\nExpress server, we need to get the http server from the app so that we can\nexpose it to the WebSocket server. As an example:\n\n```js\nconst express = require('express');\nconst PublicationServer = require('publication-server');\n\nconst app = express();\nconst server = require('http').createServer(app);\nconst errHandler = function(err) {\n  console.log(err.error);\n};\n\nconst pubServer = new PublicationServer({\n  authFn: authenticationFunction,\n  mountPath: '/ws',\n  server,\n  errHandler,\n});\n\n// ...\n\nserver.listen(process.env.PORT || '8080');\n```\n\n#### Authentication function\n\nOne plus of this server is that it can authenticate WebSocket requests via the\nheaders on the initial `UPGRADE` request. This is done in the _REQUIRED_\nauthentication function that is passed to the `publication-server` constructor.\nThis authentication function takes two parameters which are the originating HTTP\n`UPGRADE` request and a callback. The callback has the following signature:\n\n```js\n/**\n * This callback is called to signal that we've either authenticated the\n * incoming HTTP UPGRADE request or we've rejected it.\n *\n * @param {Error} err The error that we've returned to signify why the user\n *    failed authentication. If `err` is null we've successfully authenticated\n *    the incoming connection to upgrade into a WebSocket.\n * @param {String} userId An optional unique tag to identify a user by. It is\n *    exposed inside of publications at `this.userId`. Some publications may\n *    not require this value, which is why it is optional to return, although\n *    it is highly encouraged to return a `userId` to be set.\n */\nfunction done(err, userId) {}\n```\n\nThe authorization function would have the following flow then:\n\n```js\nfunction authenticationFunction(req, done) {\n  // Logic checking the websocket headers, etc.\n  // ...\n\n  // If the request failed authentication, return an error.\n  if (failedAuth) process.nextTick(done, new Error('failed to authenticate user'));\n\n  // If the request passed authentication, call the callback with the the ID\n  // of the user that we've authenticated.\n  process.nextTick(done, null, `SUPERUSER$12345`);\n}\n```\n\n#### Registering publications\n\n```js\nconst pubSub = require('./path/to/initialized/server');\n\npubSub.publish('PublicationName', function() {});\n```\n\n#### Marking a publication as `ready`\n\nWhenever a publication has finished publishing the initial documents that it\nneeds to send, it must mark itself as `ready`. This is accomplished by calling\n`this.ready()`.\n\n```js\npubSub.publish('PublicationName', function() {\n  // Initial document publishing.\n  this.ready();\n\n  // Add future event handlers if desired. See /examples directory\n});\n```\n\n#### Errors inside a publication\n\nIf a publication encounters an error, it should pass the error to `this.error()`.\nThis will call the registered error handler, and pass the error along to the client.\n\n```js\npubSub.publish('PublicationName', function() {\n  this.error(new Error('failed to do something require'));\n});\n```\n\n#### Error handling\n\nErrors passed to the error handler provided upon server initialization are\nobjects with these properties:\n\n- `error`: The original error that was reported by the publication.\n- `userId`: The ID of the user who was subscribing to the publication when the\n  error occurred\n- `extra`: Any extra information that was recorded - currently this is the\n  parameters that were provided to the publication.\n\n### Gracefully shutting down\n\nThe publication server also exposes a `shutdown` function which accepts an\noptional timeout, within which it is expected to close all current websocket\nconnections. The timeout within which to gracefully shutdown defaults to zero\nif none is provided. Also note that the unit is in milliseconds. As an example:\n\n```js\n// This gives the server 10 seconds to gracefully shutdown.\npubSub.shutdown(10000);\n```\n\n### Client\n\nSee [publication-client](https://github.com/mixmaxhq/publication-client) for the client for this server.\n","gitHead":"4231a4efd933b781d0ef7385976d9d9ba08e9bab","release":{"extends":"@mixmaxhq/semantic-release-config"},"scripts":{"ci":"npm run lint","lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","ci:commitlint":"commitlint-jenkins --pr-only","prepublishOnly":"if [ \"$CI\" = '' ]; then node -p 'JSON.parse(process.env.npm_package_config_manualPublishMessage)'; exit 1; fi","semantic-release":"SEMANTIC_COMMITLINT_SKIP=dad98f2 semantic-release"},"_npmUser":{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"7.24.2","description":"### Usage","directories":{},"_nodeVersion":"12.22.12","dependencies":{"ws":"^7.4.2","uws":"^0.14.1","ejson":"^2.1.2","primus":"^8.0.1","node-uuid":"^1.4.7","underscore":"^1.8.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^6.8.0","prettier":"^1.19.1","semantic-release":"^17.4.7","eslint-config-mixmax":"^4.8.0","@mixmaxhq/prettier-config":"^1.0.0","cz-conventional-changelog":"^3.3.0","@mixmaxhq/commitlint-jenkins":"^1.6.0","@commitlint/config-conventional":"^17.1.0","@mixmaxhq/semantic-release-config":"^2.0.3"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_3.0.0-beta.1_1666689494715_0.31874069946881045","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"publication-server","version":"3.0.0","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@3.0.0","maintainers":[{"name":"sergei.kukhariev","email":"serge.kukharev@gmail.com"},{"name":"fealaer","email":"fealaer@gmail.com"},{"name":"rafael.decampos","email":"rafael.decampos@mixmax.com"},{"name":"mixmaxkristina","email":"kristina@mixmax.com"},{"name":"corridonimatias","email":"npm@matias.corridoni.me"},{"name":"mikusd","email":"mikusdominikcz@gmail.com"},{"name":"mixmax_it","email":"it-ops@mixmax.com"},{"name":"andra.lazariuc","email":"andra.lazariuc@yahoo.com"},{"name":"anda.nenu","email":"anda.nenu@gmail.com"},{"name":"danaya","email":"danaya@gmail.com"},{"name":"suretrust","email":"saholadele@gmail.com"},{"name":"jfbarranco","email":"jfbarranco@gmail.com"},{"name":"adborroto","email":"adborroto90@gmail.com"},{"name":"aaavakian","email":"aaavakn@gmail.com"},{"name":"kovalskyi","email":"mykhailo.kovalskyi@gmail.com"},{"name":"dnechay","email":"lelekkofe@gmail.com"},{"name":"raphaelbs","email":"raphael.b.souza@hotmail.com"},{"name":"fzaffarana","email":"fzaffarana@gmail.com"},{"name":"guilhermemj","email":"guilhermem.j@hotmail.com"},{"name":"eduard.borges","email":"eduardborges@me.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"jessem3","email":"jesse@mixmax.com"},{"name":"jsalvata","email":"jordi@mixmax.com"},{"name":"mdumrauf","email":"matias.dumrauf@gmail.com"},{"name":"leanmarty","email":"leanmarty@gmail.com"},{"name":"gabriel-mixmax","email":"gabriel@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"880acb56c848d8c73c89bbee5e13228ec45449e5","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-3.0.0.tgz","fileCount":29,"integrity":"sha512-NH2bgsJJqpne/hQhhgh1xT+bhYAtj72ZOmD+SBVj0u9ijJVSC1sMA+9pn/rwEpqkh5/4A6gkIna2kJJpiftcoA==","signatures":[{"sig":"MEQCIFIhxf/vkRPZwpHCxdicrIsusuh9bYhCwIK2tVNBVGddAiAVFG96d6xqdwNUhGquYGpc2XMwYINFrNKm6dEfvcCzjQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13112683,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWRXKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpWgg/+L170ynbkiL6+CxQFbgT5v6S25mJB5flEAAZYSmjJpGNmdhvW\r\nx4tWmDT/6jGCXQtH6AB8Xea5g44qSbgp/ZHolnl1uDSr+2HWgIkR6fCI3ax3\r\nyKQxzqAC+jeDgu5N0RBnn139X8yuyJ7g2aWZQKFes04/63oaA2vg74XB9NKb\r\nwbb2I6KSOIsffBEymHhXCJLmCegYLF72ohlCs8EHD3FcDK1ozu5rvI0P/2Z/\r\nZoinTm5E9+w0aX4HLhbR+PVm8s+8/rjgQO/iqNdIBpXOSAzYf5WLGeka69ec\r\nfhCuuzNGNLNWU2zuvjBiCKmRyorfDNgJjwH9yu3bEm7Shjts6m50HwIdBWTj\r\nVecgBbLNfrJwj+NX1vZnR6DuIosaZwjIt4nisqG5WCrTYIvaODLQqfY6TDR2\r\ndNB+fCL0liYaNJFQ/7pQ7zgrjapT/HH920CYzUTXxVgHQge/LVm/z4raPnYB\r\n9Sd+1phwoBJuHVIFFW48B15bZpvpTfyT+fXGKdYvufVllDONxgDjGy9ayzQU\r\nOPeTNRYt9VXzrHvGGNL2IJfVxR/+NT5QPoBCm4sDrcZUhzpbyiE+cfq8GV3Y\r\nQQFDsr/5SK38LgGYljjU1VV4EvsEp1iKQSUvmUP5chsiq6FpIxiigmMth71c\r\npaqT1NoD0c4t/jHYHnTObGnVyzKcnhtF0MM=\r\n=kC9E\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"manualPublishMessage":"This repository is configured to use semantic-release for its releases. Please do not release manually.\n"},"gitHead":"fd17338abe1c6b1599da0849ee59629189e16bfd","release":{"extends":"@mixmaxhq/semantic-release-config"},"scripts":{"ci":"npm run lint","lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","ci:commitlint":"commitlint-jenkins --pr-only","prepublishOnly":"if [ \"$CI\" = '' ]; then node -p 'JSON.parse(process.env.npm_package_config_manualPublishMessage)'; exit 1; fi","semantic-release":"SEMANTIC_COMMITLINT_SKIP=dad98f2 semantic-release"},"_npmUser":{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"7.24.2","description":"### Usage","directories":{},"_nodeVersion":"12.22.12","dependencies":{"ws":"^7.4.2","uws":"^0.14.1","ejson":"^2.1.2","primus":"^8.0.1","node-uuid":"^1.4.7","underscore":"^1.8.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.8.0","prettier":"^1.19.1","semantic-release":"^17.4.7","eslint-config-mixmax":"^4.8.0","@mixmaxhq/prettier-config":"^1.0.0","cz-conventional-changelog":"^3.3.0","@mixmaxhq/commitlint-jenkins":"^1.6.0","@commitlint/config-conventional":"^17.1.0","@mixmaxhq/semantic-release-config":"^2.0.3"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_3.0.0_1666782665591_0.388469577603886","host":"s3://npm-registry-packages"}},"3.0.1-beta.1":{"name":"publication-server","version":"3.0.1-beta.1","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@3.0.1-beta.1","maintainers":[{"name":"sergei.kukhariev","email":"serge.kukharev@gmail.com"},{"name":"fealaer","email":"fealaer@gmail.com"},{"name":"rafael.decampos","email":"rafael.decampos@mixmax.com"},{"name":"mixmaxkristina","email":"kristina@mixmax.com"},{"name":"corridonimatias","email":"npm@matias.corridoni.me"},{"name":"mikusd","email":"mikusdominikcz@gmail.com"},{"name":"mixmax_it","email":"it-ops@mixmax.com"},{"name":"andra.lazariuc","email":"andra.lazariuc@yahoo.com"},{"name":"anda.nenu","email":"anda.nenu@gmail.com"},{"name":"danaya","email":"danaya@gmail.com"},{"name":"suretrust","email":"saholadele@gmail.com"},{"name":"jfbarranco","email":"jfbarranco@gmail.com"},{"name":"adborroto","email":"adborroto90@gmail.com"},{"name":"aaavakian","email":"aaavakn@gmail.com"},{"name":"kovalskyi","email":"mykhailo.kovalskyi@gmail.com"},{"name":"dnechay","email":"lelekkofe@gmail.com"},{"name":"raphaelbs","email":"raphael.b.souza@hotmail.com"},{"name":"fzaffarana","email":"fzaffarana@gmail.com"},{"name":"guilhermemj","email":"guilhermem.j@hotmail.com"},{"name":"eduard.borges","email":"eduardborges@me.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"jessem3","email":"jesse@mixmax.com"},{"name":"jsalvata","email":"jordi@mixmax.com"},{"name":"mdumrauf","email":"matias.dumrauf@gmail.com"},{"name":"leanmarty","email":"leanmarty@gmail.com"},{"name":"gabriel-mixmax","email":"gabriel@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"67a824074e5134a91d1b953b8decaa503a3c8aa4","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-3.0.1-beta.1.tgz","fileCount":29,"integrity":"sha512-KpJtOK9MjmG3KOAahui/fckloAFOVpAcQh1QVhlzmD3OMN7H0Sn68lUlHFomR9TvILyA/k27sXS1MVmqZfszuw==","signatures":[{"sig":"MEUCIApmZsAHH9qKQDn9nkqJFp72PoIdrk6+YdlHhl9NYbC5AiEAwy4235RUoq6ZuddIqb5Ja19ZzdAtPvnRztWV0ayZi58=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13112956,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjW5T6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqtkA//U+lGRqRkUYl/Vho1qr2PgJDScOgmO4/VS33/uFLM+xdzQUSd\r\n75TBv5X/iL1bAo+UYmsPLB7T8UoYKNdKzSaUh1wKWHMcqczzFLbVMIY8X13d\r\n/1aT0iHn7XbS4HrU32uuh6G6ik4tICfKL97IB7L/zZDZ4v5IW/5C6eq60J3d\r\nGSfJ6MhCx6olCO5ICQNRLuMjw2x8cXtx9lRYO0EPVSPKD0J3LZIryhCubMFe\r\nRZpo7c2jVdy/1NPA+fXFFKy2ckjIDYcqb+3dHBlBkPTvv32OZUb+bkF9IwJ9\r\n2P8mkun5EmzFSs/7YP9BRWAD2sCLQdpdC/Sy2rl4NkaCczWaAz7xFpmfp1PL\r\n/yiw1b0y+fs6FrvAm+gV54Sy5O3SIlJ/G+CjiLu9YgTPTl0pbKj5q/lufugG\r\nreDmXY4I67vozLbsgSVi3I8KEDl/bbmYtiPugpZUicXUtAhPLsRXu5QhZtT/\r\n+ZxG061vBNUgY00PCk04YLTYdsgIYGv1fqmmMKhGv57DT3rAvu0DO+KOHfDZ\r\naS611+Vug474N1K3AXVt6DsTy9rdgA2iBpm1pecr58n2oWaI4BLMyord52cb\r\n8QONghUVRb2D6wt8bSQvKRM5kMLeaw5Ybj3i/4wBsW8sY4NWIaPzIjoWGQhi\r\niXt8r64tZ0JZzVOm+TTv3ePzfzjOIFpo3hE=\r\n=GaSD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"manualPublishMessage":"This repository is configured to use semantic-release for its releases. Please do not release manually.\n"},"readme":"# publication-server\n\n### Usage\n\nSee [/examples](/examples) for example how to use this.\n\nIn order to be able to mount a WebSocket server on the same port as an\nExpress server, we need to get the http server from the app so that we can\nexpose it to the WebSocket server. As an example:\n\n```js\nconst express = require('express');\nconst PublicationServer = require('publication-server');\n\nconst app = express();\nconst server = require('http').createServer(app);\nconst errHandler = function(err) {\n  console.log(err.error);\n};\n\nconst pubServer = new PublicationServer({\n  authFn: authenticationFunction,\n  mountPath: '/ws',\n  server,\n  errHandler,\n});\n\n// ...\n\nserver.listen(process.env.PORT || '8080');\n```\n\n#### Authentication function\n\nOne plus of this server is that it can authenticate WebSocket requests via the\nheaders on the initial `UPGRADE` request. This is done in the _REQUIRED_\nauthentication function that is passed to the `publication-server` constructor.\nThis authentication function takes two parameters which are the originating HTTP\n`UPGRADE` request and a callback. The callback has the following signature:\n\n```js\n/**\n * This callback is called to signal that we've either authenticated the\n * incoming HTTP UPGRADE request or we've rejected it.\n *\n * @param {Error} err The error that we've returned to signify why the user\n *    failed authentication. If `err` is null we've successfully authenticated\n *    the incoming connection to upgrade into a WebSocket.\n * @param {String} userId An optional unique tag to identify a user by. It is\n *    exposed inside of publications at `this.userId`. Some publications may\n *    not require this value, which is why it is optional to return, although\n *    it is highly encouraged to return a `userId` to be set.\n */\nfunction done(err, userId) {}\n```\n\nThe authorization function would have the following flow then:\n\n```js\nfunction authenticationFunction(req, done) {\n  // Logic checking the websocket headers, etc.\n  // ...\n\n  // If the request failed authentication, return an error.\n  if (failedAuth) process.nextTick(done, new Error('failed to authenticate user'));\n\n  // If the request passed authentication, call the callback with the the ID\n  // of the user that we've authenticated.\n  process.nextTick(done, null, `SUPERUSER$12345`);\n}\n```\n\n#### Registering publications\n\n```js\nconst pubSub = require('./path/to/initialized/server');\n\npubSub.publish('PublicationName', function() {});\n```\n\n#### Marking a publication as `ready`\n\nWhenever a publication has finished publishing the initial documents that it\nneeds to send, it must mark itself as `ready`. This is accomplished by calling\n`this.ready()`.\n\n```js\npubSub.publish('PublicationName', function() {\n  // Initial document publishing.\n  this.ready();\n\n  // Add future event handlers if desired. See /examples directory\n});\n```\n\n#### Errors inside a publication\n\nIf a publication encounters an error, it should pass the error to `this.error()`.\nThis will call the registered error handler, and pass the error along to the client.\n\n```js\npubSub.publish('PublicationName', function() {\n  this.error(new Error('failed to do something require'));\n});\n```\n\n#### Error handling\n\nErrors passed to the error handler provided upon server initialization are\nobjects with these properties:\n\n- `error`: The original error that was reported by the publication.\n- `userId`: The ID of the user who was subscribing to the publication when the\n  error occurred\n- `extra`: Any extra information that was recorded - currently this is the\n  parameters that were provided to the publication.\n\n### Gracefully shutting down\n\nThe publication server also exposes a `shutdown` function which accepts an\noptional timeout, within which it is expected to close all current websocket\nconnections. The timeout within which to gracefully shutdown defaults to zero\nif none is provided. Also note that the unit is in milliseconds. As an example:\n\n```js\n// This gives the server 10 seconds to gracefully shutdown.\npubSub.shutdown(10000);\n```\n\n### Client\n\nSee [publication-client](https://github.com/mixmaxhq/publication-client) for the client for this server.\n","gitHead":"64082170a733fc7d218f53df197afae539585761","release":{"extends":"@mixmaxhq/semantic-release-config"},"scripts":{"ci":"npm run lint","lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","ci:commitlint":"commitlint-jenkins --pr-only","prepublishOnly":"if [ \"$CI\" = '' ]; then node -p 'JSON.parse(process.env.npm_package_config_manualPublishMessage)'; exit 1; fi","semantic-release":"SEMANTIC_COMMITLINT_SKIP=dad98f2 semantic-release"},"_npmUser":{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"7.24.2","description":"### Usage","directories":{},"_nodeVersion":"12.22.12","dependencies":{"ws":"^7.5.9","uws":"^0.14.1","ejson":"^2.1.2","primus":"^8.0.1","node-uuid":"^1.4.7","underscore":"^1.8.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^6.8.0","prettier":"^1.19.1","semantic-release":"^17.4.7","eslint-config-mixmax":"^4.8.0","@mixmaxhq/prettier-config":"^1.0.0","cz-conventional-changelog":"^3.3.0","@mixmaxhq/commitlint-jenkins":"^1.6.0","@commitlint/config-conventional":"^17.1.0","@mixmaxhq/semantic-release-config":"^2.0.3"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_3.0.1-beta.1_1666946297696_0.9823082936014218","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"publication-server","version":"3.0.1","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@3.0.1","maintainers":[{"name":"sergei.kukhariev","email":"serge.kukharev@gmail.com"},{"name":"fealaer","email":"fealaer@gmail.com"},{"name":"rafael.decampos","email":"rafael.decampos@mixmax.com"},{"name":"mixmaxkristina","email":"kristina@mixmax.com"},{"name":"corridonimatias","email":"npm@matias.corridoni.me"},{"name":"mikusd","email":"mikusdominikcz@gmail.com"},{"name":"mixmax_it","email":"it-ops@mixmax.com"},{"name":"andra.lazariuc","email":"andra.lazariuc@yahoo.com"},{"name":"anda.nenu","email":"anda.nenu@gmail.com"},{"name":"danaya","email":"danaya@gmail.com"},{"name":"suretrust","email":"saholadele@gmail.com"},{"name":"jfbarranco","email":"jfbarranco@gmail.com"},{"name":"adborroto","email":"adborroto90@gmail.com"},{"name":"aaavakian","email":"aaavakn@gmail.com"},{"name":"kovalskyi","email":"mykhailo.kovalskyi@gmail.com"},{"name":"dnechay","email":"lelekkofe@gmail.com"},{"name":"raphaelbs","email":"raphael.b.souza@hotmail.com"},{"name":"fzaffarana","email":"fzaffarana@gmail.com"},{"name":"guilhermemj","email":"guilhermem.j@hotmail.com"},{"name":"eduard.borges","email":"eduardborges@me.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"jessem3","email":"jesse@mixmax.com"},{"name":"jsalvata","email":"jordi@mixmax.com"},{"name":"mdumrauf","email":"matias.dumrauf@gmail.com"},{"name":"leanmarty","email":"leanmarty@gmail.com"},{"name":"gabriel-mixmax","email":"gabriel@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"f2cc61eec526102783826c9f518963fe07a431c9","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-3.0.1.tgz","fileCount":29,"integrity":"sha512-jfdPbH0XTipv6u/DO74eANcGw6jk8+l/YXM0D56fBejsJiv6f6DKUIEFnGDTy4Oe4YVjSeR75+TaliCNJ5pTrQ==","signatures":[{"sig":"MEUCIAzhUDO0eUBZ+RAX8+fqTYw2mjzTV6YLjLpUTVTyyeBIAiEAm77jSwkSKq+NJ1gKE4q91xMLfqCGC/15ubFypa5axPM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13112935,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjX41aACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmobsg//am3IZ4CGnvFSowpafCe4ipenNAU2YALchUxJYoUanfLr+A/q\r\n0Io+DnzoPdRYnO8yJrd2rgquUxXVE7yoiPZOg26/QAjZBmhgXCrIoX3QiL9a\r\npWn39MEUUlKm+QDvz60ZclUofCBoy9w3O14n9Nk1zXxmBnTywdW5/74Jz0ZX\r\nhGouF2+kZVWM4E2kqymGtMZBDmsJ7mB6u+48RicCdCNzB9qZyszCD04tszuC\r\nAtGmE0dBqbhIGjHuE748YNltV+RYKNeJiN1frry+o17mVRGLEwtqKx6hLhi0\r\nExwvJKUDlm6eP4+zkLNj5MCv7ZAhcdnyg15DKeissC5ow3ZR1RdJFGorPRhd\r\nV8yJEYI5YCPhluk7Mr6WqdbHV6DL7wmlPwEbgKWjj5r+HmLo1eW+gYmEaqmj\r\nOiuDejSPW//atQk6yAduqe++xAVWilmsoLq2Kvklu9El9StSV+jLpEqU0bQJ\r\nKwohhDWVfVHgtT2a1PwTpSTbUNX0rpaYdA2b5Yst1hL614fJigDA4rQl5mqm\r\ntscqnp6MKDa2vPAnPoJ94PMHGkeuigLlAZsYpzBW2/a6IqPpEU3RuliM5RXc\r\nJegbx+w/g3jBWnbe1hX4od+Zn+1k5ts68GzSAt+OpBKC54s7FfDDzWTg9MsZ\r\ndhjPgzsLGF80g+ai0c+19Lk7LjSMyIT9Dj0=\r\n=bWHw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"manualPublishMessage":"This repository is configured to use semantic-release for its releases. Please do not release manually.\n"},"gitHead":"c90b98030661b055aaf5ca490b6ac809c78aa441","release":{"extends":"@mixmaxhq/semantic-release-config"},"scripts":{"ci":"npm run lint","lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","ci:commitlint":"commitlint-jenkins --pr-only","prepublishOnly":"if [ \"$CI\" = '' ]; then node -p 'JSON.parse(process.env.npm_package_config_manualPublishMessage)'; exit 1; fi","semantic-release":"SEMANTIC_COMMITLINT_SKIP=dad98f2 semantic-release"},"_npmUser":{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"7.24.2","description":"### Usage","directories":{},"_nodeVersion":"12.22.12","dependencies":{"ws":"^7.5.9","uws":"^0.14.1","ejson":"^2.1.2","primus":"^8.0.1","node-uuid":"^1.4.7","underscore":"^1.8.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.8.0","prettier":"^1.19.1","semantic-release":"^17.4.7","eslint-config-mixmax":"^4.8.0","@mixmaxhq/prettier-config":"^1.0.0","cz-conventional-changelog":"^3.3.0","@mixmaxhq/commitlint-jenkins":"^1.6.0","@commitlint/config-conventional":"^17.1.0","@mixmaxhq/semantic-release-config":"^2.0.3"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_3.0.1_1667206490482_0.4698994663747762","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"publication-server","version":"3.0.2","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@3.0.2","maintainers":[{"name":"sergei.kukhariev","email":"serge.kukharev@gmail.com"},{"name":"fealaer","email":"fealaer@gmail.com"},{"name":"rafael.decampos","email":"rafael.decampos@mixmax.com"},{"name":"mixmaxkristina","email":"kristina@mixmax.com"},{"name":"corridonimatias","email":"npm@matias.corridoni.me"},{"name":"mikusd","email":"mikusdominikcz@gmail.com"},{"name":"mixmax_it","email":"it-ops@mixmax.com"},{"name":"andra.lazariuc","email":"andra.lazariuc@yahoo.com"},{"name":"anda.nenu","email":"anda.nenu@gmail.com"},{"name":"danaya","email":"danaya@gmail.com"},{"name":"suretrust","email":"saholadele@gmail.com"},{"name":"jfbarranco","email":"jfbarranco@gmail.com"},{"name":"adborroto","email":"adborroto90@gmail.com"},{"name":"aaavakian","email":"aaavakn@gmail.com"},{"name":"kovalskyi","email":"mykhailo.kovalskyi@gmail.com"},{"name":"dnechay","email":"lelekkofe@gmail.com"},{"name":"raphaelbs","email":"raphael.b.souza@hotmail.com"},{"name":"fzaffarana","email":"fzaffarana@gmail.com"},{"name":"guilhermemj","email":"guilhermem.j@hotmail.com"},{"name":"eduard.borges","email":"eduardborges@me.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"jessem3","email":"jesse@mixmax.com"},{"name":"jsalvata","email":"jordi@mixmax.com"},{"name":"mdumrauf","email":"matias.dumrauf@gmail.com"},{"name":"leanmarty","email":"leanmarty@gmail.com"},{"name":"gabriel-mixmax","email":"gabriel@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"70a1c292cd7243d385d6ce879228dd329b167c08","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-3.0.2.tgz","fileCount":28,"integrity":"sha512-R2Kt7Rtqsyh6pBVz3/vudEOzL+dzKjOlClZfWlJoD8mLgdc5Wx3FSSTKsn77vULDZXIwT1iaNysHOqkWfm8k0w==","signatures":[{"sig":"MEUCIQCVlm+FLkEE9PToOB9zww00rs677VO1CYKzYmVkb/pm7QIgdHpqUSIYhPhgbSLoDlKLcnXeMU3nzaH5F3RXLkGrR5c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13112768,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbl/nACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqIiQ//do8EtTreOZKhirnN8HZjfCjdJ36puJsScVt4ApY52uYs6+49\r\nnHeYJJy3pRJETEhGyWz5hcqz0hbXy8yCg9m/bHMwkpdrc12Ep1Wbq7k1WfPS\r\nIuBIue/LZqREa1ZdX8Ne1FkTFwBcbilJPHa4chWY4txbhiTDxxsJhBno77sp\r\nKR9qAE/WTpmj4FVixqmTMIFp8r8FRv/aitTmHdwZcX2/Y2uMfBKgyBsQdVcy\r\nRFp3D5cLpylP0xNw5RslnQDoU3GRcQwjE0t6l3Kbj4dvYLIlE6Bk2/Fl8Um4\r\n768te/Cal6I2X3CPkm/i8gTmlo6MjI7NLI4IClImaNshCsN6TUREZLaB5Ac2\r\n/rkbG2yNrIQ9ANie9SqHwFe86tiCacL+EKhj9Ii5dV43PPF2BaxEZDA8MA7X\r\nFEfuWrPSQVAYpz8irC4U9pMrIetgFnGb3L8Sf0FJngYH2zeaHOCQHMQwY/f0\r\n+7n9zE53o6udEPcYXox+nzhypXcgJ2SN8/j0i52pFszAQxy3vtPdo8Y7HCqY\r\nPk+NTa88g0ei6MNnFtaxE6RbDscxJZMCAw49H73nO7ZVv3oG1vqBD1Xw66uR\r\ntxT/Hw6pYwzJnmnnDAn+H9myXBdmKA5fYL+qHY3ytoVI2JwI3smW8M8+q3hK\r\nX5Zl2GlUIAKRzCUMhOFiEoNE3or0/CW5MZA=\r\n=Ow3A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"manualPublishMessage":"This repository is configured to use semantic-release for its releases. Please do not release manually.\n"},"gitHead":"245a7d6a3ae1182862df2890ac2c8a5793ed5933","release":{"extends":"@mixmaxhq/semantic-release-config"},"scripts":{"ci":"npm run lint","lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","ci:commitlint":"commitlint-jenkins --pr-only","prepublishOnly":"if [ \"$CI\" = '' ]; then node -p 'JSON.parse(process.env.npm_package_config_manualPublishMessage)'; exit 1; fi","semantic-release":"SEMANTIC_COMMITLINT_SKIP=dad98f2 semantic-release"},"_npmUser":{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"7.24.2","description":"### Usage","directories":{},"_nodeVersion":"12.22.12","dependencies":{"ws":"^8.11.0","uws":"^0.14.1","ejson":"^2.2.3","primus":"^8.0.6","node-uuid":"^1.4.7","underscore":"^1.13.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","prettier":"^2.7.1","semantic-release":"^17.4.7","eslint-config-mixmax":"^5.0.1","@mixmaxhq/prettier-config":"^1.1.0","cz-conventional-changelog":"^3.3.0","@mixmaxhq/commitlint-jenkins":"^1.6.0","@commitlint/config-conventional":"^17.2.0","@mixmaxhq/semantic-release-config":"^2.0.3"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_3.0.2_1668177895246_0.4503410779606656","host":"s3://npm-registry-packages"}},"3.0.2-beta.1":{"name":"publication-server","version":"3.0.2-beta.1","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@3.0.2-beta.1","maintainers":[{"name":"sergei.kukhariev","email":"serge.kukharev@gmail.com"},{"name":"fealaer","email":"fealaer@gmail.com"},{"name":"rafael.decampos","email":"rafael.decampos@mixmax.com"},{"name":"mixmaxkristina","email":"kristina@mixmax.com"},{"name":"corridonimatias","email":"npm@matias.corridoni.me"},{"name":"mikusd","email":"mikusdominikcz@gmail.com"},{"name":"mixmax_it","email":"it-ops@mixmax.com"},{"name":"andra.lazariuc","email":"andra.lazariuc@yahoo.com"},{"name":"anda.nenu","email":"anda.nenu@gmail.com"},{"name":"danaya","email":"danaya@gmail.com"},{"name":"suretrust","email":"saholadele@gmail.com"},{"name":"jfbarranco","email":"jfbarranco@gmail.com"},{"name":"adborroto","email":"adborroto90@gmail.com"},{"name":"aaavakian","email":"aaavakn@gmail.com"},{"name":"kovalskyi","email":"mykhailo.kovalskyi@gmail.com"},{"name":"dnechay","email":"lelekkofe@gmail.com"},{"name":"raphaelbs","email":"raphael.b.souza@hotmail.com"},{"name":"fzaffarana","email":"fzaffarana@gmail.com"},{"name":"guilhermemj","email":"guilhermem.j@hotmail.com"},{"name":"eduard.borges","email":"eduardborges@me.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"jessem3","email":"jesse@mixmax.com"},{"name":"jsalvata","email":"jordi@mixmax.com"},{"name":"mdumrauf","email":"matias.dumrauf@gmail.com"},{"name":"leanmarty","email":"leanmarty@gmail.com"},{"name":"gabriel-mixmax","email":"gabriel@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"7fe6c31440520041ca3612072a51c3d0f2f262a7","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-3.0.2-beta.1.tgz","fileCount":29,"integrity":"sha512-H1b8bl/Z9LoT8hMkfeMKSKzCEeqCLA2jULFtZmgfaxbTgtQwnCAmxSwW6WMxdGUBSqQqBdnnycM6uOQmimJMhg==","signatures":[{"sig":"MEQCIE8Gbu4shZLqvK2sjWoyuenRc4iSpESA+0CMixfz7vqqAiAm8jry63xrt97OpatHftldRjLEkukMfToi+C6Y6zhFOw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13113382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdy09ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqc3A/9FESjDNTqp7/HnUM/hA9iYhpiOH7frfzmKXggK35GM74Q7TDx\r\nyF+Plj+RoZ7LrZxbqwq0WPy53DnNX4VSTTvLknBbR9vqbUXxv5hvU0VKDwir\r\nDMsGowRZjgbg3w4NTr0FruCRqOtXIk2Y/k/xd/RUP6YxdtyE9b+xt5vblE5m\r\n34m8xpynkdcVfGxwQKYlSQC/VvaoQhwYI0OkxUgZcxZtntF/i38SgINhW4RW\r\nPFF2emw3BpEN5IgGX77L7FSBPbqkdWqobkAjdnqxj1T9CUI7uIsX/znUl7Vv\r\nH1tjv4vjbno6fEnZa/nPvUoD4/VskLLitcC9txxzNkEVRQs3+AdgTJlBJLSG\r\nxaKsRcWMZEuiYI1DsZrgND1i2gbCMJkZub4W3eGaDHMJp7SBDRQKM8cG+kVt\r\ndU5TUBJD7inY0N0aKhu+ERL5li2ME7JbMwHXLt9LhX1VCnFiVevQhlgQNdK/\r\naBTy2l3eNYymF8V1B0DEvZJ4FRSY+jAiBHY+2ZYJHtHm/kKsmYHzFUsZ1A2S\r\nbh8/aZYtYTJ6Q8o0MehCj2PwKaZ4+DMBjcSTA5s1UzSeZA0fxuYksbHX4pC/\r\nR6ZbmP3lphfA2pJd5PJ2mDAa6y7o4qrMYkc5+nuKjqc0x2XuReEjxEfkz9eQ\r\nr5VlxVxMuRdioSSYeYLndI6pdC36qSfK2gw=\r\n=nNlJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"manualPublishMessage":"This repository is configured to use semantic-release for its releases. Please do not release manually.\n"},"readme":"# publication-server\n\n### Usage\n\nSee [/examples](/examples) for example how to use this.\n\nIn order to be able to mount a WebSocket server on the same port as an\nExpress server, we need to get the http server from the app so that we can\nexpose it to the WebSocket server. As an example:\n\n```js\nconst express = require('express');\nconst PublicationServer = require('publication-server');\n\nconst app = express();\nconst server = require('http').createServer(app);\nconst errHandler = function(err) {\n  console.log(err.error);\n};\n\nconst pubServer = new PublicationServer({\n  authFn: authenticationFunction,\n  mountPath: '/ws',\n  server,\n  errHandler,\n});\n\n// ...\n\nserver.listen(process.env.PORT || '8080');\n```\n\n#### Authentication function\n\nOne plus of this server is that it can authenticate WebSocket requests via the\nheaders on the initial `UPGRADE` request. This is done in the _REQUIRED_\nauthentication function that is passed to the `publication-server` constructor.\nThis authentication function takes two parameters which are the originating HTTP\n`UPGRADE` request and a callback. The callback has the following signature:\n\n```js\n/**\n * This callback is called to signal that we've either authenticated the\n * incoming HTTP UPGRADE request or we've rejected it.\n *\n * @param {Error} err The error that we've returned to signify why the user\n *    failed authentication. If `err` is null we've successfully authenticated\n *    the incoming connection to upgrade into a WebSocket.\n * @param {String} userId An optional unique tag to identify a user by. It is\n *    exposed inside of publications at `this.userId`. Some publications may\n *    not require this value, which is why it is optional to return, although\n *    it is highly encouraged to return a `userId` to be set.\n */\nfunction done(err, userId) {}\n```\n\nThe authorization function would have the following flow then:\n\n```js\nfunction authenticationFunction(req, done) {\n  // Logic checking the websocket headers, etc.\n  // ...\n\n  // If the request failed authentication, return an error.\n  if (failedAuth) process.nextTick(done, new Error('failed to authenticate user'));\n\n  // If the request passed authentication, call the callback with the the ID\n  // of the user that we've authenticated.\n  process.nextTick(done, null, `SUPERUSER$12345`);\n}\n```\n\n#### Registering publications\n\n```js\nconst pubSub = require('./path/to/initialized/server');\n\npubSub.publish('PublicationName', function() {});\n```\n\n#### Marking a publication as `ready`\n\nWhenever a publication has finished publishing the initial documents that it\nneeds to send, it must mark itself as `ready`. This is accomplished by calling\n`this.ready()`.\n\n```js\npubSub.publish('PublicationName', function() {\n  // Initial document publishing.\n  this.ready();\n\n  // Add future event handlers if desired. See /examples directory\n});\n```\n\n#### Errors inside a publication\n\nIf a publication encounters an error, it should pass the error to `this.error()`.\nThis will call the registered error handler, and pass the error along to the client.\n\n```js\npubSub.publish('PublicationName', function() {\n  this.error(new Error('failed to do something require'));\n});\n```\n\n#### Error handling\n\nErrors passed to the error handler provided upon server initialization are\nobjects with these properties:\n\n- `error`: The original error that was reported by the publication.\n- `userId`: The ID of the user who was subscribing to the publication when the\n  error occurred\n- `extra`: Any extra information that was recorded - currently this is the\n  parameters that were provided to the publication.\n\n### Gracefully shutting down\n\nThe publication server also exposes a `shutdown` function which accepts an\noptional timeout, within which it is expected to close all current websocket\nconnections. The timeout within which to gracefully shutdown defaults to zero\nif none is provided. Also note that the unit is in milliseconds. As an example:\n\n```js\n// This gives the server 10 seconds to gracefully shutdown.\npubSub.shutdown(10000);\n```\n\n### Client\n\nSee [publication-client](https://github.com/mixmaxhq/publication-client) for the client for this server.\n","gitHead":"33746a5b5969d287029e653a5111eab2c43eb297","release":{"extends":"@mixmaxhq/semantic-release-config"},"scripts":{"ci":"npm run lint","lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","ci:commitlint":"commitlint-jenkins --pr-only","prepublishOnly":"if [ \"$CI\" = '' ]; then node -p 'JSON.parse(process.env.npm_package_config_manualPublishMessage)'; exit 1; fi","semantic-release":"SEMANTIC_COMMITLINT_SKIP=dad98f2 semantic-release"},"_npmUser":{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"7.24.2","description":"### Usage","directories":{},"_nodeVersion":"12.22.12","dependencies":{"ws":"^8.11.0","ejson":"^2.2.3","primus":"^8.0.6","node-uuid":"^1.4.7","underscore":"^1.13.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^7.32.0","prettier":"^2.7.1","semantic-release":"^17.4.7","eslint-config-mixmax":"^5.0.1","@mixmaxhq/prettier-config":"^1.1.0","cz-conventional-changelog":"^3.3.0","@mixmaxhq/commitlint-jenkins":"^1.6.0","@commitlint/config-conventional":"^17.2.0","@mixmaxhq/semantic-release-config":"^2.0.3"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_3.0.2-beta.1_1668754749517_0.5894059096911837","host":"s3://npm-registry-packages"}},"3.0.3":{"name":"publication-server","version":"3.0.3","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@3.0.3","maintainers":[{"name":"akashbhalla","email":"akashbhalla@gmail.com"},{"name":"hishank","email":"hishankan@gmail.com"},{"name":"oleksii.mandrichenko","email":"oleksii.mandrichenko@dewais.com"},{"name":"danyloderkach","email":"danylo.derkach@dewais.com"},{"name":"sergey.polyarush","email":"sergey.polyarush@dewais.com"},{"name":"jordins","email":"jordi.nistal@gmail.com"},{"name":"eugene.safronov.dewais","email":"eugene.safronov@dewais.com"},{"name":"gusth-sa","email":"gusth.salomao@gmail.com"},{"name":"joneslloyd","email":"lloyd@lloydjones.io"},{"name":"kamilgruszka","email":"kamilgruszka1993.kg@gmail.com"},{"name":"tharindu-wj","email":"tharinduwjh@gmail.com"},{"name":"njogz","email":"njgndungu@yahoo.com"},{"name":"ahmedxalaa","email":"ahmedelkolfat@outlook.com"},{"name":"aminao","email":"amina@mixmax.com"},{"name":"enuma","email":"ahmad.abdelwahab90@gmail.com"},{"name":"adriandmitroca","email":"dmitroca.adrian@gmail.com"},{"name":"mixmaxkristina","email":"kristina@mixmax.com"},{"name":"corridonimatias","email":"npm@matias.corridoni.me"},{"name":"mikusd","email":"mikusdominikcz@gmail.com"},{"name":"mixmax_it","email":"it-ops@mixmax.com"},{"name":"andra.lazariuc","email":"andra.lazariuc@yahoo.com"},{"name":"anda.nenu","email":"anda.nenu@gmail.com"},{"name":"danaya","email":"danaya@gmail.com"},{"name":"adborroto","email":"adborroto90@gmail.com"},{"name":"aaavakian","email":"aaavakn@gmail.com"},{"name":"dnechay","email":"lelekkofe@gmail.com"},{"name":"raphaelbs","email":"raphael.b.souza@hotmail.com"},{"name":"guilhermemj","email":"guilhermem.j@hotmail.com"},{"name":"eduard.borges","email":"eduardborges@icloud.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"jessem3","email":"jesse@mixmax.com"},{"name":"jsalvata","email":"jordi@mixmax.com"},{"name":"gabriel-mixmax","email":"gabriel@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"361b770e19437a6e3a19dff0d62c102a75d92e8d","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-3.0.3.tgz","fileCount":29,"integrity":"sha512-r9L6FQGllLeYXgSMXfvfQMiL0A8jseNNUWRz+Xp3xpemvwrhebpkqQS5ve8AcyNXAWeltjoB+YOBZHZDXonA/w==","signatures":[{"sig":"MEUCIEte4iKHfaoOvHyDiOh//HeTaC3I2eHnLzbFK62jcpmvAiEAuqiAxDr7+emb02hH3SrlLwdViDlo7yi0G3BOEaP1uJI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":378093},"main":"src/index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"manualPublishMessage":"This repository is configured to use semantic-release for its releases. Please do not release manually.\n"},"gitHead":"1ba271b5a59c6fbbed2c23c781683351b0874a9c","release":{"extends":"@mixmaxhq/semantic-release-config/package/index.js"},"scripts":{"ci":"npm run lint","lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","ci:commitlint":"commitlint-jenkins --pr-only","prepublishOnly":"if [ \"$CI\" = '' ]; then node -p 'JSON.parse(process.env.npm_package_config_manualPublishMessage)'; exit 1; fi","semantic-release":"SEMANTIC_COMMITLINT_SKIP=dad98f2 semantic-release"},"_npmUser":{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"7.24.2","description":"### Usage","directories":{},"_nodeVersion":"18.17.1","dependencies":{"ws":"^8.11.0","uws":"^0.14.1","ejson":"^2.2.3","primus":"^8.0.6","node-uuid":"^1.4.7","underscore":"^1.13.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","prettier":"^2.7.1","semantic-release":"^17.4.7","eslint-config-mixmax":"^5.0.1","@mixmaxhq/prettier-config":"^1.1.0","cz-conventional-changelog":"^3.3.0","@mixmaxhq/commitlint-jenkins":"^1.6.0","@commitlint/config-conventional":"^17.2.0","@mixmaxhq/semantic-release-config":"^3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_3.0.3_1704275371574_0.5139613292972025","host":"s3://npm-registry-packages"}},"3.0.4":{"name":"publication-server","version":"3.0.4","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@3.0.4","maintainers":[{"name":"alan-hadyk","email":"alan.hadyk@gmail.com"},{"name":"leonardo-mixmax","email":"leonardo@mixmax.com"},{"name":"vadymtemchenko","email":"vadym.temchenko@dewais.com"},{"name":"dmytro.prysiazhnyi","email":"dmytro.prysiazhnyi@dewais.com"},{"name":"laszlovaspal","email":"laszlo.vaspal@gmail.com"},{"name":"akashbhalla","email":"akashbhalla@gmail.com"},{"name":"hishank","email":"hishankan@gmail.com"},{"name":"oleksii.mandrichenko","email":"oleksii.mandrichenko@dewais.com"},{"name":"danyloderkach","email":"danylo.derkach@dewais.com"},{"name":"sergey.polyarush","email":"sergey.polyarush@dewais.com"},{"name":"jordins","email":"jordi.nistal@gmail.com"},{"name":"eugene.safronov.dewais","email":"eugene.safronov@dewais.com"},{"name":"gusth-sa","email":"gusth.salomao@gmail.com"},{"name":"joneslloyd","email":"lloyd@lloydjones.io"},{"name":"kamilgruszka","email":"kamilgruszka1993.kg@gmail.com"},{"name":"tharindu-wj","email":"tharinduwjh@gmail.com"},{"name":"njogz","email":"njgndungu@yahoo.com"},{"name":"ahmedxalaa","email":"ahmedelkolfat@outlook.com"},{"name":"aminao","email":"amina@mixmax.com"},{"name":"enuma","email":"ahmad.abdelwahab90@gmail.com"},{"name":"adriandmitroca","email":"dmitroca.adrian@gmail.com"},{"name":"mixmaxkristina","email":"kristina@mixmax.com"},{"name":"corridonimatias","email":"npm@matias.corridoni.me"},{"name":"mikusd","email":"mikusdominikcz@gmail.com"},{"name":"mixmax_it","email":"it-ops@mixmax.com"},{"name":"andra.lazariuc","email":"andra.lazariuc@yahoo.com"},{"name":"danaya","email":"danaya@gmail.com"},{"name":"adborroto","email":"adborroto90@gmail.com"},{"name":"aaavakian","email":"aaavakn@gmail.com"},{"name":"dnechay","email":"lelekkofe@gmail.com"},{"name":"raphaelbs","email":"raphael.b.souza@hotmail.com"},{"name":"guilhermemj","email":"guilhermem.j@hotmail.com"},{"name":"eduard.borges","email":"eduardborges@icloud.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"jessem3","email":"jesse@mixmax.com"},{"name":"jsalvata","email":"jordi@mixmax.com"},{"name":"gabriel-mixmax","email":"gabriel@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"e124cbdb38da9a8e9f9313fef7a2205b263eb9dd","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-3.0.4.tgz","fileCount":29,"integrity":"sha512-8IOTETigLV7nKMqE3+Ag+Zos6h9Ef/NDYsBFrW3RXQuBAuYi6prLOgpSzBN965OG9Zyt/KfecN/EW8J5Sij4Xg==","signatures":[{"sig":"MEUCIQDQE1362MnYrLd3vbn9NMeeGKSdKFzg57WhcRdnD+ha3QIgNj9QkPvYQx+9C1C0wrY89iiRN6+nzlbp4egkB7Jjr4c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":378190},"main":"src/index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"manualPublishMessage":"This repository is configured to use semantic-release for its releases. Please do not release manually.\n"},"gitHead":"1c413fca8bd91ec33d6b6087223c5edcf38d6453","release":{"extends":"@mixmaxhq/semantic-release-config/package/index.js"},"scripts":{"ci":"npm run lint","lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","ci:commitlint":"commitlint-jenkins --pr-only","prepublishOnly":"if [ \"$CI\" = '' ]; then node -p 'JSON.parse(process.env.npm_package_config_manualPublishMessage)'; exit 1; fi","semantic-release":"SEMANTIC_COMMITLINT_SKIP=dad98f2 semantic-release"},"_npmUser":{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"10.2.3","description":"### Usage","directories":{},"_nodeVersion":"18.19.0","dependencies":{"ws":"^8.11.0","uws":"^0.14.1","ejson":"^2.2.3","primus":"^8.0.6","node-uuid":"^1.4.7","underscore":"^1.13.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","prettier":"^2.7.1","semantic-release":"^17.4.7","eslint-config-mixmax":"^5.0.1","@mixmaxhq/prettier-config":"^1.1.0","cz-conventional-changelog":"^3.3.0","@mixmaxhq/commitlint-jenkins":"^1.6.0","@commitlint/config-conventional":"^17.2.0","@mixmaxhq/semantic-release-config":"^3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_3.0.4_1706800989276_0.5243571300255392","host":"s3://npm-registry-packages"}},"3.0.5":{"name":"publication-server","version":"3.0.5","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@3.0.5","maintainers":[{"name":"myrosalvdorykevych","email":"myroslav.dorykevych@dewais.com"},{"name":"asiaomelianenko","email":"anastasiia.omelianenko@dewais.com"},{"name":"alan-hadyk","email":"alan.hadyk@gmail.com"},{"name":"leonardo-mixmax","email":"leonardo@mixmax.com"},{"name":"vadymtemchenko","email":"vadym.temchenko@dewais.com"},{"name":"dmytro.prysiazhnyi","email":"dmytro.prysiazhnyi@dewais.com"},{"name":"laszlovaspal","email":"laszlo.vaspal@gmail.com"},{"name":"akashbhalla","email":"akashbhalla@gmail.com"},{"name":"hishank","email":"hishankan@gmail.com"},{"name":"oleksii.mandrichenko","email":"oleksii.mandrichenko@dewais.com"},{"name":"danyloderkach","email":"danylo.derkach@dewais.com"},{"name":"sergey.polyarush","email":"sergey.polyarush@dewais.com"},{"name":"jordins","email":"jordi.nistal@gmail.com"},{"name":"eugene.safronov.dewais","email":"eugene.safronov@dewais.com"},{"name":"gusth-sa","email":"gusth.salomao@gmail.com"},{"name":"joneslloyd","email":"lloyd@lloydjones.io"},{"name":"kamilgruszka","email":"kamilgruszka1993.kg@gmail.com"},{"name":"tharindu-wj","email":"tharinduwjh@gmail.com"},{"name":"njogz","email":"njgndungu@yahoo.com"},{"name":"aminao","email":"amina@mixmax.com"},{"name":"enuma","email":"ahmad.abdelwahab90@gmail.com"},{"name":"adriandmitroca","email":"dmitroca.adrian@gmail.com"},{"name":"mixmaxkristina","email":"kristina@mixmax.com"},{"name":"corridonimatias","email":"npm@matias.corridoni.me"},{"name":"mikusd","email":"mikusdominikcz@gmail.com"},{"name":"mixmax_it","email":"it-ops@mixmax.com"},{"name":"andra.lazariuc","email":"andra.lazariuc@yahoo.com"},{"name":"danaya","email":"danaya@gmail.com"},{"name":"adborroto","email":"adborroto90@gmail.com"},{"name":"aaavakian","email":"aaavakn@gmail.com"},{"name":"dnechay","email":"lelekkofe@gmail.com"},{"name":"raphaelbs","email":"raphael.b.souza@hotmail.com"},{"name":"guilhermemj","email":"guilhermem.j@hotmail.com"},{"name":"eduard.borges","email":"eduardborges@icloud.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"jessem3","email":"jesse@mixmax.com"},{"name":"jsalvata","email":"jordi@mixmax.com"},{"name":"gabriel-mixmax","email":"gabriel@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"dd0052844cfbda1d69153a463b46e6d0f5ce0fc3","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-3.0.5.tgz","fileCount":29,"integrity":"sha512-SZiLabBSjLUYErzuNpvRK6suKhIfN2KzzixC+wF3zbwDYxIGji4tJZrn4jIiJM5EcvzfCGZ6k7vnBKlifrLF6Q==","signatures":[{"sig":"MEYCIQCqtAGBtZwbiqcWveeonU/58AxUTZeBqu4W4F8UOMyAfAIhAMPwccNm4V1EkytAv1eHmhO85aNyb9szHejLhODXSONH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":378486},"main":"src/index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"manualPublishMessage":"This repository is configured to use semantic-release for its releases. Please do not release manually.\n"},"gitHead":"90eb59510bd1d02af90189ba501b550eebcf71bb","release":{"extends":"@mixmaxhq/semantic-release-config/package/index.js"},"scripts":{"ci":"npm run lint","lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","ci:commitlint":"commitlint-jenkins --pr-only","prepublishOnly":"if [ \"$CI\" = '' ]; then node -p 'JSON.parse(process.env.npm_package_config_manualPublishMessage)'; exit 1; fi","semantic-release":"SEMANTIC_COMMITLINT_SKIP=dad98f2 semantic-release"},"_npmUser":{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"10.2.3","description":"### Usage","directories":{},"_nodeVersion":"18.19.0","dependencies":{"ws":"^8.11.0","uws":"^0.14.1","ejson":"^2.2.3","primus":"^8.0.6","node-uuid":"^1.4.7","underscore":"^1.13.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","prettier":"^2.7.1","semantic-release":"^17.4.7","eslint-config-mixmax":"^5.0.1","@mixmaxhq/prettier-config":"^1.1.0","cz-conventional-changelog":"^3.3.0","@mixmaxhq/commitlint-jenkins":"^1.6.0","@commitlint/config-conventional":"^17.2.0","@mixmaxhq/semantic-release-config":"^3.1.1"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_3.0.5_1710759732727_0.10581934711171304","host":"s3://npm-registry-packages"}},"3.0.6":{"name":"publication-server","version":"3.0.6","keywords":["publications","websockets","DDP"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"publication-server@3.0.6","maintainers":[{"name":"alan-hadyk","email":"alan.hadyk@gmail.com"},{"name":"leonardo-mixmax","email":"leonardo@mixmax.com"},{"name":"laszlovaspal","email":"laszlo.vaspal@gmail.com"},{"name":"akashbhalla","email":"akashbhalla@gmail.com"},{"name":"hishank","email":"hishankan@gmail.com"},{"name":"jordins","email":"jordi.nistal@gmail.com"},{"name":"joneslloyd","email":"lloyd@lloydjones.io"},{"name":"kamilgruszka","email":"kamilgruszka1993.kg@gmail.com"},{"name":"tharindu-wj","email":"tharinduwjh@gmail.com"},{"name":"aminao","email":"amina@mixmax.com"},{"name":"enuma","email":"ahmad.abdelwahab90@gmail.com"},{"name":"adriandmitroca","email":"dmitroca.adrian@gmail.com"},{"name":"mixmaxkristina","email":"kristina@mixmax.com"},{"name":"corridonimatias","email":"npm@matias.corridoni.me"},{"name":"mikusd","email":"mikusdominikcz@gmail.com"},{"name":"mixmax_it","email":"it-ops@mixmax.com"},{"name":"andra.lazariuc","email":"andra.lazariuc@yahoo.com"},{"name":"danaya","email":"danaya@gmail.com"},{"name":"adborroto","email":"adborroto90@gmail.com"},{"name":"aaavakian","email":"aaavakn@gmail.com"},{"name":"dnechay","email":"lelekkofe@gmail.com"},{"name":"raphaelbs","email":"raphael.b.souza@hotmail.com"},{"name":"guilhermemj","email":"guilhermem.j@hotmail.com"},{"name":"eduard.borges","email":"eduardborges@icloud.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"jessem3","email":"jesse@mixmax.com"},{"name":"jsalvata","email":"jordi@mixmax.com"},{"name":"gabriel-mixmax","email":"gabriel@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"}],"homepage":"https://github.com/mixmaxhq/publication-server#readme","bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"dist":{"shasum":"5bb871aeb0bca3c6c412e8c4f96ba3d76704432c","tarball":"https://registry.npmjs.org/publication-server/-/publication-server-3.0.6.tgz","fileCount":29,"integrity":"sha512-ltL6WwlT1a1V2QIvnvPnYAmMClmRogebPCU2jBvrvrvkhEODcYSVbxQREL9bvlVUYXbb1VdWXVD59oRZWGCV/g==","signatures":[{"sig":"MEUCICjrlKMjPY1DedCPimTGvn5BPMwSv8HovOcAMtNYn0UeAiEArf1NgV6ylZL2vedHUn6eaitbd2hgQLYzhj+mGT6cNBE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":378583},"main":"src/index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"manualPublishMessage":"This repository is configured to use semantic-release for its releases. Please do not release manually.\n"},"gitHead":"bc199fb172dde4b60daacfada1108d9eb7db7bfb","release":{"extends":"@mixmaxhq/semantic-release-config/package/index.js"},"scripts":{"ci":"npm run lint","lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","ci:commitlint":"commitlint-jenkins --pr-only","prepublishOnly":"if [ \"$CI\" = '' ]; then node -p 'JSON.parse(process.env.npm_package_config_manualPublishMessage)'; exit 1; fi","semantic-release":"SEMANTIC_COMMITLINT_SKIP=dad98f2 semantic-release"},"_npmUser":{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"_npmVersion":"10.7.0","description":"### Usage","directories":{},"_nodeVersion":"18.20.3","dependencies":{"ws":"^8.11.0","uws":"^0.14.1","ejson":"^2.2.3","primus":"^8.0.6","node-uuid":"^1.4.7","underscore":"^1.13.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","prettier":"^2.7.1","semantic-release":"^17.4.7","eslint-config-mixmax":"^5.0.1","@mixmaxhq/prettier-config":"^1.1.0","cz-conventional-changelog":"^3.3.0","@mixmaxhq/commitlint-jenkins":"^1.6.0","@commitlint/config-conventional":"^17.2.0","@mixmaxhq/semantic-release-config":"^3.1.1"},"_npmOperationalInternal":{"tmp":"tmp/publication-server_3.0.6_1716384245184_0.2577458101675969","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-01-27T20:37:39.407Z","modified":"2026-08-06T09:08:33.027Z","1.0.0":"2017-01-27T20:37:39.407Z","1.1.0":"2017-01-29T21:44:31.735Z","1.1.1":"2017-01-30T16:29:05.313Z","1.2.1":"2017-02-01T15:39:49.403Z","1.3.0":"2017-02-01T22:11:07.506Z","1.4.0":"2017-02-02T15:25:10.786Z","1.4.1":"2017-02-07T18:32:39.343Z","1.4.2":"2017-03-08T15:57:30.422Z","1.4.3":"2017-03-08T21:40:03.442Z","1.4.4":"2017-04-10T18:17:31.870Z","1.4.5":"2017-04-10T18:40:52.224Z","1.5.0":"2017-04-18T00:36:52.816Z","1.5.1":"2018-01-17T23:06:13.609Z","1.6.0":"2018-05-17T00:55:42.351Z","1.6.1":"2019-02-04T14:50:14.377Z","1.6.2":"2019-02-04T15:14:06.206Z","1.6.4":"2019-03-20T16:20:56.139Z","1.7.0":"2019-09-05T20:27:04.152Z","1.8.0":"2019-09-05T21:58:41.078Z","1.8.1":"2019-09-10T00:31:46.948Z","1.9.0":"2019-09-12T00:00:13.147Z","1.9.1":"2019-09-12T19:03:25.801Z","1.9.2":"2019-09-12T20:17:46.280Z","2.0.0":"2021-01-08T21:49:22.308Z","2.1.0":"2021-01-15T17:00:49.160Z","3.0.0-beta.1":"2022-10-25T09:18:15.390Z","3.0.0":"2022-10-26T11:11:05.974Z","3.0.1-beta.1":"2022-10-28T08:38:18.202Z","3.0.1":"2022-10-31T08:54:50.927Z","3.0.2":"2022-11-11T14:44:55.630Z","3.0.2-beta.1":"2022-11-18T06:59:09.856Z","3.0.3":"2024-01-03T09:49:31.760Z","3.0.4":"2024-02-01T15:23:09.559Z","3.0.5":"2024-03-18T11:02:12.895Z","3.0.6":"2024-05-22T13:24:05.344Z"},"bugs":{"url":"https://github.com/mixmaxhq/publication-server/issues"},"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","homepage":"https://github.com/mixmaxhq/publication-server#readme","keywords":["publications","websockets","DDP"],"repository":{"url":"git+ssh://git@github.com/mixmaxhq/publication-server.git","type":"git"},"description":"### Usage","maintainers":[{"email":"mikusdominikcz@gmail.com","name":"mikusd"},{"email":"admin+mixmax-codeship-npm@mixmax.com","name":"mixmax-codeship"},{"email":"jesse@mixmax.com","name":"jessem3"},{"email":"syed.ahmed.anas@gmail.com","name":"ahmed-anas"},{"email":"guilhermem.j@hotmail.com","name":"guilhermemj"},{"email":"jordi.salvat.i.alabart@gmail.com","name":"jsalvata"},{"email":"raphael.b.souza@hotmail.com","name":"raphaelbs"},{"email":"it-ops@mixmax.com","name":"mixmax_it"},{"email":"akashbhalla@gmail.com","name":"akashbhalla"},{"email":"jordi.nistal@gmail.com","name":"jordins"},{"email":"amina@mixmax.com","name":"aminao"},{"email":"misterpy@gmail.com","name":"misterpy"},{"email":"pialwlc@gmail.com","name":"mvpia"},{"email":"nirmal@mixmax.com","name":"its-nimo"},{"email":"alexander.k@mixmax.com","name":"kohlhofer_mixmax"},{"email":"jakub@mixmax.com","name":"jtutaj"},{"email":"pedro@mixmax.com","name":"pedro-mixmax"},{"email":"alexander.simovic@gmail.com","name":"simalexan"},{"email":"graham@mixmax.com","name":"grahammixmax"},{"email":"jpdjeredjian@gmail.com","name":"jpdjere"},{"email":"ttacon@gmail.com","name":"ttacon"}],"readme":"# publication-server\n\n### Usage\n\nSee [/examples](/examples) for example how to use this.\n\nIn order to be able to mount a WebSocket server on the same port as an\nExpress server, we need to get the http server from the app so that we can\nexpose it to the WebSocket server. As an example:\n\n```js\nconst express = require('express');\nconst PublicationServer = require('publication-server');\n\nconst app = express();\nconst server = require('http').createServer(app);\nconst errHandler = function(err) {\n  console.log(err.error);\n};\n\nconst pubServer = new PublicationServer({\n  authFn: authenticationFunction,\n  mountPath: '/ws',\n  server,\n  errHandler,\n});\n\n// ...\n\nserver.listen(process.env.PORT || '8080');\n```\n\n#### Authentication function\n\nOne plus of this server is that it can authenticate WebSocket requests via the\nheaders on the initial `UPGRADE` request. This is done in the _REQUIRED_\nauthentication function that is passed to the `publication-server` constructor.\nThis authentication function takes two parameters which are the originating HTTP\n`UPGRADE` request and a callback. The callback has the following signature:\n\n```js\n/**\n * This callback is called to signal that we've either authenticated the\n * incoming HTTP UPGRADE request or we've rejected it.\n *\n * @param {Error} err The error that we've returned to signify why the user\n *    failed authentication. If `err` is null we've successfully authenticated\n *    the incoming connection to upgrade into a WebSocket.\n * @param {String} userId An optional unique tag to identify a user by. It is\n *    exposed inside of publications at `this.userId`. Some publications may\n *    not require this value, which is why it is optional to return, although\n *    it is highly encouraged to return a `userId` to be set.\n */\nfunction done(err, userId) {}\n```\n\nThe authorization function would have the following flow then:\n\n```js\nfunction authenticationFunction(req, done) {\n  // Logic checking the websocket headers, etc.\n  // ...\n\n  // If the request failed authentication, return an error.\n  if (failedAuth) process.nextTick(done, new Error('failed to authenticate user'));\n\n  // If the request passed authentication, call the callback with the the ID\n  // of the user that we've authenticated.\n  process.nextTick(done, null, `SUPERUSER$12345`);\n}\n```\n\n#### Registering publications\n\n```js\nconst pubSub = require('./path/to/initialized/server');\n\npubSub.publish('PublicationName', function() {});\n```\n\n#### Marking a publication as `ready`\n\nWhenever a publication has finished publishing the initial documents that it\nneeds to send, it must mark itself as `ready`. This is accomplished by calling\n`this.ready()`.\n\n```js\npubSub.publish('PublicationName', function() {\n  // Initial document publishing.\n  this.ready();\n\n  // Add future event handlers if desired. See /examples directory\n});\n```\n\n#### Errors inside a publication\n\nIf a publication encounters an error, it should pass the error to `this.error()`.\nThis will call the registered error handler, and pass the error along to the client.\n\n```js\npubSub.publish('PublicationName', function() {\n  this.error(new Error('failed to do something require'));\n});\n```\n\n#### Error handling\n\nErrors passed to the error handler provided upon server initialization are\nobjects with these properties:\n\n- `error`: The original error that was reported by the publication.\n- `userId`: The ID of the user who was subscribing to the publication when the\n  error occurred\n- `extra`: Any extra information that was recorded - currently this is the\n  parameters that were provided to the publication.\n\n### Gracefully shutting down\n\nThe publication server also exposes a `shutdown` function which accepts an\noptional timeout, within which it is expected to close all current websocket\nconnections. The timeout within which to gracefully shutdown defaults to zero\nif none is provided. Also note that the unit is in milliseconds. As an example:\n\n```js\n// This gives the server 10 seconds to gracefully shutdown.\npubSub.shutdown(10000);\n```\n\n### Client\n\nSee [publication-client](https://github.com/mixmaxhq/publication-client) for the client for this server.\n","readmeFilename":"README.md"}