{"_id":"@adityaghag/jsonld-signatures-merkleproof2019","_rev":"6-ce6a7494183525731350b1303e31ca87","name":"@adityaghag/jsonld-signatures-merkleproof2019","dist-tags":{"latest":"1.2.2"},"versions":{"1.0.0":{"name":"@adityaghag/jsonld-signatures-merkleproof2019","version":"1.0.0","keywords":["verifiable","credentials","blockcerts","merkle","tree","jsonld","signatures"],"author":{"name":"adi-ghag"},"license":"MIT","_id":"@adityaghag/jsonld-signatures-merkleproof2019@1.0.0","maintainers":[{"name":"adityaghag","email":"aditya.ghag94@gmail.com"}],"homepage":"https://github.com/adi-ghag/jsonld-signatures-merkleproof2019#readme","bugs":{"url":"https://github.com/adi-ghag/jsonld-signatures-merkleproof2019/issues"},"dist":{"shasum":"faff8e77c1cb437a4a88c68b13e9fbad9ee9b10a","tarball":"https://registry.npmjs.org/@adityaghag/jsonld-signatures-merkleproof2019/-/jsonld-signatures-merkleproof2019-1.0.0.tgz","fileCount":168,"integrity":"sha512-upeKnk1q37LyHgYs9sRkqL1oinvr8v4OyQlNOQ9MpCD16lzAsrTMtGNln7mId4Tj8kZvw/5QNljK5C1m+jV7NA==","signatures":[{"sig":"MEQCIHi0onvkHQ5uBf+nD9Pm+/mVstwhQtuVHts54w118K98AiAEAWzMa5QbIJilrTyju2yMavuc4etkQiZbavj5lSyTFQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1898758},"exports":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"},"gitHead":"a7ea14def88fe6d41fc589c6414e521b6c0622b0","scripts":{"lint":"eslint . --ext .ts","test":"vitest run","compile":"npm run clean:build && tsc -p tsconfig.json && tsc -p tsconfig.cjs.json && npm run dts:bundle","prepare":"husky install","dts:bundle":"dts-bundle-generator -o ./lib/index.d.ts --project tsconfig.json --no-banner src/index.ts","test:watch":"vitest","clean:build":"rimraf lib","semantic-release":"semantic-release","start:mock-server":"tsx ./tests/mock-server/issuer.ts"},"typings":"lib/index.d.ts","_npmUser":{"name":"adityaghag","email":"aditya.ghag94@gmail.com"},"repository":{"url":"git+https://github.com/adi-ghag/jsonld-signatures-merkleproof2019.git","type":"git"},"_npmVersion":"10.9.2","description":"A jsonld signature implementation to support MerkleProof2019 verification in Verifiable Credential context","directories":{},"_nodeVersion":"22.13.0","dependencies":{"bs58":"^6.0.0","jsonld":"^8.3.2","sha256":"^0.2.0","secp256k1":"^5.0.0","@trust/keyto":"^1.0.1","@noble/curves":"^1.9.2","bitcoinjs-lib":"^6.0.2","lodash.clonedeep":"^4.5.0","jsonld-signatures":"^11.2.1","@blockcerts/schemas":"^3.9.2","@ethersproject/keccak256":"^5.8.0","@blockcerts/explorer-lookup":"^1.6.0","@digitalbazaar/ecdsa-multikey":"github:blockchain-certificates/ecdsa-multikey#feat/secp256k1","@vaultie/lds-merkle-proof-2019":"github:adi-ghag/lds-merkle-proof-2019"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","husky":"^9.1.7","sinon":"^21.0.0","tslib":"^2.6.2","eslint":"^9.23.0","rimraf":"^6.0.1","vitest":"^3.0.9","express":"^5.1.0","@eslint/js":"^9.23.0","typescript":"^5.8.2","@types/node":"^24.0.3","@types/sinon":"^17.0.1","semantic-release":"^24.2.3","@digitalbazaar/vc":"^7.1.2","typescript-eslint":"^8.29.0","dts-bundle-generator":"^9.5.1","@decentralized-identity/did-common-typescript":"^0.1.19"},"_npmOperationalInternal":{"tmp":"tmp/jsonld-signatures-merkleproof2019_1.0.0_1757691609882_0.4250134571192683","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@adityaghag/jsonld-signatures-merkleproof2019","version":"1.0.1","keywords":["verifiable","credentials","blockcerts","merkle","tree","jsonld","signatures"],"author":{"name":"adi-ghag"},"license":"MIT","_id":"@adityaghag/jsonld-signatures-merkleproof2019@1.0.1","maintainers":[{"name":"adityaghag","email":"aditya.ghag94@gmail.com"}],"homepage":"https://github.com/adi-ghag/jsonld-signatures-merkleproof2019#readme","bugs":{"url":"https://github.com/adi-ghag/jsonld-signatures-merkleproof2019/issues"},"dist":{"shasum":"d64388dd227789516aa93dfe9e45c93194d6fc75","tarball":"https://registry.npmjs.org/@adityaghag/jsonld-signatures-merkleproof2019/-/jsonld-signatures-merkleproof2019-1.0.1.tgz","fileCount":168,"integrity":"sha512-dz9exV72ktydZ+oDSB/ys9mpcT+jPIVikImqqExbGN0026W/55/+xQqpUFxAFGawjXb0LDZgkXTNL2niQI5pIg==","signatures":[{"sig":"MEYCIQDJhB6Ovn2JqVwa6p0sAY1V9HE9e0Gq8S10ZvhCaIwDLwIhALh+NUS/DBWf5K/+i65+HddfZM1B+IrYTOSK0ykhxFcM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1898313},"exports":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"},"gitHead":"8026f20fbec67de9a61566f93de256c835271c5e","scripts":{"lint":"eslint . --ext .ts","test":"vitest run","compile":"npm run clean:build && tsc -p tsconfig.json && tsc -p tsconfig.cjs.json && npm run dts:bundle","prepare":"husky install","dts:bundle":"dts-bundle-generator -o ./lib/index.d.ts --project tsconfig.json --no-banner src/index.ts","test:watch":"vitest","clean:build":"rimraf lib","semantic-release":"semantic-release","start:mock-server":"tsx ./tests/mock-server/issuer.ts"},"typings":"lib/index.d.ts","_npmUser":{"name":"adityaghag","email":"aditya.ghag94@gmail.com"},"repository":{"url":"git+https://github.com/adi-ghag/jsonld-signatures-merkleproof2019.git","type":"git"},"_npmVersion":"10.9.2","description":"A jsonld signature implementation to support MerkleProof2019 verification in Verifiable Credential context","directories":{},"_nodeVersion":"22.13.0","dependencies":{"bs58":"^6.0.0","jsonld":"^8.3.2","sha256":"^0.2.0","secp256k1":"^5.0.0","@trust/keyto":"^1.0.1","@noble/curves":"^1.9.2","bitcoinjs-lib":"^6.0.2","lodash.clonedeep":"^4.5.0","jsonld-signatures":"^11.2.1","@blockcerts/schemas":"^3.9.2","@ethersproject/keccak256":"^5.8.0","@adityaghag/explorer-lookup":"^1.1.1","@digitalbazaar/ecdsa-multikey":"github:blockchain-certificates/ecdsa-multikey#feat/secp256k1","@vaultie/lds-merkle-proof-2019":"github:adi-ghag/lds-merkle-proof-2019"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","husky":"^9.1.7","sinon":"^21.0.0","tslib":"^2.6.2","eslint":"^9.23.0","rimraf":"^6.0.1","vitest":"^3.0.9","express":"^5.1.0","@eslint/js":"^9.23.0","typescript":"^5.8.2","@types/node":"^24.0.3","@types/sinon":"^17.0.1","semantic-release":"^24.2.3","@digitalbazaar/vc":"^7.1.2","typescript-eslint":"^8.29.0","dts-bundle-generator":"^9.5.1","@decentralized-identity/did-common-typescript":"^0.1.19"},"_npmOperationalInternal":{"tmp":"tmp/jsonld-signatures-merkleproof2019_1.0.1_1757694727468_0.47754853988044266","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@adityaghag/jsonld-signatures-merkleproof2019","version":"1.1.0","keywords":["verifiable","credentials","blockcerts","merkle","tree","jsonld","signatures"],"author":{"name":"adi-ghag"},"license":"MIT","_id":"@adityaghag/jsonld-signatures-merkleproof2019@1.1.0","maintainers":[{"name":"adityaghag","email":"aditya.ghag94@gmail.com"}],"homepage":"https://github.com/adi-ghag/jsonld-signatures-merkleproof2019#readme","bugs":{"url":"https://github.com/adi-ghag/jsonld-signatures-merkleproof2019/issues"},"dist":{"shasum":"2effb34afd0903c2cb854c23a770838690271c2f","tarball":"https://registry.npmjs.org/@adityaghag/jsonld-signatures-merkleproof2019/-/jsonld-signatures-merkleproof2019-1.1.0.tgz","fileCount":179,"integrity":"sha512-ouFfCFwycT5I69ouPHZ92qCJlSIZ0jDPo+4UbQMuYO7rUaLuL04CxiNcTeguf0q+UtSs0fMgVNIR/jxZA+zTLQ==","signatures":[{"sig":"MEQCIBmBuu14oHctWVOLJUkeOBkNqWUe7rswLKKxlIKh5D+6AiByBdYUb3+rRPYfwrbxOCU807vb2wfdg4dBQlgIfc7iCQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1265676},"exports":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"},"gitHead":"2f752844ca3bbc5bf1b83672155c4af8cc0d70e7","scripts":{"lint":"eslint . --ext .ts","test":"vitest run","compile":"npm run clean:build && tsc -p tsconfig.json && tsc -p tsconfig.cjs.json && npm run dts:bundle","prepare":"husky install","dts:bundle":"dts-bundle-generator -o ./lib/index.d.ts --project tsconfig.json --no-banner src/index.ts","test:watch":"vitest","clean:build":"rimraf lib","test:bloxberg":"vitest run --testNamePattern=Bloxberg","verify:bloxberg":"tsx examples/test-bloxberg-certificate.ts","semantic-release":"semantic-release","start:mock-server":"tsx ./tests/mock-server/issuer.ts"},"typings":"lib/index.d.ts","_npmUser":{"name":"adityaghag","email":"aditya.ghag94@gmail.com"},"repository":{"url":"git+https://github.com/adi-ghag/jsonld-signatures-merkleproof2019.git","type":"git"},"_npmVersion":"10.9.2","description":"A jsonld signature implementation to support MerkleProof2019 verification in Verifiable Credential context","directories":{},"_nodeVersion":"22.13.0","dependencies":{"bs58":"^6.0.0","jsonld":"^8.3.2","sha256":"^0.2.0","secp256k1":"^5.0.0","@trust/keyto":"^1.0.1","@noble/curves":"^1.9.2","bitcoinjs-lib":"^6.0.2","lodash.clonedeep":"^4.5.0","jsonld-signatures":"^11.2.1","@blockcerts/schemas":"^3.9.2","@ethersproject/keccak256":"^5.8.0","@adityaghag/explorer-lookup":"^1.1.1","@digitalbazaar/ecdsa-multikey":"github:blockchain-certificates/ecdsa-multikey#feat/secp256k1","@vaultie/lds-merkle-proof-2019":"github:adi-ghag/lds-merkle-proof-2019"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","husky":"^9.1.7","sinon":"^21.0.0","tslib":"^2.6.2","eslint":"^9.23.0","rimraf":"^6.0.1","vitest":"^3.0.9","express":"^5.1.0","@eslint/js":"^9.23.0","typescript":"^5.8.2","@types/node":"^24.0.3","@types/sinon":"^17.0.1","semantic-release":"^24.2.3","@digitalbazaar/vc":"^7.1.2","typescript-eslint":"^8.29.0","dts-bundle-generator":"^9.5.1","@decentralized-identity/did-common-typescript":"^0.1.19"},"_npmOperationalInternal":{"tmp":"tmp/jsonld-signatures-merkleproof2019_1.1.0_1757955407563_0.601955518486514","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@adityaghag/jsonld-signatures-merkleproof2019","version":"1.2.0","keywords":["verifiable","credentials","blockcerts","merkle","tree","jsonld","signatures"],"author":{"name":"adi-ghag"},"license":"MIT","_id":"@adityaghag/jsonld-signatures-merkleproof2019@1.2.0","maintainers":[{"name":"adityaghag","email":"aditya.ghag94@gmail.com"}],"homepage":"https://github.com/adi-ghag/jsonld-signatures-merkleproof2019#readme","bugs":{"url":"https://github.com/adi-ghag/jsonld-signatures-merkleproof2019/issues"},"dist":{"shasum":"7f8e38736b91b8541561881fdfbf837243547471","tarball":"https://registry.npmjs.org/@adityaghag/jsonld-signatures-merkleproof2019/-/jsonld-signatures-merkleproof2019-1.2.0.tgz","fileCount":184,"integrity":"sha512-UGEX9LvwTORIT3quNyQ7vY4lUCOfBSkQiHY4MTNhVKQGXXq4neZc+/nvkjTUkII1l2icfsOie/zdYHAsOZ7rUQ==","signatures":[{"sig":"MEYCIQD/n/pvuFX82KE5LLRzsG7W7hYOpjB6vEA04qhIpSjEogIhAKwLW3dOF5uvYHFRyHrqgomZvv3TwsYA5ruifLdsAQ3u","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1312061},"exports":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"},"gitHead":"3a05a7d27b6b560e1db6c0f2da1b86195195305a","scripts":{"lint":"eslint . --ext .ts","test":"vitest run","compile":"npm run clean:build && tsc -p tsconfig.json && tsc -p tsconfig.cjs.json && npm run dts:bundle","prepare":"husky install","dts:bundle":"dts-bundle-generator -o ./lib/index.d.ts --project tsconfig.json --no-banner src/index.ts","test:watch":"vitest","clean:build":"rimraf lib","test:bloxberg":"vitest run --testNamePattern=Bloxberg","semantic-release":"semantic-release","start:mock-server":"tsx ./tests/mock-server/issuer.ts"},"typings":"lib/index.d.ts","_npmUser":{"name":"adityaghag","email":"aditya.ghag94@gmail.com"},"repository":{"url":"git+https://github.com/adi-ghag/jsonld-signatures-merkleproof2019.git","type":"git"},"_npmVersion":"10.9.2","description":"A jsonld signature implementation to support MerkleProof2019 verification in Verifiable Credential context","directories":{},"_nodeVersion":"22.13.0","dependencies":{"bs58":"^6.0.0","jsonld":"^8.3.3","sha256":"^0.2.0","secp256k1":"^5.0.0","@trust/keyto":"^1.0.1","@noble/curves":"^1.9.2","bitcoinjs-lib":"^6.0.2","lodash.clonedeep":"^4.5.0","jsonld-signatures":"^11.2.1","@blockcerts/schemas":"^3.9.2","@ethersproject/keccak256":"^5.8.0","@adityaghag/explorer-lookup":"^1.2.0","@digitalbazaar/ecdsa-multikey":"github:blockchain-certificates/ecdsa-multikey#feat/secp256k1","@vaultie/lds-merkle-proof-2019":"github:adi-ghag/lds-merkle-proof-2019"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","husky":"^9.1.7","sinon":"^21.0.0","tslib":"^2.6.2","eslint":"^9.23.0","rimraf":"^6.0.1","vitest":"^3.0.9","express":"^5.1.0","@eslint/js":"^9.23.0","typescript":"^5.8.2","@types/node":"^24.0.3","@types/sinon":"^17.0.1","semantic-release":"^24.2.3","@digitalbazaar/vc":"^7.1.2","typescript-eslint":"^8.29.0","dts-bundle-generator":"^9.5.1","@decentralized-identity/did-common-typescript":"^0.1.19"},"_npmOperationalInternal":{"tmp":"tmp/jsonld-signatures-merkleproof2019_1.2.0_1759778569823_0.10659685664333973","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@adityaghag/jsonld-signatures-merkleproof2019","version":"1.2.1","keywords":["verifiable","credentials","blockcerts","merkle","tree","jsonld","signatures"],"author":{"name":"adi-ghag"},"license":"MIT","_id":"@adityaghag/jsonld-signatures-merkleproof2019@1.2.1","maintainers":[{"name":"adityaghag","email":"aditya.ghag94@gmail.com"}],"homepage":"https://github.com/adi-ghag/jsonld-signatures-merkleproof2019#readme","bugs":{"url":"https://github.com/adi-ghag/jsonld-signatures-merkleproof2019/issues"},"dist":{"shasum":"533e6deb9fede6e40135f11fdc14251c50d12be8","tarball":"https://registry.npmjs.org/@adityaghag/jsonld-signatures-merkleproof2019/-/jsonld-signatures-merkleproof2019-1.2.1.tgz","fileCount":184,"integrity":"sha512-YhQTWhVphxJszwMcb/zIJy2oVEFPa3Ue+iQOntfWnWuD1fg9oYdeVjW+qANqllBiLqFxW9CFaV9GvEgU0DmRyQ==","signatures":[{"sig":"MEUCIB/uKIrpTduenOtet4HMbZU65ED+DcPxlgc6V0mkE5LzAiEAwCZ8C6LbpnYnbjQyAHn6W0/riZvgjeYmSBYXTd2VnsM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1313634},"exports":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"},"gitHead":"f0ac94b06f2dd027c56caa3376180cb2e3a945f4","scripts":{"lint":"eslint . --ext .ts","test":"vitest run","compile":"npm run clean:build && tsc -p tsconfig.json && tsc -p tsconfig.cjs.json && npm run dts:bundle","prepare":"husky install","dts:bundle":"dts-bundle-generator -o ./lib/index.d.ts --project tsconfig.json --no-banner src/index.ts","test:watch":"vitest","clean:build":"rimraf lib","test:bloxberg":"vitest run --testNamePattern=Bloxberg","semantic-release":"semantic-release","start:mock-server":"tsx ./tests/mock-server/issuer.ts"},"typings":"lib/index.d.ts","_npmUser":{"name":"adityaghag","email":"aditya.ghag94@gmail.com"},"repository":{"url":"git+https://github.com/adi-ghag/jsonld-signatures-merkleproof2019.git","type":"git"},"_npmVersion":"10.9.2","description":"A jsonld signature implementation to support MerkleProof2019 verification in Verifiable Credential context","directories":{},"_nodeVersion":"22.13.0","dependencies":{"bs58":"^6.0.0","jsonld":"^8.3.3","sha256":"^0.2.0","secp256k1":"^5.0.0","@trust/keyto":"^1.0.1","@noble/curves":"^1.9.2","bitcoinjs-lib":"^6.0.2","lodash.clonedeep":"^4.5.0","jsonld-signatures":"^11.2.1","@blockcerts/schemas":"^3.9.2","@ethersproject/keccak256":"^5.8.0","@adityaghag/explorer-lookup":"^1.2.0","@digitalbazaar/ecdsa-multikey":"github:blockchain-certificates/ecdsa-multikey#feat/secp256k1","@vaultie/lds-merkle-proof-2019":"github:adi-ghag/lds-merkle-proof-2019"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","husky":"^9.1.7","sinon":"^21.0.0","tslib":"^2.6.2","eslint":"^9.23.0","rimraf":"^6.0.1","vitest":"^3.0.9","express":"^5.1.0","@eslint/js":"^9.23.0","typescript":"^5.8.2","@types/node":"^24.0.3","@types/sinon":"^17.0.1","semantic-release":"^24.2.3","@digitalbazaar/vc":"^7.1.2","typescript-eslint":"^8.29.0","dts-bundle-generator":"^9.5.1","@decentralized-identity/did-common-typescript":"^0.1.19"},"_npmOperationalInternal":{"tmp":"tmp/jsonld-signatures-merkleproof2019_1.2.1_1759861978210_0.8987242367100912","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@adityaghag/jsonld-signatures-merkleproof2019","version":"1.2.2","description":"A jsonld signature implementation to support MerkleProof2019 verification in Verifiable Credential context","exports":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"},"typings":"lib/index.d.ts","dependencies":{"@adityaghag/explorer-lookup":"^1.2.1","@blockcerts/schemas":"^3.9.2","@digitalbazaar/ecdsa-multikey":"github:blockchain-certificates/ecdsa-multikey#feat/secp256k1","@ethersproject/keccak256":"^5.8.0","@noble/curves":"^1.9.2","@trust/keyto":"^1.0.1","@vaultie/lds-merkle-proof-2019":"github:adi-ghag/lds-merkle-proof-2019","bitcoinjs-lib":"^6.0.2","bs58":"^6.0.0","jsonld":"^8.3.3","jsonld-signatures":"^11.2.1","lodash.clonedeep":"^4.5.0","secp256k1":"^5.0.0","sha256":"^0.2.0"},"devDependencies":{"@decentralized-identity/did-common-typescript":"^0.1.19","@digitalbazaar/vc":"^7.1.2","@eslint/js":"^9.23.0","@types/node":"^24.0.3","@types/sinon":"^17.0.1","dts-bundle-generator":"^9.5.1","eslint":"^9.23.0","express":"^5.1.0","husky":"^9.1.7","rimraf":"^6.0.1","semantic-release":"^24.2.3","sinon":"^21.0.0","tslib":"^2.6.2","tsx":"^4.20.3","typescript":"^5.8.2","typescript-eslint":"^8.29.0","vitest":"^3.0.9"},"scripts":{"compile":"npm run clean:build && tsc -p tsconfig.json && tsc -p tsconfig.cjs.json && npm run dts:bundle","dts:bundle":"dts-bundle-generator -o ./lib/index.d.ts --project tsconfig.json --no-banner src/index.ts","clean:build":"rimraf lib","lint":"eslint . --ext .ts","start:mock-server":"tsx ./tests/mock-server/issuer.ts","test":"vitest run","test:watch":"vitest","test:bloxberg":"vitest run --testNamePattern=Bloxberg","semantic-release":"semantic-release","prepare":"husky install"},"repository":{"type":"git","url":"git+https://github.com/adi-ghag/jsonld-signatures-merkleproof2019.git"},"keywords":["verifiable","credentials","blockcerts","merkle","tree","jsonld","signatures"],"author":{"name":"adi-ghag"},"license":"MIT","bugs":{"url":"https://github.com/adi-ghag/jsonld-signatures-merkleproof2019/issues"},"homepage":"https://github.com/adi-ghag/jsonld-signatures-merkleproof2019#readme","publishConfig":{"access":"public"},"_id":"@adityaghag/jsonld-signatures-merkleproof2019@1.2.2","gitHead":"032c79a51d2d13c09b3f852ef6c7fa30fa07f66c","_nodeVersion":"22.13.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-LicrK/zzGu4BtDWGj9dA8NaqUjF2x03pgwB8WcISeN9Tbhj/KqSqRq2Cdnlge1n7DtS8xtDDY1NsqPvvJUlh6g==","shasum":"f697a1338248b723460fe41643e0e8e7b7fe34c4","tarball":"https://registry.npmjs.org/@adityaghag/jsonld-signatures-merkleproof2019/-/jsonld-signatures-merkleproof2019-1.2.2.tgz","fileCount":184,"unpackedSize":1313634,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEcQHMJN7+PgPu4VrT9KblAqMx4nlT8fc/PnzT6m/VHRAiBZ29F2Z5Pw8tWcnl+zIsNfypou5bcT9AGknVrj0gcvng=="}]},"_npmUser":{"name":"adityaghag","email":"aditya.ghag94@gmail.com"},"directories":{},"maintainers":[{"name":"adityaghag","email":"aditya.ghag94@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jsonld-signatures-merkleproof2019_1.2.2_1760360672157_0.766478526524508"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-12T15:40:09.827Z","modified":"2025-10-13T13:04:32.621Z","1.0.0":"2025-09-12T15:40:10.139Z","1.0.1":"2025-09-12T16:32:07.712Z","1.1.0":"2025-09-15T16:56:47.854Z","1.2.0":"2025-10-06T19:22:50.041Z","1.2.1":"2025-10-07T18:32:58.451Z","1.2.2":"2025-10-13T13:04:32.442Z"},"bugs":{"url":"https://github.com/adi-ghag/jsonld-signatures-merkleproof2019/issues"},"author":{"name":"adi-ghag"},"license":"MIT","homepage":"https://github.com/adi-ghag/jsonld-signatures-merkleproof2019#readme","keywords":["verifiable","credentials","blockcerts","merkle","tree","jsonld","signatures"],"repository":{"type":"git","url":"git+https://github.com/adi-ghag/jsonld-signatures-merkleproof2019.git"},"description":"A jsonld signature implementation to support MerkleProof2019 verification in Verifiable Credential context","maintainers":[{"name":"adityaghag","email":"aditya.ghag94@gmail.com"}],"readme":"# jsonld-signatures-merkleproof2019\nA jsonld signature implementation to support MerkleProof2019 verification in Verifiable Credential context\n\n## NOTE\n\nTo make use of this package, consumers need to modify the [security-context](https://www.npmjs.com/package/security-context) \npackage locally as MerkleProof2019 is not part of the current npm distribution. Another solution is to install from github and use the v3-unstable vocab.\n\n## Usage\n\nThis package is works with [vc.js](https://github.com/digitalbazaar/vc-js) in order to issue and \nverify MerkleProof2019 signed documents.\nIt is also used in [cert-verifier-js](https://github.com/blockchain-certificates/cert-verifier-js) \nto verify MerkleProof2019 signed documents within the Blockcerts ecosystem.\n  \nYou will need to wrap the certificate with the Signature Suite:\n\n```js\n    const myBlockcertsV3Definition = {\n  ...\n};\n\nconst verificationSuite = new LDMerkleProof2019({document: myBlockcertsV3Definition});\n```\n\nIn the case of vc.js, you would then pass this suite to the `verify` method, through the `suite` parameter.\n\n## Issue\nTo issue a MerkleProof2019 signed document, you can call `vcjs.issue` with an instance of this library as\nthe `suite` parameter.\n\nWhen instantiating the suite, you need to specify the `issuerEndpoint` as part of the `options` parameter.\n\nIt is expected that the `issuerEndpoint` is a URL that points to the issuing service, which will be used to create the Merkle proof.\n\nYou may use [cert-issuer](https://github.com/blockchain-certificates/cert-verifier-js) as a server to satisfy this requirement, \nor you can implement your own issuing service.\n\nFor convenience, we provide a VC-API issuing service: [cert-issuer-vc-api](https://github.com/blockchain-certificates/cert-issuer-vc-api).\n\n\n## Under the hood\nThe verification principle of MerkleProof2019 is to compare the distant hash of the document \n(the one saved on the blockchain) with the hash of the local document being verified.\n\n## Anchoring chains\nMerkleProof2019 verification as provided by Blockcerts does out of the box verification for Bitcoin (mainnet and testnet) and Ethereum (main and tests), using a set of\npublic explorers.\n\n### REST APIs\nBy default this library provides some blockchain explorers to retrieve the transaction data associated with a proof. They are:\n- For Bitcoin\n    - [Bitpay](https://bitpay.com/insight)\n    - [Blockcypher](https://blockcypher.com)\n    - [Blockexplorer](https://blockexplorer.com). To confirm if still active\n    - [Blockstream](https://blockstream.info)\n- For Ethereum\n    - [Blockcypher](https://blockcypher.com)\n    - [Etherscan](https://etherscan.io/)\n\n\nYou may provide your own explorer or even overwrite the existing ones. This is useful if you have a paid account with one explorer service and you want to ensure a high service availability,\nor if you'd like to provide identification keys to the ones provided by default.\n\nHere is an example of how you would provide such service:\n\n```js\n    const myBlockcertsV3Definition = {\n  ...\n};\n\nconst myOwnExplorerAPI: ExplorerAPI = {\n  serviceURL: 'path/to/distant/api', // you may need to provide identification details here according to your service pattern\n  priority: 0, // this is to decide if this gets called before the out-of-the-box services. 0 means your custom service is going to be called first, use 1 if you prefer the default explorers to be called first.\n  parsingFunction: function ({jsonResponse: serviceReponse}: IParsingFunctionAPI): TransactionData { // only define this function when referring to a custom explorer\n    // parse your service response in order to return the following information:\n    return {\n      remoteHash,\n      issuingAddress,\n      time,\n      revokedAddresses\n    }\n  }\n};\nconst options = {\n  explorerAPIs: [myOwnExplorerAPI]\n};\n\nconst verificationSuite = new LDMerkleProof2019({document: myBlockcertsV3Definition, options});\n```\n\n## RPCs\nIn an alpha implementation, it is now possible to verify transaction of non natively supported chains, using RPC calls.\nIf such is your case, 2 options are offered to you:\n\n#### Your chain is compatible with EVM or BTC\nIn that case you can take advantage of the built-ins lookup functions. You only need to provide the url to the RPC service you want to use and the `chainType` property to decide which\nlookup function to use:\n\n```js\n    const myBlockcertsV3Definition = {\n  ...\n};\n\nconst options = {\n  explorerAPIs: [{\n    serviceURL: 'https://rpc-mumbai.maticvigil.com/',\n    priority: 0,\n    apiType: 'rpc',\n    chainType: 'evm'\n  }]\n};\nconst verificationSuite = new LDMerkleProof2019({document: myBlockcertsV3Definition, options});\n```\n\n#### Your chain is not compatible with EVM or BTC\nNOTE: you can use this approach to modify the provided RPC lookup functions.\n\nYou will need to additionally provide your own lookup function. Contrary to rest APIs in this package, the parsing function needs to make the calls to the RPC service by itself.\n\n```js\n    const myBlockcertsV3Definition = {\n  ...\n};\n\nconst options = {\n  explorerAPIs: [{\n    serviceURL: 'https://rpc-mumbai.maticvigil.com/',\n    priority: 0,\n    apiType: 'rpc',\n    chainType: 'evm',\n    parsingFunction: function ({serverUrl, transactionId}: IParsingFunctionAPI): TransactionData { // note that function signature is different than for REST parsingFunctions\n      // your call to the `serverUrl` with the `transaction` id\n      // parse your service response in order to return the following information:\n      return {\n        remoteHash,\n        issuingAddress,\n        time,\n        revokedAddresses\n      }\n    }\n  }]\n};\nconst verificationSuite = new LDMerkleProof2019({document: myBlockcertsV3Definition, options});\n```\n","readmeFilename":"README.md"}