{"_id":"@chainbrains/lds-merkle-proof-2019","_rev":"4-8b502b84708b4e4774e9e3b0663fa847","name":"@chainbrains/lds-merkle-proof-2019","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@chainbrains/lds-merkle-proof-2019","version":"1.0.0","description":"LDS Merkle Proof 2019 signature suite tools","keywords":["lds-merkle-proof-2019","verifiable credentials","merkle-proof"],"repository":{"type":"git","url":"git+https://github.com/smascarenhas-cci/lds-merkle-proof-2019.git"},"homepage":"https://github.com/smascarenhas-cci/lds-merkle-proof-2019","main":"src/index.js","dependencies":{"ajv":"^6.10.2","cbor":"^5.0.1","encodr":"^1.2.1","lodash":"^4.17.20","multibase":"^0.6.0"},"devDependencies":{"jest":"^26.4.2"},"scripts":{"test":"jest","postpublish":"npm publish --ignore-scripts --@chainbrains:registry='https://registry.npmjs.org'"},"author":{"name":"Chain Brains"},"license":"MIT","_id":"@chainbrains/lds-merkle-proof-2019@1.0.0","gitHead":"508c07876942728f02364ab84a927f7c6f5b5150","bugs":{"url":"https://github.com/smascarenhas-cci/lds-merkle-proof-2019/issues"},"_nodeVersion":"16.16.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-2KPk7Mtmhkpq3ZQkAm2hVsacS1RWBmEsPrcpy8vyi3Rk0hdhwTRzuvdAd/D3H1X7FL9/cCdeM+eEjFLssJ1fDw==","shasum":"b7294a8493b90a6cea07aebc4aff5680a3066e43","tarball":"https://registry.npmjs.org/@chainbrains/lds-merkle-proof-2019/-/lds-merkle-proof-2019-1.0.0.tgz","fileCount":17,"unpackedSize":13131,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUCvcJbTaP5IsJ0r6JD9FQfgxieaNQ+2my5K5s+agQQAIgPAQceABg6ywCaBEg3LQ6Oqbxxq5yBOhp+ae2MNn2tZo="}]},"_npmUser":{"name":"scanny","email":"scanny.mascarenhas@creativecapsule.com"},"directories":{},"maintainers":[{"name":"scanny","email":"scanny.mascarenhas@creativecapsule.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lds-merkle-proof-2019_1.0.0_1690441947384_0.22776525130436798"},"_hasShrinkwrap":false},"1.0.1":{"name":"@chainbrains/lds-merkle-proof-2019","version":"1.0.1","description":"LDS Merkle Proof 2019 signature suite tools","keywords":["lds-merkle-proof-2019","verifiable credentials","merkle-proof"],"repository":{"type":"git","url":"git+https://github.com/smascarenhas-cci/lds-merkle-proof-2019.git"},"homepage":"https://github.com/smascarenhas-cci/lds-merkle-proof-2019","main":"src/index.js","dependencies":{"ajv":"^6.10.2","cbor":"^5.0.1","encodr":"^1.2.1","lodash":"^4.17.20","multibase":"^0.6.0"},"devDependencies":{"jest":"^26.4.2"},"scripts":{"test":"jest","postpublish":"npm publish --ignore-scripts --@chainbrains:registry='https://registry.npmjs.org'"},"author":{"name":"Chain Brains"},"license":"MIT","_id":"@chainbrains/lds-merkle-proof-2019@1.0.1","gitHead":"dd668764fe31d2a98fefe9d973f74689f45dfdaf","bugs":{"url":"https://github.com/smascarenhas-cci/lds-merkle-proof-2019/issues"},"_nodeVersion":"16.16.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-AH+VAZNAK49Wl681N4PRlaOzLkLooR0zqZZvzn0KtrRVPC7A0Dkb0zNdkNvZgR0RDUfUiRQvklfsPkMpF8IM/Q==","shasum":"dfce73f1cce95e67b44e1684d2aa1eee5006ca13","tarball":"https://registry.npmjs.org/@chainbrains/lds-merkle-proof-2019/-/lds-merkle-proof-2019-1.0.1.tgz","fileCount":17,"unpackedSize":13157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAGJi7icHJfLP1hQ1FeN9GGyKFXRUrwmadvEztc+DH1xAiBfyt75uKli2tVJquwo/UX/FyA4ovcnbGiKFwB6KQagjA=="}]},"_npmUser":{"name":"scanny","email":"scanny.mascarenhas@creativecapsule.com"},"directories":{},"maintainers":[{"name":"scanny","email":"scanny.mascarenhas@creativecapsule.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lds-merkle-proof-2019_1.0.1_1690442975342_0.9672339974446922"},"_hasShrinkwrap":false},"1.0.2":{"name":"@chainbrains/lds-merkle-proof-2019","version":"1.0.2","description":"LDS Merkle Proof 2019 signature suite tools","keywords":["lds-merkle-proof-2019","verifiable credentials","merkle-proof"],"repository":{"type":"git","url":"git+https://github.com/smascarenhas-cci/lds-merkle-proof-2019.git"},"homepage":"https://github.com/smascarenhas-cci/lds-merkle-proof-2019","main":"src/index.js","dependencies":{"ajv":"^6.10.2","cbor":"^5.0.1","encodr":"^1.2.1","lodash":"^4.17.20","multibase":"^0.6.0"},"devDependencies":{"jest":"^26.4.2"},"scripts":{"test":"jest","postpublish":"npm publish --ignore-scripts --@chainbrains:registry='https://registry.npmjs.org'"},"author":{"name":"Chain Brains"},"license":"MIT","_id":"@chainbrains/lds-merkle-proof-2019@1.0.2","gitHead":"c24d8df0262ba314f85daaea75fd8d8bc810c6b4","bugs":{"url":"https://github.com/smascarenhas-cci/lds-merkle-proof-2019/issues"},"_nodeVersion":"16.16.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-1qVkrS8trd/P4RXLYdIfXwD92za1Kzg7PckCUgAQehJQEpjuWvfD1E5uge5I2upHAz1uYTNh7vY+A57k4ALSQw==","shasum":"307430972f27ef887aa9f69af21d96ac9f12ea09","tarball":"https://registry.npmjs.org/@chainbrains/lds-merkle-proof-2019/-/lds-merkle-proof-2019-1.0.2.tgz","fileCount":17,"unpackedSize":13187,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGyZ6LoU3wC4/HlMvwEYQhXF6zImGeqgemb/H1HAkQTMAiEArVc+XXZS12zr1z0l5T7nrC/iFUz/+QXoQ1esHzNnBA8="}]},"_npmUser":{"name":"scanny","email":"scanny.mascarenhas@creativecapsule.com"},"directories":{},"maintainers":[{"name":"scanny","email":"scanny.mascarenhas@creativecapsule.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lds-merkle-proof-2019_1.0.2_1690446806469_0.5938705340002721"},"_hasShrinkwrap":false},"1.0.3":{"name":"@chainbrains/lds-merkle-proof-2019","version":"1.0.3","description":"LDS Merkle Proof 2019 signature suite tools","keywords":["lds-merkle-proof-2019","verifiable credentials","merkle-proof"],"repository":{"type":"git","url":"git+https://github.com/smascarenhas-cci/lds-merkle-proof-2019.git"},"homepage":"https://github.com/smascarenhas-cci/lds-merkle-proof-2019","main":"src/index.js","dependencies":{"ajv":"^6.10.2","cbor":"^5.0.1","encodr":"^1.2.1","lodash":"^4.17.20","multibase":"^0.6.0"},"devDependencies":{"jest":"^26.4.2","typescript":"^4.9.3"},"scripts":{"test":"jest","postpublish":"npm publish --ignore-scripts --@chainbrains:registry='https://registry.npmjs.org'"},"author":{"name":"Chain Brains"},"license":"MIT","_id":"@chainbrains/lds-merkle-proof-2019@1.0.3","gitHead":"67d4c01e1feaa9c78aa65d2fff74cd3d7bbef85e","types":"./src/index.d.ts","bugs":{"url":"https://github.com/smascarenhas-cci/lds-merkle-proof-2019/issues"},"_nodeVersion":"16.16.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-mMcBhiL+LUVvYu2koJtU0tiduxDMlWTJj3amPAD6KGX/PiHvzYRTfi6RkQHQs90+04aW0ZgPxN6xIOF7Y3Tk5A==","shasum":"88cfcf3d8f49c04a3adf8629ccd74771f046c247","tarball":"https://registry.npmjs.org/@chainbrains/lds-merkle-proof-2019/-/lds-merkle-proof-2019-1.0.3.tgz","fileCount":22,"unpackedSize":16077,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2FSXjcrUYOayZxTufOe2f+16saF67urP/QhTxLE94cgIgaJqAtekfdoImVFpvH4vAZHO9QzMORpoICpT8EVVqBXA="}]},"_npmUser":{"name":"scanny","email":"scanny.mascarenhas@creativecapsule.com"},"directories":{},"maintainers":[{"name":"scanny","email":"scanny.mascarenhas@creativecapsule.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lds-merkle-proof-2019_1.0.3_1690486617914_0.16101550682590293"},"_hasShrinkwrap":false},"1.0.4":{"name":"@chainbrains/lds-merkle-proof-2019","version":"1.0.4","description":"LDS Merkle Proof 2019 signature suite tools","keywords":["lds-merkle-proof-2019","verifiable credentials","merkle-proof"],"repository":{"type":"git","url":"git+https://github.com/smascarenhas-cci/lds-merkle-proof-2019.git"},"homepage":"https://github.com/smascarenhas-cci/lds-merkle-proof-2019","main":"src/index.js","dependencies":{"ajv":"^6.10.2","cbor":"^5.0.1","encodr":"^1.2.1","lodash":"^4.17.20","multibase":"^0.6.0"},"devDependencies":{"jest":"^26.4.2","typescript":"^4.9.3"},"scripts":{"test":"jest","postpublish":"npm publish --ignore-scripts --@chainbrains:registry='https://registry.npmjs.org'"},"author":{"name":"Chain Brains"},"license":"MIT","_id":"@chainbrains/lds-merkle-proof-2019@1.0.4","gitHead":"cb8f69c6d12c47938a6eb4941a8e2b50a4edc2e2","types":"./src/index.d.ts","bugs":{"url":"https://github.com/smascarenhas-cci/lds-merkle-proof-2019/issues"},"_nodeVersion":"16.16.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-hzBkDyvD7Lmwb1GXKSOZ8RFpwI/8wXwpthNRApFBMT6RIM3YkNfETTx6XTC1mNGdquvfz7UkkH4K2Vq1RUrgMA==","shasum":"d650c0b70e8cec1e90032913f67ae77eff02c3cb","tarball":"https://registry.npmjs.org/@chainbrains/lds-merkle-proof-2019/-/lds-merkle-proof-2019-1.0.4.tgz","fileCount":22,"unpackedSize":16099,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICW4uQFbG4eSNMClZ31eAoukDDl4xrO4/0SPKfN9Ri1mAiBvd1JHW3uhPk2brFp7qMjjZBas1c8YocWIg9l/UgY7xA=="}]},"_npmUser":{"name":"scanny","email":"scanny.mascarenhas@creativecapsule.com"},"directories":{},"maintainers":[{"name":"scanny","email":"scanny.mascarenhas@creativecapsule.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lds-merkle-proof-2019_1.0.4_1691493999605_0.9453115929153395"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-27T07:12:27.266Z","1.0.0":"2023-07-27T07:12:27.574Z","modified":"2023-08-08T11:26:39.854Z","1.0.1":"2023-07-27T07:29:35.540Z","1.0.2":"2023-07-27T08:33:26.732Z","1.0.3":"2023-07-27T19:36:58.070Z","1.0.4":"2023-08-08T11:26:39.746Z"},"maintainers":[{"name":"scanny","email":"scanny.mascarenhas@creativecapsule.com"}],"description":"LDS Merkle Proof 2019 signature suite tools","homepage":"https://github.com/smascarenhas-cci/lds-merkle-proof-2019","keywords":["lds-merkle-proof-2019","verifiable credentials","merkle-proof"],"repository":{"type":"git","url":"git+https://github.com/smascarenhas-cci/lds-merkle-proof-2019.git"},"author":{"name":"Chain Brains"},"bugs":{"url":"https://github.com/smascarenhas-cci/lds-merkle-proof-2019/issues"},"license":"MIT","readme":"# LDS Merkle Proof 2019\r\n\r\nThis package contains the set of tools for LDS Merkle Proof 2019.\r\n\r\n- Encoding proofValue.\r\n- Decoding proofValue.\r\n\r\n## Installation\r\n\r\nTo install run:\r\n\r\n```\r\nnpm i --save @chainbrains/lds-merkle-proof-2019\r\n```\r\n\r\n## Encoding proofValue\r\n\r\nTo encode JSON proofValue:\r\n\r\n```\r\nconst { Encoder } = require('@chainbrains/lds-merkle-proof-2019')\r\nconst encoder = new Encoder(proofValueJSON)\r\n\r\nencoder.encode() // Buffer of Base58 encoded data\r\nencoder.encode().toString() // Base58 string\r\n\r\n```\r\n\r\n## Decoding proofValue\r\n\r\nTo decode base58 proofValue:\r\n\r\n```\r\nconst { Decoder } = require('@chainbrains/lds-merkle-proof-2019')\r\nconst decoder = new Decoder(proofValueBase58)\r\n\r\ndecoder.decode() // JSON object with proofValue\r\n```\r\n","readmeFilename":"README.md"}