{"_id":"@abckey/proto","_rev":"23-68f26cba0b7387928f0fc4ec6e234921","time":{"0.4.0":"2019-09-16T05:44:35.817Z","created":"2019-09-16T05:53:39.201Z","0.5.0":"2019-09-16T05:53:39.665Z","modified":"2022-04-04T10:57:58.633Z","0.6.0":"2019-09-16T10:09:04.088Z","0.7.0":"2019-09-16T10:13:35.607Z","0.8.0":"2019-09-17T03:10:19.444Z","0.0.1":"2019-09-17T03:11:00.125Z","0.0.2":"2019-09-17T18:58:23.380Z","0.0.3":"2019-10-17T10:17:40.190Z"},"name":"@abckey/proto","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.2":{"name":"@abckey/proto","version":"0.0.2","description":"ABCKEY Protocol Buffers.","author":{"name":"abckey","email":"hi@abckey.com"},"license":"MIT","main":"dist/index.js","scripts":{"build":"pbjs -t json-module -w commonjs --force-number -o dist/index.js src/*.proto && pbjs -t static-module src/*.proto | pbts -o dist/index.d.ts -","prepare":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/abcKeyCOM/abckey-proto.git"},"devDependencies":{},"dependencies":{"protobufjs":"^6.8.8"},"gitHead":"b67d1b0ced040be46c2a9794549dbd96a45a5d76","bugs":{"url":"https://github.com/abcKeyCOM/abckey-proto/issues"},"homepage":"https://github.com/abcKeyCOM/abckey-proto#readme","_id":"@abckey/proto@0.0.2","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-z586ZZeG/0ur06FbrYEkDHFF6LLiIilvTb0B6/4WMS3mVHEanEg0xLixNDyMVi7M95sDJ6R/aXuvpZVcvJZQ6A==","shasum":"4ea655159e6e6289085dcf343cab85fb2f528344","tarball":"https://registry.npmjs.org/@abckey/proto/-/proto-0.0.2.tgz","fileCount":6,"unpackedSize":169499,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgSzPCRA9TVsSAnZWagAAkeAP/1/6EcqmbJLaaQWSVrBw\nZT9LSK1HyeCS2WfR352bf8DXXQvs+fQIPVbwzdJcFN4iBLRvVFB+7YLrKKGZ\n9YMcPBtQWuM8yfnc16Bu+cwdF0U6iJxb9jRqcSijB4cb18TPFQkdYe9sWue5\njvt7Mi6vfeZArSLj/+aCeHI5K3/XjcnrK7y7Z6CQw99uhTzmTj+p8ppnZN5x\nOU5uWJ6pXmZ96QNRs0I7tzg4AQaE0cqGhLp7nfxrYoPyyLt6EjOtTGgqs65l\nHcTPD4F/WPdUwT62ifM3cRz4/eETH9YcXOmiii/Slcw8x+aEcnI6KKHf6Ij6\nRqhyfsK/Lwd6nBMXxp+AWyS12V0JzXtI1EjaXUOw9hDrF0/Etpl36S/Jqjwk\nEajy5aF4I6uh1acnE5hCFthAP+59udqNawDG9SY3tUFHKIaYLJuK57EDd1fT\nVlZ+8JJmEjxvuJi7zyQYn8V93BnQcrYZFh9hA2sfy9wvWf7Qq/YQupXUMPMy\nZSE20QiD/f89pMhpTzcqYGegX/A0H+V87pqlrr2nB2YMXcEX0xjGbVSlM5fv\ngzL0znkjgAKMXw6ZEV5CLVvC+iWjTuaARPNIJcWfvKs4+/rZbmQSu7JpNLsx\nJhUB9Ijn2TiqTW7fo0Ck7NnjIxkdRfY+fHqU/lvEkrGRpoioplZq246oWb6e\nTkNJ\r\n=L7UK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSZSqiOZ5RF+NHmDjkoa/CQULmA8PjWUu7Y/0/yEWcrQIgVCgO6FkAv4SmTq5MQjc83wCplsI7nKHh+vFOtTvg1/s="}]},"maintainers":[{"name":"webees","email":"webees@qq.com"}],"_npmUser":{"name":"webees","email":"webees@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/proto_0.0.2_1568746703241_0.698581531940301"},"_hasShrinkwrap":false},"0.0.3":{"name":"@abckey/proto","version":"0.0.3","description":"ABCKEY Protocol Buffers.","author":{"name":"abckey","email":"hi@abckey.com"},"license":"MIT","main":"dist/index.js","scripts":{"build":"pbjs -t static-module -w commonjs --no-beautify --no-verify -o dist/index.js src/*.proto && pbts -o dist/index.d.ts dist/index.js","prepare":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/abcKeyCOM/abckey-proto.git"},"devDependencies":{},"dependencies":{"protobufjs":"^6.8.8"},"gitHead":"968d11250c65df7cdfbfa1ff3e97a5daed798efc","bugs":{"url":"https://github.com/abcKeyCOM/abckey-proto/issues"},"homepage":"https://github.com/abcKeyCOM/abckey-proto#readme","_id":"@abckey/proto@0.0.3","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Zrt5rVdMwy8A8uT5T0f6SwVgJey4BQV8mE393LiBvDnGwQfpCKjRuARtFKEIMOVN5nkxjlQFaIaS43mPzcX5Vw==","shasum":"c3f16a1a9d1f2d6c66c40a4ee9a2e94ba3f08497","tarball":"https://registry.npmjs.org/@abckey/proto/-/proto-0.0.3.tgz","fileCount":6,"unpackedSize":578406,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqD/ECRA9TVsSAnZWagAAlZAP/j65gP2uOYlWGtLkOrI/\nboQOoLEQFkvQAJtjwm4j6qV1VzvAQcGBjwkLpnpWWzAUWeeeBPSikX8u7LQI\nh/u0reGN+ENWEAue5wHB3w0cE44sZ5ov0QrYBumAaV+7YXTyQQ6Evbrw2bN8\nHGgUC+iKw4y9wOdoioLVrou9LXimOySn+py4k1rglB1otrLjw3gMPFQh8qeb\nfQOyzFGgxmredqkkYsACi9oYSKu+q8cTy8CUptZ+3DIRAVULPo5Rdu6w2jYY\nCjf3/L6pXUKgEk4FxII3lkoC3K8VwK5Hs4dZicBC8F6tXMtWjpEC4Gjm4etl\ngMfI+E0jd9WVs+g5sOQnaylwgDdLVm5lNoZAAsiVe6NRgmPOquwtLu2Pm4Qn\njjolrEOOjk1KIMabLKGhL+lm2VdvjkvgB/QLS9TZtw/KjH/HqwUNd16T8dn+\nrRUkUbZsJ0pu1O68KLFl3J4DXPUmfB3gn+sUK2hhQPtc/YLJKoi6TMmIY0nz\n97ACfzTbKoDh/oXAOVs88++fgI817vvcHgYhTdfNB6yoizePheXmM+k7THGN\nSDiT+Id7iaYLWZwFFgH5eM5gEfLof8QA2Z237ShuezzcAfz3/H0PEDY5Dfbq\nijTGl8pd3y/GosVGKnznDMF6guobxICJvo1ceNaAlhQ6p/ntUvFmE5S/jfh3\nThRs\r\n=wvEb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEOS5BIpkp0m6khefB94rBZiQR/dwdSfWOVnk74zRRy5AiAV3GTQq1ThPHXFojKQqfihn2LcQnFOs2MSGrsf5S2HjQ=="}]},"maintainers":[{"name":"webees","email":"webees@qq.com"}],"_npmUser":{"name":"webees","email":"webees@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/proto_0.0.3_1571307460028_0.9909128141134866"},"_hasShrinkwrap":false}},"maintainers":[{"name":"webees","email":"webees@qq.com"}],"description":"ABCKEY Protocol Buffers.","homepage":"https://github.com/abcKeyCOM/abckey-proto#readme","repository":{"type":"git","url":"git+https://github.com/abcKeyCOM/abckey-proto.git"},"author":{"name":"abckey","email":"hi@abckey.com"},"bugs":{"url":"https://github.com/abcKeyCOM/abckey-proto/issues"},"license":"MIT","readme":"## abckey-proto\n[![NPM version](https://img.shields.io/npm/v/@abckey/proto.svg)](https://www.npmjs.com/package/@abckey/proto)\n\nABCKEY Protocol Buffers.\n\n## Install\n\n```\nnpm i @abckey/proto\n```\n\n## Usage\n\n```\nnpm run build\n```\n\n> [protobuf.js](https://github.com/protobufjs/protobuf.js#usage)\n\n## Protocol\n\nMessages are sent in packets of 64 bytes.\n\nFirst packet has the following structure:\n\n| offset | length | type        | contents                                                                              |\n|--------|--------|-------------|---------------------------------------------------------------------------------------|\n|      0 |      3 | char[3]     | '$##' magic constant                                                                  |\n|      3 |      2 | BE uint16_t | numerical [types](src/msg.proto)                                          |\n|      5 |      4 | BE uint32_t | message size                                                                          |\n|      9 |     55 | uint8_t[55] | first 55 bytes of message encoded in Protocol Buffers (padded with zeroes if shorter) |\n\nFollowing packets has the following structure:\n\n| offset | length | type        | contents                                                                               |\n|--------|--------|-------------|----------------------------------------------------------------------------------------|\n|      0 |      1 | char[1]     | '$' magic constant                                                                     |\n|      1 |     63 | uint8_t[63] | following bytes of message encoded in Protocol Buffers (padded with zeroes if shorter) |\n\n## License\n\n[MIT](LICENSE)","readmeFilename":"README.md"}