{"_id":"@confium/confium-wasm","_rev":"8-2e76bfc57b4e4962f899344d79fefe4d","name":"@confium/confium-wasm","dist-tags":{"latest":"0.9.0"},"versions":{"0.3.0":{"name":"@confium/confium-wasm","version":"0.3.0","keywords":["crypto","wasm","verifier","confium","browser"],"license":"BSD-2-Clause","_id":"@confium/confium-wasm@0.3.0","maintainers":[{"name":"ronaldtse","email":"ronald.tse@ribose.com"}],"homepage":"https://www.confium.org/","bugs":{"url":"https://github.com/confium/confium/issues"},"dist":{"shasum":"334ff6e41cd5961dd402f7b6c1ffb2494334c9e2","tarball":"https://registry.npmjs.org/@confium/confium-wasm/-/confium-wasm-0.3.0.tgz","fileCount":6,"integrity":"sha512-hd1T2ANa19gbSAUg8MMp/ql0gq5A6YqQYRNVYj8sjCi1oYdahKk5FuMSMAmHC8HUT0m37ExbvDuNjZReRnRanQ==","signatures":[{"sig":"MEQCIB6OjBJji28h3WZDbkhuSJ6fa90lPBWyCRoAuZnkC5tBAiBuvee1DSA95VSH4pWHtZys9Zis5BIHk0Yj6SMvZx/4kQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":481534},"main":"confium_wasm.js","type":"module","types":"confium_wasm.d.ts","gitHead":"eb9c7cdaf20740570b59845ae4493f4074d086fb","_npmUser":{"name":"ronaldtse","email":"ronald.tse@ribose.com"},"repository":{"url":"git+https://github.com/confium/confium.git","type":"git"},"_npmVersion":"11.9.0","description":"Browser/Node.js verifier package for Confium — composite signatures, transparency proofs, certificate validation. WASM-bindgen surface; verifier-only by design.","directories":{},"sideEffects":["./confium_wasm.js","./snippets/*"],"_nodeVersion":"24.14.0","collaborators":["Ribose Open <open.source@ribose.com>"],"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/confium-wasm_0.3.0_1785137722197_0.8268760476082238","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@confium/confium-wasm","version":"0.3.1","keywords":["crypto","wasm","verifier","confium","browser"],"license":"BSD-2-Clause","_id":"@confium/confium-wasm@0.3.1","maintainers":[{"name":"ronaldtse","email":"ronald.tse@ribose.com"}],"homepage":"https://www.confium.org/","bugs":{"url":"https://github.com/confium/confium/issues"},"dist":{"shasum":"121def940397dd216ed28420a3d0e72a3517db4d","tarball":"https://registry.npmjs.org/@confium/confium-wasm/-/confium-wasm-0.3.1.tgz","fileCount":6,"integrity":"sha512-SulhpA5NQ9hpNczESG1qwP6dzp6n4kOnKB8oYQM7TjbRYPOJbU16/YhAiCBHQ+NYg5yd1Vd0HP9M3uemXwCIIA==","signatures":[{"sig":"MEUCIQDgz5+GljBdl/T4Zk5xPWIpKzK+zWFMBZVVrJQKRHm/kgIgHUsAN4OPn+DIEeJotFfgDE21n1fc6iH36LuKz7Va898=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@confium%2fconfium-wasm@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":484209},"main":"confium_wasm.js","type":"module","types":"confium_wasm.d.ts","gitHead":"358a9bc45d2baf99dfbd6b4db6932468a9ec7264","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:939384d5-8d08-4e34-888a-568d67ef3203"}},"repository":{"url":"git+https://github.com/confium/confium.git","type":"git"},"_npmVersion":"11.16.0","description":"Browser/Node.js verifier package for Confium — composite signatures, transparency proofs, certificate validation. WASM-bindgen surface; verifier-only by design.","directories":{},"sideEffects":["./confium_wasm.js","./snippets/*"],"_nodeVersion":"24.18.0","collaborators":["Ribose Open <open.source@ribose.com>"],"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/confium-wasm_0.3.1_1786083802005_0.9414980881172375","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@confium/confium-wasm","version":"0.4.0","keywords":["crypto","wasm","verifier","confium","browser"],"license":"BSD-2-Clause","_id":"@confium/confium-wasm@0.4.0","maintainers":[{"name":"ronaldtse","email":"ronald.tse@ribose.com"}],"homepage":"https://www.confium.org/","bugs":{"url":"https://github.com/confium/confium/issues"},"dist":{"shasum":"5930eebd14532bad15f95aceec7ed0ea6fd9289f","tarball":"https://registry.npmjs.org/@confium/confium-wasm/-/confium-wasm-0.4.0.tgz","fileCount":6,"integrity":"sha512-sZEbx+Mw6CNjiYfKfkJQuNRlXG4MELW+2sgyFO1KuKzlAF2KwYuAOdOo1M6R5jupT1kCeKvKh/VyNHiKvxVKFw==","signatures":[{"sig":"MEUCIBIahJenrIOsiXXOL2X2Ud36fBVy9ZEKturIq1sQVPyfAiEAm/FWJrfONbsvZ2c2XBy2kPgIoHgdeOEGxq7F0zthp2M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@confium%2fconfium-wasm@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":484209},"main":"confium_wasm.js","type":"module","types":"confium_wasm.d.ts","gitHead":"08807031625546e8aefabda3c22e118238629388","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:939384d5-8d08-4e34-888a-568d67ef3203"}},"repository":{"url":"git+https://github.com/confium/confium.git","type":"git"},"_npmVersion":"11.16.0","description":"Browser/Node.js verifier package for Confium — composite signatures, transparency proofs, certificate validation. WASM-bindgen surface; verifier-only by design.","directories":{},"sideEffects":["./confium_wasm.js","./snippets/*"],"_nodeVersion":"24.18.0","collaborators":["Ribose Open <open.source@ribose.com>"],"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/confium-wasm_0.4.0_1786118337647_0.6681506793610394","host":"s3://npm-registry-packages-npm-production"}},"0.4.4":{"name":"@confium/confium-wasm","version":"0.4.4","keywords":["crypto","wasm","verifier","confium","browser"],"license":"BSD-2-Clause","_id":"@confium/confium-wasm@0.4.4","maintainers":[{"name":"ronaldtse","email":"ronald.tse@ribose.com"}],"homepage":"https://www.confium.org/","bugs":{"url":"https://github.com/confium/confium/issues"},"dist":{"shasum":"dd12b4f6506d175c2993385380cd01b5392d56af","tarball":"https://registry.npmjs.org/@confium/confium-wasm/-/confium-wasm-0.4.4.tgz","fileCount":6,"integrity":"sha512-xtAFAcfcVJsmL2INIwIuua+Wi/JI2+eLBZnSei82Lx10imFBX7XDZs7APlqc5vudAXLQjqAhj88razJHPji/Yw==","signatures":[{"sig":"MEQCIAyHqpQUrKExbUqL+tvPbdM4TFq9cJ9ywY43d6nR2XjjAiB5iAHbsV/dPrDlXJuiWTVWjY7+aRsUnxiTIVOlpEWbmg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@confium%2fconfium-wasm@0.4.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":484207},"main":"confium_wasm.js","type":"module","types":"confium_wasm.d.ts","gitHead":"1046cad9f534c8ee297d5d44132d99e242fcb37e","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:939384d5-8d08-4e34-888a-568d67ef3203"}},"repository":{"url":"git+https://github.com/confium/confium.git","type":"git"},"_npmVersion":"11.16.0","description":"Browser/Node.js verifier package for Confium — composite signatures, transparency proofs, certificate validation. WASM-bindgen surface; verifier-only by design.","directories":{},"sideEffects":["./confium_wasm.js","./snippets/*"],"_nodeVersion":"24.18.0","collaborators":["Ribose Open <open.source@ribose.com>"],"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/confium-wasm_0.4.4_1786120442689_0.826352531229783","host":"s3://npm-registry-packages-npm-production"}},"0.4.5":{"name":"@confium/confium-wasm","version":"0.4.5","keywords":["crypto","wasm","verifier","confium","browser"],"license":"BSD-2-Clause","_id":"@confium/confium-wasm@0.4.5","maintainers":[{"name":"ronaldtse","email":"ronald.tse@ribose.com"}],"homepage":"https://www.confium.org/","bugs":{"url":"https://github.com/confium/confium/issues"},"dist":{"shasum":"379d581c0f19474d4d69bbf131d05f7b6d81de30","tarball":"https://registry.npmjs.org/@confium/confium-wasm/-/confium-wasm-0.4.5.tgz","fileCount":6,"integrity":"sha512-Ya4jmdYcM794vFfZ+CxizK5vEEy68F2fRH75LTue0bTgQ+oaWeJl/MnI9UqYtmqZhvNdCYrJsFXel/IwNKGGag==","signatures":[{"sig":"MEUCIHj0BE+QNRwB/u57d9oJb4iGbJvqMJjt1ExniTGSFN/3AiEA3hXtRBiKk+HXsid6M7rpfyhHrtjkjedskChg+OA1EDw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@confium%2fconfium-wasm@0.4.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":484207},"main":"confium_wasm.js","type":"module","types":"confium_wasm.d.ts","gitHead":"01a064b089a69b3fb97890ab5e9dbf26d65f789d","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:939384d5-8d08-4e34-888a-568d67ef3203"}},"repository":{"url":"git+https://github.com/confium/confium.git","type":"git"},"_npmVersion":"11.16.0","description":"Browser/Node.js verifier package for Confium — composite signatures, transparency proofs, certificate validation. WASM-bindgen surface; verifier-only by design.","directories":{},"sideEffects":["./confium_wasm.js","./snippets/*"],"_nodeVersion":"24.18.0","collaborators":["Ribose Open <open.source@ribose.com>"],"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/confium-wasm_0.4.5_1786120934690_0.034956837749924974","host":"s3://npm-registry-packages-npm-production"}},"0.4.6":{"name":"@confium/confium-wasm","version":"0.4.6","keywords":["crypto","wasm","verifier","confium","browser"],"license":"BSD-2-Clause","_id":"@confium/confium-wasm@0.4.6","maintainers":[{"name":"ronaldtse","email":"ronald.tse@ribose.com"}],"homepage":"https://www.confium.org/","bugs":{"url":"https://github.com/confium/confium/issues"},"dist":{"shasum":"fa0e9ad14b76401114e0017e2912741d055f1481","tarball":"https://registry.npmjs.org/@confium/confium-wasm/-/confium-wasm-0.4.6.tgz","fileCount":6,"integrity":"sha512-B7BLzmNnri/LT/CKCRAshMZKIzm68GBvzi2ukQLN8UwoI3B+VZxT35AnWrsdl22AhpOg4oYpQFdydsUw52o0Ig==","signatures":[{"sig":"MEUCIQDC4Iz09MH1nwaB1jPW5dFnrQlHbh4S4OipBVZUuz1MTgIgSBkqNo4btsexF4MpEvc3E3HbngrssNbQrZaPE3HI3Z8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@confium%2fconfium-wasm@0.4.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":484207},"main":"confium_wasm.js","type":"module","types":"confium_wasm.d.ts","gitHead":"15d24c28ba22e372297a8d596f372a1e1b320599","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:939384d5-8d08-4e34-888a-568d67ef3203"}},"repository":{"url":"git+https://github.com/confium/confium.git","type":"git"},"_npmVersion":"11.16.0","description":"Browser/Node.js verifier package for Confium — composite signatures, transparency proofs, certificate validation. WASM-bindgen surface; verifier-only by design.","directories":{},"sideEffects":["./confium_wasm.js","./snippets/*"],"_nodeVersion":"24.18.0","collaborators":["Ribose Open <open.source@ribose.com>"],"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/confium-wasm_0.4.6_1786121339446_0.8585812676927227","host":"s3://npm-registry-packages-npm-production"}},"0.4.7":{"name":"@confium/confium-wasm","version":"0.4.7","keywords":["crypto","wasm","verifier","confium","browser"],"license":"BSD-2-Clause","_id":"@confium/confium-wasm@0.4.7","maintainers":[{"name":"ronaldtse","email":"ronald.tse@ribose.com"}],"homepage":"https://www.confium.org/","bugs":{"url":"https://github.com/confium/confium/issues"},"dist":{"shasum":"183bc96488b1508c6cdddf1f16c0e9ba9369f715","tarball":"https://registry.npmjs.org/@confium/confium-wasm/-/confium-wasm-0.4.7.tgz","fileCount":6,"integrity":"sha512-qTbQAaSJGlqya2riJcICTmhHtqgej5jX3iWbV6e5/oNWVBa0GkGAnUKYcBxsPMHPI4lDaGl61ILZfegKpxfccw==","signatures":[{"sig":"MEQCICEe9U18Oq4eDFXFnZrlr/bp4ckp2K6/nQzvesXK/SH3AiBN/jt7vUP5+VRSato2LGPjYmgAsAVxJNbn9/7/yh17aQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@confium%2fconfium-wasm@0.4.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":484207},"main":"confium_wasm.js","type":"module","types":"confium_wasm.d.ts","gitHead":"151258be787996e6bd4862423fe5596762b2739d","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:939384d5-8d08-4e34-888a-568d67ef3203"}},"repository":{"url":"git+https://github.com/confium/confium.git","type":"git"},"_npmVersion":"11.16.0","description":"Browser/Node.js verifier package for Confium — composite signatures, transparency proofs, certificate validation. WASM-bindgen surface; verifier-only by design.","directories":{},"sideEffects":["./confium_wasm.js","./snippets/*"],"_nodeVersion":"24.18.0","collaborators":["Ribose Open <open.source@ribose.com>"],"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/confium-wasm_0.4.7_1786121730512_0.053147639680766856","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@confium/confium-wasm","type":"module","collaborators":["Ribose Open <open.source@ribose.com>"],"description":"Browser/Node.js verifier package for Confium — composite signatures, transparency proofs, certificate validation. WASM-bindgen surface; verifier-only by design.","version":"0.9.0","license":"BSD-2-Clause","repository":{"type":"git","url":"git+https://github.com/confium/confium.git"},"main":"confium_wasm.js","homepage":"https://www.confium.org/","types":"confium_wasm.d.ts","sideEffects":["./confium_wasm.js","./snippets/*"],"keywords":["crypto","wasm","verifier","confium","browser"],"gitHead":"08017566f7cf99ab590533c720b936add2967f95","_id":"@confium/confium-wasm@0.9.0","bugs":{"url":"https://github.com/confium/confium/issues"},"_nodeVersion":"24.20.0","_npmVersion":"11.19.0","dist":{"integrity":"sha512-nYjR7QRxw5xQYyD1ieKBO3Tg8P1vg+PY+6/EnVV9kXaLMru6jMyoNWr+nobSjBOQ8kEyRYQ1eP0CpDNuTpF2Sw==","shasum":"2abcb76a43d727135ae1625f9c344858dd6b9944","tarball":"https://registry.npmjs.org/@confium/confium-wasm/-/confium-wasm-0.9.0.tgz","fileCount":6,"unpackedSize":504362,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@confium%2fconfium-wasm@0.9.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDxM0/pA5Is9TNUsi/Mfa1u9GUQ2PWpuALgHYCCFOE2owIhAMgc/O571jr7NkGFmwo6c+KM0GAvWUFZ30ycfIZIm2YV"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:939384d5-8d08-4e34-888a-568d67ef3203"}},"directories":{},"maintainers":[{"name":"ronaldtse","email":"ronald.tse@ribose.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/confium-wasm_0.9.0_1788797540299_0.2613906449935455"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-27T07:35:22.066Z","modified":"2026-09-07T16:12:20.769Z","0.3.0":"2026-07-27T07:35:22.379Z","0.3.1":"2026-08-07T06:23:22.141Z","0.4.0":"2026-08-07T15:58:57.806Z","0.4.4":"2026-08-07T16:34:02.883Z","0.4.5":"2026-08-07T16:42:14.862Z","0.4.6":"2026-08-07T16:48:59.582Z","0.4.7":"2026-08-07T16:55:30.644Z","0.9.0":"2026-09-07T16:12:20.423Z"},"bugs":{"url":"https://github.com/confium/confium/issues"},"license":"BSD-2-Clause","homepage":"https://www.confium.org/","keywords":["crypto","wasm","verifier","confium","browser"],"repository":{"type":"git","url":"git+https://github.com/confium/confium.git"},"description":"Browser/Node.js verifier package for Confium — composite signatures, transparency proofs, certificate validation. WASM-bindgen surface; verifier-only by design.","maintainers":[{"name":"ronaldtse","email":"ronald.tse@ribose.com"}],"readme":"# confium-wasm\n\nBrowser / Node.js **verifier** package for [Confium](https://www.confium.org/).\nWASM-bindgen surface, verifier-only by design.\n\n> **Design principle:** browsers verify, servers sign. This crate exposes\n> only the operations that a browser-side consumer needs to validate\n> signatures, certificates, CMS envelopes, composite signatures, and\n> transparency proofs. Signing, threshold session participation, and\n> PKCS#11/OpenSSL provider dispatch all stay server-side — they have no\n> place in a browser context.\n\n## What's inside\n\n| Module | What it verifies |\n|---|---|\n| `CompositeSignature` | PQ-migration composite signatures (Ed25519 + future ML-DSA-65). |\n| `MerkleTree`, `InclusionProof` | RFC 6962 transparency log proofs. |\n| `Predicate` | Attribute-based threshold policy DSL. |\n\n## Usage (from JS/TS)\n\n```js\nimport init, { CompositeSignature, verify_ed25519 } from \"@confium/confium-wasm\";\n\nawait init();\n\nconst sig = CompositeSignature.from_json(jsonString);\nconst ok = sig.verify(messageBytes);  // -> { all_verified: bool, per_component: [...] }\n```\n\n## Crate features\n\nEach `verify-*` feature gates a verifier subtree so consumers can\ntree-shake. All are on by default for out-of-the-box ergonomics.\n\n| Feature | Gates |\n|---|---|\n| `verify-composite` | `CompositeSignature` |\n| `verify-transparency` | `MerkleTree`, `InclusionProof` |\n| `verify-attributes` | `Predicate` |\n\n## Building\n\n```sh\nwasm-pack build crates/confium-wasm --target web --release --scope confium\n```\n\nOutput lands in `crates/confium-wasm/pkg/`, ready for npm publish as\n`@confium/confium-wasm`.\n\n## License\n\nBSD-2-Clause, same as the rest of the Confium workspace.\n","readmeFilename":"README.md"}