{"_id":"@codenotary/immudb-node-pbjs","_rev":"1-deeae29efe8e647e51c19995700774c2","name":"@codenotary/immudb-node-pbjs","dist-tags":{"alpha":"2.0.0-alpha.1","latest":"2.0.0-alpha.0"},"versions":{"2.0.0-alpha.0":{"name":"@codenotary/immudb-node-pbjs","version":"2.0.0-alpha.0","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/codenotary/immudb-node.git","directory":"immudb-node-pbjs"},"description":"immudb schema.proto protobuf node bindings.","keywords":["immudb","protobuf","bindings"],"type":"module","main":"./src/main.js","types":"src/main.d.ts","dependencies":{"long":"^5.2.0","protobufjs":"^7.1.1"},"devDependencies":{"protobufjs-cli":"^1.0.2","typescript":"^4.8.3"},"gitHead":"a3937038053a36f6afeb392f4e9af89b81debd4c","bugs":{"url":"https://github.com/codenotary/immudb-node/issues"},"homepage":"https://github.com/codenotary/immudb-node#readme","_id":"@codenotary/immudb-node-pbjs@2.0.0-alpha.0","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-2+3PXJwSah6jGQfkFnpySqieg6sAxbPyJW/dGWlN7zOrE4wwQNqmExU+VipxYje9qbXf1hk+PnWrNHqMtmU4SA==","shasum":"132c03545ecf90f48dfa72be235ee8fbabef4d13","tarball":"https://registry.npmjs.org/@codenotary/immudb-node-pbjs/-/immudb-node-pbjs-2.0.0-alpha.0.tgz","fileCount":6,"unpackedSize":2376284,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtK0B8/tpLtSy6YIutFPS+Wm7drF0d0GwXMyoNxOxnMQIhAPoVN8IFOdFAjLg3Td99fiZJ7IB0ZkZ85QZs6bwwOlyy"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjO+HGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoCyA//a0FVNN562/kCjH2EOmH+gQ4mwJyrbz1Lszol4UjK6LcQy6eb\r\nJb/gzxeoxKuVEB2BWfkuZNTkstBNczM3TPmh9R7ScG49fEkyy5ywiDD3FYCz\r\nVzU8oOHMGNFcGkgzs4YB5xOE2T112HYEHKHNXDytd98RkAyhjYeUmz/ZeRAH\r\nXgroyfHOO9TYkjxiQZYwi6lyml/7vfQ+xqOc9WwG+RIWnolF+W0g9EO7PYyw\r\n95NHIQcmSmYvROIjldSV27ujcx7h96ya1Z/rh/dxI7k18s6KxjZ8n3Hi7iwI\r\niS03FPJIy36gp/HZaaI0FdWX5alaQzbeP719z0TAOt/VIk1jvmd7JTwnBCJU\r\nNHhnPy4X8hgVC7wvoFNZSyGAML3Pc8Dn//BCT9ufQM7xmY5wbNDaHTxNWTws\r\nW5MVz9o04rb3LmeMCHxd3tIXUKrayCZ4ISWDPPNqrp5lQqtZixF86qXi1Vom\r\nyNLLjON9bmuh891d+wPv9ZHpoPQj9RVZllX4f/O0NiUTnsPNJMxxNOJ9kmcX\r\n4X1GRwA6uyb877ss3LTyb5/iOvV3QSZkAXDXkyEFqll7DacP+RHowxtL5Tht\r\nCsHY6sNKLy/cBdON3AfHz1kKqMF2llH76tLxSQsRckJRLBoZikV8jLozcxm0\r\ncnN9w2syiHYIEcV2FBksqaa30UkjC00Uaeo=\r\n=xIR1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tomekkolo","email":"tomek.kolo@gmail.com"},"directories":{},"maintainers":[{"name":"tomekkolo","email":"tomek.kolo@gmail.com"},{"name":"iamvs","email":"mailtoiamvs@gmail.com"},{"name":"senelalp","email":"alp@codenotary.com"},{"name":"vchain","email":"dennis@vchain.us"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immudb-node-pbjs_2.0.0-alpha.0_1664868805768_0.17651944526083652"},"_hasShrinkwrap":false},"2.0.0-alpha.1":{"name":"@codenotary/immudb-node-pbjs","version":"2.0.0-alpha.1","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/codenotary/immudb-node.git","directory":"immudb-node-pbjs"},"description":"immudb schema.proto protobuf node bindings.","keywords":["immudb","protobuf","bindings"],"type":"module","main":"./src/main.js","types":"src/main.d.ts","dependencies":{"long":"^5.2.0","protobufjs":"^7.1.1"},"devDependencies":{"protobufjs-cli":"^1.0.2","typescript":"^4.8.3"},"gitHead":"125cdcf8d23ce717530f3b97d1adaa0938198819","readme":"\n# Generate protobufjs client for immudb `.proto` file\n\n\n\n## Prepare `schema.proto` after updates\n\n\nIt may be neccessery to repair synthax errors in actualized `.proto` file.\n\n\nFollowing lines should be commented:\n- `import \"google/api/annotations.proto\";`\n- `import \"protoc-gen-swagger/options/annotations.proto\";`\n\n\nAlso:\n- `;` semicolon after `title: \"immudb REST API\";` should be removed\n- `;` semicolon after `info: { ... };` should be removed\n\n\n\n## Generate static code\n\nTo generate static protobuf code in file `src/main.js`:\n\n```ps1\nnpx pbjs --target static-module --force-long --es6 --wrap es6 --out src/main.js schema.proto\n```\n\n**To use as a module and generate typedefinitions** change second line on `src/main.js` to:\n\n```ts\nimport $protobuf from \"protobufjs/minimal.js\";\n```\n\n\n\n## Generate typescript definitions\n\nTo generate typescript type definitions in file `src/main.d.ts`:\n\n\n```ps1\nnpx pbts --out src/main.d.ts src/main.js\n```\n\n\nAlternatively (sometimes this works):\n\n```ps1\nnpx pbjs --target static-module --force-long --es6 --wrap es6 schema.proto | npx pbts -o src/main.d.ts -\n```\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/codenotary/immudb-node/issues"},"homepage":"https://github.com/codenotary/immudb-node#readme","_id":"@codenotary/immudb-node-pbjs@2.0.0-alpha.1","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-XH486mStiL1YABiphw6TFSmkwLD1FGj/Eda/xIArkAi/LXBRP8rvCYcFgRID19zqFxDTn2INfKfdmEsYmQNgTw==","shasum":"9b63e26ca236dc3b1a6ee545c8cc652ef4b80846","tarball":"https://registry.npmjs.org/@codenotary/immudb-node-pbjs/-/immudb-node-pbjs-2.0.0-alpha.1.tgz","fileCount":6,"unpackedSize":2376284,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC71SUK/LCf9aUTOJ6Ua5td/prz3KO0ESOFF3h6fJlOsAiEA1J+zJSsgyJ4TsZT5B1nbVwRalrfN+FML1dcsXvWgcSM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjlKYfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpUmQ//UYuhfkUfTrm1LCh0k7uBsRUvUdPq7gmYSbgq/ySEuuDK7kRG\r\nvqy8KbX7Ou04/qEif9hSjfN5mWuaLjBxGcfvdH17Exl6BUhzlj2IYv4f8QU4\r\nvWMzXQrCiLo8z06wTRw9cwNK2TuOsA0GtRXCGr1uoGiYWbPSOPjmnsfochUh\r\nAh44e+DhSklaS/VBpyxhMGHdbpZ8ZFTnaDfFYiVaBiwR1SSH1j9GzhQweIGK\r\naIzRkWeHjcwZD8CL8lAIn52Ucf1MuoNUI1I5e9QCCoxP/PsSyo5a2fgYxgzN\r\norapvc0duUPRBEx8YWrAJ6JATGWw0GMp/FgJYwm2vEQ/f1IS+UXQRx9J+Ivw\r\nWIoaTNRdjriBQeG1WJl8uhDE4QskIU2TXEfVEr+gbbN7q9qVTagtGpPu0hZO\r\nqpQX22GtlNo4vG7TSlb9brwOWXAmheki24Foej3fCv+IJufMyo7uNxBbZG+L\r\nSyJ+rPGKs79c1EUpJVXurVC44qDoEquXOImXTVkX/R/5FIflYN5raTnrXSex\r\n9ybdOzQOVWbrvujMuMIdPfiiEA22q3R0zhr2bHCeEjRxGa3HOHvuK/EXlu4C\r\nDaNE/JdRpiv471cmFILaMkBrZNYScw6QWNc5WfJnY1eQULYk7eTF4CSlG69q\r\nTNPjFUY7LZPIoT9eN/3KSA2K4ERZBfHu200=\r\n=NMhr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tomekkolo","email":"tomek.kolo@gmail.com"},"directories":{},"maintainers":[{"name":"tomekkolo","email":"tomek.kolo@gmail.com"},{"name":"iamvs","email":"mailtoiamvs@gmail.com"},{"name":"senelalp","email":"alp@codenotary.com"},{"name":"vchain","email":"dennis@vchain.us"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immudb-node-pbjs_2.0.0-alpha.1_1670686239539_0.391152056573459"},"_hasShrinkwrap":false}},"time":{"created":"2022-10-04T07:33:25.709Z","2.0.0-alpha.0":"2022-10-04T07:33:26.018Z","modified":"2022-12-10T15:30:39.901Z","2.0.0-alpha.1":"2022-12-10T15:30:39.772Z"},"maintainers":[{"name":"tomekkolo","email":"tomek.kolo@gmail.com"},{"name":"iamvs","email":"mailtoiamvs@gmail.com"},{"name":"senelalp","email":"alp@codenotary.com"},{"name":"vchain","email":"dennis@vchain.us"}],"description":"immudb schema.proto protobuf node bindings.","homepage":"https://github.com/codenotary/immudb-node#readme","keywords":["immudb","protobuf","bindings"],"repository":{"type":"git","url":"git+https://github.com/codenotary/immudb-node.git","directory":"immudb-node-pbjs"},"bugs":{"url":"https://github.com/codenotary/immudb-node/issues"},"license":"Apache-2.0","readme":"","readmeFilename":""}