{"_id":"truflux-msg","_rev":"30-27eab9580ca6a6abf7833a3f41972a70","name":"truflux-msg","description":"Message definition module for truflux","dist-tags":{"latest":"2.1.0"},"versions":{"0.1.0":{"name":"truflux-msg","version":"0.1.0","author":{"name":"titon","email":"titon1235@gmail.com"},"description":"Message definition module for truflux","keywords":["truflux message definition protocol"],"main":"./index.js","dependencies":{},"devDependencies":{},"repository":{"type":"git+ssh","url":"git+ssh://git@eitrium.com:/git/truflux-msg.git"},"gitHead":"ac728d9b2fea09bb5900beb2c894ac2de8b54059","_id":"truflux-msg@0.1.0","scripts":{},"_shasum":"59046d2b4d22d3fb75623837d51cb11feb253969","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"titon","email":"titon1235@gmail.com"},"maintainers":[{"name":"titon","email":"titon1235@gmail.com"}],"dist":{"shasum":"59046d2b4d22d3fb75623837d51cb11feb253969","tarball":"https://registry.npmjs.org/truflux-msg/-/truflux-msg-0.1.0.tgz","integrity":"sha512-/mdCdtPM2MzfBoT2bRWSW1juQLnuOg8LpVYy2adcf4mJU+0A+SyQaykC/doinhT+o/duqAOkydOdk76r9mIv6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEA2OqCso2coWJNsddGmIMeHdBuKUb2HWVFfGqtSAGQmAiBmqlFuer+CgW6uAO393iPRA8jC/ystaycRpHXscrcBRQ=="}]}},"0.1.1":{"name":"truflux-msg","version":"0.1.1","author":{"name":"titon","email":"titon1235@gmail.com"},"description":"Message definition module for truflux","keywords":["truflux message definition protocol"],"main":"./index.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/EitriumTech/truflux-msg.git"},"gitHead":"da6905889033805727a6ca596bd0dc105983f05b","bugs":{"url":"https://github.com/EitriumTech/truflux-msg/issues"},"homepage":"https://github.com/EitriumTech/truflux-msg","_id":"truflux-msg@0.1.1","scripts":{},"_shasum":"626871f0f672b1be4ac2dc3340d15313c72477e2","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"titon","email":"titon1235@gmail.com"},"maintainers":[{"name":"titon","email":"titon1235@gmail.com"}],"dist":{"shasum":"626871f0f672b1be4ac2dc3340d15313c72477e2","tarball":"https://registry.npmjs.org/truflux-msg/-/truflux-msg-0.1.1.tgz","integrity":"sha512-BY/mxRmarYh/Gm0UDzN+MrQ7lP5TMf6OKzmWcGWHB0KJGPH3TSCmVZoLm1j6jUklP2gBQLyrppRJq1c+F77M0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBIiZG8k8ae7wO5/+nYWzI08ft5UwL+qGazuun11emgZAiAlMCKqTBiaVHpR/pRM596Lbo+11oZrJEFvVfzbzgo3hQ=="}]}},"0.1.2":{"name":"truflux-msg","version":"0.1.2","author":{"name":"titon","email":"titon1235@gmail.com"},"description":"Message definition module for truflux","keywords":["truflux message definition protocol"],"main":"./index.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/EitriumTech/truflux-msg.git"},"gitHead":"5a23964a8967e312ae5b74a2236a072794b38456","bugs":{"url":"https://github.com/EitriumTech/truflux-msg/issues"},"homepage":"https://github.com/EitriumTech/truflux-msg","_id":"truflux-msg@0.1.2","scripts":{},"_shasum":"727ab4cf57de9528f8b811f86938e135a48bd1c2","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"titon","email":"titon1235@gmail.com"},"maintainers":[{"name":"titon","email":"titon1235@gmail.com"}],"dist":{"shasum":"727ab4cf57de9528f8b811f86938e135a48bd1c2","tarball":"https://registry.npmjs.org/truflux-msg/-/truflux-msg-0.1.2.tgz","integrity":"sha512-JUKLG1ez211A+nH1AQ/kvwP8GdSCZCy8R9lomqea/rC3+M1oxkeOTrKrA2/VlN5Py9PrUxO6yxHwakw1NYq+HA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBgfkIXcOi8Kn9bop9iG/gHncWzhBejOY2m4CcWO1JN9AiA4cMneQ88z3KX7UJ6QVc/gAuQJS+X8BLE1c5t3Yi5zNQ=="}]}},"0.2.1":{"name":"truflux-msg","version":"0.2.1","author":{"name":"titon","email":"titon1235@gmail.com"},"description":"Message definition module for truflux","keywords":["truflux message definition protocol"],"main":"./index.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/auxolust/truflux-msg.git"},"gitHead":"389649ec5bc9355458d44d958588fe1ce9372bc3","bugs":{"url":"https://github.com/auxolust/truflux-msg/issues"},"homepage":"https://github.com/auxolust/truflux-msg","_id":"truflux-msg@0.2.1","scripts":{},"_shasum":"d1d8e7c9dfd487550c374f898de0458e524de822","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"titon","email":"titon1235@gmail.com"},"maintainers":[{"name":"titon","email":"titon1235@gmail.com"}],"dist":{"shasum":"d1d8e7c9dfd487550c374f898de0458e524de822","tarball":"https://registry.npmjs.org/truflux-msg/-/truflux-msg-0.2.1.tgz","integrity":"sha512-SuPX2i6HMs/5zCb7HsirRxK998nRpr17imOExQLjWhTEowsGdTdxalOjdDHr6pA8+RQhDen+3YHfGwoO8phDjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICbG3gf8Kg5bWB8U3cjC7o8ht2nOkN9qTId7Vr6kWHM6AiEAhbK8FQoHoZZH/77t2baiuDdELXAkLMeqk3qwXNmAZ04="}]}},"0.3.0":{"name":"truflux-msg","version":"0.3.0","author":{"name":"titon","email":"titon1235@gmail.com"},"description":"Message definition module for truflux","keywords":["truflux message definition protocol"],"main":"./index.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/auxolust/truflux-msg.git"},"gitHead":"389649ec5bc9355458d44d958588fe1ce9372bc3","bugs":{"url":"https://github.com/auxolust/truflux-msg/issues"},"homepage":"https://github.com/auxolust/truflux-msg","_id":"truflux-msg@0.3.0","scripts":{},"_shasum":"499bb565beda7d92535d7997b4f26b650789e821","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"titon","email":"titon1235@gmail.com"},"maintainers":[{"name":"titon","email":"titon1235@gmail.com"}],"dist":{"shasum":"499bb565beda7d92535d7997b4f26b650789e821","tarball":"https://registry.npmjs.org/truflux-msg/-/truflux-msg-0.3.0.tgz","integrity":"sha512-od1DHTMNfgfy0ExLqxmiww+mHNHwlS2ePidRjVidu6mdtB0SXvhITnGW6GTuzRS2nj2cXq8frsgMsv+hQAcOKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDDVBdssoBpauNT3tpLVO+2KuH/dHXpX107AOvoEaiGwIhANuNKgXJRhWHSv3nyxAgMo+RVHOMIICB7OQCq1wQlQ6g"}]}},"0.3.1":{"name":"truflux-msg","version":"0.3.1","author":{"name":"titon","email":"titon1235@gmail.com"},"description":"Message definition module for truflux","keywords":["truflux message definition protocol"],"main":"./index.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/auxolust/truflux-msg.git"},"gitHead":"ef9a1339c9c0492f0d8411833f521f5aeb395bbd","bugs":{"url":"https://github.com/auxolust/truflux-msg/issues"},"homepage":"https://github.com/auxolust/truflux-msg","_id":"truflux-msg@0.3.1","scripts":{},"_shasum":"902880736d2eacbc2c7daa29c3105b6e11e00a7f","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"titon","email":"titon1235@gmail.com"},"maintainers":[{"name":"titon","email":"titon1235@gmail.com"}],"dist":{"shasum":"902880736d2eacbc2c7daa29c3105b6e11e00a7f","tarball":"https://registry.npmjs.org/truflux-msg/-/truflux-msg-0.3.1.tgz","integrity":"sha512-VIlU3Fwfg1Fo7wTlwQxrTnt5Nksyv7rOdqHWECY3W+gy793y56NHIh7wi7Je2otXu/Kn/LVSYaQZ+gEsAbMx6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE0x1cvOt5DelP4XRn1OSmt+2SBcJ31iXUQqrY3G8SbiAiEApPLoqxQ4PdVw1RVEPd6No10Esd6vB4YoumAPj8k7Keo="}]}},"0.3.2":{"name":"truflux-msg","version":"0.3.2","author":{"name":"titon","email":"titon1235@gmail.com"},"description":"Message definition module for truflux","keywords":["truflux message definition protocol"],"main":"./index.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/auxolust/truflux-msg.git"},"gitHead":"886957ab96e9b7e558b1c9ff0b3ad1d1b0a5f64f","bugs":{"url":"https://github.com/auxolust/truflux-msg/issues"},"homepage":"https://github.com/auxolust/truflux-msg","_id":"truflux-msg@0.3.2","scripts":{},"_shasum":"eb5fb9e320780e2ea4d32f8ce32388d81d949e21","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"titon","email":"titon1235@gmail.com"},"maintainers":[{"name":"titon","email":"titon1235@gmail.com"}],"dist":{"shasum":"eb5fb9e320780e2ea4d32f8ce32388d81d949e21","tarball":"https://registry.npmjs.org/truflux-msg/-/truflux-msg-0.3.2.tgz","integrity":"sha512-rv7pShaDW/fz0hiHXJgtxV1p5lhsfL5EcFu0zIqyl35BxwtzAwMb2hAlfV3DGpTw+uMGjCgiS/N612n0IICodA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG7ydurpVp97FipP6nQS0LWStUlkrjC6yx+odtC1ahcOAiBQiXT8gMARJEIhJXanFbaScicCP8Dqz5rV9y02z8etXw=="}]}},"1.0.0":{"name":"truflux-msg","version":"1.0.0","author":{"name":"titon","email":"titon1235@gmail.com"},"description":"Message definition module for truflux","keywords":["truflux message definition protocol"],"main":"./index.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/auxolust/truflux-msg.git"},"gitHead":"7e474948b55a557cc1c9a9cd2b18d30c852749c8","bugs":{"url":"https://github.com/auxolust/truflux-msg/issues"},"homepage":"https://github.com/auxolust/truflux-msg","_id":"truflux-msg@1.0.0","scripts":{},"_shasum":"37827957aff5106acc38ab6c48eb180ed6aec936","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"titon","email":"titon1235@gmail.com"},"maintainers":[{"name":"titon","email":"titon1235@gmail.com"}],"dist":{"shasum":"37827957aff5106acc38ab6c48eb180ed6aec936","tarball":"https://registry.npmjs.org/truflux-msg/-/truflux-msg-1.0.0.tgz","integrity":"sha512-hd0i9gZBO+DGPtAIMasM0+35t4CYi4NZCuLa3YQDCj8sfgDSpLKWjWyDBhkTQYsaTDEsqYqtMiVrMSlUI148hg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFZrCB3ZLH5GbcoZR0hJH8DADelu30wjd321nX4ELI3mAiBDiY+SvHQ+vjXkfc2L1ttcWubKtRXtts6DHHPfxj6b6A=="}]}},"1.0.1":{"name":"truflux-msg","version":"1.0.1","author":{"name":"titon","email":"titon1235@gmail.com"},"description":"Message definition module for truflux","keywords":["truflux message definition protocol"],"main":"./index.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/auxolust/truflux-msg.git"},"gitHead":"623c71bf2c8c7a84bb52572ce4d75a0b19222384","bugs":{"url":"https://github.com/auxolust/truflux-msg/issues"},"homepage":"https://github.com/auxolust/truflux-msg","_id":"truflux-msg@1.0.1","scripts":{},"_shasum":"f4e2d0e2ac6d29d3cc75c8423e5595f203d985a2","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"titon","email":"titon1235@gmail.com"},"maintainers":[{"name":"titon","email":"titon1235@gmail.com"}],"dist":{"shasum":"f4e2d0e2ac6d29d3cc75c8423e5595f203d985a2","tarball":"https://registry.npmjs.org/truflux-msg/-/truflux-msg-1.0.1.tgz","integrity":"sha512-a0XYRCBQYdLFMO/brU00KBYIhFy70PbhCn9rKVH7GJW7HH4uLiCupIDHHZzupPxS+NNt1YQOKB67lsHQB7HGBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzZultQ47BTfiALrDYmAmaWw3r6Ieaxxi60V2t1REpqgIhAMHOPrrswt46XyeRbmardhvjGvAYT+2XU2SvB6+t+/Zx"}]}},"1.0.2":{"name":"truflux-msg","version":"1.0.2","author":{"name":"titon","email":"titon1235@gmail.com"},"description":"Message definition module for truflux","keywords":["truflux message definition protocol"],"main":"./index.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/auxolust/truflux-msg.git"},"gitHead":"7da600f21f2f6f53411cb0559d7394a7b213616f","bugs":{"url":"https://github.com/auxolust/truflux-msg/issues"},"homepage":"https://github.com/auxolust/truflux-msg","_id":"truflux-msg@1.0.2","scripts":{},"_shasum":"fed8ac60e49b2cc1fdc336339f7063da366af3d3","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"titon","email":"titon1235@gmail.com"},"maintainers":[{"name":"titon","email":"titon1235@gmail.com"}],"dist":{"shasum":"fed8ac60e49b2cc1fdc336339f7063da366af3d3","tarball":"https://registry.npmjs.org/truflux-msg/-/truflux-msg-1.0.2.tgz","integrity":"sha512-VmZD8OZD9IC+V0NAblVdfFluy7ef0yyOCToqJ/rluLE+YPUjnywxcNPx9wli0MR4274ofr+RBOlzkZ+RJXJE/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHiZ6aeVCptKSa4H9E82gjt4KkoQryjLhtu7CnYU4oKnAiBoChGSX9FPQKHDorccpb4x+vpeVGJwfsaf+YYVmUsN3A=="}]}},"1.0.3":{"name":"truflux-msg","version":"1.0.3","author":{"name":"titon","email":"titon1235@gmail.com"},"description":"Message definition module for truflux","keywords":["truflux message definition protocol"],"main":"./index.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/auxolust/truflux-msg.git"},"gitHead":"7da600f21f2f6f53411cb0559d7394a7b213616f","bugs":{"url":"https://github.com/auxolust/truflux-msg/issues"},"homepage":"https://github.com/auxolust/truflux-msg","_id":"truflux-msg@1.0.3","scripts":{},"_shasum":"37a54ade7d0d5615237a20acdfe8a53ec4a64fde","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"titon","email":"titon1235@gmail.com"},"maintainers":[{"name":"titon","email":"titon1235@gmail.com"}],"dist":{"shasum":"37a54ade7d0d5615237a20acdfe8a53ec4a64fde","tarball":"https://registry.npmjs.org/truflux-msg/-/truflux-msg-1.0.3.tgz","integrity":"sha512-GtypEp1vY5vry7yBsHNgy4enhLwa1Lx53FsrYG+19HAzTl/DUqvlRQfYJK9apB6zxBjOnS2puMc76D0oTf5cuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHrG9RNkJtHcqu+iSs6M7ggaWUoJENAI9Lr+L9wmwOa/AiEA1vsjexp9GTYAPA41yIi+ZG5l5CRjNtpb21wyNRlqOJI="}]}},"1.0.4":{"name":"truflux-msg","version":"1.0.4","author":{"name":"titon","email":"titon1235@gmail.com"},"description":"Message definition module for truflux","keywords":["truflux message definition protocol"],"main":"./index.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/auxolust/truflux-msg.git"},"gitHead":"8a6873195fe76483a0d55861485cd36b4d71c377","bugs":{"url":"https://github.com/auxolust/truflux-msg/issues"},"homepage":"https://github.com/auxolust/truflux-msg","_id":"truflux-msg@1.0.4","scripts":{},"_shasum":"31fbcd010cbf557e53230ac918902d41f238e38c","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"titon","email":"titon1235@gmail.com"},"maintainers":[{"name":"titon","email":"titon1235@gmail.com"}],"dist":{"shasum":"31fbcd010cbf557e53230ac918902d41f238e38c","tarball":"https://registry.npmjs.org/truflux-msg/-/truflux-msg-1.0.4.tgz","integrity":"sha512-7S+Gl7vXyuvPyE2QfQMBbRqyV1aQ0dGloKqEgOzClQty9oKeKvjJ3KAxfTXYVzz1kX0aTYpAuj6MY6WDPQZ8/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHjQV/uxGbQ0infVrL6rpdYcVkBCeTsvSltXup6H81IPAiEAtblnCgRo9PVkfyuCXedjsMmcCIDgKaM+uC10iMRwPvg="}]}},"1.0.5":{"name":"truflux-msg","version":"1.0.5","author":{"name":"titon","email":"titon1235@gmail.com"},"description":"Message definition module for truflux","keywords":["truflux","message","definition","protocol"],"main":"./index.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/auxolust/truflux-msg.git"},"gitHead":"8a6873195fe76483a0d55861485cd36b4d71c377","bugs":{"url":"https://github.com/auxolust/truflux-msg/issues"},"homepage":"https://github.com/auxolust/truflux-msg","_id":"truflux-msg@1.0.5","scripts":{},"_shasum":"284bca9187ab6879a237e440361cbe5bd9f4a353","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"titon","email":"titon1235@gmail.com"},"maintainers":[{"name":"titon","email":"titon1235@gmail.com"}],"dist":{"shasum":"284bca9187ab6879a237e440361cbe5bd9f4a353","tarball":"https://registry.npmjs.org/truflux-msg/-/truflux-msg-1.0.5.tgz","integrity":"sha512-u6yTSXG41zhNoG1fxdiBtcHwKEWsYqfJYbh5m/cJYu8ifVD2zoJc+pefNaZ2lAeJ3dkBO86ESOZIafcxxKBaeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF9dHr+VxyN0PTL6/iDB5LyCHqMvt7/B3yWeWziAwHW7AiB3CZ9evsnh4gXaxAcw8go9JmO9XIULgguYLtzAECD5Fg=="}]}},"2.0.0":{"name":"truflux-msg","version":"2.0.0","author":{"name":"titon","email":"titon1235@gmail.com"},"description":"Message definition module for truflux","keywords":["truflux","message","definition","protocol"],"main":"./index.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/auxolust/truflux-msg.git"},"gitHead":"a3fbce429d87dcdc42e0c80d2d52ea5baf13fb33","bugs":{"url":"https://github.com/auxolust/truflux-msg/issues"},"homepage":"https://github.com/auxolust/truflux-msg","_id":"truflux-msg@2.0.0","scripts":{},"_shasum":"86c9b72fd2d7181da19e704a6da4480c38fd8797","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"titon","email":"titon1235@gmail.com"},"maintainers":[{"name":"titon","email":"titon1235@gmail.com"}],"dist":{"shasum":"86c9b72fd2d7181da19e704a6da4480c38fd8797","tarball":"https://registry.npmjs.org/truflux-msg/-/truflux-msg-2.0.0.tgz","integrity":"sha512-KdpoI8E+0agc45aR3kNRkzZsuvVmtcAdXBLWnHuMsWz6RDwA7MhkcxKP/XyVxYLtcd2jTo+cglomcHQ5ka1GAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFAREEZeS6geWEKGE8oLsZj3HJnr8bKwYxJsQ3CCymQWAiEA+x5sup+jqKMVvhdR3OPlNKr4sY/n/djvV3i5sIVJ4/M="}]}},"2.1.0":{"name":"truflux-msg","version":"2.1.0","author":{"name":"titon","email":"titon1235@gmail.com"},"description":"Message definition module for truflux","keywords":["truflux","message","definition","protocol"],"main":"./index.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/auxolust/truflux-msg.git"},"gitHead":"05748b0b095e1c065898f78465c22071366c4d98","bugs":{"url":"https://github.com/auxolust/truflux-msg/issues"},"homepage":"https://github.com/auxolust/truflux-msg","_id":"truflux-msg@2.1.0","scripts":{},"_shasum":"37b8c97e90aaf9ec8b83e30f4c72ae8aaa77b759","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"titon","email":"titon1235@gmail.com"},"maintainers":[{"name":"titon","email":"titon1235@gmail.com"}],"dist":{"shasum":"37b8c97e90aaf9ec8b83e30f4c72ae8aaa77b759","tarball":"https://registry.npmjs.org/truflux-msg/-/truflux-msg-2.1.0.tgz","integrity":"sha512-zjwz99bIr2SgCyNwDThvpSsgSz+l5Ha1Gyo8eGXmk9gJKEGydTl+mTmzm5lm66RH9QRDrST0QF96V6y0Dxku8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIElZxhCKPSyL+fN3K2XHcjEOIXh2qljvJ5FKnNyvilSTAiEAxgtBV0QN4CgSGhuOJThpzxOW/3l7XEHz1bj6K8B78yc="}]}}},"readme":"# Truflux Message\r\n\r\n### To install\r\n\r\n```bash\r\nnpm install --save truflux-msg\r\n```\r\n\r\nThis is the definition module for **truflux** https://www.npmjs.com/package/truflux \r\n \r\nThe truflux message definition is designed to be seperate from the actual messaging system to allow you to seperate protocol from implementation \r\n\r\n## New in v2.0.0\r\n\r\nTo provide better decoupling, truflux-msg now no longer supports the enforce Schema methods any more, which have been moved to a separate module, **truflux-msg-schema**. The prebuilt browser versions have removed to allow one to include their own specialized build if need be\r\n\r\n\r\n### Example\r\n\r\n```js\r\n//In your protocol definition file lets call it protocol.js\r\nvar Message  = require('truflux-msg'),\r\n    protocol = new Message({noThrow:true});\r\n\r\nprotocol.add('error')\r\n        .add('echo' );\r\n\r\nmodule.exports = protocol;\r\n```\r\n\r\n```js\r\n//Now for your implementation\r\nvar protocol = require('./protocol'),\r\n\ttruflux  = require('truflux');\r\n \r\nprotocol.specify(\"echo\",function(data,socket)\r\n{\r\n    console.log(data);\r\n});\r\n\r\n\r\nvar Client= new truflux.Client({host:\"localhost\",msg:protocol}));\r\n\r\nClient.connect()\r\n\t  .on('connected',function(sock)\r\n\t  {\r\n\t\t    sock.send('echo','Atreyuuuu!');\r\n\t\t    //Alternatively, you can reference the message ID directly which is preferable as you do not need a string lookup\r\n\t\t    sock.send(protocol.id.echo,'Atreyuuu');\r\n\t  });\r\n ...\r\n\r\n```\r\n\r\n## API\r\n\r\nIn case it wasn't apparent from above , the preferred method of accessing the integer value of a message is to use \r\n```msgObjectInstance.id.identifierName``` , this can be used to obtain values for *has* and *call* \r\n\r\n### *Constructor*(options)\r\n```js\r\n/**\r\n * Creates a new TrufluxMessage\r\n * @param {Object}  [options] \r\n * @param {Boolean} [options.noThrow] If true, we will not throw an error for unimplemented functions for \"add\" \r\n */\r\n```\r\n\r\n### add(identifier,[func])\r\n```js\r\n/**\r\n * Adds a function handler for the provided string\r\n * @param  {String} identifier \r\n * @param  {Function} [func]  function(data,socket)   \r\n * @return {TrufluxMessage}    \r\n */\r\n```\r\n\r\n### specify(identifier,func)\r\n```js\r\n    /**\r\n     * Specifies the function to be used for the provided identifier. Used to override add\r\n     * @param  {String|Number} identifier \r\n     * @param  {Function} func function(data,socket)       \r\n     * @return {TrufluxMessage}            \r\n     */\r\n```\r\n\r\n\r\n### call(id,payload,socket)\r\n```js\r\n/**\r\n * Calls the handler associated with the message ID. NOTE This will throw an error if there is no \r\n * handler associated. It is assumed you have called \"has\" before hand\r\n * @param  {Number} id      \r\n * @param  {Any} payload \r\n * @param  {TrufluxSocket} socket\r\n * @return {TrufluxMessage}   \r\n */\r\n```\r\n                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         \r\n### has(messageID)\r\n```js\r\n/**\r\n * Checks to see if it has the specified message handler\r\n * @param  {Number}  messageID \r\n * @return {Boolean}       \r\n */\r\n```\r\n\r\n### changeMessageID(oldId,newID)\r\n```js\r\n/**\r\n * Changes the ID of a message handler. Ideal if you need to make sure that the ID has a certain value \r\n * @param  {Number|String} oldId The old identifer of the handler\r\n * @param  {Number} newID  The new ID value \r\n * @throws {Error } If the newID is already taken\r\n * @return {TrufluxMessage}       \r\n */\r\n```","maintainers":[{"name":"titon","email":"titon1235@gmail.com"}],"time":{"modified":"2022-06-27T21:48:28.305Z","created":"2015-01-09T17:14:42.303Z","0.1.0":"2015-01-09T17:14:42.303Z","0.1.1":"2015-01-22T20:10:13.519Z","0.1.2":"2015-02-01T18:18:07.489Z","0.2.1":"2015-02-19T01:34:47.964Z","0.3.0":"2015-02-19T18:59:42.469Z","0.3.1":"2015-02-19T19:51:09.834Z","0.3.2":"2015-02-20T17:41:53.747Z","1.0.0":"2015-02-24T19:44:59.972Z","1.0.1":"2015-02-25T00:12:59.720Z","1.0.2":"2015-02-25T15:55:59.919Z","1.0.3":"2015-02-25T16:05:29.809Z","1.0.4":"2015-02-27T16:48:23.375Z","1.0.5":"2015-02-27T16:52:22.574Z","2.0.0":"2015-04-24T20:55:54.025Z","2.1.0":"2015-04-24T23:11:38.410Z"},"keywords":["truflux","message","definition","protocol"],"repository":{"type":"git","url":"https://github.com/auxolust/truflux-msg.git"},"author":{"name":"titon","email":"titon1235@gmail.com"},"readmeFilename":"README.md","homepage":"https://github.com/auxolust/truflux-msg","bugs":{"url":"https://github.com/auxolust/truflux-msg/issues"}}