{"_id":"@brumewallet/cash.server.wasm","_rev":"4-0a603c78e193547b5557afce022e1103","name":"@brumewallet/cash.server.wasm","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@brumewallet/cash.server.wasm","version":"1.0.0","keywords":["reproducible","webassembly","cryptography","cash","brume","browser","typescript","rust","unit-tested","deno"],"author":{"name":"hazae41"},"license":"Unlicense","_id":"@brumewallet/cash.server.wasm@1.0.0","maintainers":[{"name":"hazae41","email":"me@hazae41.me"}],"homepage":"https://github.com/brumeproject/cash.server.wasm","bugs":{"url":"https://github.com/brumeproject/cash.server.wasm/issues"},"dist":{"shasum":"810a52c7d8bcdb6942e2bd96b049e492bcaa32a7","tarball":"https://registry.npmjs.org/@brumewallet/cash.server.wasm/-/cash.server.wasm-1.0.0.tgz","fileCount":22,"integrity":"sha512-hlXxhFPTn25O4D6nASSyO5Fom/FQ3uOVLnJlrUazH1Ofk2F43SDrgPbtcF85kvNw/6MGQ2z9zFHFZimk7ca3Uw==","signatures":[{"sig":"MEUCIQDy9cqWn89p4mHA2odMYfUEI5w0WxIhuk97mEnp+xf+kQIgB2Wkk6PI6QAIIN8+R6GlZYNVCRua58JAk3hAUtlfE+Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":858089},"main":"./dist/cjs/node/index.cjs","type":"module","types":"./dist/types/node/index.d.ts","module":"./dist/esm/node/index.mjs","exports":{".":{"types":"./dist/types/node/index.d.ts","import":"./dist/esm/node/index.mjs","require":"./dist/cjs/node/index.cjs"}},"gitHead":"4931c5c59550f8d011a6d65ce6118f864c1498e4","scripts":{"test":"node ./dist/test/node/index.test.mjs","build":"npm run build:wasm && npm run build:node","prepare":"npm run build:node","build:node":"rimraf dist && rollup -c && rsync -a ./src/wasm ./dist --exclude=target --exclude=pkg && node patch.node.mjs","build:wasm":"cd ./src/wasm && rimraf pkg && wasm-pack build --target web --release && cd ../.. && node patch.wasm.mjs"},"_npmUser":{"name":"hazae41","email":"me@hazae41.me"},"repository":{"url":"git+https://github.com/brumeproject/cash.server.wasm.git","type":"git"},"_npmVersion":"10.9.2","description":"WebAssembly bundle for Cash server","directories":{},"sideEffects":false,"_nodeVersion":"23.9.0","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","rollup":"^4.21.2","typescript":"^5.5.4","@types/node":"^22.5.4","@hazae41/deimos":"^1.0.6","@hazae41/phobos":"^1.0.10","@hazae41/rimraf":"^1.0.1","rollup-plugin-dts":"^6.1.1","@rollup/plugin-typescript":"^11.1.6","rollup-plugin-node-externals":"^7.1.3"},"peerDependencies":{"@hazae41/base16.wasm":"^1.0.5","@hazae41/network.wasm":"^1.0.2","@hazae41/secp256k1.wasm":"^1.0.10"},"_npmOperationalInternal":{"tmp":"tmp/cash.server.wasm_1.0.0_1742390175906_0.08370503729292711","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@brumewallet/cash.server.wasm","version":"1.0.1","keywords":["reproducible","webassembly","cryptography","cash","brume","browser","typescript","rust","unit-tested","deno"],"author":{"name":"hazae41"},"license":"Unlicense","_id":"@brumewallet/cash.server.wasm@1.0.1","maintainers":[{"name":"hazae41","email":"me@hazae41.me"}],"homepage":"https://github.com/brumeproject/cash.server.wasm","bugs":{"url":"https://github.com/brumeproject/cash.server.wasm/issues"},"dist":{"shasum":"56ecbd51f2540a13df67857b4184e476b0bf045d","tarball":"https://registry.npmjs.org/@brumewallet/cash.server.wasm/-/cash.server.wasm-1.0.1.tgz","fileCount":22,"integrity":"sha512-ypgQd4yOgUbeG+2uP1qwiTwG1zjxx9KeId9ZpiCPk0v3DSpfs+Cec5Lz5yE12uebyZghGB7kzJ36KxKrm5+qKg==","signatures":[{"sig":"MEQCIF8wXfCYaO+5bz0b3czVzpKTP/zhq7hb+USOaL2hfKecAiAfnZuqmefd4Qz93dN0VNyOxlsuv+05A+T0reFYr3tHzg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":877348},"main":"./dist/cjs/node/index.cjs","type":"module","types":"./dist/types/node/index.d.ts","module":"./dist/esm/node/index.mjs","exports":{".":{"types":"./dist/types/node/index.d.ts","import":"./dist/esm/node/index.mjs","require":"./dist/cjs/node/index.cjs"}},"gitHead":"b2438a58081e4c3b5dc6ae2272d78026c75c5060","scripts":{"test":"node ./dist/test/node/index.test.mjs","build":"npm run build:wasm && npm run build:node","prepare":"npm run build:node","build:node":"rimraf dist && rollup -c && rsync -a ./src/wasm ./dist --exclude=target --exclude=pkg && node patch.node.mjs","build:wasm":"cd ./src/wasm && rimraf pkg && wasm-pack build --target web --release && cd ../.. && node patch.wasm.mjs"},"_npmUser":{"name":"hazae41","email":"me@hazae41.me"},"repository":{"url":"git+https://github.com/brumeproject/cash.server.wasm.git","type":"git"},"_npmVersion":"10.9.2","description":"WebAssembly bundle for Cash server","directories":{},"sideEffects":false,"_nodeVersion":"23.9.0","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","rollup":"^4.21.2","typescript":"^5.5.4","@types/node":"^22.5.4","@hazae41/deimos":"^1.0.6","@hazae41/phobos":"^1.0.10","@hazae41/rimraf":"^1.0.1","rollup-plugin-dts":"^6.1.1","@rollup/plugin-typescript":"^11.1.6","rollup-plugin-node-externals":"^7.1.3"},"peerDependencies":{"@hazae41/base16.wasm":"^1.0.5","@hazae41/network.wasm":"^1.0.2","@hazae41/secp256k1.wasm":"^1.0.12"},"_npmOperationalInternal":{"tmp":"tmp/cash.server.wasm_1.0.1_1742391644100_0.4736777102369636","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@brumewallet/cash.server.wasm","version":"1.0.2","keywords":["reproducible","webassembly","cryptography","cash","brume","browser","typescript","rust","unit-tested","deno"],"author":{"name":"hazae41"},"license":"Unlicense","_id":"@brumewallet/cash.server.wasm@1.0.2","maintainers":[{"name":"hazae41","email":"me@hazae41.me"}],"homepage":"https://github.com/brumeproject/cash.server.wasm","bugs":{"url":"https://github.com/brumeproject/cash.server.wasm/issues"},"dist":{"shasum":"2ca95d93a5d4970027d219527589157e1a43402f","tarball":"https://registry.npmjs.org/@brumewallet/cash.server.wasm/-/cash.server.wasm-1.0.2.tgz","fileCount":22,"integrity":"sha512-xfLOgqYnWeRJSuqBFQN4L6mhNmcWCdso+tC1hCohBvhP8kwHHxPJeUdDCjeY4W3iCYzNGY7UjyOglH0ybDrFfw==","signatures":[{"sig":"MEUCIQDgoN3eiAXXehe7WVXxN5oB4WnyRcQ0X2rdB4yyD/JQEwIgREKvvNR6cl179KQ3SiqeCr5XgmYmfUEDw8O8yTTEoOE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":885712},"main":"./dist/cjs/node/index.cjs","type":"module","types":"./dist/types/node/index.d.ts","module":"./dist/esm/node/index.mjs","exports":{".":{"types":"./dist/types/node/index.d.ts","import":"./dist/esm/node/index.mjs","require":"./dist/cjs/node/index.cjs"}},"gitHead":"25b920a8b66bdbd842094c308f9773fccaf33790","scripts":{"test":"node ./dist/test/node/index.test.mjs","build":"npm run build:wasm && npm run build:node","prepare":"npm run build:node","build:node":"rimraf dist && rollup -c && rsync -a ./src/wasm ./dist --exclude=target --exclude=pkg && node patch.node.mjs","build:wasm":"cd ./src/wasm && rimraf pkg && wasm-pack build --target web --release && cd ../.. && node patch.wasm.mjs"},"_npmUser":{"name":"hazae41","email":"me@hazae41.me"},"repository":{"url":"git+https://github.com/brumeproject/cash.server.wasm.git","type":"git"},"_npmVersion":"10.9.2","description":"WebAssembly bundle for Cash server","directories":{},"sideEffects":false,"_nodeVersion":"23.9.0","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.7.0","rollup":"^4.21.2","typescript":"^5.5.4","@types/node":"^22.5.4","@hazae41/deimos":"^1.0.6","@hazae41/phobos":"^1.0.10","@hazae41/rimraf":"^1.0.1","rollup-plugin-dts":"^6.1.1","@rollup/plugin-typescript":"^11.1.6","rollup-plugin-node-externals":"^7.1.3"},"peerDependencies":{"@hazae41/base16.wasm":"^1.0.5","@hazae41/network.wasm":"^1.0.4","@hazae41/secp256k1.wasm":"^1.0.12"},"_npmOperationalInternal":{"tmp":"tmp/cash.server.wasm_1.0.2_1742393849947_0.36048224873629175","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"type":"module","name":"@brumewallet/cash.server.wasm","version":"1.0.3","description":"WebAssembly bundle for Cash server","homepage":"https://github.com/brumeproject/cash.server.wasm","repository":{"type":"git","url":"git+https://github.com/brumeproject/cash.server.wasm.git"},"author":{"name":"hazae41"},"license":"Unlicense","main":"./dist/cjs/node/index.cjs","module":"./dist/esm/node/index.mjs","types":"./dist/types/node/index.d.ts","sideEffects":false,"scripts":{"build:wasm":"cd ./src/wasm && rimraf pkg && wasm-pack build --target web --release && cd ../.. && node patch.wasm.mjs","build:node":"rimraf dist && rollup -c && rsync -a ./src/wasm ./dist --exclude=target --exclude=pkg && node patch.node.mjs","build":"npm run build:wasm && npm run build:node","test":"node ./dist/test/node/index.test.mjs","prepare":"npm run build:node"},"devDependencies":{"@hazae41/deimos":"^1.0.6","@hazae41/phobos":"^1.0.10","@hazae41/rimraf":"^1.0.1","@rollup/plugin-typescript":"^11.1.6","@types/node":"^22.5.4","rollup":"^4.21.2","rollup-plugin-dts":"^6.1.1","rollup-plugin-node-externals":"^7.1.3","tslib":"^2.7.0","typescript":"^5.5.4"},"exports":{".":{"types":"./dist/types/node/index.d.ts","import":"./dist/esm/node/index.mjs","require":"./dist/cjs/node/index.cjs"}},"keywords":["reproducible","webassembly","cryptography","cash","brume","browser","typescript","rust","unit-tested","deno"],"peerDependencies":{"@hazae41/base16.wasm":"^1.0.5","@hazae41/network.wasm":"^1.0.5","@hazae41/secp256k1.wasm":"^1.0.12"},"_id":"@brumewallet/cash.server.wasm@1.0.3","gitHead":"53200e4a4672425652ab9b415cf5604942c0a520","bugs":{"url":"https://github.com/brumeproject/cash.server.wasm/issues"},"_nodeVersion":"23.9.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-Vp4lQ4/8UWvt1d7bsPUWWmPMwvkuL0WmPFKwXgTPmvYOs/IopPLRbp4fcPVftKEzZfGNl/Hbd+rFOpNM4Rwgwg==","shasum":"61d5ef31efda336c455be66b266d637cb4e4ecd9","tarball":"https://registry.npmjs.org/@brumewallet/cash.server.wasm/-/cash.server.wasm-1.0.3.tgz","fileCount":22,"unpackedSize":885712,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCCX+5UIiU64cjIVSjq/vlr3blcBoNDtLgX/FUVhQXDHQIhALgiE+Zd7kgpHKGK9t7giLbMG7hpgMqJGv3nKqTPw5To"}]},"_npmUser":{"name":"hazae41","email":"me@hazae41.me"},"directories":{},"maintainers":[{"name":"hazae41","email":"me@hazae41.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cash.server.wasm_1.0.3_1742399623130_0.8500909991864207"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-19T13:16:15.803Z","modified":"2025-03-19T15:53:43.512Z","1.0.0":"2025-03-19T13:16:16.323Z","1.0.1":"2025-03-19T13:40:44.387Z","1.0.2":"2025-03-19T14:17:30.157Z","1.0.3":"2025-03-19T15:53:43.335Z"},"bugs":{"url":"https://github.com/brumeproject/cash.server.wasm/issues"},"author":{"name":"hazae41"},"license":"Unlicense","homepage":"https://github.com/brumeproject/cash.server.wasm","keywords":["reproducible","webassembly","cryptography","cash","brume","browser","typescript","rust","unit-tested","deno"],"repository":{"type":"git","url":"git+https://github.com/brumeproject/cash.server.wasm.git"},"description":"WebAssembly bundle for Cash server","maintainers":[{"name":"hazae41","email":"me@hazae41.me"}],"readme":"# cash.server.wasm\n\nWebAssembly bundle for Cash server\n\n```bash\nnpm i @brumeproject/cash.server.wasm\n```\n\n[**Node Package 📦**](https://www.npmjs.com/package/@brumeproject/cash.server.wasm)\n\n## Features\n- Reproducible building\n- Pre-bundled and streamed\n- Zero-copy memory slices\n\n## Bundles\n- network.wasm\n- base16.wasm\n- secp256k1.wasm\n\n## Algorithms\n- Network\n- Base16\n- Secp256k1\n\n## Building\n\n### Unreproducible building\n\nYou need to install [Rust](https://www.rust-lang.org/tools/install)\n\nThen, install [wasm-pack](https://rustwasm.github.io/wasm-pack/installer/)\n\n```bash\ncargo install wasm-pack\n```\n\nFinally, do a clean install and build\n\n```bash\nnpm ci && npm run build\n```\n\n### Reproducible building\n\nYou can build the exact same bytecode using Docker, just be sure you're on a `linux/amd64` host\n\n```bash\ndocker compose up --build\n```\n\nThen check that all the files are the same using `git status`\n\n```bash\ngit status --porcelain\n```\n\nIf the output is empty then the bytecode is the same as the one I commited\n\n### Automated checks\n\nEach time I commit to the repository, the GitHub's CI does the following:\n- Clone the repository\n- Reproduce the build using `docker compose up --build`\n- Throw an error if the `git status --porcelain` output is not empty\n\nEach time I release a new version tag on GitHub, the GitHub's CI does the following:\n- Clone the repository\n- Do not reproduce the build, as it's already checked by the task above\n- Throw an error if there is a `npm diff` between the cloned repository and the same version tag on NPM\n\nIf a version is present on NPM but not on GitHub, do not use!\n","readmeFilename":"README.md"}