{"_id":"@bitauth/libauth","_rev":"39-442c4c0900bbbd3f0dfefe1264b0f914","name":"@bitauth/libauth","dist-tags":{"beta":"2.1.0-beta.1","latest":"3.0.0","next":"3.1.0-next.8"},"versions":{"1.15.1":{"name":"@bitauth/libauth","version":"1.15.1","keywords":[],"license":"MIT","_id":"@bitauth/libauth@1.15.1","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://github.com/bitauth/libauth#readme","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"ava":{"files":["!build/module/**"],"timeout":"20s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"nyc":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js","**/*.spec.debug.js"],"extends":"@istanbuljs/nyc-config-typescript"},"dist":{"shasum":"15b3ec63f133bd3c1c00e0690f94e8798937aff8","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-1.15.1.tgz","fileCount":863,"integrity":"sha512-P2/FWUC8dYIeGMfXiKd9Tmt5CJfYt+dAy/lcWhVK/otbuTLwzxvGRh4JlJCKZ22YTc5LsffMT09YIDSlxyJLaA==","signatures":[{"sig":"MEUCIGTWO4AmC7xNknT63aBq/TdHTys79LgF3fZwC7Xvv5x3AiEAk/vTAXnbQ9GUZGOg1+EqiJcDSPfzuj6qp8MFi1lYTCY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5230710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7PiTCRA9TVsSAnZWagAA0F0QAJOpFzcTpj/DRGxFzVPS\nOygyJDplw4wGixQ9n7bTqCg6aebmK8feFsdKLX+a8VGbRZ0hiWWREyAKYnYc\nJBT2qXSeMCTOj9TAM/VEeqjgJaY09dPqjdsToVwqPR8f7fVM0nkhzh/82We4\nccqFwNNT8nNRwrDKThfUwQ9J0GaRTVabmLxH09wvgjPRl4k/uCEfw9kOl/Bx\n+9y+/VPtq+EG6dqc/Bo10NmcEkrOh7Ao4vCG4+Yj9yBdXaWWovJvyvpTVp3+\nD5N2I06v3PBjreyHRQdORr6HWO3HFo1lwvRIqaEw6C4wknqIdbHvJHOyaK11\nWVoZdJLYTIbprNBzSIUpAs+sRCqnm0jUGqMYcB1sMI4HFzzNiZmHdqrJVhy5\nOZBN3vWgI9papE3hAPnY7e6Cf+mtF9vpil1PR998YxcGq4wkctVaa/9mMKs1\nLvdhwA3y4+SKfqQKgm2O7BYrhlC9M2qoivaSioGwnNIUgVtpZnM6YavI/8eN\n/rmgAVSlCJHSYsTiFZyM1NGNqoJoShTsHC89f2SeilZRq2Sk33JpKma+sfl/\nPMxQF/9l9C442CjxR/iCLz+eP7lHyJsXaAaJHAxPx0EMfw4LAyYcfAwc7QVI\nKCaqPPJLSlVQLlIbZo58dihyHbkmiNiR42+OZHrQyO0BM8eHsKRw32R9Hl8D\noLnI\r\n=95TL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/main/index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"module":"build/module/index.js","engines":{"node":">=8.9"},"gitHead":"36544216c08f3be7a6713d9f495539c865308b70","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","info":"npm-scripts-info","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-s clean && run-p build:*","clean":"trash build test","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s clean build:main build:wasm && yarn build:main -- -w","version":"standard-version","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","cov:check":"nyc report && nyc check-coverage --lines 85 --functions 80 --branches 65","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"nyc --silent ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m","build:main":"tsc -p tsconfig.json","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","build:module":"tsc -p config/tsconfig.module.json","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","watch:module":"run-s clean build:main build:wasm && yarn build:module -- -w","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy src/lib/bin/sha1/sha1.wasm build/main/lib/bin/sha1 && cpy src/lib/bin/sha1/sha1.wasm build/module/lib/bin/sha1","test:unit:fast":"nyc --silent ava --match='!*[fast-check]*' --match='!*[crypto]*' --match='!*[script_tests]*' --match='!*[signing-serialization tests]*' --match='!*[BCH compiler]*' --match='!*[BCH VM]*'","prepare-release":"run-s reset test cov:check doc:html version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy src/lib/bin/sha256/sha256.wasm build/main/lib/bin/sha256 && cpy src/lib/bin/sha256/sha256.wasm build/module/lib/bin/sha256","copy:wasm:sha512":"cpy src/lib/bin/sha512/sha512.wasm build/main/lib/bin/sha512 && cpy src/lib/bin/sha512/sha512.wasm build/module/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","copy:wasm:ripemd160":"cpy src/lib/bin/ripemd160/ripemd160.wasm build/main/lib/bin/ripemd160 && cpy src/lib/bin/ripemd160/ripemd160.wasm build/module/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy src/lib/bin/secp256k1/secp256k1.wasm build/main/lib/bin/secp256k1 && cpy src/lib/bin/secp256k1/secp256k1.wasm build/module/lib/bin/secp256k1","compile:debug:hashes":"docker run -it libauth-hashes bash","test:unit:fast-check":"nyc --silent ava --match='*[fast-check]*","doc:generate-templates":"node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '1-of-8-tree' > src/lib/transaction/fixtures/templates/1-of-8-tree.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","test:unit:script_tests":"nyc --silent ava --match='*[script_tests]*' --verbose --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","doc:generate-json-schema":"ts-json-schema-generator --path 'src/lib/template/template-types.ts' --type 'AuthenticationTemplate' > src/lib/template/bitauth-authentication-template.schema.json"},"typings":"build/module/index.d.ts","_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"6.14.5","description":"ultra-lightweight library for Bitcoin, Bitcoin Cash, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"_nodeVersion":"12.18.1","dependencies":{},"scripts-info":{"cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","fix":"Try to automatically fix any linting problems","info":"Display information about the package scripts","test":"Lint and unit test the project","bench":"Build the project and run the benchmarks","build":"Clean and rebuild the project","reset":"Delete all untracked files and reset the repo to the last commit","watch":"Watch and rebuild the project on save, then rerun relevant tests","compile":"Compile the WebAssembly binaries and integrate them into src","version":"Bump package.json version, update CHANGELOG.md, tag release","doc:json":"Generate API documentation in typedoc JSON format","prepare-release":"One-step: clean, build, test, publish docs, and prep a release","watch:with-crypto":"Like 'watch', but also including tests for the crypto APIs","compile:debug:secp256k1":"Run the compile:secp256k1 Docker container in interactive mode","compile:inspect:secp256k1":"Format the compile:secp256k1 output for easier review"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.9.0","nyc":"^15.1.0","chuhai":"^1.2.0","cspell":"^4.0.63","eslint":"^7.2.0","rollup":"^2.17.0","bcrypto":"^5.2.0","codecov":"^3.7.0","cpy-cli":"^3.1.1","express":"^4.17.1","hash.js":"^1.1.5","ts-node":"^8.10.2","typedoc":"^0.17.7","elliptic":"^6.5.3","gh-pages":"^3.0.0","open-cli":"^6.0.1","prettier":"^2.0.5","puppeteer":"^4.0.0","secp256k1":"^4.0.1","trash-cli":"^3.0.0","browserify":"^16.5.1","fast-check":"^1.25.1","typescript":"^3.9.5","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.6","ava-fast-check":"^1.1.2","@ava/typescript":"^1.1.1","@types/elliptic":"^6.4.12","@types/puppeteer":"^3.0.0","bitcore-lib-cash":"^8.20.4","standard-version":"^8.0.0","@types/browserify":"^12.0.33","source-map-support":"^0.5.19","eslint-plugin-tsdoc":"^0.2.5","@rollup/plugin-alias":"^3.1.1","eslint-plugin-import":"^2.21.2","eslint-config-bitauth":"^2.0.0","eslint-config-prettier":"^6.11.0","@rollup/plugin-commonjs":"^13.0.0","@microsoft/api-extractor":"^7.8.12","eslint-plugin-functional":"^3.0.1","ts-json-schema-generator":"^0.70.1","@bitjson/npm-scripts-info":"^1.0.0","@microsoft/api-documenter":"^7.8.13","@typescript-eslint/parser":"^3.3.0","cz-conventional-changelog":"^3.2.0","@rollup/plugin-node-resolve":"^8.0.1","eslint-plugin-eslint-comments":"^3.2.0","@istanbuljs/nyc-config-typescript":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_1.15.1_1592588434388_0.7108723655567937","host":"s3://npm-registry-packages"}},"1.15.2":{"name":"@bitauth/libauth","version":"1.15.2","keywords":[],"license":"MIT","_id":"@bitauth/libauth@1.15.2","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"ava":{"files":["!build/module/**"],"timeout":"20s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"nyc":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js","**/*.spec.debug.js"],"extends":"@istanbuljs/nyc-config-typescript"},"dist":{"shasum":"a33dc461c6532a449e560d0e2ced9df4f1b6c1d1","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-1.15.2.tgz","fileCount":863,"integrity":"sha512-0zHD2V9JkQSglgqvkKyDzTO3uzvKeXseKkudu+Xr/j+giIiCiAHoupmzEq/uFEvRQU0kcu05+cW9Ev3nrM9OpA==","signatures":[{"sig":"MEYCIQDUrfNwRXQ0oD3dO+z/7etlKbziFW3qLjHhL+GVpdhX5QIhAPGWoQh0XtgJ3vpLjgNP42GL1OfalJwOZbXeyIBGTYbV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5230925,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7PzvCRA9TVsSAnZWagAAea4P/0JvXqR861+f1FdlbZYd\naEawyQpcrg1C/6YzURDEOS56sl699KQOZn/47ukjlnTsHNiPUg3lLLnfZALn\npdg/QysVFZTeuJWj3dC0QTDHh+JrBV588Yg2M7TIFGEaUbNbBgk/tuZGl2Zo\nFnZthDsrJ69dFnfgSEdOXRaUgTWZjLh+8sDl3uXV8hJ+hNfnWQXvniVGexOq\n1I5eVFbNckBxDultuzKxsG7AtKKa48lkXvN8iUjKWd2RUlLAQlaMgPa8RjTc\n/xz8TE4NowxipYhRkB34K/JBFHzWXLp9eBWk5h42xcxzmtKr2tWRwoe+Y6p/\nEEyQ3IlIag2CosWPPcmhWix77ZPHQ1huycKrbCYiHNbkZVDFR9qqtjAvonOu\nDBxLOwiNgR4snJX/72EyJWvj0FqISGDBDhB3VHnkyIPQ69Tz3kUcmmElHxTj\nmudbKj3DXTbp687kumU39ci9M2Hzsdlj5nr0w25bIJuaJjMXPuS7jeJAo7d+\nAw77dkofTyAB9ddpY/Bnfc1h7f6LWJiwJp+6P18MPcHp60qssLO4nfwySPkd\n59smG1VKSvxr08RJH6iOByn4xc6HkHrUjk9PIDNbjL8izROgaUGEmLUD08CX\ndfS7kYFAMbj6jukDPkOHgWawjDPYpHUOPaEWRwKtehi7MPhtw3kRcOgjHwix\nOX9E\r\n=W/2r\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/main/index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"module":"build/module/index.js","engines":{"node":">=8.9"},"gitHead":"a39f6e297ec3d04475a9226714bccff5b3b05ea8","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","info":"npm-scripts-info","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-s clean && run-p build:*","clean":"trash build test","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s clean build:main build:wasm && yarn build:main -- -w","version":"standard-version","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","cov:check":"nyc report && nyc check-coverage --lines 85 --functions 80 --branches 65","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"nyc --silent ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m","build:main":"tsc -p tsconfig.json","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","build:module":"tsc -p config/tsconfig.module.json","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","watch:module":"run-s clean build:main build:wasm && yarn build:module -- -w","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy src/lib/bin/sha1/sha1.wasm build/main/lib/bin/sha1 && cpy src/lib/bin/sha1/sha1.wasm build/module/lib/bin/sha1","test:unit:fast":"nyc --silent ava --match='!*[fast-check]*' --match='!*[crypto]*' --match='!*[script_tests]*' --match='!*[signing-serialization tests]*' --match='!*[BCH compiler]*' --match='!*[BCH VM]*'","prepare-release":"run-s reset test cov:check doc:html doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy src/lib/bin/sha256/sha256.wasm build/main/lib/bin/sha256 && cpy src/lib/bin/sha256/sha256.wasm build/module/lib/bin/sha256","copy:wasm:sha512":"cpy src/lib/bin/sha512/sha512.wasm build/main/lib/bin/sha512 && cpy src/lib/bin/sha512/sha512.wasm build/module/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","copy:wasm:ripemd160":"cpy src/lib/bin/ripemd160/ripemd160.wasm build/main/lib/bin/ripemd160 && cpy src/lib/bin/ripemd160/ripemd160.wasm build/module/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy src/lib/bin/secp256k1/secp256k1.wasm build/main/lib/bin/secp256k1 && cpy src/lib/bin/secp256k1/secp256k1.wasm build/module/lib/bin/secp256k1","compile:debug:hashes":"docker run -it libauth-hashes bash","test:unit:fast-check":"nyc --silent ava --match='*[fast-check]*","doc:generate-templates":"node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '1-of-8-tree' > src/lib/transaction/fixtures/templates/1-of-8-tree.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","test:unit:script_tests":"nyc --silent ava --match='*[script_tests]*' --verbose --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","doc:generate-json-schema":"ts-json-schema-generator --path 'src/lib/template/template-types.ts' --type 'AuthenticationTemplate' > src/lib/template/bitauth-authentication-template.schema.json"},"typings":"build/module/index.d.ts","_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"6.14.5","description":"ultra-lightweight library for Bitcoin, Bitcoin Cash, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"_nodeVersion":"12.18.1","dependencies":{},"scripts-info":{"cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","fix":"Try to automatically fix any linting problems","info":"Display information about the package scripts","test":"Lint and unit test the project","bench":"Build the project and run the benchmarks","build":"Clean and rebuild the project","reset":"Delete all untracked files and reset the repo to the last commit","watch":"Watch and rebuild the project on save, then rerun relevant tests","compile":"Compile the WebAssembly binaries and integrate them into src","version":"Bump package.json version, update CHANGELOG.md, tag release","doc:json":"Generate API documentation in typedoc JSON format","prepare-release":"One-step: clean, build, test, publish docs, and prep a release","watch:with-crypto":"Like 'watch', but also including tests for the crypto APIs","compile:debug:secp256k1":"Run the compile:secp256k1 Docker container in interactive mode","compile:inspect:secp256k1":"Format the compile:secp256k1 output for easier review"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.9.0","nyc":"^15.1.0","chuhai":"^1.2.0","cspell":"^4.0.63","eslint":"^7.2.0","rollup":"^2.17.0","bcrypto":"^5.2.0","codecov":"^3.7.0","cpy-cli":"^3.1.1","express":"^4.17.1","hash.js":"^1.1.5","ts-node":"^8.10.2","typedoc":"^0.17.7","elliptic":"^6.5.3","gh-pages":"^3.0.0","open-cli":"^6.0.1","prettier":"^2.0.5","puppeteer":"^4.0.0","secp256k1":"^4.0.1","trash-cli":"^3.0.0","browserify":"^16.5.1","fast-check":"^1.25.1","typescript":"^3.9.5","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.6","ava-fast-check":"^1.1.2","@ava/typescript":"^1.1.1","@types/elliptic":"^6.4.12","@types/puppeteer":"^3.0.0","bitcore-lib-cash":"^8.20.4","standard-version":"^8.0.0","@types/browserify":"^12.0.33","source-map-support":"^0.5.19","eslint-plugin-tsdoc":"^0.2.5","@rollup/plugin-alias":"^3.1.1","eslint-plugin-import":"^2.21.2","eslint-config-bitauth":"^2.0.0","eslint-config-prettier":"^6.11.0","@rollup/plugin-commonjs":"^13.0.0","@microsoft/api-extractor":"^7.8.12","eslint-plugin-functional":"^3.0.1","ts-json-schema-generator":"^0.70.1","@bitjson/npm-scripts-info":"^1.0.0","@microsoft/api-documenter":"^7.8.13","@typescript-eslint/parser":"^3.3.0","cz-conventional-changelog":"^3.2.0","@rollup/plugin-node-resolve":"^8.0.1","eslint-plugin-eslint-comments":"^3.2.0","@istanbuljs/nyc-config-typescript":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_1.15.2_1592589550772_0.16386060024713833","host":"s3://npm-registry-packages"}},"1.15.3":{"name":"@bitauth/libauth","version":"1.15.3","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@1.15.3","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"ava":{"files":["!build/module/**"],"timeout":"20s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"nyc":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js","**/*.spec.debug.js"],"extends":"@istanbuljs/nyc-config-typescript"},"dist":{"shasum":"ee303b7bbdb4d4e4b3cc5830038390cd872db3c0","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-1.15.3.tgz","fileCount":863,"integrity":"sha512-BRQOnP3u+KjXFgDtym0HE6Y+GC7GY4f4FYf0Lj5kXxAANes3L8rOZFryQkXkVpFnOIQvhHBoQwqQSQsmYQCQzQ==","signatures":[{"sig":"MEQCIG8Qnxutfb25fwRNQPq4jwoI+gkGw/ZYYxpOt9excmk+AiB7HLisR5kbH7ns1iUw2X16zAB11p4OJ7eVj7MDIVQKMA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5231313,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7QZACRA9TVsSAnZWagAA8MgQAJdBsY2432saHoV9Dykv\npi5pPkiT1iNrIl8h5dmk6BewsqV9gpSf+OfoW0CM+KkMKNg6qx0vjYUHVNXg\ncCvkpHp3gHesIZpTBMM7zMjy2ru1LTfwPsXO0kDvbyKOpQHq3bR8eKw59kQq\nxGyAAZDdLnuxX4H1V1Sql4CX8BZzcGyNyEmYFOD5s8WM/KVZQBeqUJkMNunx\nkNbCgnR/jdARgQf1S3XN2wu8hxPRK/4xMURAZPhCgqA55t/q5qR2oIDVxBI5\n4LE14+KwG84/1fvfu0/tvviGmIhUwDIuXmjycsilGaeNLIpJZVdFGznMnPzf\nwOesQtcFDObYwhAAC1Sjs26kmvWu8vMrBbtTuzYn43sDmrJ9PNmKDtUOoPDJ\nSQfbMqttNXc038YfKI1eH9rGMH0iTXAoZjDiyT2Cu+mwVKeKLRyZJBfYflvK\n4ZHV8rdzRpAysVG/azmJR02UuWegHH/GBw27CUIedlZDdRs8h3kWm4UqcNQL\ndYND06wCanS9fvftYOKBFjfSUgGYwjFyuiqdwKpuWZtKtQBkCS12/qxLcpCw\no5CREY5hVkBIXlMRW+XB1UEoDyrPrcRTVTtZsx85Kf3o2ZbRDdNn42jEPBjV\ngS68CprDKfdhCWfHugocHQnZ0/32O8F6iA7mbzUiufUgkX/GBAh+lYUcaJDq\nAbMj\r\n=Xxck\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/main/index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"module":"build/module/index.js","engines":{"node":">=8.9"},"gitHead":"e76d3290beb0fcbf59319502ce29fcf22b48ecc8","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","info":"npm-scripts-info","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-s clean && run-p build:*","clean":"trash build test","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s clean build:main build:wasm && yarn build:main -- -w","version":"standard-version","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","cov:check":"nyc report && nyc check-coverage --lines 85 --functions 80 --branches 65","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"nyc --silent ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m","build:main":"tsc -p tsconfig.json","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","build:module":"tsc -p config/tsconfig.module.json","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","watch:module":"run-s clean build:main build:wasm && yarn build:module -- -w","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy src/lib/bin/sha1/sha1.wasm build/main/lib/bin/sha1 && cpy src/lib/bin/sha1/sha1.wasm build/module/lib/bin/sha1","test:unit:fast":"nyc --silent ava --match='!*[fast-check]*' --match='!*[crypto]*' --match='!*[script_tests]*' --match='!*[signing-serialization tests]*' --match='!*[BCH compiler]*' --match='!*[BCH VM]*'","prepare-release":"run-s reset test cov:check doc:html doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy src/lib/bin/sha256/sha256.wasm build/main/lib/bin/sha256 && cpy src/lib/bin/sha256/sha256.wasm build/module/lib/bin/sha256","copy:wasm:sha512":"cpy src/lib/bin/sha512/sha512.wasm build/main/lib/bin/sha512 && cpy src/lib/bin/sha512/sha512.wasm build/module/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","copy:wasm:ripemd160":"cpy src/lib/bin/ripemd160/ripemd160.wasm build/main/lib/bin/ripemd160 && cpy src/lib/bin/ripemd160/ripemd160.wasm build/module/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy src/lib/bin/secp256k1/secp256k1.wasm build/main/lib/bin/secp256k1 && cpy src/lib/bin/secp256k1/secp256k1.wasm build/module/lib/bin/secp256k1","compile:debug:hashes":"docker run -it libauth-hashes bash","test:unit:fast-check":"nyc --silent ava --match='*[fast-check]*","doc:generate-templates":"node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '1-of-8-tree' > src/lib/transaction/fixtures/templates/1-of-8-tree.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","test:unit:script_tests":"nyc --silent ava --match='*[script_tests]*' --verbose --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","doc:generate-json-schema":"ts-json-schema-generator --path 'src/lib/template/template-types.ts' --type 'AuthenticationTemplate' > src/lib/template/bitauth-authentication-template.schema.json"},"typings":"build/module/index.d.ts","_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"6.14.5","description":"ultra-lightweight library for Bitcoin, Bitcoin Cash, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"_nodeVersion":"12.18.1","dependencies":{},"scripts-info":{"cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","fix":"Try to automatically fix any linting problems","info":"Display information about the package scripts","test":"Lint and unit test the project","bench":"Build the project and run the benchmarks","build":"Clean and rebuild the project","reset":"Delete all untracked files and reset the repo to the last commit","watch":"Watch and rebuild the project on save, then rerun relevant tests","compile":"Compile the WebAssembly binaries and integrate them into src","version":"Bump package.json version, update CHANGELOG.md, tag release","doc:json":"Generate API documentation in typedoc JSON format","prepare-release":"One-step: clean, build, test, publish docs, and prep a release","watch:with-crypto":"Like 'watch', but also including tests for the crypto APIs","compile:debug:secp256k1":"Run the compile:secp256k1 Docker container in interactive mode","compile:inspect:secp256k1":"Format the compile:secp256k1 output for easier review"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.9.0","nyc":"^15.1.0","chuhai":"^1.2.0","cspell":"^4.0.63","eslint":"^7.2.0","rollup":"^2.17.0","bcrypto":"^5.2.0","codecov":"^3.7.0","cpy-cli":"^3.1.1","express":"^4.17.1","hash.js":"^1.1.5","ts-node":"^8.10.2","typedoc":"^0.17.7","elliptic":"^6.5.3","gh-pages":"^3.0.0","open-cli":"^6.0.1","prettier":"^2.0.5","puppeteer":"^4.0.0","secp256k1":"^4.0.1","trash-cli":"^3.0.0","browserify":"^16.5.1","fast-check":"^1.25.1","typescript":"^3.9.5","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.6","ava-fast-check":"^1.1.2","@ava/typescript":"^1.1.1","@types/elliptic":"^6.4.12","@types/puppeteer":"^3.0.0","bitcore-lib-cash":"^8.20.4","standard-version":"^8.0.0","@types/browserify":"^12.0.33","source-map-support":"^0.5.19","eslint-plugin-tsdoc":"^0.2.5","@rollup/plugin-alias":"^3.1.1","eslint-plugin-import":"^2.21.2","eslint-config-bitauth":"^2.0.0","eslint-config-prettier":"^6.11.0","@rollup/plugin-commonjs":"^13.0.0","@microsoft/api-extractor":"^7.8.12","eslint-plugin-functional":"^3.0.1","ts-json-schema-generator":"^0.70.1","@bitjson/npm-scripts-info":"^1.0.0","@microsoft/api-documenter":"^7.8.13","@typescript-eslint/parser":"^3.3.0","cz-conventional-changelog":"^3.2.0","@rollup/plugin-node-resolve":"^8.0.1","eslint-plugin-eslint-comments":"^3.2.0","@istanbuljs/nyc-config-typescript":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_1.15.3_1592591935997_0.6375946692971366","host":"s3://npm-registry-packages"}},"1.15.4":{"name":"@bitauth/libauth","version":"1.15.4","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@1.15.4","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"ava":{"files":["!build/module/**"],"timeout":"20s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"nyc":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js","**/*.spec.debug.js"],"extends":"@istanbuljs/nyc-config-typescript"},"dist":{"shasum":"2c196ba17b4ceab6392cfaaf5bf90e0f912c1be5","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-1.15.4.tgz","fileCount":863,"integrity":"sha512-JTzw+bDmG9NBXNEqkOTb7E06fb/n4QaW0fUD0V8mZTkCotbF04NZll3CBVGNwXaaiU+y7QIc/HnklAv0GOgIIA==","signatures":[{"sig":"MEUCIH9nLy1AkwgwRrUl3GKxM6OAv5ndqWPwnzM0zqQsStHnAiEApojVCPbb/1iDpmi4Ft1YS3PFo5BXnIo4oFHQx0XmOAc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5232333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDg9bCRA9TVsSAnZWagAARxIP/1kD/S+AQSqDm1XvMwqQ\n9nIDfPSf/7vFwkfWwLvxNL6mFHerm8EQaE3jUip7PScUfphtDdcS7H2jLwkb\nL1gFBYcQZ4gDLQfIKc932BYzc7gjYfHtqxLtW1SYX3o8RrgmumYKfzVIJCkE\n4Z1CNhNovCiNifsb+HTGAXnxIhMj5/3f8Np36x8GibEBWhg+isfkA8Df+uB8\nKMQZDcy2r+zxIAjRLQG+MoUi/YW0i5HAOUyVCXNSK5gp8zY0oqKX6w2NiGyG\ns+gqnPxaPC8NAHrQw4SXMabTM84COBcVhIcZ7VVHFYdm9ZwaiuZIDgkYc4h1\njRK8xiiS/UxjhuX7L9suFpYwGkY/4HddGxTTXv1e/cC8jzx5ePqcwzoTGmUr\nFh/r7BaTe3S4bAb5VkFGTDP/1JjxMZvtWq62D1ftpWpmN0PkG2bsC45BxTEl\n3rjn/Hb80ONH7CvIa463U6XRj/OK+fsZJ/ORGDkBdpFSAShUs3ElqJ4QBB70\n3hNJS3j0z40N4GNDdzpEnvQj3THRGeXfZxMnfNCvvV+7Q8wHVSNa7QhYZy8V\naV9xT+1kfIUjLaFdSWaQ7MJOAz8G/rHMV9T45wVcuuTIx1tGsm3TGWjUdXfW\nYE5TKF/d6YWsvCpnF0eF0zDpUUZgLS+NS8kFjmEFVQbmGt2hg5Djmmk3Fha1\nbtio\r\n=M9bP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/main/index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"module":"build/module/index.js","engines":{"node":">=8.9"},"gitHead":"80195bbbf74975a6161ac6f79e7f637cf7981d40","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","info":"npm-scripts-info","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-s clean && run-p build:*","clean":"trash build test","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s clean build:main build:wasm && yarn build:main -- -w","version":"standard-version","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","cov:check":"nyc report && nyc check-coverage --lines 85 --functions 80 --branches 65","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"nyc --silent ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m","build:main":"tsc -p tsconfig.json","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","build:module":"tsc -p config/tsconfig.module.json","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","watch:module":"run-s clean build:main build:wasm && yarn build:module -- -w","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy src/lib/bin/sha1/sha1.wasm build/main/lib/bin/sha1 && cpy src/lib/bin/sha1/sha1.wasm build/module/lib/bin/sha1","test:unit:fast":"nyc --silent ava --match='!*[fast-check]*' --match='!*[crypto]*' --match='!*[script_tests]*' --match='!*[signing-serialization tests]*' --match='!*[BCH compiler]*' --match='!*[BCH VM]*'","prepare-release":"run-s reset test cov:check doc:html doc:logo doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy src/lib/bin/sha256/sha256.wasm build/main/lib/bin/sha256 && cpy src/lib/bin/sha256/sha256.wasm build/module/lib/bin/sha256","copy:wasm:sha512":"cpy src/lib/bin/sha512/sha512.wasm build/main/lib/bin/sha512 && cpy src/lib/bin/sha512/sha512.wasm build/module/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","copy:wasm:ripemd160":"cpy src/lib/bin/ripemd160/ripemd160.wasm build/main/lib/bin/ripemd160 && cpy src/lib/bin/ripemd160/ripemd160.wasm build/module/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy src/lib/bin/secp256k1/secp256k1.wasm build/main/lib/bin/secp256k1 && cpy src/lib/bin/secp256k1/secp256k1.wasm build/module/lib/bin/secp256k1","compile:debug:hashes":"docker run -it libauth-hashes bash","test:unit:fast-check":"nyc --silent ava --match='*[fast-check]*","doc:generate-templates":"node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '1-of-8-tree' > src/lib/transaction/fixtures/templates/1-of-8-tree.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","test:unit:script_tests":"nyc --silent ava --match='*[script_tests]*' --verbose --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","doc:generate-json-schema":"ts-json-schema-generator --path 'src/lib/template/template-types.ts' --type 'AuthenticationTemplate' > src/lib/template/bitauth-authentication-template.schema.json"},"typings":"build/module/index.d.ts","_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"6.14.5","description":"ultra-lightweight library for Bitcoin, Bitcoin Cash, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"_nodeVersion":"12.18.1","dependencies":{},"scripts-info":{"cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","fix":"Try to automatically fix any linting problems","info":"Display information about the package scripts","test":"Lint and unit test the project","bench":"Build the project and run the benchmarks","build":"Clean and rebuild the project","reset":"Delete all untracked files and reset the repo to the last commit","watch":"Watch and rebuild the project on save, then rerun relevant tests","compile":"Compile the WebAssembly binaries and integrate them into src","version":"Bump package.json version, update CHANGELOG.md, tag release","doc:json":"Generate API documentation in typedoc JSON format","prepare-release":"One-step: clean, build, test, publish docs, and prep a release","watch:with-crypto":"Like 'watch', but also including tests for the crypto APIs","compile:debug:secp256k1":"Run the compile:secp256k1 Docker container in interactive mode","compile:inspect:secp256k1":"Format the compile:secp256k1 output for easier review"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.9.0","nyc":"^15.1.0","chuhai":"^1.2.0","cspell":"^4.0.63","eslint":"^7.2.0","rollup":"^2.17.0","bcrypto":"^5.2.0","codecov":"^3.7.0","cpy-cli":"^3.1.1","express":"^4.17.1","hash.js":"^1.1.5","ts-node":"^8.10.2","typedoc":"^0.17.7","elliptic":"^6.5.3","gh-pages":"^3.0.0","open-cli":"^6.0.1","prettier":"^2.0.5","puppeteer":"^4.0.0","secp256k1":"^4.0.1","trash-cli":"^3.0.0","browserify":"^16.5.1","fast-check":"^1.25.1","typescript":"^3.9.5","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.6","ava-fast-check":"^1.1.2","@ava/typescript":"^1.1.1","@types/elliptic":"^6.4.12","@types/puppeteer":"^3.0.0","bitcore-lib-cash":"^8.20.4","standard-version":"^8.0.0","@types/browserify":"^12.0.33","source-map-support":"^0.5.19","eslint-plugin-tsdoc":"^0.2.5","@rollup/plugin-alias":"^3.1.1","eslint-plugin-import":"^2.21.2","eslint-config-bitauth":"^2.0.0","eslint-config-prettier":"^6.11.0","@rollup/plugin-commonjs":"^13.0.0","@microsoft/api-extractor":"^7.8.12","eslint-plugin-functional":"^3.0.1","ts-json-schema-generator":"^0.70.1","@bitjson/npm-scripts-info":"^1.0.0","@microsoft/api-documenter":"^7.8.13","@typescript-eslint/parser":"^3.3.0","cz-conventional-changelog":"^3.2.0","@rollup/plugin-node-resolve":"^8.0.1","eslint-plugin-eslint-comments":"^3.2.0","@istanbuljs/nyc-config-typescript":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_1.15.4_1594756954842_0.07119593900969479","host":"s3://npm-registry-packages"}},"1.16.0":{"name":"@bitauth/libauth","version":"1.16.0","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@1.16.0","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"ava":{"files":["!build/module/**"],"timeout":"20s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"nyc":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js","**/*.spec.debug.js"],"extends":"@istanbuljs/nyc-config-typescript"},"dist":{"shasum":"63a53a139be797bbce627158cd2e6c905cb66112","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-1.16.0.tgz","fileCount":863,"integrity":"sha512-OSLdNsPdE6PZgBxL9YR1traTKyK9Z+pSCRcf0XjoiZORY33iM/ZAlweox6TrLxdFKWuG2EELzoj6rVQNVlHxrg==","signatures":[{"sig":"MEUCIEcl9+C7WUCcS2dvODgfrAWc4RrU+Ldh2IVK8hmDrdncAiEA6Mu4B5EgtSUpEB8whv78w2ACNU2p60T8VAt6h2zWASc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5238950,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfF1N9CRA9TVsSAnZWagAAVYkP/jHuciM3VpXZmac2TqML\nNG3o2eQGVwZVQgHhPogbo/aCITurJ/iFiGMjpDJPupt6AukHcBcR/KBxI46S\nF08ZJF84hSskur9cMdsMs5zPAg4BjJHQXBx1zf+T4It7ZyxPQm5tJolB/s69\nRKNHp0PEZW7oZ6gFNLjQv/lrxXCChhQadvLgISIzCwOY69BEPdl5uyBiLIc+\nGAjNc95hUxyPje+DonItu2YqCqKbhZ4peE/eOC1vCH7IDblpaLmh87he3JrF\nrUu1apENudDzjWrx/NGSWCdPRbloptnp/ni61AFzggetypHDlqJd1wKilDUT\n/I2n1ZP/MuSB3piH/Dbe2m/5j2nkt6QhcQdzyaJsxRYHwUiKXqH6HwiFcbHE\nRTip3XboIDw7UpZHEMhHsCF6JPmP6Bm49VAwdQyBZ0NC9hj49pkULOqzRxVZ\nzyqxfSE2YVYa5Pi6KjIouJrEmn0W+Ys1N8uH8VZ20vKcCRb2vkSaMt8qFmwa\nX/T23m22cAb3RIP6bHUSZOHr6B+TBRZKCJnUpb/IyQWmVOcZscUq/7KrkwC+\nBWpMv8MJ34RTjZNpqZdPDWIxOPEPHnS2kGY2/NrwQdXWi7fviFqsVbrYKFsU\nbj+QaAwq+6uBfo/WNAT4oFhNP+SRQ8nfPcmze49t6shzBwkSnpnLZa1ElIE9\nvj6h\r\n=vQvd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/main/index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"module":"build/module/index.js","engines":{"node":">=8.9"},"gitHead":"d76352380d8ab1ba9f6965c420d2a8100b90c9f5","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","info":"npm-scripts-info","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-s clean && run-p build:*","clean":"trash build test","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s clean build:main build:wasm && yarn build:main -- -w","version":"standard-version","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","cov:check":"nyc report && nyc check-coverage --lines 85 --functions 80 --branches 65","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"nyc --silent ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m","build:main":"tsc -p tsconfig.json","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","build:module":"tsc -p config/tsconfig.module.json","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","watch:module":"run-s clean build:main build:wasm && yarn build:module -- -w","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy src/lib/bin/sha1/sha1.wasm build/main/lib/bin/sha1 && cpy src/lib/bin/sha1/sha1.wasm build/module/lib/bin/sha1","test:unit:fast":"nyc --silent ava --match='!*[fast-check]*' --match='!*[crypto]*' --match='!*[script_tests]*' --match='!*[signing-serialization tests]*' --match='!*[BCH compiler]*' --match='!*[BCH VM]*'","prepare-release":"run-s reset test cov:check doc:html doc:logo doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy src/lib/bin/sha256/sha256.wasm build/main/lib/bin/sha256 && cpy src/lib/bin/sha256/sha256.wasm build/module/lib/bin/sha256","copy:wasm:sha512":"cpy src/lib/bin/sha512/sha512.wasm build/main/lib/bin/sha512 && cpy src/lib/bin/sha512/sha512.wasm build/module/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","copy:wasm:ripemd160":"cpy src/lib/bin/ripemd160/ripemd160.wasm build/main/lib/bin/ripemd160 && cpy src/lib/bin/ripemd160/ripemd160.wasm build/module/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy src/lib/bin/secp256k1/secp256k1.wasm build/main/lib/bin/secp256k1 && cpy src/lib/bin/secp256k1/secp256k1.wasm build/module/lib/bin/secp256k1","compile:debug:hashes":"docker run -it libauth-hashes bash","test:unit:fast-check":"nyc --silent ava --match='*[fast-check]*","doc:generate-templates":"node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '1-of-8-tree' > src/lib/transaction/fixtures/templates/1-of-8-tree.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","test:unit:script_tests":"nyc --silent ava --match='*[script_tests]*' --verbose --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","doc:generate-json-schema":"ts-json-schema-generator --path 'src/lib/template/template-types.ts' --type 'AuthenticationTemplate' > src/lib/template/bitauth-authentication-template.schema.json"},"typings":"build/module/index.d.ts","_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"6.14.5","description":"ultra-lightweight library for Bitcoin, Bitcoin Cash, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"_nodeVersion":"12.18.1","dependencies":{},"scripts-info":{"cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","fix":"Try to automatically fix any linting problems","info":"Display information about the package scripts","test":"Lint and unit test the project","bench":"Build the project and run the benchmarks","build":"Clean and rebuild the project","reset":"Delete all untracked files and reset the repo to the last commit","watch":"Watch and rebuild the project on save, then rerun relevant tests","compile":"Compile the WebAssembly binaries and integrate them into src","version":"Bump package.json version, update CHANGELOG.md, tag release","doc:json":"Generate API documentation in typedoc JSON format","prepare-release":"One-step: clean, build, test, publish docs, and prep a release","watch:with-crypto":"Like 'watch', but also including tests for the crypto APIs","compile:debug:secp256k1":"Run the compile:secp256k1 Docker container in interactive mode","compile:inspect:secp256k1":"Format the compile:secp256k1 output for easier review"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.9.0","nyc":"^15.1.0","chuhai":"^1.2.0","cspell":"^4.0.63","eslint":"^7.2.0","rollup":"^2.17.0","bcrypto":"^5.2.0","codecov":"^3.7.0","cpy-cli":"^3.1.1","express":"^4.17.1","hash.js":"^1.1.5","ts-node":"^8.10.2","typedoc":"^0.17.7","elliptic":"^6.5.3","gh-pages":"^3.0.0","open-cli":"^6.0.1","prettier":"^2.0.5","puppeteer":"^4.0.0","secp256k1":"^4.0.1","trash-cli":"^3.0.0","browserify":"^16.5.1","fast-check":"^1.25.1","typescript":"^3.9.5","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.6","ava-fast-check":"^1.1.2","@ava/typescript":"^1.1.1","@types/elliptic":"^6.4.12","@types/puppeteer":"^3.0.0","bitcore-lib-cash":"^8.20.4","standard-version":"^8.0.0","@types/browserify":"^12.0.33","source-map-support":"^0.5.19","eslint-plugin-tsdoc":"^0.2.5","@rollup/plugin-alias":"^3.1.1","eslint-plugin-import":"^2.21.2","eslint-config-bitauth":"^2.0.0","eslint-config-prettier":"^6.11.0","@rollup/plugin-commonjs":"^13.0.0","@microsoft/api-extractor":"^7.8.12","eslint-plugin-functional":"^3.0.1","ts-json-schema-generator":"^0.70.1","@bitjson/npm-scripts-info":"^1.0.0","@microsoft/api-documenter":"^7.8.13","@typescript-eslint/parser":"^3.3.0","cz-conventional-changelog":"^3.2.0","@rollup/plugin-node-resolve":"^8.0.1","eslint-plugin-eslint-comments":"^3.2.0","@istanbuljs/nyc-config-typescript":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_1.16.0_1595364220544_0.2918463996091738","host":"s3://npm-registry-packages"}},"1.17.0":{"name":"@bitauth/libauth","version":"1.17.0","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@1.17.0","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"ava":{"files":["!build/module/**"],"timeout":"20s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"nyc":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js","**/*.spec.debug.js"],"extends":"@istanbuljs/nyc-config-typescript"},"dist":{"shasum":"d3ba38a2a3bd669ca5a083590ae985b317235405","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-1.17.0.tgz","fileCount":863,"integrity":"sha512-l9rj+1+4/psWnOoLgV6IUFqFUZTN+ohYXP3QEbX0+t0JsglESLuM99Lk371kk+64YVD1oAhnTOIcJpVatQj9dw==","signatures":[{"sig":"MEUCIQD6ymHoyXosKtMLqL/NEDyJ+mfO3FPp/kwcC3my3nTXkgIgXdo0vrNVEtSMQBX89ChKXXnCtyGaF6t2IfuuV2sfz/U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5254507,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLeiPCRA9TVsSAnZWagAA2XwP/RaS/8JBU15TIdBKu7yD\n514bsCkmH/0X5njixbh7hZlJ5Mzw6TdwdAIgopzZE4USX29M4ZwLlscGS22l\npyqLVEuZi8MUFss/YHW40HYNimbhLFkhw/I/hMEsHFgXB8YIqYVSVv69Tu7r\ntamxrpCNorLkMnZxN03RQe3apOd3esWNwBEAJFJilQSZz2rAIbDTfQkbEmDv\nsbXhtJJKRyobDVUgfMOvY+pDS3gKkXOMdljfL+ay0wSRR6boQso9P4rc4S0V\nX14mGOJlkfN0i8G5v1h5kYt8x1TzAc+rBRGKAhALdU/eu/Cqx/9I0f1Kz4W8\nwcMS6tyXQ1v8gR1dyRf9eONtFFXd31MXTmSREEkDKjOGaDPRMSPwqdGm3QYI\nV02POTL/6a7j+mGeRwJXHIKE3vzgvEahMcLexGOpDvIU9kCHI9yl3ygs2iJP\nCiRifFS+CcyD3Vczvs+KKJPkvImsiiINgpvB7Ukjz4X+DkLi2Jji3togUH1P\nUvDgWvZa8yC7fSUOYaEifPFkKjalLRkGy4RZaJK1SR4CzviFiphICrSzuKub\nnXw3/icKfCoMaXgRQN4tC9hJbHvgBAZ6HQ6jvwxfLs/G+/ahYXt8bRCqDDPW\nwMHiRbMLv59/8GYmgKB2BvoHWk0rQHqFc4agJkozetEeC/M19iETl/1nS93Y\nAU1o\r\n=xVn4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/main/index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"module":"build/module/index.js","engines":{"node":">=8.9"},"gitHead":"5967304d26569aaf2b216ee60ed426eedda38f91","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","info":"npm-scripts-info","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-s clean && run-p build:*","clean":"trash build test","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s clean build:main build:wasm && yarn build:main -- -w","version":"standard-version","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","cov:check":"nyc report && nyc check-coverage --lines 85 --functions 80 --branches 65","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"nyc --silent ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m","build:main":"tsc -p tsconfig.json","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","build:module":"tsc -p config/tsconfig.module.json","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","watch:module":"run-s clean build:main build:wasm && yarn build:module -- -w","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy src/lib/bin/sha1/sha1.wasm build/main/lib/bin/sha1 && cpy src/lib/bin/sha1/sha1.wasm build/module/lib/bin/sha1","test:unit:fast":"nyc --silent ava --match='!*[fast-check]*' --match='!*[crypto]*' --match='!*[script_tests]*' --match='!*[signing-serialization tests]*' --match='!*[BCH compiler]*' --match='!*[BCH VM]*'","prepare-release":"run-s reset test cov:check doc:html doc:logo doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy src/lib/bin/sha256/sha256.wasm build/main/lib/bin/sha256 && cpy src/lib/bin/sha256/sha256.wasm build/module/lib/bin/sha256","copy:wasm:sha512":"cpy src/lib/bin/sha512/sha512.wasm build/main/lib/bin/sha512 && cpy src/lib/bin/sha512/sha512.wasm build/module/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","copy:wasm:ripemd160":"cpy src/lib/bin/ripemd160/ripemd160.wasm build/main/lib/bin/ripemd160 && cpy src/lib/bin/ripemd160/ripemd160.wasm build/module/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy src/lib/bin/secp256k1/secp256k1.wasm build/main/lib/bin/secp256k1 && cpy src/lib/bin/secp256k1/secp256k1.wasm build/module/lib/bin/secp256k1","compile:debug:hashes":"docker run -it libauth-hashes bash","test:unit:fast-check":"nyc --silent ava --match='*[fast-check]*","doc:generate-templates":"node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '1-of-8-tree' > src/lib/transaction/fixtures/templates/1-of-8-tree.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","test:unit:script_tests":"nyc --silent ava --match='*[script_tests]*' --verbose --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","doc:generate-json-schema":"ts-json-schema-generator --path 'src/lib/template/template-types.ts' --type 'AuthenticationTemplate' > src/lib/template/bitauth-authentication-template.schema.json"},"typings":"build/module/index.d.ts","_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"6.14.5","description":"ultra-lightweight library for Bitcoin, Bitcoin Cash, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"_nodeVersion":"12.18.1","dependencies":{},"scripts-info":{"cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","fix":"Try to automatically fix any linting problems","info":"Display information about the package scripts","test":"Lint and unit test the project","bench":"Build the project and run the benchmarks","build":"Clean and rebuild the project","reset":"Delete all untracked files and reset the repo to the last commit","watch":"Watch and rebuild the project on save, then rerun relevant tests","compile":"Compile the WebAssembly binaries and integrate them into src","version":"Bump package.json version, update CHANGELOG.md, tag release","doc:json":"Generate API documentation in typedoc JSON format","prepare-release":"One-step: clean, build, test, publish docs, and prep a release","watch:with-crypto":"Like 'watch', but also including tests for the crypto APIs","compile:debug:secp256k1":"Run the compile:secp256k1 Docker container in interactive mode","compile:inspect:secp256k1":"Format the compile:secp256k1 output for easier review"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.9.0","nyc":"^15.1.0","chuhai":"^1.2.0","cspell":"^4.0.63","eslint":"^7.2.0","rollup":"^2.17.0","bcrypto":"^5.2.0","codecov":"^3.7.0","cpy-cli":"^3.1.1","express":"^4.17.1","hash.js":"^1.1.5","ts-node":"^8.10.2","typedoc":"^0.17.7","elliptic":"^6.5.3","gh-pages":"^3.0.0","open-cli":"^6.0.1","prettier":"^2.0.5","puppeteer":"^4.0.0","secp256k1":"^4.0.1","trash-cli":"^3.0.0","browserify":"^16.5.1","fast-check":"^1.25.1","typescript":"^3.9.5","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.6","ava-fast-check":"^1.1.2","@ava/typescript":"^1.1.1","@types/elliptic":"^6.4.12","@types/puppeteer":"^3.0.0","bitcore-lib-cash":"^8.20.4","standard-version":"^8.0.0","@types/browserify":"^12.0.33","source-map-support":"^0.5.19","eslint-plugin-tsdoc":"^0.2.5","@rollup/plugin-alias":"^3.1.1","eslint-plugin-import":"^2.21.2","eslint-config-bitauth":"^2.0.0","eslint-config-prettier":"^6.11.0","@rollup/plugin-commonjs":"^13.0.0","@microsoft/api-extractor":"^7.8.12","eslint-plugin-functional":"^3.0.1","ts-json-schema-generator":"^0.70.1","@bitjson/npm-scripts-info":"^1.0.0","@microsoft/api-documenter":"^7.8.13","@typescript-eslint/parser":"^3.3.0","cz-conventional-changelog":"^3.2.0","@rollup/plugin-node-resolve":"^8.0.1","eslint-plugin-eslint-comments":"^3.2.0","@istanbuljs/nyc-config-typescript":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_1.17.0_1596844174483_0.39662864657747066","host":"s3://npm-registry-packages"}},"1.17.1":{"name":"@bitauth/libauth","version":"1.17.1","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@1.17.1","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"ava":{"files":["!build/module/**"],"timeout":"20s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"nyc":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js","**/*.spec.debug.js"],"extends":"@istanbuljs/nyc-config-typescript"},"dist":{"shasum":"bc5731ce787fbcdebcade8ab6aa3a0bd8cba19e9","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-1.17.1.tgz","fileCount":863,"integrity":"sha512-9jwzk1Zr/WWzbDC74rWLaEmtkTIx0B7HbGplCuOENTkfeWzM1j+ifAMkFcbATi9IwBpgB4P0s5eN1Z5uG/5wbg==","signatures":[{"sig":"MEUCIBn+0jFwRjrvGcAEMqSIkbCAvb+d0oKfPWeSlC4IZ1TPAiEA5Iyop63rR9g1Tip5nuD8Y3NT8h/Cy2MXT6RVifl4cQs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5254682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLfj7CRA9TVsSAnZWagAATL4P/01XiVo8QDBhwkCW/1f4\nUIzPzofcxR89QdyF4Gjhvaq+LC3Az54dsRSgMLNeXj+7DYJf6mhPD/4Mj+Jr\nqSZGD9f8DZBVMR3nq6IjJFW/+Azg0EsY/9l/7n8nolSBt+iY9DZE+CzGiypV\nErE6lJjJ+aYdg8/Nin0rAGxd5knOJVAVRSof6uDpvDKLQ+660cuCFnicio9B\n28ZaVfGV+ljzIkB7X39RMVIPvVWH4So3Zx2/KJiLT131b150F8fLphlhcA5i\nBLXe0mPPmGOIdEes5P8Fj+FHYQRM/PbaoA7bQkDkY5fMxq66E0CK2fU9VNuJ\nFCoq2C1YP2f8wa4qKUaJcr+gq2uhtqzv22N+nCd1BEg0V7cN3deyLBkXwnyT\n7h04vwcu3eLkM+cbD2/qCdz3N/htR8Kchvz72VpHVshkDPMZXiHysevmTVBS\na/q/KC8ag52SzYlH/asSdtpGPsUPFO39IavvQ3VklEUyx/7PuesvnZu5UZbD\nuRD9gFcyRjEx7lMT0RPurBYD0yI3mGU1QH75FZyHHbhht6Ekx8/1cqw4awfZ\nm92X9ccVWpYhdF7ytTT3/IkrBRD0PSYUwUPUjNLphd6tvLGl5wNfmY2UN4zl\nxNdIHJj56YNGRQTANnZaliE8dbItm7fqmLOpAoRHUabw0xjx6JIPKJ1jk6QP\nkq+d\r\n=08Rm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/main/index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"module":"build/module/index.js","engines":{"node":">=8.9"},"gitHead":"36729526b41b071f08e082885d4c18fcf4af9289","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","info":"npm-scripts-info","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-s clean && run-p build:*","clean":"trash build test","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s clean build:main build:wasm && yarn build:main -- -w","version":"standard-version","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","cov:check":"nyc report && nyc check-coverage --lines 85 --functions 80 --branches 65","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"nyc --silent ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m","build:main":"tsc -p tsconfig.json","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","build:module":"tsc -p config/tsconfig.module.json","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","watch:module":"run-s clean build:main build:wasm && yarn build:module -- -w","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy src/lib/bin/sha1/sha1.wasm build/main/lib/bin/sha1 && cpy src/lib/bin/sha1/sha1.wasm build/module/lib/bin/sha1","test:unit:fast":"nyc --silent ava --match='!*[fast-check]*' --match='!*[crypto]*' --match='!*[script_tests]*' --match='!*[signing-serialization tests]*' --match='!*[BCH compiler]*' --match='!*[BCH VM]*'","prepare-release":"run-s reset test cov:check doc:html doc:logo doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy src/lib/bin/sha256/sha256.wasm build/main/lib/bin/sha256 && cpy src/lib/bin/sha256/sha256.wasm build/module/lib/bin/sha256","copy:wasm:sha512":"cpy src/lib/bin/sha512/sha512.wasm build/main/lib/bin/sha512 && cpy src/lib/bin/sha512/sha512.wasm build/module/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","copy:wasm:ripemd160":"cpy src/lib/bin/ripemd160/ripemd160.wasm build/main/lib/bin/ripemd160 && cpy src/lib/bin/ripemd160/ripemd160.wasm build/module/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy src/lib/bin/secp256k1/secp256k1.wasm build/main/lib/bin/secp256k1 && cpy src/lib/bin/secp256k1/secp256k1.wasm build/module/lib/bin/secp256k1","compile:debug:hashes":"docker run -it libauth-hashes bash","test:unit:fast-check":"nyc --silent ava --match='*[fast-check]*","doc:generate-templates":"node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '1-of-8-tree' > src/lib/transaction/fixtures/templates/1-of-8-tree.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","test:unit:script_tests":"nyc --silent ava --match='*[script_tests]*' --verbose --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","doc:generate-json-schema":"ts-json-schema-generator --path 'src/lib/template/template-types.ts' --type 'AuthenticationTemplate' > src/lib/template/bitauth-authentication-template.schema.json"},"typings":"build/module/index.d.ts","_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"6.14.5","description":"ultra-lightweight library for Bitcoin, Bitcoin Cash, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"_nodeVersion":"12.18.1","dependencies":{},"scripts-info":{"cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","fix":"Try to automatically fix any linting problems","info":"Display information about the package scripts","test":"Lint and unit test the project","bench":"Build the project and run the benchmarks","build":"Clean and rebuild the project","reset":"Delete all untracked files and reset the repo to the last commit","watch":"Watch and rebuild the project on save, then rerun relevant tests","compile":"Compile the WebAssembly binaries and integrate them into src","version":"Bump package.json version, update CHANGELOG.md, tag release","doc:json":"Generate API documentation in typedoc JSON format","prepare-release":"One-step: clean, build, test, publish docs, and prep a release","watch:with-crypto":"Like 'watch', but also including tests for the crypto APIs","compile:debug:secp256k1":"Run the compile:secp256k1 Docker container in interactive mode","compile:inspect:secp256k1":"Format the compile:secp256k1 output for easier review"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.11.1","nyc":"^15.1.0","chuhai":"^1.2.0","cspell":"^4.0.63","eslint":"^7.6.0","rollup":"^2.23.1","bcrypto":"^5.2.0","codecov":"^3.7.2","cpy-cli":"^3.1.1","express":"^4.17.1","hash.js":"^1.1.5","ts-node":"^8.10.2","typedoc":"^0.17.8","elliptic":"^6.5.3","gh-pages":"^3.1.0","open-cli":"^6.0.1","prettier":"^2.0.5","puppeteer":"^5.2.1","secp256k1":"^4.0.2","trash-cli":"^3.1.0","browserify":"16.5.1","fast-check":"^2.1.0","typescript":"^3.9.7","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.7","ava-fast-check":"^2.0.0","@ava/typescript":"^1.1.1","@types/elliptic":"^6.4.12","@types/puppeteer":"^3.0.1","bitcore-lib-cash":"^8.22.0","standard-version":"^8.0.2","@types/browserify":"^12.0.33","source-map-support":"^0.5.19","eslint-plugin-tsdoc":"^0.2.6","@rollup/plugin-alias":"^3.1.1","eslint-plugin-import":"^2.22.0","eslint-config-bitauth":"^2.0.0","eslint-config-prettier":"^6.11.0","@rollup/plugin-commonjs":"^14.0.0","@microsoft/api-extractor":"^7.9.3","eslint-plugin-functional":"^3.0.1","ts-json-schema-generator":"^0.70.2","@bitjson/npm-scripts-info":"^1.0.0","@microsoft/api-documenter":"^7.8.22","@typescript-eslint/parser":"^3.8.0","cz-conventional-changelog":"^3.2.0","@rollup/plugin-node-resolve":"^8.4.0","eslint-plugin-eslint-comments":"^3.2.0","@istanbuljs/nyc-config-typescript":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_1.17.1_1596848379261_0.1256629245595251","host":"s3://npm-registry-packages"}},"1.17.2":{"name":"@bitauth/libauth","version":"1.17.2","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@1.17.2","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"ava":{"files":["!build/module/**"],"timeout":"20s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"nyc":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js","**/*.spec.debug.js"],"extends":"@istanbuljs/nyc-config-typescript"},"dist":{"shasum":"8abc0917f03fe1fafb0814c787787e120a74a1c6","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-1.17.2.tgz","fileCount":863,"integrity":"sha512-Jo3wFdhtEfJCi9lOPrHJL5Yvk3z68aBWlrf1Y8l4vWFox9rKjWnOnQYOSwwtKvBcd5kg54JrUpolq/H8hSVYLQ==","signatures":[{"sig":"MEYCIQDFd5E/3mpY/ZA061Ap6avpd6+enLEePsciljlSkO+M0QIhAM8w3mrFIb72REMQMUOi1gTs8zbMq93Uk056x1Jn2D7K","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5258947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYRI1CRA9TVsSAnZWagAAwr0P/039etVullKMovRsaKzr\nhV4ircLlyd+hIBlkHWjK7U+iQyHRqkkHQbTRRJwFGvQQgCtrcLCuSACegHyB\nlw3lknD7rqB86pTOubjsYjOByd8p4qvdLkMRBZFCGSEA89zH4gCBk0DbOhgR\n06nivmfGciianmJUhNPcxXpuWCc9/jA7pJUZTh+KKqXGd6EAfKfDt6WaRMTL\nOkJnP6k57FOQD1SEw7mRkUcgvXwkIBeSgvmQr3byh9c2gwoi0x7GbyRb+Or9\nVNLI1fMB7X8Yi4Vn+witOv7SeAoQW3sqKIu2w7D6ydG7x9bcjH/XWFPpPmXM\nrHksAP+RqSOL/MkoC6Drx66hBCEIwj2Gt3qgshSI79X7jIpH+5nkGBips9VQ\nlpzcDxPVUt5lFKVsUkDFDVt4Ldq5/5yPbrXi9+RmrwLwE9j87DsWHYy11zn6\nWRJ8msGjH8oSXaJ74pQNrfpLZO49BmB9EtAxptExmwIX6zUmjSNGoOfYW040\nRA0+JxwQVCSfBDEQg1FgWqWThwZ0MIiZDrpff7rNTjkBXVBUg0a//tz3P5Jk\nHB6gx9SFegXAcatgE+NcFZ7c1cogCBdGRVc74vE15z7b6AVpXqUfIaGXxFOv\n/04eOubBv38Jz9Zz3RTfcRSG2KuB3sEPsvtjiaP8pLYn7TyHZuIFc8QZqQT5\nuMZg\r\n=6H5E\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/main/index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"module":"build/module/index.js","engines":{"node":">=8.9"},"gitHead":"cad5588d0df9f418fa3c0b75f5f2ea6facd5c421","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","info":"npm-scripts-info","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-s clean && run-p build:*","clean":"trash build test","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s clean build:main build:wasm && yarn build:main -- -w","version":"standard-version","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","cov:check":"nyc report && nyc check-coverage --lines 85 --functions 80 --branches 65","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"nyc --silent ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m","build:main":"tsc -p tsconfig.json","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","build:module":"tsc -p config/tsconfig.module.json","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","watch:module":"run-s clean build:main build:wasm && yarn build:module -- -w","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy src/lib/bin/sha1/sha1.wasm build/main/lib/bin/sha1 && cpy src/lib/bin/sha1/sha1.wasm build/module/lib/bin/sha1","test:unit:fast":"nyc --silent ava --match='!*[fast-check]*' --match='!*[crypto]*' --match='!*[script_tests]*' --match='!*[signing-serialization tests]*' --match='!*[BCH compiler]*' --match='!*[BCH VM]*'","prepare-release":"run-s reset test cov:check doc:html doc:logo doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy src/lib/bin/sha256/sha256.wasm build/main/lib/bin/sha256 && cpy src/lib/bin/sha256/sha256.wasm build/module/lib/bin/sha256","copy:wasm:sha512":"cpy src/lib/bin/sha512/sha512.wasm build/main/lib/bin/sha512 && cpy src/lib/bin/sha512/sha512.wasm build/module/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","copy:wasm:ripemd160":"cpy src/lib/bin/ripemd160/ripemd160.wasm build/main/lib/bin/ripemd160 && cpy src/lib/bin/ripemd160/ripemd160.wasm build/module/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy src/lib/bin/secp256k1/secp256k1.wasm build/main/lib/bin/secp256k1 && cpy src/lib/bin/secp256k1/secp256k1.wasm build/module/lib/bin/secp256k1","compile:debug:hashes":"docker run -it libauth-hashes bash","test:unit:fast-check":"nyc --silent ava --match='*[fast-check]*","doc:generate-templates":"node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '1-of-8-tree' > src/lib/transaction/fixtures/templates/1-of-8-tree.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","test:unit:script_tests":"nyc --silent ava --match='*[script_tests]*' --verbose --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","doc:generate-json-schema":"ts-json-schema-generator --path 'src/lib/template/template-types.ts' --type 'AuthenticationTemplate' > src/lib/template/bitauth-authentication-template.schema.json"},"typings":"build/module/index.d.ts","_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"6.14.8","description":"ultra-lightweight library for Bitcoin, Bitcoin Cash, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"_nodeVersion":"12.18.3","dependencies":{},"scripts-info":{"cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","fix":"Try to automatically fix any linting problems","info":"Display information about the package scripts","test":"Lint and unit test the project","bench":"Build the project and run the benchmarks","build":"Clean and rebuild the project","reset":"Delete all untracked files and reset the repo to the last commit","watch":"Watch and rebuild the project on save, then rerun relevant tests","compile":"Compile the WebAssembly binaries and integrate them into src","version":"Bump package.json version, update CHANGELOG.md, tag release","doc:json":"Generate API documentation in typedoc JSON format","prepare-release":"One-step: clean, build, test, publish docs, and prep a release","watch:with-crypto":"Like 'watch', but also including tests for the crypto APIs","compile:debug:secp256k1":"Run the compile:secp256k1 Docker container in interactive mode","compile:inspect:secp256k1":"Format the compile:secp256k1 output for easier review"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.11.1","nyc":"^15.1.0","chuhai":"^1.2.0","cspell":"^4.0.63","eslint":"^7.6.0","rollup":"^2.23.1","bcrypto":"^5.2.0","codecov":"^3.7.2","cpy-cli":"^3.1.1","express":"^4.17.1","hash.js":"^1.1.5","ts-node":"^8.10.2","typedoc":"^0.17.8","elliptic":"^6.5.3","gh-pages":"^3.1.0","open-cli":"^6.0.1","prettier":"^2.0.5","puppeteer":"^5.2.1","secp256k1":"^4.0.2","trash-cli":"^3.1.0","browserify":"16.5.1","fast-check":"^2.1.0","typescript":"^3.9.7","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.7","ava-fast-check":"^2.0.0","@ava/typescript":"^1.1.1","@types/elliptic":"^6.4.12","@types/puppeteer":"^3.0.1","bitcore-lib-cash":"^8.22.0","standard-version":"^8.0.2","@types/browserify":"^12.0.33","source-map-support":"^0.5.19","eslint-plugin-tsdoc":"^0.2.6","@rollup/plugin-alias":"^3.1.1","eslint-plugin-import":"^2.22.0","eslint-config-bitauth":"^2.0.0","eslint-config-prettier":"^6.11.0","@rollup/plugin-commonjs":"^14.0.0","@microsoft/api-extractor":"^7.9.3","eslint-plugin-functional":"^3.0.1","ts-json-schema-generator":"^0.70.2","@bitjson/npm-scripts-info":"^1.0.0","@microsoft/api-documenter":"^7.8.22","@typescript-eslint/parser":"^3.8.0","cz-conventional-changelog":"^3.2.0","@rollup/plugin-node-resolve":"^8.4.0","eslint-plugin-eslint-comments":"^3.2.0","@istanbuljs/nyc-config-typescript":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_1.17.2_1600197173386_0.5350228717097805","host":"s3://npm-registry-packages"}},"1.17.3":{"name":"@bitauth/libauth","version":"1.17.3","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@1.17.3","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"ava":{"files":["!build/module/**"],"timeout":"20s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"nyc":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js","**/*.spec.debug.js"],"extends":"@istanbuljs/nyc-config-typescript"},"dist":{"shasum":"4a29ff6a8b157d10050f0ba3c0f5a062805536d6","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-1.17.3.tgz","fileCount":863,"integrity":"sha512-F8RewY6td3fyIQaUTMO1lV/aWLotB3HZ0UWKRCC+4pJbNCKlh8WLNNkiIPAFn6Mf3sPgYgrUnS3YlLRqMhzv7g==","signatures":[{"sig":"MEUCIDSNkZfPnIeeHb9gRdAPcMDcsE/tnnMJu+egRluHL9nLAiEAws0g4PscL2A1VabkTJFpI3hKMdB7gCj57QcHYYzxfrY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5259060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfksbcCRA9TVsSAnZWagAAkT8P/21HC6cu4uWx54sKhEVu\n+l5fMtFvNg1YGJ1d9hKUl6WvQ+oGjwfw+nEyJ3LwZ7ymp8fGHxLN7ABv9KXZ\nb3QMW35IQ0WuFQG0CLEC2BP9TJufUtozShpNn8ZdxpFsBcA2B7JI20VyzWog\nFU2SHgqe6ITakBVygvgqTQsfd8jj5tniyKWPmUQIjGdhx5ZsoabSMRjAcAOm\n3JOoufXa/I17eGRTvrFx5FnXZMX865IISW724P2eVsh2roFBqBF7iUogIF+C\nT3wCSK8qJfnSWdXgRTSHybxyyS0jpS4uQqdStiAOeRAvMbr6fj1DgZew70GT\nv78ZHbmqHp8Ux3e1FySb2TE/uA1sx7KbmNQcN+W7u2k1IePDDMKRJ8kgGqBX\nJr0398xElkuytjTw6ZEyDk396MR+VXEDHxNZDudGt+Jk70fKRMR94v+nZO2Z\nv5iLVK+0YLkUdVnlW0cYYEV9Fm61KCidm6BDGXcXNsDSsO+9Ul4dCVGsMSUy\nz6j29Ti//FY4NEP0y1J2CHeZslSa19b81US6aRpEh8HBsbvyQrNNN7p2K6zI\nPJR7XFA90b4pzOUpeP4Ukls6JkFwgYvBRbUmI1v15gR6N6pCUKjs6TYyV1vV\nxOoZzT0ELSLQx/XjwY+JIxVaqSPc2gKOxl601fJQ4A11DFuvq/xWG0PKU3pY\nufQW\r\n=n9FO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/main/index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"module":"build/module/index.js","engines":{"node":">=8.9"},"gitHead":"84d93762174170bd916c31f9028699fb6746196c","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","info":"npm-scripts-info","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-s clean && run-p build:*","clean":"trash build test","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s clean build:main build:wasm && yarn build:main -- -w","version":"standard-version","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","cov:check":"nyc report && nyc check-coverage --lines 85 --functions 80 --branches 65","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"nyc --silent ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m","build:main":"tsc -p tsconfig.json","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","build:module":"tsc -p config/tsconfig.module.json","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","watch:module":"run-s clean build:main build:wasm && yarn build:module -- -w","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy src/lib/bin/sha1/sha1.wasm build/main/lib/bin/sha1 && cpy src/lib/bin/sha1/sha1.wasm build/module/lib/bin/sha1","test:unit:fast":"nyc --silent ava --match='!*[fast-check]*' --match='!*[crypto]*' --match='!*[script_tests]*' --match='!*[signing-serialization tests]*' --match='!*[BCH compiler]*' --match='!*[BCH VM]*'","prepare-release":"run-s reset test cov:check doc:html doc:logo doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy src/lib/bin/sha256/sha256.wasm build/main/lib/bin/sha256 && cpy src/lib/bin/sha256/sha256.wasm build/module/lib/bin/sha256","copy:wasm:sha512":"cpy src/lib/bin/sha512/sha512.wasm build/main/lib/bin/sha512 && cpy src/lib/bin/sha512/sha512.wasm build/module/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","copy:wasm:ripemd160":"cpy src/lib/bin/ripemd160/ripemd160.wasm build/main/lib/bin/ripemd160 && cpy src/lib/bin/ripemd160/ripemd160.wasm build/module/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy src/lib/bin/secp256k1/secp256k1.wasm build/main/lib/bin/secp256k1 && cpy src/lib/bin/secp256k1/secp256k1.wasm build/module/lib/bin/secp256k1","compile:debug:hashes":"docker run -it libauth-hashes bash","test:unit:fast-check":"nyc --silent ava --match='*[fast-check]*","doc:generate-templates":"node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '1-of-8-tree' > src/lib/transaction/fixtures/templates/1-of-8-tree.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","test:unit:script_tests":"nyc --silent ava --match='*[script_tests]*' --verbose --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","doc:generate-json-schema":"ts-json-schema-generator --path 'src/lib/template/template-types.ts' --type 'AuthenticationTemplate' > src/lib/template/bitauth-authentication-template.schema.json"},"typings":"build/module/index.d.ts","_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"6.14.8","description":"ultra-lightweight library for Bitcoin, Bitcoin Cash, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"sideEffects":false,"_nodeVersion":"12.18.3","dependencies":{},"scripts-info":{"cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","fix":"Try to automatically fix any linting problems","info":"Display information about the package scripts","test":"Lint and unit test the project","bench":"Build the project and run the benchmarks","build":"Clean and rebuild the project","reset":"Delete all untracked files and reset the repo to the last commit","watch":"Watch and rebuild the project on save, then rerun relevant tests","compile":"Compile the WebAssembly binaries and integrate them into src","version":"Bump package.json version, update CHANGELOG.md, tag release","doc:json":"Generate API documentation in typedoc JSON format","prepare-release":"One-step: clean, build, test, publish docs, and prep a release","watch:with-crypto":"Like 'watch', but also including tests for the crypto APIs","compile:debug:secp256k1":"Run the compile:secp256k1 Docker container in interactive mode","compile:inspect:secp256k1":"Format the compile:secp256k1 output for easier review"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.11.1","nyc":"^15.1.0","chuhai":"^1.2.0","cspell":"^4.0.63","eslint":"^7.6.0","rollup":"^2.23.1","bcrypto":"^5.2.0","codecov":"^3.7.2","cpy-cli":"^3.1.1","express":"^4.17.1","hash.js":"^1.1.5","ts-node":"^8.10.2","typedoc":"^0.17.8","elliptic":"^6.5.3","gh-pages":"^3.1.0","open-cli":"^6.0.1","prettier":"^2.0.5","puppeteer":"^5.2.1","secp256k1":"^4.0.2","trash-cli":"^3.1.0","browserify":"16.5.1","fast-check":"^2.1.0","typescript":"^3.9.7","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.7","ava-fast-check":"^2.0.0","@ava/typescript":"^1.1.1","@types/elliptic":"^6.4.12","@types/puppeteer":"^3.0.1","bitcore-lib-cash":"^8.22.0","standard-version":"^8.0.2","@types/browserify":"^12.0.33","source-map-support":"^0.5.19","eslint-plugin-tsdoc":"^0.2.6","@rollup/plugin-alias":"^3.1.1","eslint-plugin-import":"^2.22.0","eslint-config-bitauth":"^2.0.0","eslint-config-prettier":"^6.11.0","@rollup/plugin-commonjs":"^14.0.0","@microsoft/api-extractor":"^7.9.3","eslint-plugin-functional":"^3.0.1","ts-json-schema-generator":"^0.70.2","@bitjson/npm-scripts-info":"^1.0.0","@microsoft/api-documenter":"^7.8.22","@typescript-eslint/parser":"^3.8.0","cz-conventional-changelog":"^3.2.0","@rollup/plugin-node-resolve":"^8.4.0","eslint-plugin-eslint-comments":"^3.2.0","@istanbuljs/nyc-config-typescript":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_1.17.3_1603454683900_0.25199624824492695","host":"s3://npm-registry-packages"}},"1.18.0":{"name":"@bitauth/libauth","version":"1.18.0","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@1.18.0","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"ava":{"files":["!build/module/**"],"timeout":"20s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"nyc":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js","**/*.spec.debug.js"],"extends":"@istanbuljs/nyc-config-typescript"},"dist":{"shasum":"e1ada70befd9a2aaada27da4cf16413ae33829d4","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-1.18.0.tgz","fileCount":863,"integrity":"sha512-xi5Ejji7Q+SFaPkWz8GPMi5mZLLhFdHkEn10M23vXlRoh2dC/aLEfNsdiDpS4vPWJjWbSg3fzzBb9SGlExnEeg==","signatures":[{"sig":"MEUCIQDSen3Wr2bO+yvvY/aPIGsQgrYDw6pAvtoqR1GMOGWwdQIgaeLpn7hiboTG39HMxF9qOIGo95RqP2fAZp8PHlQgQ7I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5268236,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJYNPCRA9TVsSAnZWagAAo9YQAIh1VIH9qNofIOLevsGn\nHIYQUPEG3vh+BMA7xmt7ntlP6aXDDCfwmjsjMEgDPrmLf+uQAUofjMr+6KRk\na9xfnqhLWWCsNMc5jPDjHQSkDGR0BpftdhXsLuf5Yzg11OVbmBTjFsnG5Ib/\n2wuL/FqVwGbP3J5SXFMTXAFOnENcTqDP3fdC+0A4rh0NqnomwJwqK4/Qhs2Z\nHL7PcuXCmrBnCrjDTQJoOTXMS9lX/zV8YUOv4JXgcXeN+gMr16PoPDPahpYH\naQyb41j6g9Tiv8CGpMgNgAQjMnqcSkwDHM+kNmRpT7Ax0hYueyuVh/CH8erw\nLuo0fNfMwM2bW3rDGlRZC9w0b0RR6qzKZst8uTZz4QiPLDdUX1YeIERFeyIg\nNGW7tlPIRymD7dGZyI8TQe8hevlLnPZub2g9YwhbN1el1uMznz67caRS+YM4\n3xlhBwrOWpsJqfgsYKO/CLgErzya5MGPR4KnrHwlpHySGJUGAmhIuHbbYPHZ\ngc7ZyMHVJNWmHQEkq8ahd+rla5K6eRgs3ChK+kbxEXWhcf46rVk7Ac68P7kC\nzdLrV/EZxewOMc7Gw3f1nh95YjRaLTytCx97OZgJK/7lSIPZoMZdOlPHH8lZ\nfUZ8lV6oiMKNWUCYr4wHaVUr1h5DjCwgqJaQLXJU8JaB/J1Xwh6D92EIqBdi\nDyPc\r\n=3cAG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/main/index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"module":"build/module/index.js","engines":{"node":">=8.9"},"gitHead":"f07ba91d8f05c1766792076e479911c1dc288b01","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","info":"npm-scripts-info","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-s clean && run-p build:*","clean":"trash build test","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s clean build:main build:wasm && yarn build:main -- -w","version":"standard-version","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","cov:check":"nyc report && nyc check-coverage --lines 85 --functions 80 --branches 65","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"nyc --silent ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m","build:main":"tsc -p tsconfig.json","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","build:module":"tsc -p config/tsconfig.module.json","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","watch:module":"run-s clean build:main build:wasm && yarn build:module -- -w","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy src/lib/bin/sha1/sha1.wasm build/main/lib/bin/sha1 && cpy src/lib/bin/sha1/sha1.wasm build/module/lib/bin/sha1","test:unit:fast":"nyc --silent ava --match='!*[fast-check]*' --match='!*[crypto]*' --match='!*[script_tests]*' --match='!*[signing-serialization tests]*' --match='!*[BCH compiler]*' --match='!*[BCH VM]*'","prepare-release":"run-s reset test cov:check doc:html doc:logo doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy src/lib/bin/sha256/sha256.wasm build/main/lib/bin/sha256 && cpy src/lib/bin/sha256/sha256.wasm build/module/lib/bin/sha256","copy:wasm:sha512":"cpy src/lib/bin/sha512/sha512.wasm build/main/lib/bin/sha512 && cpy src/lib/bin/sha512/sha512.wasm build/module/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","copy:wasm:ripemd160":"cpy src/lib/bin/ripemd160/ripemd160.wasm build/main/lib/bin/ripemd160 && cpy src/lib/bin/ripemd160/ripemd160.wasm build/module/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy src/lib/bin/secp256k1/secp256k1.wasm build/main/lib/bin/secp256k1 && cpy src/lib/bin/secp256k1/secp256k1.wasm build/module/lib/bin/secp256k1","compile:debug:hashes":"docker run -it libauth-hashes bash","test:unit:fast-check":"nyc --silent ava --match='*[fast-check]*","doc:generate-templates":"node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '1-of-8-tree' > src/lib/transaction/fixtures/templates/1-of-8-tree.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","test:unit:script_tests":"nyc --silent ava --match='*[script_tests]*' --verbose --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","doc:generate-json-schema":"ts-json-schema-generator --path 'src/lib/template/template-types.ts' --type 'AuthenticationTemplate' > src/lib/template/bitauth-authentication-template.schema.json"},"typings":"build/module/index.d.ts","_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"6.14.10","description":"ultra-lightweight library for Bitcoin, Bitcoin Cash, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"sideEffects":false,"_nodeVersion":"14.15.4","dependencies":{},"scripts-info":{"cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","fix":"Try to automatically fix any linting problems","info":"Display information about the package scripts","test":"Lint and unit test the project","bench":"Build the project and run the benchmarks","build":"Clean and rebuild the project","reset":"Delete all untracked files and reset the repo to the last commit","watch":"Watch and rebuild the project on save, then rerun relevant tests","compile":"Compile the WebAssembly binaries and integrate them into src","version":"Bump package.json version, update CHANGELOG.md, tag release","doc:json":"Generate API documentation in typedoc JSON format","prepare-release":"One-step: clean, build, test, publish docs, and prep a release","watch:with-crypto":"Like 'watch', but also including tests for the crypto APIs","compile:debug:secp256k1":"Run the compile:secp256k1 Docker container in interactive mode","compile:inspect:secp256k1":"Format the compile:secp256k1 output for easier review"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.11.1","nyc":"^15.1.0","chuhai":"^1.2.0","cspell":"^4.0.63","eslint":"^7.6.0","rollup":"^2.23.1","bcrypto":"^5.2.0","codecov":"^3.7.2","cpy-cli":"^3.1.1","express":"^4.17.1","hash.js":"^1.1.5","ts-node":"^8.10.2","typedoc":"^0.17.8","elliptic":"^6.5.3","gh-pages":"^3.1.0","open-cli":"^6.0.1","prettier":"^2.0.5","puppeteer":"^5.2.1","secp256k1":"^4.0.2","trash-cli":"^3.1.0","browserify":"16.5.1","fast-check":"^2.1.0","typescript":"^3.9.7","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.7","ava-fast-check":"^2.0.0","@ava/typescript":"^1.1.1","@types/elliptic":"^6.4.12","@types/puppeteer":"^3.0.1","bitcore-lib-cash":"^8.22.0","standard-version":"^8.0.2","@types/browserify":"^12.0.33","source-map-support":"^0.5.19","eslint-plugin-tsdoc":"^0.2.6","@rollup/plugin-alias":"^3.1.1","eslint-plugin-import":"^2.22.0","eslint-config-bitauth":"^2.0.0","eslint-config-prettier":"^6.11.0","@rollup/plugin-commonjs":"^14.0.0","@microsoft/api-extractor":"^7.9.3","eslint-plugin-functional":"^3.0.1","ts-json-schema-generator":"^0.70.2","@bitjson/npm-scripts-info":"^1.0.0","@microsoft/api-documenter":"^7.8.22","@typescript-eslint/parser":"^3.8.0","cz-conventional-changelog":"^3.2.0","@rollup/plugin-node-resolve":"^8.4.0","eslint-plugin-eslint-comments":"^3.2.0","@istanbuljs/nyc-config-typescript":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_1.18.0_1613071182653_0.961279709110807","host":"s3://npm-registry-packages"}},"1.18.1":{"name":"@bitauth/libauth","version":"1.18.1","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@1.18.1","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"ava":{"files":["!build/module/**"],"timeout":"20s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"nyc":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js","**/*.spec.debug.js"],"extends":"@istanbuljs/nyc-config-typescript"},"dist":{"shasum":"b1c632ed85f73c16a0ff89d81e8a92809fa15108","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-1.18.1.tgz","fileCount":1433,"integrity":"sha512-s7evdGbdGAnGkv7xt6mCbcWTTNvburc1Z9EX/8JKwcRLqofjDs7VAEz+RP3a8OGEo4MWFV6Ydqu/BeJjIA7Kdg==","signatures":[{"sig":"MEUCIG5RMB+2ABy+nBg9g9SphhsbxFuOWHTSH7xnDpgkpHD4AiEA+2/nUbrl18lZKI6yIkQUKISjXWqp2lmwTxGP0RkJnbo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10058647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOWuZCRA9TVsSAnZWagAAtV0P/iLXj0lS+KmOE7XbVhQM\nD7ivaiNVsMk5czDjEne1zn+s66L1XBp6VgT2nT6RpP+cxXpXZGg/cvwxvjrF\nKTN1xJi7BUrMbG8TVPy62fI+B4PZZfN5lmBTXxPGP+anX/+etLJ8NzMDYAwn\n3LQiDHlZIV9/hSNNyAIcZTucCAOvzre+6J7gvgZ31jirD1NxUfQNy5ZN8D8I\nmfikJE+NqXLJQAzUCOw1uf5roqNtPDRG7uV4R2pAK5uEnPOkXQJ39G1rqJiH\nIHB1r0M2wb6wAWAD/yfatdticSbxg91wh7GH9JH+eye/z0pWpAkyv44JFgu/\nP9eM/kRrEWEj2uqMDXv40o0A0p2zdYV8avm4RqOSujV5CWT55iwNBYoMVecJ\nJnMfA54HMwmyaIX0PBrf9rsBGdfJq9ZzAcEg+h0CrT7v2Bx0EyZFRpRre6bV\nwQfywVlH0Qn1YAnlrolWxbtp58kSa55rUvVYcVLn6vQ2tuyggqnyqn1o4WaQ\nDsVXJXR0GEn1YHG20pIycr8n1NdtmMTQEQ72tSzL50Ov35BJau72kWbIB2tQ\nXYYp/TKbqUmElTowLHZ1DjHppR6RzdmqbNxfZjDLPTJsEIQHhlvpftUoGCY0\nmrxsfpaqqGeIDb7RRikwYydL31fY0FD1UyQV7HVBxLHX6/dX9iPpXh1f9OGu\nXWRv\r\n=uSnb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/main/index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"module":"build/module/index.js","engines":{"node":">=8.9"},"gitHead":"13454f1f6b3d9e87b6361cc71f082950fe6abf3a","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","info":"npm-scripts-info","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-s clean && run-p build:*","clean":"trash build test","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s clean build:main build:wasm && yarn build:main -- -w","version":"standard-version","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","cov:check":"nyc report && nyc check-coverage --lines 85 --functions 80 --branches 65","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"nyc --silent ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m","build:main":"tsc -p tsconfig.json","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","build:module":"tsc -p config/tsconfig.module.json","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","watch:module":"run-s clean build:main build:wasm && yarn build:module -- -w","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy src/lib/bin/sha1/sha1.wasm build/main/lib/bin/sha1 && cpy src/lib/bin/sha1/sha1.wasm build/module/lib/bin/sha1","test:unit:fast":"nyc --silent ava --match='!*[fast-check]*' --match='!*[crypto]*' --match='!*[script_tests]*' --match='!*[signing-serialization tests]*' --match='!*[BCH compiler]*' --match='!*[BCH VM]*'","prepare-release":"run-s reset test cov:check doc:html doc:logo doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy src/lib/bin/sha256/sha256.wasm build/main/lib/bin/sha256 && cpy src/lib/bin/sha256/sha256.wasm build/module/lib/bin/sha256","copy:wasm:sha512":"cpy src/lib/bin/sha512/sha512.wasm build/main/lib/bin/sha512 && cpy src/lib/bin/sha512/sha512.wasm build/module/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","copy:wasm:ripemd160":"cpy src/lib/bin/ripemd160/ripemd160.wasm build/main/lib/bin/ripemd160 && cpy src/lib/bin/ripemd160/ripemd160.wasm build/module/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy src/lib/bin/secp256k1/secp256k1.wasm build/main/lib/bin/secp256k1 && cpy src/lib/bin/secp256k1/secp256k1.wasm build/module/lib/bin/secp256k1","compile:debug:hashes":"docker run -it libauth-hashes bash","test:unit:fast-check":"nyc --silent ava --match='*[fast-check]*","doc:generate-templates":"node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '1-of-8-tree' > src/lib/transaction/fixtures/templates/1-of-8-tree.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","test:unit:script_tests":"nyc --silent ava --match='*[script_tests]*' --verbose --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","doc:generate-json-schema":"ts-json-schema-generator --path 'src/lib/template/template-types.ts' --type 'AuthenticationTemplate' > src/lib/template/bitauth-authentication-template.schema.json"},"typings":"build/module/index.d.ts","_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"7.6.0","description":"ultra-lightweight library for Bitcoin, Bitcoin Cash, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"sideEffects":false,"_nodeVersion":"14.16.0","dependencies":{},"scripts-info":{"cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","fix":"Try to automatically fix any linting problems","info":"Display information about the package scripts","test":"Lint and unit test the project","bench":"Build the project and run the benchmarks","build":"Clean and rebuild the project","reset":"Delete all untracked files and reset the repo to the last commit","watch":"Watch and rebuild the project on save, then rerun relevant tests","compile":"Compile the WebAssembly binaries and integrate them into src","version":"Bump package.json version, update CHANGELOG.md, tag release","doc:json":"Generate API documentation in typedoc JSON format","prepare-release":"One-step: clean, build, test, publish docs, and prep a release","watch:with-crypto":"Like 'watch', but also including tests for the crypto APIs","compile:debug:secp256k1":"Run the compile:secp256k1 Docker container in interactive mode","compile:inspect:secp256k1":"Format the compile:secp256k1 output for easier review"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.11.1","nyc":"^15.1.0","chuhai":"^1.2.0","cspell":"^4.0.63","eslint":"^7.6.0","rollup":"^2.23.1","bcrypto":"^5.2.0","codecov":"^3.7.2","cpy-cli":"^3.1.1","express":"^4.17.1","hash.js":"^1.1.5","ts-node":"^8.10.2","typedoc":"^0.17.8","elliptic":"^6.5.3","gh-pages":"^3.1.0","open-cli":"^6.0.1","prettier":"^2.0.5","puppeteer":"^5.2.1","secp256k1":"^4.0.2","trash-cli":"^3.1.0","browserify":"16.5.1","fast-check":"^2.1.0","typescript":"^3.9.7","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.7","ava-fast-check":"^2.0.0","@ava/typescript":"^1.1.1","@types/elliptic":"^6.4.12","@types/puppeteer":"^3.0.1","bitcore-lib-cash":"^8.22.0","standard-version":"^8.0.2","@types/browserify":"^12.0.33","source-map-support":"^0.5.19","eslint-plugin-tsdoc":"^0.2.6","@rollup/plugin-alias":"^3.1.1","eslint-plugin-import":"^2.22.0","eslint-config-bitauth":"^2.0.0","eslint-config-prettier":"^6.11.0","@rollup/plugin-commonjs":"^14.0.0","@microsoft/api-extractor":"^7.9.3","eslint-plugin-functional":"^3.0.1","ts-json-schema-generator":"^0.70.2","@bitjson/npm-scripts-info":"^1.0.0","@microsoft/api-documenter":"^7.8.22","@typescript-eslint/parser":"^3.8.0","cz-conventional-changelog":"^3.2.0","@rollup/plugin-node-resolve":"^8.4.0","eslint-plugin-eslint-comments":"^3.2.0","@istanbuljs/nyc-config-typescript":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_1.18.1_1614375832678_0.6488613106773755","host":"s3://npm-registry-packages"}},"1.19.0":{"name":"@bitauth/libauth","version":"1.19.0","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@1.19.0","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"ava":{"files":["!build/module/**"],"timeout":"20s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"nyc":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js","**/*.spec.debug.js"],"extends":"@istanbuljs/nyc-config-typescript"},"dist":{"shasum":"61193fb44d95ececd195a4feadfce0b0ba9f981d","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-1.19.0.tgz","fileCount":1433,"integrity":"sha512-UtfCijrCcPCQdstlxiv29hBNuYs/1hqeDMgS6CPjxps7r7/y/0p9TRGDx65fczlO12Pa5rQdWO/GzwsXo03uIg==","signatures":[{"sig":"MEUCIQCc0875fVm/cmaCgkFyWkwnMc5RYeYGm4D7p4RIBttQcgIgI66cCuOPX/9f+K8vEwzYXt/niXBw9cW4CvshUO2gOjQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10062602,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsUP1CRA9TVsSAnZWagAAek8P/2YdC2VRxCUNqOcDZQzp\nyDBat6xF373ROm3EFVEJlpZf5N5Wp9oD5yQDR2RduQzJPpyIw3Oggw43vUef\n74iBY6Z5VbnZfr7SeX5YatnINlCEjGGuPreVoeo/TwWUNhs/Xnc7KGUdL2zN\nGN0eOM0voV8rvBzIRIm5x+bzZjnBR4pqYtmBpdEt8/BoVFJkxXSxM5ULHM5b\na9Z0FejqaeuDEfDIqWRamymoHNlFdcOiba86xeblGcPHLpmP1ywUoYlfPlkB\nYKyhJt0ENWif9iQakvYQTDB1LwPUE1sNaJBdpdmUK/IQr2BY/OtutinefbkY\nUy5mZx3gzLdb6O3nZuEWM1FGRQyGMX3QUTGfTYklsjM7QLWioIlfGs09h7mT\nbYC7Q5Pg8v9za+3kwC3Elm6ostPGJxue7PE8/rCbWo6lxilqd7EsPKW4zl71\nVexqRPp/AmxaPUVtw5elj3koT4nsezkQ9XIkhfwv3pV639Wn1XeCb7t8zXon\nW9eetAZ3b9r6gTVp1H1VC+w9u89PwFg5hmvjfscOsPk57x37//iK05HaTrk1\nI05HtTIyXI1lnmNwZ+IQWbXrtUel5BnUBFhSHe7gIKvYJQXYZFt7K5xMxJ4M\nAi8Cjhi+4zr8W9Bf1FjinIVkbZsEvLjwV24btdCBuqr35yZnuASIVIm6Zs1N\nxGWc\r\n=s8Yz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/main/index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"module":"build/module/index.js","engines":{"node":">=8.9"},"gitHead":"411ff61e8af8a032c9e3278e7d9d93b5a55bdbdf","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","info":"npm-scripts-info","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-s clean && run-p build:*","clean":"trash build test","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s clean build:main build:wasm && yarn build:main -- -w","version":"standard-version","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","cov:check":"nyc report && nyc check-coverage --lines 85 --functions 80 --branches 65","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"nyc --silent ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m","build:main":"tsc -p tsconfig.json","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","build:module":"tsc -p config/tsconfig.module.json","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","watch:module":"run-s clean build:main build:wasm && yarn build:module -- -w","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy src/lib/bin/sha1/sha1.wasm build/main/lib/bin/sha1 && cpy src/lib/bin/sha1/sha1.wasm build/module/lib/bin/sha1","test:unit:fast":"nyc --silent ava --match='!*[fast-check]*' --match='!*[crypto]*' --match='!*[script_tests]*' --match='!*[signing-serialization tests]*' --match='!*[BCH compiler]*' --match='!*[BCH VM]*'","prepare-release":"run-s reset test cov:check doc:html doc:logo doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy src/lib/bin/sha256/sha256.wasm build/main/lib/bin/sha256 && cpy src/lib/bin/sha256/sha256.wasm build/module/lib/bin/sha256","copy:wasm:sha512":"cpy src/lib/bin/sha512/sha512.wasm build/main/lib/bin/sha512 && cpy src/lib/bin/sha512/sha512.wasm build/module/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","copy:wasm:ripemd160":"cpy src/lib/bin/ripemd160/ripemd160.wasm build/main/lib/bin/ripemd160 && cpy src/lib/bin/ripemd160/ripemd160.wasm build/module/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy src/lib/bin/secp256k1/secp256k1.wasm build/main/lib/bin/secp256k1 && cpy src/lib/bin/secp256k1/secp256k1.wasm build/module/lib/bin/secp256k1","compile:debug:hashes":"docker run -it libauth-hashes bash","test:unit:fast-check":"nyc --silent ava --match='*[fast-check]*","doc:generate-templates":"node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '1-of-8-tree' > src/lib/transaction/fixtures/templates/1-of-8-tree.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","test:unit:script_tests":"nyc --silent ava --match='*[script_tests]*' --verbose --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","doc:generate-json-schema":"ts-json-schema-generator --path 'src/lib/template/template-types.ts' --type 'AuthenticationTemplate' > src/lib/template/bitauth-authentication-template.schema.json"},"typings":"build/module/index.d.ts","_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"8.1.0","description":"ultra-lightweight library for Bitcoin, Bitcoin Cash, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"sideEffects":false,"_nodeVersion":"17.0.1","dependencies":{},"scripts-info":{"cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","fix":"Try to automatically fix any linting problems","info":"Display information about the package scripts","test":"Lint and unit test the project","bench":"Build the project and run the benchmarks","build":"Clean and rebuild the project","reset":"Delete all untracked files and reset the repo to the last commit","watch":"Watch and rebuild the project on save, then rerun relevant tests","compile":"Compile the WebAssembly binaries and integrate them into src","version":"Bump package.json version, update CHANGELOG.md, tag release","doc:json":"Generate API documentation in typedoc JSON format","prepare-release":"One-step: clean, build, test, publish docs, and prep a release","watch:with-crypto":"Like 'watch', but also including tests for the crypto APIs","compile:debug:secp256k1":"Run the compile:secp256k1 Docker container in interactive mode","compile:inspect:secp256k1":"Format the compile:secp256k1 output for easier review"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.11.1","nyc":"^15.1.0","chuhai":"^1.2.0","cspell":"^4.0.63","eslint":"^7.6.0","rollup":"^2.23.1","bcrypto":"^5.2.0","codecov":"^3.7.2","cpy-cli":"^3.1.1","express":"^4.17.1","hash.js":"^1.1.5","ts-node":"^8.10.2","typedoc":"^0.17.8","elliptic":"^6.5.3","gh-pages":"^3.1.0","open-cli":"^6.0.1","prettier":"^2.0.5","puppeteer":"^5.2.1","secp256k1":"^4.0.2","trash-cli":"^3.1.0","browserify":"16.5.1","fast-check":"^2.1.0","typescript":"^3.9.7","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.7","ava-fast-check":"^2.0.0","@ava/typescript":"^1.1.1","@types/elliptic":"^6.4.12","@types/puppeteer":"^3.0.1","bitcore-lib-cash":"^8.22.0","standard-version":"^8.0.2","@types/browserify":"^12.0.33","source-map-support":"^0.5.19","eslint-plugin-tsdoc":"^0.2.6","@rollup/plugin-alias":"^3.1.1","eslint-plugin-import":"^2.22.0","eslint-config-bitauth":"^2.0.0","eslint-config-prettier":"^6.11.0","@rollup/plugin-commonjs":"^14.0.0","@microsoft/api-extractor":"^7.9.3","eslint-plugin-functional":"^3.0.1","ts-json-schema-generator":"^0.70.2","@bitjson/npm-scripts-info":"^1.0.0","@microsoft/api-documenter":"^7.8.22","@typescript-eslint/parser":"^3.8.0","cz-conventional-changelog":"^3.2.0","@rollup/plugin-node-resolve":"^8.4.0","eslint-plugin-eslint-comments":"^3.2.0","@istanbuljs/nyc-config-typescript":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_1.19.0_1639007221495_0.08036610141022771","host":"s3://npm-registry-packages"}},"1.19.1":{"name":"@bitauth/libauth","version":"1.19.1","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@1.19.1","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"ava":{"files":["!build/module/**"],"timeout":"20s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"nyc":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js","**/*.spec.debug.js"],"extends":"@istanbuljs/nyc-config-typescript"},"dist":{"shasum":"713751bbc09815b667f8fe00a1cc5b0f3bf45dd1","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-1.19.1.tgz","fileCount":1433,"integrity":"sha512-R524tD5VwOt3QRHr7N518nqTVR/HKgfWL4LypekcGuNQN8R4PWScvuRcRzrY39A28kLztMv+TJdiKuMNbkU1ug==","signatures":[{"sig":"MEQCIHEV1dbxU04IysuQ2WbGCzCfDMFXe7UEbq2CGrd6HnFEAiAtchY8f9hiE5knpL3sRhRlTKNJpjxZY1KTJUd7en8saQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10071940,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+JZbCRA9TVsSAnZWagAAQAgP/RntEHT8CjNDMgCotWRS\nCVNq7KwRaCPNa9LY/7QBIAWiFRPwipwLVKgFQQAXoSwMAp2Xc6U3U2oT9LZL\ne8WJ0LpYTHP8LwwCLfk8KcGp2i5lwIErUEeY/PW93MHTADtmMmubdib0pw4i\n3aTEwu7tXRVlC3zkVpusy7Ffpr4ovC88RmnPAWObtX74NkhnskDi7vh/jCvG\nRnG5njodLKaT0KP9FEOafHEHCn4laDnCV+AKTPm0VrXJ3/tC8r+c8u29ZjWr\nExfDarO6GFpfIpxNzipvAPErGt7Qz/hQpdlS0ZYEvuXqYNbY5ENJnfTcgr5y\n1q3lMiUKDEJ0ZSvcbb+snOCccKtajljxHCwSl46Cpd4hdaoeKFJ1EQfETd34\nuByD35PpDNeaXVXppBBOzgIK+sXLR+5NkT7da3/lWWtIdFVUL4+C8VsAPHjI\nOQbZemYhMD10Kc3TYZDyETQwhyAylDaWjNifHyaBRciq/SCMW6BJlCJN9zTa\nmDylfFfWcOj1sxQJJLtRH6bCB8Yk0Jj/Q3l1IAk9tKK/YTpqb7jA1xAYr40U\nn+9F1ZruajNH73sx0gfvQFaKZLNIiQ1slEh+wfJeg/Jz5tJ1Am8IUHEWex2o\nkS7hwyIU+TboyfMhRY+hz9fwG6o2GUb+xJFjZE/UFXJqzJBCxODvR06hA4Dr\nERGF\r\n=eprV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/main/index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"module":"build/module/index.js","engines":{"node":">=8.9"},"gitHead":"c4322bc2c78698af87eb9b0e5e5dc3605dd4adda","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","info":"npm-scripts-info","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-s clean && run-p build:*","clean":"trash build test","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s clean build:main build:wasm && yarn build:main -- -w","version":"standard-version","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","cov:check":"nyc report && nyc check-coverage --lines 85 --functions 80 --branches 65","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"nyc --silent ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m","build:main":"tsc -p tsconfig.json","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","build:module":"tsc -p config/tsconfig.module.json","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","watch:module":"run-s clean build:main build:wasm && yarn build:module -- -w","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy src/lib/bin/sha1/sha1.wasm build/main/lib/bin/sha1 && cpy src/lib/bin/sha1/sha1.wasm build/module/lib/bin/sha1","test:unit:fast":"nyc --silent ava --match='!*[fast-check]*' --match='!*[crypto]*' --match='!*[script_tests]*' --match='!*[signing-serialization tests]*' --match='!*[BCH compiler]*' --match='!*[BCH VM]*'","prepare-release":"run-s reset test cov:check doc:html doc:logo doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy src/lib/bin/sha256/sha256.wasm build/main/lib/bin/sha256 && cpy src/lib/bin/sha256/sha256.wasm build/module/lib/bin/sha256","copy:wasm:sha512":"cpy src/lib/bin/sha512/sha512.wasm build/main/lib/bin/sha512 && cpy src/lib/bin/sha512/sha512.wasm build/module/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","copy:wasm:ripemd160":"cpy src/lib/bin/ripemd160/ripemd160.wasm build/main/lib/bin/ripemd160 && cpy src/lib/bin/ripemd160/ripemd160.wasm build/module/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy src/lib/bin/secp256k1/secp256k1.wasm build/main/lib/bin/secp256k1 && cpy src/lib/bin/secp256k1/secp256k1.wasm build/module/lib/bin/secp256k1","compile:debug:hashes":"docker run -it libauth-hashes bash","test:unit:fast-check":"nyc --silent ava --match='*[fast-check]*","doc:generate-templates":"node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '1-of-8-tree' > src/lib/transaction/fixtures/templates/1-of-8-tree.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","test:unit:script_tests":"nyc --silent ava --match='*[script_tests]*' --verbose --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","doc:generate-json-schema":"ts-json-schema-generator --path 'src/lib/template/template-types.ts' --type 'AuthenticationTemplate' > src/lib/template/bitauth-authentication-template.schema.json"},"typings":"build/module/index.d.ts","_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"8.3.1","description":"ultra-lightweight library for Bitcoin, Bitcoin Cash, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"sideEffects":false,"_nodeVersion":"17.4.0","dependencies":{},"scripts-info":{"cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","fix":"Try to automatically fix any linting problems","info":"Display information about the package scripts","test":"Lint and unit test the project","bench":"Build the project and run the benchmarks","build":"Clean and rebuild the project","reset":"Delete all untracked files and reset the repo to the last commit","watch":"Watch and rebuild the project on save, then rerun relevant tests","compile":"Compile the WebAssembly binaries and integrate them into src","version":"Bump package.json version, update CHANGELOG.md, tag release","doc:json":"Generate API documentation in typedoc JSON format","prepare-release":"One-step: clean, build, test, publish docs, and prep a release","watch:with-crypto":"Like 'watch', but also including tests for the crypto APIs","compile:debug:secp256k1":"Run the compile:secp256k1 Docker container in interactive mode","compile:inspect:secp256k1":"Format the compile:secp256k1 output for easier review"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.11.1","nyc":"^15.1.0","chuhai":"^1.2.0","cspell":"^4.0.63","eslint":"^7.6.0","rollup":"^2.23.1","bcrypto":"^5.2.0","codecov":"^3.7.2","cpy-cli":"^3.1.1","express":"^4.17.1","hash.js":"^1.1.5","ts-node":"^8.10.2","typedoc":"^0.17.8","elliptic":"^6.5.3","gh-pages":"^3.1.0","open-cli":"^6.0.1","prettier":"^2.0.5","puppeteer":"^5.2.1","secp256k1":"^4.0.2","trash-cli":"^3.1.0","browserify":"16.5.1","fast-check":"^2.1.0","typescript":"^3.9.7","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.7","ava-fast-check":"^2.0.0","@ava/typescript":"^1.1.1","@types/elliptic":"^6.4.12","@types/puppeteer":"^3.0.1","bitcore-lib-cash":"^8.22.0","standard-version":"^8.0.2","@types/browserify":"^12.0.33","source-map-support":"^0.5.19","eslint-plugin-tsdoc":"^0.2.6","@rollup/plugin-alias":"^3.1.1","eslint-plugin-import":"^2.22.0","eslint-config-bitauth":"^2.0.0","eslint-config-prettier":"^6.11.0","@rollup/plugin-commonjs":"^14.0.0","@microsoft/api-extractor":"^7.9.3","eslint-plugin-functional":"^3.0.1","ts-json-schema-generator":"^0.70.2","@bitjson/npm-scripts-info":"^1.0.0","@microsoft/api-documenter":"^7.8.22","@typescript-eslint/parser":"^3.8.0","cz-conventional-changelog":"^3.2.0","@rollup/plugin-node-resolve":"^8.4.0","eslint-plugin-eslint-comments":"^3.2.0","@istanbuljs/nyc-config-typescript":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_1.19.1_1643681371577_0.9431613132415164","host":"s3://npm-registry-packages"}},"2.0.0-alpha.0":{"name":"@bitauth/libauth","version":"2.0.0-alpha.0","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@2.0.0-alpha.0","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js"]},"ava":{"timeout":"20s","failFast":true,"typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules"],"workerThreads":false},"dist":{"shasum":"bb5c43a7bca4fcb2e07b602bddeef954aa3d3048","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-2.0.0-alpha.0.tgz","fileCount":511,"integrity":"sha512-/2N3GX7tXRthi9htaomBj+rAUxL+B9HDK2CcZOYl4Mu4zrMJjHTbG91iovecKgFiYhQJIVs6GVZ1iPYccPSFyA==","signatures":[{"sig":"MEQCIHMyTK+H8mxgLkT9Vd2S0uXZldCuZTIc2LHPKt1d30FRAiAeEoAfdAyHnt4p8APasyptLPzw//tSHmUOfrPTclQDdg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3550179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJif3rLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrCRxAAkb2UB8YrpwhTg8d3Zv5G3/dkdy+iejhTrelVEysdunTFdlgn\r\nT3nNrQCfD9+FlB+B8uxLLtQYqzPhQjA0DM0UPidZwI1V4T5eM929FmtV35QE\r\noChB+UwjggYY45xPPOvn94cZS/22NI1YFNjukflDkAxK4vw4Vq3BJFajLpTg\r\npxVuWjmf4D2mpntc0hBAS53tk6w8C5LjYrqrLuIYHRkEMsDZx5GnaVVSg+MU\r\nDLqAIzuVGMbQ7UnGLTheuekZPShzYlez/9508IpGGurLEXyXjmtddh0NgkDK\r\nHmRfvLU0bXIxuzkXYhzfUQqjc5PjLDg5emNRJRhK9t2Daf/C/QrMDgnd2ag5\r\nJkvSxiBAGEk06zOKZyFbJ+WJaS97SwNpiBQGVGHsnhYSO7Tg1YJcissizqe7\r\nPijDEV9DSxaks5NpFY6S7tGSBQSHT69VzCydGKrWk0qTrZiB8QSYNtoEmi8L\r\n+3dvJoqEWC68EKwJ9EnkAG3IaQm6TYj7Xg0JM8mruVu0CneOz9vDtg8NyUZf\r\nf7WrXoaQy95cWJeVdKT4/rdX1dNZv2O2yaCNT6C12qAQ+Twt4xCGIY4gRHNf\r\noWnBwDCm0LOStd5IRKu2Radgob2PZCKXsmoEJISXxg890id7+WCRL/c5X5FQ\r\nPVnAdyA7S8bfRiFORoBgoyWXGEHwr1Kh5Ww=\r\n=an4J\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"exports":"./build/index.js","gitHead":"94cc43c0de2ede950c8b9e27f8955d3aa37aa1ab","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","info":"npm-scripts-info","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-p build:*","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s build:tsc build:wasm && yarn build:tsc -- -w","version":"standard-version","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","build:tsc":"tsc -p tsconfig.json","cov:check":"c8 report && c8 check-coverage --lines 90 --functions 90 --branches 90","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","gen:graph":"mkdir -p scratch && madge --image scratch/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"c8 ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","gen:schema":"run-p gen:schema:*","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","test-node18":"NODE_OPTIONS=--openssl-legacy-provider run-s build test:*","test:cycles":"madge --circular build/index.js","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","test:schemas":"run-s gen:schema && if [ `git status src/lib/schema --porcelain | head -c1 | wc -c` -gt 0 ]; then echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\" && false; fi && echo \"Schemas are up to date.\"","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"run-s build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb-tests":"run-s build gen:vmb-tests:*","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","version:alpha":"standard-version --prerelease alpha","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","prepare-release":"run-s reset test cov:check doc:html doc:logo doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256","copy:wasm:sha512":"cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","gen:vmb-tests:bch":"node 'build/lib/vmb-tests/bch-vmb-tests.spec.helper.js' 'src/lib/vmb-tests/generated/bch' && prettier 'src/lib/vmb-tests/generated/bch/*.json' --write","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","test:unit:vmb_test":"node 'build/lib/vmb-tests/bch-vmb-test.spec.helper.js'","copy:wasm:ripemd160":"cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1","test:unit:vmb_tests":"c8 ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial","compile:debug:hashes":"docker run -it libauth-hashes bash","prepare-release:alpha":"run-s reset test cov:check version:alpha","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","gen:schema:authentication-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/compiler/template-types.ts' --type 'AuthenticationTemplate' > src/lib/schema/authentication-template.schema.json && prettier 'src/lib/schema/authentication-template.schema.json' --write && ajv compile -s src/lib/schema/authentication-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-authentication-template.js && prettier 'src/lib/schema/ajv/validate-authentication-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-authentication-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/bch-vmb-tests.ts","src/lib/schema/generated/*.js"],"options":{"printWidth":400}},{"files":["src/lib/vmb-tests/generated/bch/*.json"],"options":{"printWidth":10000}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"8.6.0","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"c8":"^7.11.2","ava":"^4.1.0","madge":"^5.0.1","chuhai":"^1.2.0","cspell":"^5.20.0","eslint":"8.15.0","rollup":"^2.73.0","ajv-cli":"^5.0.0","bcrypto":"^5.4.0","codecov":"^3.8.3","cpy-cli":"^4.1.0","express":"^4.18.1","hash.js":"^1.1.5","typedoc":"^0.22.13","elliptic":"^6.5.4","gh-pages":"^4.0.0","open-cli":"^7.0.1","prettier":"^2.6.2","puppeteer":"^14.1.0","secp256k1":"^4.0.3","browserify":"16.5.1","fast-check":"^2.25.0","typescript":"^4.6.4","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.13","ava-fast-check":"^5.0.0","@ava/typescript":"^3.0.1","@types/elliptic":"^6.4.14","@types/puppeteer":"^5.4.6","bitcore-lib-cash":"^8.25.28","standard-version":"^9.3.2","@types/browserify":"^12.0.37","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.14","@rollup/plugin-alias":"^3.1.9","eslint-plugin-import":"^2.26.0","eslint-config-bitauth":"^3.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@rollup/plugin-commonjs":"^22.0.0","@microsoft/api-extractor":"^7.23.2","eslint-plugin-functional":"^4.2.1","ts-json-schema-generator":"^1.0.0","@microsoft/api-documenter":"^7.17.13","@typescript-eslint/parser":"^5.23.0","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^13.3.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^5.23.0"},"_npmOperationalInternal":{"tmp":"tmp/libauth_2.0.0-alpha.0_1652521675432_0.8005050292883293","host":"s3://npm-registry-packages"}},"2.0.0-alpha.1":{"name":"@bitauth/libauth","version":"2.0.0-alpha.1","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@2.0.0-alpha.1","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js"]},"ava":{"timeout":"20s","failFast":true,"typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules"],"workerThreads":false},"dist":{"shasum":"40001bf315fea5ad6dbe5dcb833f45bd4679b1ce","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-2.0.0-alpha.1.tgz","fileCount":514,"integrity":"sha512-vazRIybJfU5napr3AU40v19+QBvIYx9HVgx5usI1J6OIh5WPLGT4cfymJQOKH6Bu4qPZU9GWz/VsgfM3DyQ5Hg==","signatures":[{"sig":"MEUCIQCK8X98Tft7tgfRv2fO1kI1Nh/kQ1XJiwCzma1vphYvegIgZtjfaTrhgqKehlSu7KhT58RaocRYckZOrnacrzuhRss=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3469269,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihdOJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmowoA/+KlTKPy0rGlWXccSNbi/IEFDOV04/bk2wg+SC2CX/gdxv6CRU\r\nnriUp1uodpB153cDmdMr5Gxo18G5vTdvvoFPxVyZzVq0rOjIwghWIS5WG+N6\r\n5x2G7CBSqXWYlqZfoS/F66/sDm0EV3szpsdU/y5N1Sp4kxNvdLKmexrx1/nw\r\nm/a7+rAqLR4oH6gPzbw1ArjhxayBr/0BIQ65KWnxci7/Pfe9fj9Fz9KhQ1UT\r\nXt7ne3yH3yBGFvdd7t3x0E60tmeUjmpaXkvTCeSMgJT2IMBLjRYDb5RseZJH\r\nMaQzz1FVotpPwS/Y7zOIdf27lb1okbpHYhQc49BBBoa/BfRyKWy2DvlVG+hd\r\n1DdUm+HDKYip0Y0EHr4wqmNVGHT5Xsny7kKBfwdV4TMY6uWfZTgmgpg7FJ47\r\nfBBkIM+V6PS0Njnp+ZjhSBGYEeYvXLzuU12sUlmWQ0+jEyWrRyWjgmQPSqcd\r\nz8BqtT356gLTgyCK10nP5J88FUvNNdvlMf5hpeaTfEn7ya/sEstUreXI9wgX\r\ndowyCB31FcvJQ3u27Yw8w+eDAudkXTNW2sbUzoW7KBEdd/6LXrMmYB/zXGNf\r\n5skd6K8AtxIWXBlQ1uPWPuuG3EkVKtCT94he0+dVKMEFAuIKrQwFAVok2xKr\r\nApHmvrFyNYI5cDjPegqWXLE4CPcQdn/K3g4=\r\n=a/L4\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"exports":"./build/index.js","gitHead":"4e05b156eb1cff40cad8c60e25fada8143ce70c6","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-p build:*","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s build:tsc build:wasm && yarn build:tsc -- -w","version":"standard-version","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","build:tsc":"tsc -p tsconfig.json","cov:check":"c8 report && c8 check-coverage --lines 90 --functions 90 --branches 90","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"c8 ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","gen:schema":"run-p gen:schema:*","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","test-node18":"NODE_OPTIONS=--openssl-legacy-provider run-s build test:*","test:cycles":"madge --circular build/index.js","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","test:schemas":"run-s gen:schema && if [ `git status src/lib/schema --porcelain | head -c1 | wc -c` -gt 0 ]; then echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\" && false; fi && echo \"Schemas are up to date.\"","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"run-s build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb-tests":"run-s build gen:vmb-tests:*","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","version:alpha":"standard-version --prerelease alpha","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","prepare-release":"run-s reset test cov:check doc:html doc:logo doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256","copy:wasm:sha512":"cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","gen:vmb-tests:bch":"node 'build/lib/vmb-tests/bch-vmb-tests.spec.helper.js' 'src/lib/vmb-tests/generated/bch' && prettier 'src/lib/vmb-tests/generated/bch/*.json' --write","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","gen:vmb-tests-live":"node 'build/lib/vmb-tests/bch-vmb-tests.live.spec.helper.js'","test:unit:vmb_test":"node 'build/lib/vmb-tests/bch-vmb-test.spec.helper.js'","copy:wasm:ripemd160":"cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1","test:unit:vmb_tests":"c8 ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial","compile:debug:hashes":"docker run -it libauth-hashes bash","prepare-release:alpha":"run-s reset test cov:check version:alpha","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","gen:schema:authentication-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/compiler/template-types.ts' --type 'AuthenticationTemplate' > src/lib/schema/authentication-template.schema.json && prettier 'src/lib/schema/authentication-template.schema.json' --write && ajv compile -s src/lib/schema/authentication-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-authentication-template.js && prettier 'src/lib/schema/ajv/validate-authentication-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-authentication-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/bch-vmb-tests.ts","src/lib/schema/generated/*.js"],"options":{"printWidth":400}},{"files":["src/lib/vmb-tests/generated/bch/*.json"],"options":{"printWidth":10000}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"8.6.0","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"c8":"^7.11.2","ava":"^4.1.0","madge":"^5.0.1","chuhai":"^1.2.0","cspell":"^5.20.0","eslint":"8.15.0","rollup":"^2.73.0","ajv-cli":"^5.0.0","bcrypto":"^5.4.0","codecov":"^3.8.3","cpy-cli":"^4.1.0","express":"^4.18.1","hash.js":"^1.1.5","typedoc":"^0.22.13","elliptic":"^6.5.4","gh-pages":"^4.0.0","open-cli":"^7.0.1","prettier":"^2.6.2","puppeteer":"^14.1.0","secp256k1":"^4.0.3","browserify":"16.5.1","fast-check":"^2.25.0","typescript":"^4.6.4","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.13","ava-fast-check":"^5.0.0","@ava/typescript":"^3.0.1","@types/elliptic":"^6.4.14","@types/puppeteer":"^5.4.6","bitcore-lib-cash":"^8.25.28","standard-version":"^9.3.2","@types/browserify":"^12.0.37","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.14","@rollup/plugin-alias":"^3.1.9","eslint-plugin-import":"^2.26.0","eslint-config-bitauth":"^3.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@rollup/plugin-commonjs":"^22.0.0","@microsoft/api-extractor":"^7.23.2","eslint-plugin-functional":"^4.2.1","ts-json-schema-generator":"^1.0.0","@microsoft/api-documenter":"^7.17.13","@typescript-eslint/parser":"^5.23.0","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^13.3.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^5.23.0"},"_npmOperationalInternal":{"tmp":"tmp/libauth_2.0.0-alpha.1_1652937608994_0.4739272697285388","host":"s3://npm-registry-packages"}},"2.0.0-alpha.2":{"name":"@bitauth/libauth","version":"2.0.0-alpha.2","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@2.0.0-alpha.2","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js"]},"ava":{"timeout":"20s","failFast":true,"typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules"],"workerThreads":false},"dist":{"shasum":"ebd6d87b2fa658b9d0ea4ec296cfc20434b3224a","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-2.0.0-alpha.2.tgz","fileCount":262,"integrity":"sha512-FthBDxqzPV7XHM50cBxWYPIaJ0wUe4ijJbk3Hi5XB22EA0IbccLcGr0DNSSAiNaL2xZcCCDryvu+bvLQgwk8BA==","signatures":[{"sig":"MEUCIDKdtgcDwV88cwM/KjJEqeBjSY0sYaQAAgrLzEE8pDeCAiEAqRLGDwYrGpET2HxYqzqZ3ZdPaePQISUeoykCCSngimk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2774333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihdWqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq4Gw/+LN+9G13AfuiQtqR2lMRkJc6gjrs4NoQuVWgK3YbDXbVrsTzz\r\naaMA+Hyls0agHu6tkSCci+Op/P5ogyJEHwKz52X+kDbpTBMLzRLFFSq+SI6X\r\nWQVd6xdBBCYQy5+gbEu4Pa+6JEjDjYjJBMeJjvbVzfy6erHsjhgeWMbyD9kJ\r\nyKq/YScNVmxgyg4p+vcflUUUvhZ2dm5OuMx5OYvALOXPK/bR2cPi4OPVngsI\r\nKFH2C1LP1l13fNUQPZAp2dVs9gVyLml90feuQfVLEUtkeQby/H0RfwYDw1kt\r\ndTMUHxN3VXJe/jggMAqaMwMxeZ14QlA9LRRknj3nAchvjdIS0N2mtU2eGfR4\r\ndOf5ZaU+acwZ82SqfOaxoZPBtawC2iN63GkPvNwfjzR6pIoj4j3MS5tDhHqP\r\nK/zJmAebWwUvL2wHlgvDnqiwlmQFjz7AEPHPGO9/WxY14wwoVcmNLREw9T+1\r\np4WYwYDMS5oFUndANaub5/P8vpTztuvTQYKRkAY70EdHQT7JfI0oEZG33Xca\r\nDSQ8H0WZEVMHambcRXmp+/Z6xJp5aX8HMdDFTG0ojlQC9xQFYE52XG+wA2gS\r\nIg4VqF5NwezjTcxi79oa8Sc+x+ginOYZ3rLVk1tbW36g2NvrfE8jKbQBothd\r\njYu8dTOjxZwesYQqiFxgBeDxSRdyw3z8A3w=\r\n=rwDL\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"exports":"./build/index.js","gitHead":"aecea12b631e6cccee87ea50816a39a7e2d43716","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-p build:*","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s build:tsc build:wasm && yarn build:tsc -- -w","version":"standard-version","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","build:tsc":"tsc -p tsconfig.json","cov:check":"c8 report && c8 check-coverage --lines 90 --functions 90 --branches 90","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"c8 ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","gen:schema":"run-p gen:schema:*","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","test-node18":"NODE_OPTIONS=--openssl-legacy-provider run-s build test:*","test:cycles":"madge --circular build/index.js","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","test:schemas":"run-s gen:schema && if [ `git status src/lib/schema --porcelain | head -c1 | wc -c` -gt 0 ]; then echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\" && false; fi && echo \"Schemas are up to date.\"","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"run-s build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb-tests":"run-s build gen:vmb-tests:*","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","version:alpha":"standard-version --prerelease alpha","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","prepare-release":"run-s reset test cov:check doc:html doc:logo doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256","copy:wasm:sha512":"cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","gen:vmb-tests:bch":"node 'build/lib/vmb-tests/bch-vmb-tests.spec.helper.js' 'src/lib/vmb-tests/generated/bch' && prettier 'src/lib/vmb-tests/generated/bch/*.json' --write","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","gen:vmb-tests-live":"node 'build/lib/vmb-tests/bch-vmb-tests.live.spec.helper.js'","test:unit:vmb_test":"node 'build/lib/vmb-tests/bch-vmb-test.spec.helper.js'","copy:wasm:ripemd160":"cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1","test:unit:vmb_tests":"c8 ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial","compile:debug:hashes":"docker run -it libauth-hashes bash","prepare-release:alpha":"run-s reset test cov:check version:alpha","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","gen:schema:authentication-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/compiler/template-types.ts' --type 'AuthenticationTemplate' > src/lib/schema/authentication-template.schema.json && prettier 'src/lib/schema/authentication-template.schema.json' --write && ajv compile -s src/lib/schema/authentication-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-authentication-template.js && prettier 'src/lib/schema/ajv/validate-authentication-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-authentication-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/bch-vmb-tests.ts","src/lib/schema/generated/*.js"],"options":{"printWidth":400}},{"files":["src/lib/vmb-tests/generated/bch/*.json"],"options":{"printWidth":10000}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"8.6.0","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"c8":"^7.11.2","ava":"^4.1.0","madge":"^5.0.1","chuhai":"^1.2.0","cspell":"^5.20.0","eslint":"8.15.0","rollup":"^2.73.0","ajv-cli":"^5.0.0","bcrypto":"^5.4.0","codecov":"^3.8.3","cpy-cli":"^4.1.0","express":"^4.18.1","hash.js":"^1.1.5","typedoc":"^0.22.13","elliptic":"^6.5.4","gh-pages":"^4.0.0","open-cli":"^7.0.1","prettier":"^2.6.2","puppeteer":"^14.1.0","secp256k1":"^4.0.3","browserify":"16.5.1","fast-check":"^2.25.0","typescript":"^4.6.4","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.13","ava-fast-check":"^5.0.0","@ava/typescript":"^3.0.1","@types/elliptic":"^6.4.14","@types/puppeteer":"^5.4.6","bitcore-lib-cash":"^8.25.28","standard-version":"^9.3.2","@types/browserify":"^12.0.37","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.14","@rollup/plugin-alias":"^3.1.9","eslint-plugin-import":"^2.26.0","eslint-config-bitauth":"^3.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@rollup/plugin-commonjs":"^22.0.0","@microsoft/api-extractor":"^7.23.2","eslint-plugin-functional":"^4.2.1","ts-json-schema-generator":"^1.0.0","@microsoft/api-documenter":"^7.17.13","@typescript-eslint/parser":"^5.23.0","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^13.3.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^5.23.0"},"_npmOperationalInternal":{"tmp":"tmp/libauth_2.0.0-alpha.2_1652938154337_0.45574807384381644","host":"s3://npm-registry-packages"}},"2.0.0-alpha.3":{"name":"@bitauth/libauth","version":"2.0.0-alpha.3","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@2.0.0-alpha.3","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js"]},"ava":{"timeout":"20s","failFast":true,"typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules"],"workerThreads":false},"dist":{"shasum":"4e108a6f5996f4d7cb2157ad9b3f83b3e8bdf192","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-2.0.0-alpha.3.tgz","fileCount":264,"integrity":"sha512-CD1TVvdbu+Fop7aaYU5w21IND9cY+kbmOLWcsuiJi17BRXjdoLKGbIQAjo0seuuWsehAR2PvUBZIgLEPgHeOfw==","signatures":[{"sig":"MEUCIA2/4sWXGwJIcJQGBCrTbYvxLa79JtsC8nAGEfHEIQm8AiEA3Y9iZJIQDsDgQCr4rm7ZCCOQog6MoNdFWksG0RxwzRg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2784546,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihvq8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpbbw//feIcR1vQ23xCO6HhYEQn5Rrin/ZNPsR2/p3LUAdPfiQTjKFV\r\nNu4TDASZwc6MCgoGcI4EI5hUbp6VcaIQXadp+OQGTiZWiOt1uO8js5B1dRbk\r\nQJBEmkFyOqYjnc5a6bfGwdxIZoBXiqKgKPut6qmdYsWFHYZsWkyF7qd0EcFO\r\nOXFXlNfPjzcJau0WR9BkgGxm58Vf9Nn8xyJJPerqaxoUTZNhhkLr3+0I7Ov8\r\np69B/rb/G4nagrEbwyGTWCrhlGaC5kSD8n2V83/4PlPUHqne+Rz6unxMBo6q\r\nQD/evcRm0ILrPFPnFTjVR3A1Imkc3JmwXyo/BNcNjnjS6/KZ6E1HOXSQafNW\r\nYks681k1b2Nkej45CWZRy4UbBWekbNDH490aAm1mAr048YaZA6BiSKrK3Lqc\r\ntN/225epIYsqb31ivWkNwJjJGT8knsYXIKK40ecVykg8rjRbDd6NpM6GmK1B\r\n/KtkKlx7yEVkZ5WKOrtti0kH3I8asw0RKanD+KDlaYH2Vk06fMqi2mx6QAu0\r\nFAHCYXqWw4mAN3pb9+R5uODKz/LW/JAVL84Cdscll3Qv2vaZxOXs3pMvnCkM\r\nwbNg1OdftjASKJSH3D3VgqHq0ENKuqoAtwx1tU1+W8FTy/RpMIWxyi/s9awp\r\nDuXRJ5lG90Q8emTqpzEDiGu4On9YmdyjqTY=\r\n=tZ4C\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"62efd7e52f9135e0b89b8b34b42af0e33a5d54cb","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-p build:*","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s build:tsc build:wasm && yarn build:tsc -- -w","version":"standard-version","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","build:tsc":"tsc -p tsconfig.json","cov:check":"c8 report && c8 check-coverage --lines 90 --functions 90 --branches 90","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"c8 ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","gen:schema":"run-p gen:schema:*","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","test-node18":"NODE_OPTIONS=--openssl-legacy-provider run-s build test:*","test:cycles":"madge --circular build/index.js","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","test:schemas":"run-s gen:schema && if [ `git status src/lib/schema --porcelain | head -c1 | wc -c` -gt 0 ]; then echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\" && false; fi && echo \"Schemas are up to date.\"","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"run-s build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb-tests":"run-s build gen:vmb-tests:*","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","version:alpha":"standard-version --prerelease alpha","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","prepare-release":"run-s reset test cov:check doc:html doc:logo doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256","copy:wasm:sha512":"cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","gen:vmb-tests:bch":"node 'build/lib/vmb-tests/bch-vmb-tests.spec.helper.js' 'src/lib/vmb-tests/generated/bch' && prettier 'src/lib/vmb-tests/generated/bch/*.json' --write","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","gen:vmb-tests-live":"node 'build/lib/vmb-tests/bch-vmb-tests.live.spec.helper.js'","test:unit:vmb_test":"node 'build/lib/vmb-tests/bch-vmb-test.spec.helper.js'","copy:wasm:ripemd160":"cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1","test:unit:vmb_tests":"c8 ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial","compile:debug:hashes":"docker run -it libauth-hashes bash","prepare-release:alpha":"run-s reset test cov:check version:alpha","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","gen:schema:authentication-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/compiler/template-types.ts' --type 'AuthenticationTemplate' > src/lib/schema/authentication-template.schema.json && prettier 'src/lib/schema/authentication-template.schema.json' --write && ajv compile -s src/lib/schema/authentication-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-authentication-template.js && prettier 'src/lib/schema/ajv/validate-authentication-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-authentication-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/bch-vmb-tests.ts","src/lib/schema/generated/*.js"],"options":{"printWidth":400}},{"files":["src/lib/vmb-tests/generated/bch/*.json"],"options":{"printWidth":10000}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"8.6.0","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"c8":"^7.11.2","ava":"^4.1.0","madge":"^5.0.1","chuhai":"^1.2.0","cspell":"^5.20.0","eslint":"8.15.0","rollup":"^2.73.0","ajv-cli":"^5.0.0","bcrypto":"^5.4.0","codecov":"^3.8.3","cpy-cli":"^4.1.0","express":"^4.18.1","hash.js":"^1.1.5","typedoc":"^0.22.13","elliptic":"^6.5.4","gh-pages":"^4.0.0","open-cli":"^7.0.1","prettier":"^2.6.2","puppeteer":"^14.1.0","secp256k1":"^4.0.3","browserify":"16.5.1","fast-check":"^2.25.0","typescript":"^4.6.4","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.13","ava-fast-check":"^5.0.0","@ava/typescript":"^3.0.1","@types/elliptic":"^6.4.14","@types/puppeteer":"^5.4.6","bitcore-lib-cash":"^8.25.28","standard-version":"^9.3.2","@types/browserify":"^12.0.37","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.14","@rollup/plugin-alias":"^3.1.9","eslint-plugin-import":"^2.26.0","eslint-config-bitauth":"^3.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@rollup/plugin-commonjs":"^22.0.0","@microsoft/api-extractor":"^7.23.2","eslint-plugin-functional":"^4.2.1","ts-json-schema-generator":"^1.0.0","@microsoft/api-documenter":"^7.17.13","@typescript-eslint/parser":"^5.23.0","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^13.3.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^5.23.0"},"_npmOperationalInternal":{"tmp":"tmp/libauth_2.0.0-alpha.3_1653013179936_0.3838643193553226","host":"s3://npm-registry-packages"}},"2.0.0-alpha.4":{"name":"@bitauth/libauth","version":"2.0.0-alpha.4","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@2.0.0-alpha.4","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js"]},"ava":{"timeout":"20s","failFast":true,"typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules"],"workerThreads":false},"dist":{"shasum":"b2aff276ed05a448cea079705658c47e964f8263","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-2.0.0-alpha.4.tgz","fileCount":286,"integrity":"sha512-yYcPTnIPrigLPyLEWmQdgomEUXHQ1ipkIKPTz1a7aSww5XLeXa8UO8haTSyYqdRDttOgTcLQG4CAt4/rdnbHEA==","signatures":[{"sig":"MEQCIDGBPohmR7vhggVsPEPxvKsgLbPRsgmy5lEH7rWLIJcPAiAk49qaUE4+5OINwPUOSx6hWGwVopUhwUOKXPmRlWqD0w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2942155,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqss0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpELA/9H4xZqC4bth03FqY/gf5ep2xGaWlF2y8wb2yK0KOAmPaysKzC\r\nJ1N960JzuepcRy7WYWJsai1oAmNBDsqTXoOs0WjexFpAOCPsHcsEdHATma9z\r\nDP1Nb2tyJU4U0bg/b2nN2GW2ydMe94287enHd+dKCf2mUMto2sRQTOTysrJT\r\ny0sYuqQiZU7FdJLf01TXB6uKt3WpYpOF1/9aB5khhn99bLjS9EFYxpi/9xPU\r\noUyyt/rz3ArxQdRrLD+IdvZRpbqS3/xz2MKxppnUDvmYVGGo4FXE4n5EsHZu\r\nwAJGqsMM1vTfCKMKk4Hg2UoOQpfSQXIh6v3CILqVJYajtAy/AGGlSKlDkADE\r\nmlbZZp/iCSFumgXGdqsw2hjAYJJaaC/TDdl5XEosfmfxkwD9Nk0yudIjMRO0\r\n2C2A9c0WxJGZfzAbjl8J32cVa1BylBMhwn7s9XqBeH7tbtjm0zJwkI9WfgRL\r\nHb7AZ2mVLWnYzmjqN60LUcYVtCnria4j7ykSyZ12S2f53Ex2BGSB//hYcVjd\r\n7kUOEQfQWRNVeeiUyziSl6hH0XKsBl4a4vg9ZabB6G//7SBTE3cUCPkxMe2+\r\nCQl7aqU+TKBwdHWR9V6T1DaJI7QDdKHhdugSLVw+WKmfzWY7laLKQWFpzH/5\r\nzblb2sf36XfUaRvE2SdnXqb64vJtAkllSxM=\r\n=cf4p\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"7005902c86dea347fc9b3fc1b6b37eb78bf68c0e","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-p build:*","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s build:tsc build:wasm && yarn build:tsc -- -w","wallet":"node 'build/lib/vmb-tests/bch-vmb-tests.live.spec.helper.js'","version":"standard-version","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","build:tsc":"tsc -p tsconfig.json","cov:check":"c8 report && c8 check-coverage --lines 90 --functions 90 --branches 90","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"c8 ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","gen:schema":"run-p gen:schema:*","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","test-node18":"NODE_OPTIONS=--openssl-legacy-provider run-s build test:*","test:cycles":"madge --circular build/index.js","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","test:schemas":"run-s gen:schema && if [ `git status src/lib/schema --porcelain | head -c1 | wc -c` -gt 0 ]; then echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\" && false; fi && echo \"Schemas are up to date.\"","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"run-s build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb-tests":"run-s build gen:vmb-tests:*","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","version:alpha":"standard-version --prerelease alpha","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","prepare-release":"run-s reset test cov:check doc:html doc:logo doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256","copy:wasm:sha512":"cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","gen:vmb-tests:bch":"node 'build/lib/vmb-tests/bch-vmb-tests.spec.helper.js' 'src/lib/vmb-tests/generated/bch' && prettier 'src/lib/vmb-tests/generated/bch/*.json' --write","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","test:unit:vmb_test":"node 'build/lib/vmb-tests/bch-vmb-test.spec.helper.js'","copy:wasm:ripemd160":"cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1","test:unit:vmb_tests":"c8 ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial","compile:debug:hashes":"docker run -it libauth-hashes bash","prepare-release:alpha":"run-s reset test cov:check version:alpha","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","gen:schema:authentication-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/compiler/template-types.ts' --type 'AuthenticationTemplate' > src/lib/schema/authentication-template.schema.json && prettier 'src/lib/schema/authentication-template.schema.json' --write && ajv compile -s src/lib/schema/authentication-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-authentication-template.js && prettier 'src/lib/schema/ajv/validate-authentication-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-authentication-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/bch-vmb-tests.ts","src/lib/schema/generated/*.js"],"options":{"printWidth":400}},{"files":["src/lib/vmb-tests/generated/bch/*.json"],"options":{"printWidth":10000}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"8.11.0","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"sideEffects":false,"_nodeVersion":"16.15.1","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"c8":"^7.11.3","ava":"^4.3.0","madge":"^5.0.1","chuhai":"^1.2.0","cspell":"^6.1.2","eslint":"8.17.0","rollup":"^2.75.6","ajv-cli":"^5.0.0","bcrypto":"^5.4.0","codecov":"^3.8.3","cpy-cli":"^4.1.0","express":"^4.18.1","hash.js":"^1.1.5","typedoc":"^0.22.17","elliptic":"^6.5.4","gh-pages":"^4.0.0","open-cli":"^7.0.1","prettier":"^2.7.0","puppeteer":"^14.4.0","secp256k1":"^4.0.3","browserify":"17.0.0","fast-check":"^3.0.0","typescript":"^4.7.3","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.13","ava-fast-check":"^5.0.0","@ava/typescript":"^3.0.1","@types/elliptic":"^6.4.14","@types/puppeteer":"^5.4.6","bitcore-lib-cash":"^8.25.30","standard-version":"^9.5.0","@types/browserify":"^12.0.37","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.14","@rollup/plugin-alias":"^3.1.9","eslint-plugin-import":"^2.26.0","eslint-config-bitauth":"^3.1.2","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@rollup/plugin-commonjs":"^22.0.0","@microsoft/api-extractor":"^7.25.0","eslint-plugin-functional":"^4.2.1","ts-json-schema-generator":"^1.0.0","@microsoft/api-documenter":"^7.17.17","@typescript-eslint/parser":"^5.28.0","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^13.3.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^5.28.0"},"_npmOperationalInternal":{"tmp":"tmp/libauth_2.0.0-alpha.4_1655360307789_0.8197413901847344","host":"s3://npm-registry-packages"}},"2.0.0-alpha.5":{"name":"@bitauth/libauth","version":"2.0.0-alpha.5","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@2.0.0-alpha.5","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js"]},"ava":{"timeout":"20s","failFast":true,"typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules"],"workerThreads":false},"dist":{"shasum":"7627935e2fc4a4397d59cf94602ccc2c7f4ab80f","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-2.0.0-alpha.5.tgz","fileCount":286,"integrity":"sha512-15YqTp7BwV04/LvCivcg4uG8k06/O0lfFeXmVr1qH8OtmEL8PHSq1mkEvl5AIfj90vojBM8s2jprGOfui/rj9g==","signatures":[{"sig":"MEYCIQDqtlMw/5dfOgoWyLsoWS3iZM1SqMZUuddDOTfH+JiZogIhAPNW0dXBwEB38XViQjXGog6HQcSJe1sr9cpGsKAjxgcV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2944067,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiucZiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq+Rw//S+tQGW2rHIxLbphw51aqQ2SgYDN89NQIDIxJIeR5xr/84ECV\r\nSU2gYAsqVdOEkrixqBJWUhqGnVwamcmBRylT4+KzmuvwpAQ0iJAXlgckkENU\r\negr8cmNq/5nw7OpGuFXwEBDfTNLO3ARCxdKclqlNlTp8Vxr54OkbXXOyBNtw\r\nRLO2Pj5WSXOBcRKjRGVl/WEg+sNaOPBqMRivv6MJ72Gc8q5ked2APmUCmfEc\r\na3xSRTRemo3RlgAyVHb6ITb4s+Q8S7oApca6tNMAUGAMuI1RxKb1XO+J42lA\r\n8MDieQpiEza9PsVxwaf4xTeQOPPWt30Mt+cn+CBnVQ2bDiWUNjxEHcHb2k/b\r\nfY+B4SIXxTQBmPZCdY5xwlWv3eCUGL72eL3WcwIhs0A7p5D7pVMOQAhn+QB0\r\n55xgPOkepTuwmLCv/lYInQ5dOGDru4Z1RMVEfAQJZDuL+kNGrIclb6WHtcI+\r\n60XT40/xv8nWkUFLX/hW85c/KETJ5EqeLIQvhigae0srDhVsO1Nb/rv2ttV0\r\nRVb7ek6Kb/IK1hagv1/A2lxr6JA4o2vjJxul+DPkQc4UuFmMPvMupsI7qYjz\r\nbqI2JptKU4c4ctgppXvXFdrwFAtp+OFN8tSFPSgmdL3UP3yam4Memn7E0RYY\r\nxcDKG6Lt30bJe9Z3TIELuWXRtBMNSNqxLF4=\r\n=LC4c\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"e25b6883ed17f75f8e2bfabb8ae01c61b4fcec3e","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-p build:*","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s build:tsc build:wasm && yarn build:tsc -- -w","wallet":"node 'build/lib/vmb-tests/bch-vmb-tests.live.spec.helper.js'","version":"standard-version","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","build:tsc":"tsc -p tsconfig.json","cov:check":"c8 report && c8 check-coverage --lines 90 --functions 90 --branches 90","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"c8 ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","gen:schema":"run-p gen:schema:*","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","test-node18":"NODE_OPTIONS=--openssl-legacy-provider run-s build test:*","test:cycles":"madge --circular build/index.js","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","test:schemas":"run-s gen:schema && if [ `git status src/lib/schema --porcelain | head -c1 | wc -c` -gt 0 ]; then echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\" && false; fi && echo \"Schemas are up to date.\"","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"run-s build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb-tests":"run-s build gen:vmb-tests:*","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","version:alpha":"standard-version --prerelease alpha","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","prepare-release":"run-s reset test cov:check doc:html doc:logo doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256","copy:wasm:sha512":"cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","gen:vmb-tests:bch":"node 'build/lib/vmb-tests/bch-vmb-tests.spec.helper.js' 'src/lib/vmb-tests/generated/bch' && prettier 'src/lib/vmb-tests/generated/bch/*.json' --write","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","test:unit:vmb_test":"node 'build/lib/vmb-tests/bch-vmb-test.spec.helper.js'","copy:wasm:ripemd160":"cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1","test:unit:vmb_tests":"c8 ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial","compile:debug:hashes":"docker run -it libauth-hashes bash","prepare-release:alpha":"run-s reset test cov:check version:alpha","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","gen:schema:authentication-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/compiler/template-types.ts' --type 'AuthenticationTemplate' > src/lib/schema/authentication-template.schema.json && prettier 'src/lib/schema/authentication-template.schema.json' --write && ajv compile -s src/lib/schema/authentication-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-authentication-template.js && prettier 'src/lib/schema/ajv/validate-authentication-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-authentication-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/bch-vmb-tests.ts","src/lib/schema/generated/*.js"],"options":{"printWidth":400}},{"files":["src/lib/vmb-tests/generated/bch/*.json"],"options":{"printWidth":10000}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"8.11.0","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"sideEffects":false,"_nodeVersion":"16.15.1","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"c8":"^7.11.3","ava":"^4.3.0","madge":"^5.0.1","chuhai":"^1.2.0","cspell":"^6.1.2","eslint":"8.17.0","rollup":"^2.75.6","ajv-cli":"^5.0.0","bcrypto":"^5.4.0","codecov":"^3.8.3","cpy-cli":"^4.1.0","express":"^4.18.1","hash.js":"^1.1.5","typedoc":"^0.22.17","elliptic":"^6.5.4","gh-pages":"^4.0.0","open-cli":"^7.0.1","prettier":"^2.7.0","puppeteer":"^14.4.0","secp256k1":"^4.0.3","browserify":"17.0.0","fast-check":"^3.0.0","typescript":"^4.7.3","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.13","ava-fast-check":"^5.0.0","@ava/typescript":"^3.0.1","@types/elliptic":"^6.4.14","@types/puppeteer":"^5.4.6","bitcore-lib-cash":"^8.25.30","standard-version":"^9.5.0","@types/browserify":"^12.0.37","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.14","@rollup/plugin-alias":"^3.1.9","eslint-plugin-import":"^2.26.0","eslint-config-bitauth":"^3.1.2","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@rollup/plugin-commonjs":"^22.0.0","@microsoft/api-extractor":"^7.25.0","eslint-plugin-functional":"^4.2.1","ts-json-schema-generator":"^1.0.0","@microsoft/api-documenter":"^7.17.17","@typescript-eslint/parser":"^5.28.0","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^13.3.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^5.28.0"},"_npmOperationalInternal":{"tmp":"tmp/libauth_2.0.0-alpha.5_1656342114389_0.48258959552316516","host":"s3://npm-registry-packages"}},"2.0.0-alpha.6":{"name":"@bitauth/libauth","version":"2.0.0-alpha.6","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@2.0.0-alpha.6","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js"]},"ava":{"timeout":"20s","failFast":true,"typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules"],"workerThreads":false},"dist":{"shasum":"92f951afa23ac0f29409d2d38409bc7584b002df","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-2.0.0-alpha.6.tgz","fileCount":306,"integrity":"sha512-YyrTKr2svYNFZilsdIFru037aRiqDO5J/MrG7KpKHVi21B+Nu+u9oUWFM5GGVdYRb+SIkqryUm/UwgfxrSmKqw==","signatures":[{"sig":"MEUCICOX+wytO/jZ/igoxS9fs04Jem8fopw6FNaoxTEbv0e5AiEAz+amwb8FyzLBNQqoqiO9X3XbdRrXlLYwEeqwIFj/eTU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3537609,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/sBaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPmg//TEROIROaPZ3bzpykMUlWQ8+d6NJPfkc7oOjXx3Dpz97BO/5t\r\nK6Avs7Vlg2tOgO+IeKweSWBrcCIrCxnb4/V5lcR7dFZHKl3MxPHTI/XX0Odl\r\nRTTA3oqxj0QB1/Ea4YXRbk8lM3GoBsfTIzOqwCA510ZgVdnTNAGJfRRIR0iK\r\nryvQ4PxHDi3DuYTZCf5Nhj4UU4z+FL7FsZsgXh3SHLm6644bozuu49awRmhh\r\nBBaQQ77Go7loCUrL5+bqJUxlHe8oYig4J9WaYuTuhb1rWZLtcC8KtTU4ksnB\r\nJQ+EODpM6i++F/IZJhegBo0a4nsWH1jgnJyi+PadrYN/SzoQ+nzdmBvrq2lQ\r\nXUkMASpBaMvKdJl0SrQljHlPI8Ho3R5a9fwAf1G2CPeHHhpvxCum+WadsOmk\r\nKedZhCAz3fFKSdRUFWwL2XVUeNAF2Xnal/DLXZ4I8MIeq2I4Twx9kdYuLVaj\r\nCDEWPnt+zAcENQcpG4ibHorXXjib6InNckp/LtGpo8bBDoA80+sWvmSEDymJ\r\n9LcO9QFctczHRPs9wq8lY+UArNkkoqQUtbBpzZlgYT3Debnx2NElcyj8ecaI\r\n2Ddgt7K7l277fnLHRnbF6OkQ1vWf0x0y66fJRU9VJJTEKpVOBBjf6ZYYC3Iy\r\nZ4eyXbKej9SHIEti8w+FrFDOVcgUe3uGrro=\r\n=nnhn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"43914ca973e90dfc84b6173dcace7233f8c2e05c","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-p build:*","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s build:tsc build:wasm && yarn build:tsc -- -w","wallet":"node 'build/lib/vmb-tests/bch-vmb-tests.live.spec.helper.js'","version":"standard-version","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","build:tsc":"tsc -p tsconfig.json","cov:check":"c8 report && c8 check-coverage --lines 90 --functions 90 --branches 90","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"c8 ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","gen:schema":"run-p gen:schema:*","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","test-node18":"NODE_OPTIONS=--openssl-legacy-provider run-s build test:*","test:cycles":"madge --circular build/index.js","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","test:schemas":"run-s gen:schema && if [ `git status src/lib/schema --porcelain | head -c1 | wc -c` -gt 0 ]; then echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\" && false; fi && echo \"Schemas are up to date.\"","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","dev:vmb_tests":"yarn gen:vmb-tests && yarn build:tsc && ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial --fail-fast","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"run-s build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb-tests":"run-s build gen:vmb-tests:* gen:vmb-tests-prettier","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","version:alpha":"standard-version --prerelease alpha","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","prepare-release":"run-s reset test cov:check doc:html doc:logo doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256","copy:wasm:sha512":"cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","gen:vmb-tests:bch":"node 'build/lib/vmb-tests/bch-vmb-tests.spec.helper.js' 'src/lib/vmb-tests/generated/bch' && yarn run gen:vmb-tests:bch:reasons","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","test:unit:vmb_test":"node 'build/lib/vmb-tests/bch-vmb-test.spec.helper.js'","copy:wasm:ripemd160":"cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1","test:unit:vmb_tests":"c8 ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial","compile:debug:hashes":"docker run -it libauth-hashes bash","prepare-release:alpha":"run-s reset test cov:check version:alpha","gen:vmb-tests-prettier":"prettier 'src/lib/vmb-tests/generated/**/*.json' --write","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","gen:vmb-tests:bch:reasons":"node 'build/lib/vmb-tests/bch-vmb-tests-invalid.spec.helper.js'","gen:schema:authentication-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/compiler/template-types.ts' --type 'AuthenticationTemplate' > src/lib/schema/authentication-template.schema.json && prettier 'src/lib/schema/authentication-template.schema.json' --write && ajv compile -s src/lib/schema/authentication-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-authentication-template.js && prettier 'src/lib/schema/ajv/validate-authentication-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-authentication-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/*bch-vmb-tests*.ts"],"options":{"printWidth":400}},{"files":["src/lib/vmb-tests/*bch-vmb-tests*.spec.*ts"],"options":{"printWidth":80}},{"files":["src/lib/vmb-tests/generated/**/*.json"],"options":{"printWidth":10000}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"8.11.0","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"sideEffects":false,"_nodeVersion":"16.15.1","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"c8":"^7.11.3","ava":"^4.3.0","madge":"^5.0.1","chuhai":"^1.2.0","cspell":"^6.1.2","eslint":"8.17.0","rollup":"^2.75.6","ajv-cli":"^5.0.0","bcrypto":"^5.4.0","codecov":"^3.8.3","cpy-cli":"^4.1.0","express":"^4.18.1","hash.js":"^1.1.5","typedoc":"^0.22.17","elliptic":"^6.5.4","gh-pages":"^4.0.0","open-cli":"^7.0.1","prettier":"^2.7.0","puppeteer":"^14.4.0","secp256k1":"^4.0.3","browserify":"17.0.0","fast-check":"^3.0.0","typescript":"^4.7.3","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.13","ava-fast-check":"^5.0.0","@ava/typescript":"^3.0.1","@types/elliptic":"^6.4.14","@types/puppeteer":"^5.4.6","bitcore-lib-cash":"^8.25.30","standard-version":"^9.5.0","@types/browserify":"^12.0.37","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.14","@rollup/plugin-alias":"^3.1.9","eslint-plugin-import":"^2.26.0","eslint-config-bitauth":"^3.1.2","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@rollup/plugin-commonjs":"^22.0.0","@microsoft/api-extractor":"^7.25.0","eslint-plugin-functional":"^4.2.1","ts-json-schema-generator":"^1.0.0","@microsoft/api-documenter":"^7.17.17","@typescript-eslint/parser":"^5.28.0","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^13.3.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^5.28.0"},"_npmOperationalInternal":{"tmp":"tmp/libauth_2.0.0-alpha.6_1660862553988_0.5133010122276427","host":"s3://npm-registry-packages"}},"2.0.0-alpha.7":{"name":"@bitauth/libauth","version":"2.0.0-alpha.7","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@2.0.0-alpha.7","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js"]},"ava":{"timeout":"20s","failFast":true,"typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules"],"workerThreads":false},"dist":{"shasum":"cbdf5d52c74a023ed6ece3bf01e546feb1cd5fb9","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-2.0.0-alpha.7.tgz","fileCount":310,"integrity":"sha512-FI05AGI/OBX1VaUYibRmULQGRU0U/2M9lsOsFlpGPuqx//vMXasQoBOa463y4rgua5hCTVCtt8LyAd0Y+uXz1A==","signatures":[{"sig":"MEUCIQDH2oSw40HvORyq1bkYSt5ogAzX2Vfuz+Ky+KYGiOhDxgIgQlLt+P7WXnMjkOnN89zUP1zTILsdg36ctDPQ5Gi/6lw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3625266,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkjwkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrNeA//aNWghLcEGz04bnSiNmXpru2MEe9QfAnmnZmBFutuYfU1dxZ8\r\nGRd9y8G3ZgGtiSQze6UltxHKKibl9YDpl35mcBy9Ql0zn8nGo+ha/D1W7kMb\r\nLbNfdMECyhG5t8Z8iAXZTgcby3v0q0DfHt2IzxXVxBC/WBRk6hkflKdZcIiy\r\niIegxedEv1lDPcSPCVKXUrUvgvIDWCmMZNxGupKVV+eDfxKyC+lwJFbtd6iJ\r\nOddBD0xnGXQyRYYN2Wd4xspPOrjN7tFmWu8yXOEEqBBjZ96t/eZdoL42BWok\r\npkW3CszkgMNPsXt9sl+a1dAOowjiVhPKk8sD6B3RKXHihKNBprC0YjLP0OUT\r\n478CNpOhU58B24Vi+CQdClX7GDbXvQwR8DoXXeY17kUhTWKrwRO0SYqDxVSb\r\nGCwJZR9KZM1SiofszAp3XMAXbnI9Co8Rv1++AmOraTInbtpucENjapnnXU8p\r\nfVAHR+fvmBQjNnez4IA/f+WKpsoD74KaA9W59jce47YcFNnKP51P72VnXUzi\r\nIEazneLEtYUZQpll38BmvAtHzXm2h74hlMy0CoOe71mGuVTpCH/I/qiW91hY\r\nu+oepYXkTTLrwtuKkQY8w3YEpOlFIr5bzf0nfxyiMoZ+4BOmyoMRxaptQFng\r\nQmvcs4V5Cbvvyx6G7i+ssVr+NF4C9d/pZ3A=\r\n=6zTD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"b57a0c9d3dfa0e4d8c12ca4adce3d5629b8cd9e2","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-p build:*","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s build:tsc build:wasm && yarn build:tsc -- -w","wallet":"node 'build/lib/vmb-tests/bch-vmb-tests.live.spec.helper.js'","version":"standard-version","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","build:tsc":"tsc -p tsconfig.json","cov:check":"c8 report && c8 check-coverage --lines 90 --functions 90 --branches 90","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"","test:lint":"eslint . --ext .ts","test:unit":"c8 ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","gen:schema":"run-p gen:schema:*","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","test-node18":"NODE_OPTIONS=--openssl-legacy-provider run-s build test:*","test:cycles":"madge --circular build/index.js","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","test:schemas":"run-s gen:schema && if [ `git status src/lib/schema --porcelain | head -c1 | wc -c` -gt 0 ]; then echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\" && false; fi && echo \"Schemas are up to date.\"","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","dev:vmb_tests":"yarn gen:vmb-tests && yarn build:tsc && ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial --fail-fast","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"run-s build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb-tests":"run-s build gen:vmb-tests:* gen:vmb-tests-prettier","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","version:alpha":"standard-version --prerelease alpha","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","copy:wasm:sha1":"cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","prepare-release":"run-s reset test cov:check doc:html doc:logo doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256","copy:wasm:sha512":"cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","gen:vmb-tests:bch":"node 'build/lib/vmb-tests/bch-vmb-tests.spec.helper.js' 'src/lib/vmb-tests/generated/bch' && yarn run gen:vmb-tests:bch:reasons","bench:browser-deps":"browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js","test:unit:vmb_test":"node 'build/lib/vmb-tests/bch-vmb-test.spec.helper.js'","copy:wasm:ripemd160":"cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1","test:unit:vmb_tests":"c8 ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial","compile:debug:hashes":"docker run -it libauth-hashes bash","prepare-release:alpha":"run-s reset test cov:check version:alpha","gen:vmb-tests-prettier":"prettier 'src/lib/vmb-tests/generated/**/*.json' --write","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","gen:vmb-tests:bch:reasons":"node 'build/lib/vmb-tests/bch-vmb-tests-invalid.spec.helper.js'","gen:schema:authentication-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/compiler/template-types.ts' --type 'AuthenticationTemplate' > src/lib/schema/authentication-template.schema.json && prettier 'src/lib/schema/authentication-template.schema.json' --write && ajv compile -s src/lib/schema/authentication-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-authentication-template.js && prettier 'src/lib/schema/ajv/validate-authentication-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-authentication-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/*bch-vmb-tests*.ts"],"options":{"printWidth":400}},{"files":["src/lib/vmb-tests/*bch-vmb-tests*.spec.*ts"],"options":{"printWidth":80}},{"files":["src/lib/vmb-tests/generated/**/*.json"],"options":{"printWidth":10000}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"9.1.1","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"sideEffects":false,"_nodeVersion":"16.18.1","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"c8":"^7.11.3","ava":"^4.3.0","madge":"^5.0.1","chuhai":"^1.2.0","cspell":"^6.1.2","eslint":"8.17.0","rollup":"^2.75.6","ajv-cli":"^5.0.0","bcrypto":"^5.4.0","codecov":"^3.8.3","cpy-cli":"^4.1.0","express":"^4.18.1","hash.js":"^1.1.5","typedoc":"^0.22.17","elliptic":"^6.5.4","gh-pages":"^4.0.0","open-cli":"^7.0.1","prettier":"^2.7.0","puppeteer":"^14.4.0","secp256k1":"^4.0.3","browserify":"17.0.0","fast-check":"^3.0.0","typescript":"^4.7.3","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.13","ava-fast-check":"^5.0.0","@ava/typescript":"^3.0.1","@types/elliptic":"^6.4.14","@types/puppeteer":"^5.4.6","bitcore-lib-cash":"^8.25.30","standard-version":"^9.5.0","@types/browserify":"^12.0.37","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.14","@rollup/plugin-alias":"^3.1.9","eslint-plugin-import":"^2.26.0","eslint-config-bitauth":"^3.1.2","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@rollup/plugin-commonjs":"^22.0.0","@microsoft/api-extractor":"^7.25.0","eslint-plugin-functional":"^4.2.1","ts-json-schema-generator":"^1.0.0","@microsoft/api-documenter":"^7.17.17","@typescript-eslint/parser":"^5.28.0","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^13.3.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^5.28.0"},"_npmOperationalInternal":{"tmp":"tmp/libauth_2.0.0-alpha.7_1670528036655_0.7594814243259564","host":"s3://npm-registry-packages"}},"2.0.0-alpha.8":{"name":"@bitauth/libauth","version":"2.0.0-alpha.8","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@2.0.0-alpha.8","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js"]},"ava":{"timeout":"20s","failFast":true,"typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules"],"workerThreads":false},"dist":{"shasum":"352ade2075517f1548e05553e7bb1c5e1023d1fe","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-2.0.0-alpha.8.tgz","fileCount":308,"integrity":"sha512-KINAJbzg5pKs+WM8wCjWw6Ct/CeZG1JMrRXsIyPFztjNtwA5eeQL8eFkyquePsf8aZ5peRYK2eFPUDo/1rkg+w==","signatures":[{"sig":"MEYCIQC+Y8MRFavlDh/ziDI3IP1G8aNRQXlCbhM3eSmy2TVUQwIhAK3TjhHo5dD9zRX+xyE5+rk0Xh1YeZTJZ9Xv9jbAm+xn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3625018,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvOj5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq3EA//TUHCgZxjMlgWegxifG22nD8SiPMD3Zjkr6cqWD9P4OFgN5kz\r\nDnVISaeQxp2c8xtiwvhkbswtxgSnPdNqTY2N/mZPqRXt6P1sA3jxkp6eum6/\r\nYhHFxHV0CSJWaGHB6ieuOARB8CHl2w0tPu2oKH+e9J682AqSyZl/vUrnMZRg\r\n7Xac9qZzzNGDzhhyueUV+7O0oX/Ia+myJJ4xmuPFCf3AlLGTsFbb1Th3ja1V\r\nbENugQD9abxm3i23C36cDkvluCDSUXuZRCAH+m8Zozj0Le45nozjlmFHigY0\r\n49ua5OqeEW/UbuC+5acve40ZujAwt062GZonX1b3Z4wvl4wmyQUZQu7LFwsN\r\n0rjpDTxxqwAU5idSrYHgFpOwLLKYuWhtvMZzEWXLBIlAX0C4fvph73xeaZk7\r\nwaGvDouV37HiUdN52Vs8FT0mN0/wAb9582O1lf34SuSnS4eA6fq5uKdXch/a\r\njm+SS5wtvRRlHvPVj84e91vhJgJfFtZyPpCtcWy3a+D4We0y7DtoINTEf/wk\r\nFINjr2f4PtPS6cNJS2fb6T6x6N0Ce3aQlVw7rAPbuX7C1zBwjvxkf7lx5aBl\r\n6trmuDKCa9qnUoe/5lGOPsGHSg+UotiNlaJhIAF08WC8B3P3Wsoj/FuohqEU\r\nXN9Qun8/C8Z5m0vIN3rW0zD4dLhjZVdCVKQ=\r\n=Dnke\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"13bfbf165ccd964dd20cb31f9b8af0595c185bc2","scripts":{"cov":"yarn build && yarn test:unit && yarn cov:html && yarn cov:lcov && open-cli coverage/index.html","doc":"yarn doc:html && open-cli build/docs/index.html","fix":"yarn fix:prettier && yarn fix:lint","test":"yarn build && yarn test:deps && yarn test:schemas && yarn test:lint && yarn test:prettier && yarn test:spelling && yarn test:cycles && yarn test:unit","bench":"yarn build && yarn bench:browser-deps && yarn bench:test","build":"yarn build:wasm && yarn build:tsc","reset":"git clean -dfx && git reset --hard && yarn","watch":"yarn build && yarn build:tsc -- -w","wallet":"node 'build/lib/vmb-tests/bch-vmb-tests.live.spec.helper.js'","version":"standard-version","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"yarn build && yarn doc:extract && yarn doc:generate","fix:lint":"eslint . --ext .ts --fix","build:tsc":"tsc -p tsconfig.json","cov:check":"c8 report && c8 check-coverage --lines 90 --functions 90 --branches 90","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"import('./package.json', { assert: { type: 'json' } }).then(p => typeof p.dependencies === 'undefined' ? console.log('No dependencies found.') : (console.error('Dependencies are not allowed.') && process.exit(1)));\"","test:lint":"eslint . --ext .ts","test:unit":"c8 ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1 && cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1 && cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256 && cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512 && cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","gen:schema":"yarn gen:schema:authentication-template","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","test-node18":"NODE_OPTIONS=--openssl-legacy-provider yarn test","test:cycles":"madge --circular build/index.js","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","test:schemas":"yarn test:schemas:unchanged && echo \"Schemas are up to date.\" || echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\"","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","dev:vmb_tests":"yarn gen:vmb-tests && yarn build:tsc && ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial --fail-fast","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"yarn build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb-tests":"yarn build && yarn gen:vmb-tests:bch && yarn gen:vmb-tests-prettier","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","version:alpha":"standard-version --prerelease alpha","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","prepare-release":"yarn reset && yarn test && yarn cov:check && yarn doc:html && yarn doc:logo && yarn doc:cname && yarn version && yarn doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","gen:vmb-tests:bch":"node 'build/lib/vmb-tests/bch-vmb-tests.spec.helper.js' 'src/lib/vmb-tests/generated/bch' && yarn run gen:vmb-tests:bch:reasons","bench:browser-deps":"cpy '.yarn/artifacts/*.js' build/bench","test:unit:vmb_test":"node 'build/lib/vmb-tests/bch-vmb-test.spec.helper.js'","test:unit:vmb_tests":"c8 ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial","compile:debug:hashes":"docker run -it libauth-hashes bash","prepare-release:alpha":"yarn reset && yarn test && yarn cov:check && yarn version:alpha","gen:vmb-tests-prettier":"prettier 'src/lib/vmb-tests/generated/**/*.json' --write","test:schemas:unchanged":"yarn gen:schema && node -e \"child_process.exec('git status src/lib/schema --porcelain | head -c1 | wc -c', (err, stdout) => stdout.trim() === '0' ? process.exit(0) : process.exit(1) )\"","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","gen:vmb-tests:bch:reasons":"node 'build/lib/vmb-tests/bch-vmb-tests-invalid.spec.helper.js'","gen:schema:authentication-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/compiler/template-types.ts' --type 'AuthenticationTemplate' > src/lib/schema/authentication-template.schema.json && prettier 'src/lib/schema/authentication-template.schema.json' --write && ajv compile -s src/lib/schema/authentication-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-authentication-template.js && prettier 'src/lib/schema/ajv/validate-authentication-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-authentication-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/*bch-vmb-tests*.ts"],"options":{"printWidth":400}},{"files":["src/lib/vmb-tests/*bch-vmb-tests*.spec.*ts"],"options":{"printWidth":80}},{"files":["src/lib/vmb-tests/generated/**/*.json"],"options":{"printWidth":10000}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"9.2.0","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"sideEffects":false,"_nodeVersion":"18.13.0","_hasShrinkwrap":false,"packageManager":"yarn@3.3.1","readmeFilename":"README.md","devDependencies":{"c8":"^7.12.0","ava":"^5.1.0","madge":"^5.0.1","chuhai":"^1.2.0","cspell":"^6.18.1","eslint":"8.31.0","rollup":"^2.79.1","ajv-cli":"^5.0.0","bcrypto":"^5.4.0","cpy-cli":"^4.2.0","express":"^4.18.2","hash.js":"^1.1.7","typedoc":"^0.23.24","elliptic":"^6.5.4","gh-pages":"^4.0.0","open-cli":"^7.1.0","prettier":"^2.8.2","puppeteer":"^19.5.0","secp256k1":"^4.0.3","fast-check":"^3.5.0","typescript":"^4.9.4","asmcrypto.js":"^2.3.2","@types/express":"^4.17.15","@ava/typescript":"^3.0.1","@fast-check/ava":"^1.1.3","@types/elliptic":"^6.4.14","bitcore-lib-cash":"^8.25.40","standard-version":"^9.5.0","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.17","@rollup/plugin-alias":"^4.0.2","eslint-plugin-import":"^2.26.0","eslint-config-bitauth":"^3.1.2","eslint-config-prettier":"^8.6.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^22.0.2","@microsoft/api-extractor":"^7.33.7","eslint-plugin-functional":"^4.4.1","ts-json-schema-generator":"^1.2.0","@microsoft/api-documenter":"^7.19.27","@typescript-eslint/parser":"^5.48.1","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^15.0.1","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^5.48.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_2.0.0-alpha.8_1673324793336_0.011754264544604265","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@bitauth/libauth","version":"2.0.0","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@2.0.0","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js",".pnp.*"]},"ava":{"timeout":"20s","failFast":true,"typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules"],"workerThreads":false},"dist":{"shasum":"200a3c967bf1ab088a9ea17691ee354283aee0a6","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-2.0.0.tgz","fileCount":316,"integrity":"sha512-wFnQtnJvz7S7jU7fQuBJzRQrVHk46DELd5s8D0F61bW567bKVVfMLbwNPCs12pzVckueQTlLwCS//I9skGI1zg==","signatures":[{"sig":"MEQCIHBZpFWHlDPCxFujEJ0Puqg7ARyrgMoqUbvzf+Z2m/fHAiARGD444pHreM9lJF3naoGPfPFJJTiXizUa68fWb0IZhQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4071154},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"7c7e74d459bac5448c7d1b4eb222128f4e5191ed","scripts":{"cov":"yarn build && yarn test:unit && yarn cov:html && yarn cov:lcov && open-cli coverage/index.html","doc":"yarn doc:html && yarn doc:html && open-cli build/docs/index.html","fix":"yarn fix:eslint && yarn fix:prettier","test":"yarn build && yarn test:deps && yarn test:schemas && yarn test:lint && yarn test:cycles && yarn test:unit","bench":"yarn build && yarn bench:browser-deps && yarn bench:test","build":"yarn build:wasm && yarn build:tsc","reset":"git clean -dfx && git reset --hard && yarn","watch":"yarn build -w","wallet":"node 'build/lib/vmb-tests/bch-vmb-tests.live.spec.helper.js'","version":"standard-version","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","doc:html":"typedoc src/index.ts --out build/docs","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"yarn build && yarn doc:extract && yarn doc:generate","build:tsc":"tsc -p tsconfig.json","cov:check":"c8 report && c8 check-coverage --lines 80 --functions 80 --branches 80","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"import('./package.json', { assert: { type: 'json' } }).then(p => typeof p.dependencies === 'undefined' ? console.log('No dependencies found.') : (console.error('Dependencies are not allowed.') && process.exit(1)));\"","test:lint":"yarn test:prettier && yarn test:eslint && yarn test:spelling","test:unit":"c8 ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1 && cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1 && cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256 && cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512 && cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","fix:eslint":"yarn test:eslint --fix","gen:schema":"yarn gen:schema:wallet-template && yarn gen:schema:bcmr","watch:test":"echo 'Usage: yarn watch:test --match=\"*pattern*\"' && ava -v --watch","doc:extract":"mkdir -p build/api && api-extractor run --local --typescript-compiler-folder node_modules/typescript","test:cycles":"madge --circular build/index.js","test:eslint":"eslint . -c .eslintrc","doc:generate":"api-documenter markdown -i temp -o build/api/markdown","fix:prettier":"prettier . --write","test:schemas":"yarn test:schemas:unchanged && echo \"Schemas are up to date.\" || echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\"","dev:vmb_tests":"yarn gen:vmb-tests && yarn build:tsc && ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial --fail-fast","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"yarn build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels-v1' > src/lib/transaction/fixtures/templates/cash-channels-v1.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb-tests":"yarn build && yarn gen:vmb-tests:bch && yarn gen:vmb-tests-prettier","test:prettier":"prettier . --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","version:alpha":"standard-version --prerelease alpha","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","gen:schema:bcmr":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/bcmr-types.ts' --type 'MetadataRegistry' > src/lib/schema/bcmr.schema.json && prettier 'src/lib/schema/bcmr.schema.json' --write && ajv compile -s src/lib/schema/bcmr.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-bcmr.js && prettier 'src/lib/schema/ajv/validate-bcmr.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-bcmr.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\"","prepare-release":"yarn reset && yarn test && yarn cov:check && yarn run version","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","gen:vmb-tests:bch":"node 'build/lib/vmb-tests/bch-vmb-tests.spec.helper.js' 'src/lib/vmb-tests/generated/bch' && yarn run gen:vmb-tests:bch:reasons","bench:browser-deps":"cpy '.yarn/artifacts/*.js' build/bench","test:unit:vmb_test":"node 'build/lib/vmb-tests/bch-vmb-test.spec.helper.js'","test:unit:vmb_tests":"c8 ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial","compile:debug:hashes":"docker run -it libauth-hashes bash","prepare-release:alpha":"yarn reset && yarn test && yarn cov:check && yarn run version:alpha","gen:vmb-tests-prettier":"prettier 'src/lib/vmb-tests/generated/**/*.json' --write","test:schemas:unchanged":"yarn gen:schema && node -e \"child_process.exec('git status src/lib/schema --porcelain | head -c1 | wc -c', (err, stdout) => stdout.trim() === '0' ? process.exit(0) : process.exit(1) )\"","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","gen:vmb-tests:bch:reasons":"node 'build/lib/vmb-tests/bch-vmb-tests-invalid.spec.helper.js'","gen:schema:wallet-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/template-types.ts' --type 'WalletTemplate' > src/lib/schema/wallet-template.schema.json && prettier 'src/lib/schema/wallet-template.schema.json' --write && ajv compile -s src/lib/schema/wallet-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-wallet-template.js && prettier 'src/lib/schema/ajv/validate-wallet-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-wallet-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/*bch-vmb-tests*.ts"],"options":{"printWidth":400}},{"files":["src/lib/vmb-tests/*bch-vmb-tests*.spec.*ts"],"options":{"printWidth":80}},{"files":["src/lib/vmb-tests/generated/**/*.json"],"options":{"printWidth":10000}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"10.1.0","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"resolutions":{"eslint-config-bitauth":"portal:./config/eslint-config-bitauth"},"sideEffects":false,"_nodeVersion":"20.11.0","_hasShrinkwrap":false,"packageManager":"yarn@4.0.2","devDependencies":{"c8":"^9.0.0","ava":"^6.0.1","madge":"^6.1.0","chuhai":"^1.2.0","cspell":"^8.3.2","eslint":"8.56.0","rollup":"^4.9.4","ajv-cli":"^5.0.0","cpy-cli":"^5.0.0","express":"^4.18.2","hash.js":"^1.1.7","typedoc":"^0.25.7","elliptic":"^6.5.4","open-cli":"^8.0.0","prettier":"^3.1.1","secp256k1":"^5.0.0","fast-check":"^3.15.0","typescript":"^5.3.3","@types/node":"^20.11.0","asmcrypto.js":"^2.3.2","@types/express":"^4.17.21","@ava/typescript":"^4.1.0","@fast-check/ava":"^1.2.1","@types/elliptic":"^6.4.18","@playwright/test":"^1.40.1","bitcore-lib-cash":"^10.0.23","standard-version":"^9.5.0","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.17","@rollup/plugin-alias":"^5.1.0","eslint-plugin-import":"^2.29.1","eslint-config-bitauth":"5.0.0","eslint-config-prettier":"^9.1.0","@rollup/plugin-commonjs":"^25.0.7","@microsoft/api-extractor":"^7.39.1","eslint-plugin-functional":"^6.0.0","ts-json-schema-generator":"^1.5.0","@microsoft/api-documenter":"^7.23.16","@typescript-eslint/parser":"^6.18.1","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^15.2.3","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^6.18.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_2.0.0_1705081641449_0.6459094302592776","host":"s3://npm-registry-packages"}},"2.0.0-alpha.9":{"name":"@bitauth/libauth","version":"2.0.0-alpha.9","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@2.0.0-alpha.9","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js",".pnp.*"]},"ava":{"timeout":"20s","failFast":true,"typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules"],"workerThreads":false},"dist":{"shasum":"825c521d3a079f3c6dd7951faa7a92858b77fb7e","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-2.0.0-alpha.9.tgz","fileCount":316,"integrity":"sha512-eIiNmWikhRCf1wiFARlWg1MZPIrTxOSlukxBw1WyGn/mBpgLe+X/7uRvb9pEb2f7zMVp2z4gNtmoJChXdu4kpw==","signatures":[{"sig":"MEUCIFg8YRkaQ+odVAW2+scLxfu5jjlRWxCpH9O1rAX3macgAiEA3/vezSSU/u0+UPdq5sfokdiRBHS0ItvJmDu121jnuX0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4071263},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"1c4d5c0b4d9bed0b1b2996c4101156c83b2ff968","scripts":{"cov":"yarn build && yarn test:unit && yarn cov:html && yarn cov:lcov && open-cli coverage/index.html","doc":"yarn doc:html && yarn doc:html && open-cli build/docs/index.html","fix":"yarn fix:eslint && yarn fix:prettier","test":"yarn build && yarn test:deps && yarn test:schemas && yarn test:lint && yarn test:cycles && yarn test:unit","bench":"yarn build && yarn bench:browser-deps && yarn bench:test","build":"yarn build:wasm && yarn build:tsc","reset":"git clean -dfx && git reset --hard && yarn","watch":"yarn build -w","wallet":"node 'build/lib/vmb-tests/bch-vmb-tests.live.spec.helper.js'","version":"standard-version","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","doc:html":"typedoc src/index.ts --out build/docs","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"yarn build && yarn doc:extract && yarn doc:generate","build:tsc":"tsc -p tsconfig.json","cov:check":"c8 report && c8 check-coverage --lines 80 --functions 80 --branches 80","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"import('./package.json', { assert: { type: 'json' } }).then(p => typeof p.dependencies === 'undefined' ? console.log('No dependencies found.') : (console.error('Dependencies are not allowed.') && process.exit(1)));\"","test:lint":"yarn test:prettier && yarn test:eslint && yarn test:spelling","test:unit":"c8 ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1 && cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1 && cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256 && cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512 && cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","fix:eslint":"yarn test:eslint --fix","gen:schema":"yarn gen:schema:wallet-template && yarn gen:schema:bcmr","watch:test":"echo 'Usage: yarn watch:test --match=\"*pattern*\"' && ava -v --watch","doc:extract":"mkdir -p build/api && api-extractor run --local --typescript-compiler-folder node_modules/typescript","test:cycles":"madge --circular build/index.js","test:eslint":"eslint . -c .eslintrc","doc:generate":"api-documenter markdown -i temp -o build/api/markdown","fix:prettier":"prettier . --write","test:schemas":"yarn test:schemas:unchanged && echo \"Schemas are up to date.\" || echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\"","dev:vmb_tests":"yarn gen:vmb-tests && yarn build:tsc && ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial --fail-fast","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"yarn build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels-v1' > src/lib/transaction/fixtures/templates/cash-channels-v1.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb-tests":"yarn build && yarn gen:vmb-tests:bch && yarn gen:vmb-tests-prettier","test:prettier":"prettier . --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","version:alpha":"standard-version --prerelease alpha","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","gen:schema:bcmr":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/bcmr-types.ts' --type 'MetadataRegistry' > src/lib/schema/bcmr.schema.json && prettier 'src/lib/schema/bcmr.schema.json' --write && ajv compile -s src/lib/schema/bcmr.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-bcmr.js && prettier 'src/lib/schema/ajv/validate-bcmr.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-bcmr.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\"","prepare-release":"yarn reset && yarn test && yarn cov:check && yarn run version","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","gen:vmb-tests:bch":"node 'build/lib/vmb-tests/bch-vmb-tests.spec.helper.js' 'src/lib/vmb-tests/generated/bch' && yarn run gen:vmb-tests:bch:reasons","bench:browser-deps":"cpy '.yarn/artifacts/*.js' build/bench","test:unit:vmb_test":"node 'build/lib/vmb-tests/bch-vmb-test.spec.helper.js'","test:unit:vmb_tests":"c8 ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial","compile:debug:hashes":"docker run -it libauth-hashes bash","prepare-release:alpha":"yarn reset && yarn test && yarn cov:check && yarn run version:alpha","gen:vmb-tests-prettier":"prettier 'src/lib/vmb-tests/generated/**/*.json' --write","test:schemas:unchanged":"yarn gen:schema && node -e \"child_process.exec('git status src/lib/schema --porcelain | head -c1 | wc -c', (err, stdout) => stdout.trim() === '0' ? process.exit(0) : process.exit(1) )\"","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","gen:vmb-tests:bch:reasons":"node 'build/lib/vmb-tests/bch-vmb-tests-invalid.spec.helper.js'","gen:schema:wallet-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/template-types.ts' --type 'WalletTemplate' > src/lib/schema/wallet-template.schema.json && prettier 'src/lib/schema/wallet-template.schema.json' --write && ajv compile -s src/lib/schema/wallet-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-wallet-template.js && prettier 'src/lib/schema/ajv/validate-wallet-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-wallet-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/*bch-vmb-tests*.ts"],"options":{"printWidth":400}},{"files":["src/lib/vmb-tests/*bch-vmb-tests*.spec.*ts"],"options":{"printWidth":80}},{"files":["src/lib/vmb-tests/generated/**/*.json"],"options":{"printWidth":10000}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"10.2.4","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"resolutions":{"eslint-config-bitauth":"portal:./config/eslint-config-bitauth"},"sideEffects":false,"_nodeVersion":"20.11.0","_hasShrinkwrap":false,"packageManager":"yarn@4.0.2","readmeFilename":"README.md","devDependencies":{"c8":"^9.0.0","ava":"^6.0.1","madge":"^6.1.0","chuhai":"^1.2.0","cspell":"^8.3.2","eslint":"8.56.0","rollup":"^4.9.4","ajv-cli":"^5.0.0","cpy-cli":"^5.0.0","express":"^4.18.2","hash.js":"^1.1.7","typedoc":"^0.25.7","elliptic":"^6.5.4","open-cli":"^8.0.0","prettier":"^3.1.1","secp256k1":"^5.0.0","fast-check":"^3.15.0","typescript":"^5.3.3","@types/node":"^20.11.0","asmcrypto.js":"^2.3.2","@types/express":"^4.17.21","@ava/typescript":"^4.1.0","@fast-check/ava":"^1.2.1","@types/elliptic":"^6.4.18","@playwright/test":"^1.40.1","bitcore-lib-cash":"^10.0.23","standard-version":"^9.5.0","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.17","@rollup/plugin-alias":"^5.1.0","eslint-plugin-import":"^2.29.1","eslint-config-bitauth":"5.0.0","eslint-config-prettier":"^9.1.0","@rollup/plugin-commonjs":"^25.0.7","@microsoft/api-extractor":"^7.39.1","eslint-plugin-functional":"^6.0.0","ts-json-schema-generator":"^1.5.0","@microsoft/api-documenter":"^7.23.16","@typescript-eslint/parser":"^6.18.1","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^15.2.3","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^6.18.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_2.0.0-alpha.9_1705597478232_0.8831214193449504","host":"s3://npm-registry-packages"}},"2.1.0-beta.0":{"name":"@bitauth/libauth","version":"2.1.0-beta.0","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@2.1.0-beta.0","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js",".pnp.*","**/ajv/validate-*.js"]},"ava":{"timeout":"60s","typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules","--experimental-global-webcrypto","# ^ needed for node v18"]},"dist":{"shasum":"2a6c8af0399e9fb86b79ba9fc6ea3525573aa241","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-2.1.0-beta.0.tgz","fileCount":330,"integrity":"sha512-1WbMqeu/Xcs3NI1vtEiVQL44vi/dC7Z9fgY6AT99yx2jGa/JejGoT4aHlhi2uhNgJx2dqB8GeTLRapb+wf7dBA==","signatures":[{"sig":"MEUCIQDRRLGLa+Wqsr7is9MD/NWlkk0M8Zbs9pon19f0P0b1qwIgcSXEHaeZlz9JoIMdUXGz+CDZmP8Wfq09grWsdXMmvqU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4386639},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"f1e37fa5d858a14b49da8391fac4e4c6f624b04a","scripts":{"cov":"yarn build && yarn test:unit && yarn cov:html && yarn cov:lcov && open-cli coverage/index.html","doc":"yarn doc:html && yarn doc:html && open-cli build/docs/index.html","fix":"yarn fix:eslint && yarn fix:prettier","test":"yarn build && yarn test:policies && yarn test:unit","bench":"yarn build && yarn bench:browser-deps && yarn bench:test","build":"yarn build:wasm && yarn build:tsc","reset":"git clean -dfx && git reset --hard && yarn","watch":"yarn build -w","wallet":"node 'build/lib/vmb-tests/bch-vmb-tests.live.spec.helper.js'","version":"standard-version","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","doc:html":"typedoc src/index.ts --out build/docs","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"yarn build && yarn doc:extract && yarn doc:generate","build:tsc":"tsc -p tsconfig.json","cov:check":"c8 report && c8 check-coverage --lines 80 --functions 80 --branches 80","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"import('./package.json', { assert: { type: 'json' } }).then(p => typeof p.dependencies === 'undefined' ? console.log('No dependencies found.') : (console.error('Dependencies are not allowed.') && process.exit(1)));\"","test:fast":"echo '\n\nUsage:\n yarn test:fast src/lib/key/bip39.spec.ts                    # run a single test file \n yarn test:fast --match=\"!*crypto*\" --match=\"!*vmb_tests*\"   # include/exclude tests with names matching pattern(s) \n\n' && ava -v","test:lint":"yarn test:prettier && yarn test:eslint && yarn test:spelling","test:unit":"c8 ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1 && cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1 && cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256 && cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512 && cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","fix:eslint":"yarn test:eslint --fix","gen:schema":"yarn gen:schema:wallet-template && yarn gen:schema:bcmr","watch:test":"echo '\n\nUsage:\n yarn watch:test src/lib/key/bip39.spec.ts                    # watch a single test file \n yarn watch:test --match=\"!*crypto*\" --match=\"!*vmb_tests*\"   # include/exclude tests with names matching pattern(s) \n\n' && ava -v --watch","doc:extract":"mkdir -p build/api && api-extractor run --local --typescript-compiler-folder node_modules/typescript","test:cycles":"madge --circular build/index.js","test:eslint":"eslint . -c .eslintrc","doc:generate":"api-documenter markdown -i temp -o build/api/markdown","fix:prettier":"prettier . --write","test:schemas":"yarn test:schemas:unchanged && echo \"Schemas are up to date.\" || echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\"","dev:vmb_tests":"yarn gen:vmb-tests && yarn build:tsc && ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial --fail-fast","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"yarn build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels-v1' > src/lib/transaction/fixtures/templates/cash-channels-v1.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb-tests":"yarn build && yarn gen:vmb-tests:bch && yarn gen:vmb-tests-prettier","test:policies":"yarn test:deps && yarn test:schemas && yarn test:lint && yarn test:cycles","test:prettier":"prettier . --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","version:alpha":"standard-version --prerelease alpha","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","gen:schema:bcmr":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/bcmr-types.ts' --type 'MetadataRegistry' > src/lib/schema/bcmr.schema.json && prettier 'src/lib/schema/bcmr.schema.json' --write && ajv compile -s src/lib/schema/bcmr.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-bcmr.js && prettier 'src/lib/schema/ajv/validate-bcmr.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-bcmr.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\"","prepare-release":"yarn reset && yarn test && yarn cov:check && yarn run version","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","gen:vmb-tests:bch":"node 'build/lib/vmb-tests/bch-vmb-tests.spec.helper.js' 'src/lib/vmb-tests/generated/bch' && yarn run gen:vmb-tests:bch:reasons","bench:browser-deps":"cpy '.yarn/artifacts/*.js' build/bench","test:unit:vmb_test":"node 'build/lib/vmb-tests/bch-vmb-test.spec.helper.js'","test:unit:vmb_tests":"c8 ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial","compile:debug:hashes":"docker run -it libauth-hashes bash","prepare-release:alpha":"yarn reset && yarn test && yarn cov:check && yarn run version:alpha","gen:vmb-tests-prettier":"prettier 'src/lib/vmb-tests/generated/**/*.json' --write","test:schemas:unchanged":"yarn gen:schema && node -e \"child_process.exec('git status src/lib/schema --porcelain | head -c1 | wc -c', (err, stdout) => stdout.trim() === '0' ? process.exit(0) : process.exit(1) )\"","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","gen:vmb-tests:bch:reasons":"node 'build/lib/vmb-tests/bch-vmb-tests-invalid.spec.helper.js'","gen:schema:wallet-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/template-types.ts' --type 'WalletTemplate' > src/lib/schema/wallet-template.schema.json && prettier 'src/lib/schema/wallet-template.schema.json' --write && ajv compile -s src/lib/schema/wallet-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-wallet-template.js && prettier 'src/lib/schema/ajv/validate-wallet-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-wallet-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/*bch-vmb-tests*.ts"],"options":{"printWidth":400}},{"files":["src/lib/vmb-tests/*bch-vmb-tests*.spec.*ts"],"options":{"printWidth":80}},{"files":["src/lib/vmb-tests/generated/**/*.json"],"options":{"printWidth":10000}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"10.2.4","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"resolutions":{"eslint-config-bitauth":"portal:./config/eslint-config-bitauth"},"sideEffects":false,"_nodeVersion":"20.11.1","_hasShrinkwrap":false,"packageManager":"yarn@4.0.2","readmeFilename":"README.md","devDependencies":{"c8":"^9.0.0","ava":"^6.0.1","bip39":"^3.1.0","madge":"^6.1.0","chuhai":"^1.2.0","cspell":"^8.3.2","eslint":"8.56.0","rollup":"^4.9.4","ajv-cli":"^5.0.0","cpy-cli":"^5.0.0","express":"^4.18.2","hash.js":"^1.1.7","typedoc":"^0.25.7","elliptic":"^6.5.4","open-cli":"^8.0.0","prettier":"^3.1.1","secp256k1":"^5.0.0","fast-check":"^3.15.0","typescript":"^5.3.3","@types/node":"^20.11.0","asmcrypto.js":"^2.3.2","@types/express":"^4.17.21","@ava/typescript":"^4.1.0","@fast-check/ava":"^1.2.1","@types/elliptic":"^6.4.18","@playwright/test":"^1.40.1","bitcore-lib-cash":"^10.0.23","standard-version":"^9.5.0","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.17","@rollup/plugin-alias":"^5.1.0","eslint-plugin-import":"^2.29.1","eslint-config-bitauth":"5.0.0","eslint-config-prettier":"^9.1.0","@rollup/plugin-commonjs":"^25.0.7","@microsoft/api-extractor":"^7.39.1","eslint-plugin-functional":"^6.0.0","ts-json-schema-generator":"^1.5.0","@microsoft/api-documenter":"^7.23.16","@typescript-eslint/parser":"^6.18.1","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^15.2.3","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^6.18.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_2.1.0-beta.0_1708664694309_0.5528635331967391","host":"s3://npm-registry-packages"}},"2.1.0-beta.1":{"name":"@bitauth/libauth","version":"2.1.0-beta.1","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@2.1.0-beta.1","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js",".pnp.*","**/ajv/validate-*.js"]},"ava":{"timeout":"60s","typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules","--experimental-global-webcrypto","# ^ needed for node v18"]},"dist":{"shasum":"9012f92fc8b07e80c10f0b8d0413ac93ae96b979","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-2.1.0-beta.1.tgz","fileCount":330,"integrity":"sha512-ed/8MjSBHRrMOjf0nPsLFMrorT3SoFXTjgZn6qSERHTBH/7WXvmquc1VdYk0teuSXMHmQ26nw3654ITBMNgmAw==","signatures":[{"sig":"MEUCIQDwiQbw911yXLKp6iPLMU7MIWlzGI2XltrrgkkkTFiJWwIgUAYKtPXbnohMOAsGlluVfDCesZIjyyPZ1Ks7ZKFe+t4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4427707},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"e376c2947988a636e8c1a028f0dfbe06f1487aca","scripts":{"cov":"yarn build && yarn test:unit && yarn cov:html && yarn cov:lcov && open-cli coverage/index.html","doc":"yarn doc:html && yarn doc:html && open-cli build/docs/index.html","fix":"yarn fix:eslint && yarn fix:prettier","test":"yarn build && yarn test:policies && yarn test:unit","bench":"yarn build && yarn bench:browser-deps && yarn bench:test","build":"yarn build:wasm && yarn build:tsc","reset":"git clean -dfx && git reset --hard && yarn","watch":"yarn build -w","wallet":"node 'build/lib/vmb-tests/bch-vmb-tests.live.spec.helper.js'","version":"standard-version","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","doc:html":"typedoc src/index.ts --out build/docs","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"yarn build && yarn doc:extract && yarn doc:generate","build:tsc":"tsc -p tsconfig.json","cov:check":"c8 report && c8 check-coverage --lines 80 --functions 80 --branches 80","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"import('./package.json', { assert: { type: 'json' } }).then(p => typeof p.dependencies === 'undefined' ? console.log('No dependencies found.') : (console.error('Dependencies are not allowed.') && process.exit(1)));\"","test:fast":"echo '\n\nUsage:\n yarn test:fast src/lib/key/bip39.spec.ts                    # run a single test file \n yarn test:fast --match=\"!*crypto*\" --match=\"!*vmb_tests*\"   # include/exclude tests with names matching pattern(s) \n\n' && ava -v","test:lint":"yarn test:prettier && yarn test:eslint && yarn test:spelling","test:unit":"c8 ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1 && cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1 && cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256 && cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512 && cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","fix:eslint":"yarn test:eslint --fix","gen:schema":"yarn gen:schema:wallet-template && yarn gen:schema:bcmr","watch:test":"echo '\n\nUsage:\n yarn watch:test src/lib/key/bip39.spec.ts                    # watch a single test file \n yarn watch:test --match=\"!*crypto*\" --match=\"!*vmb_tests*\"   # include/exclude tests with names matching pattern(s) \n\n' && ava -v --watch","doc:extract":"mkdir -p build/api && api-extractor run --local --typescript-compiler-folder node_modules/typescript","test:cycles":"madge --circular build/index.js","test:eslint":"eslint . -c .eslintrc","doc:generate":"api-documenter markdown -i temp -o build/api/markdown","fix:prettier":"prettier . --write","test:schemas":"yarn test:schemas:unchanged && echo \"Schemas are up to date.\" || echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\"","dev:vmb_tests":"yarn gen:vmb-tests && yarn build:tsc && ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial --fail-fast","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"yarn build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels-v1' > src/lib/transaction/fixtures/templates/cash-channels-v1.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb-tests":"yarn build && yarn gen:vmb-tests:bch && yarn gen:vmb-tests-prettier","test:policies":"yarn test:deps && yarn test:schemas && yarn test:lint && yarn test:cycles","test:prettier":"prettier . --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","version:alpha":"standard-version --prerelease alpha","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","gen:schema:bcmr":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/bcmr-types.ts' --type 'MetadataRegistry' > src/lib/schema/bcmr.schema.json && prettier 'src/lib/schema/bcmr.schema.json' --write && ajv compile -s src/lib/schema/bcmr.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-bcmr.js && prettier 'src/lib/schema/ajv/validate-bcmr.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-bcmr.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\"","prepare-release":"yarn reset && yarn test && yarn cov:check && yarn run version","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","gen:vmb-tests:bch":"node 'build/lib/vmb-tests/bch-vmb-tests.spec.helper.js' 'src/lib/vmb-tests/generated/bch' && yarn run gen:vmb-tests:bch:reasons","bench:browser-deps":"cpy '.yarn/artifacts/*.js' build/bench","test:unit:vmb_test":"node 'build/lib/vmb-tests/bch-vmb-test.spec.helper.js'","test:unit:vmb_tests":"c8 ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial","compile:debug:hashes":"docker run -it libauth-hashes bash","prepare-release:alpha":"yarn reset && yarn test && yarn cov:check && yarn run version:alpha","gen:vmb-tests-prettier":"prettier 'src/lib/vmb-tests/generated/**/*.json' --write","test:schemas:unchanged":"yarn gen:schema && node -e \"child_process.exec('git status src/lib/schema --porcelain | head -c1 | wc -c', (err, stdout) => stdout.trim() === '0' ? process.exit(0) : process.exit(1) )\"","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","gen:vmb-tests:bch:reasons":"node 'build/lib/vmb-tests/bch-vmb-tests-invalid.spec.helper.js'","gen:schema:wallet-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/template-types.ts' --type 'WalletTemplate' > src/lib/schema/wallet-template.schema.json && prettier 'src/lib/schema/wallet-template.schema.json' --write && ajv compile -s src/lib/schema/wallet-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-wallet-template.js && prettier 'src/lib/schema/ajv/validate-wallet-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-wallet-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/*bch-vmb-tests*.ts"],"options":{"printWidth":400}},{"files":["src/lib/vmb-tests/*bch-vmb-tests*.spec.*ts"],"options":{"printWidth":80}},{"files":["src/lib/vmb-tests/generated/**/*.json"],"options":{"printWidth":10000}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"10.2.4","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"resolutions":{"eslint-config-bitauth":"portal:./config/eslint-config-bitauth"},"sideEffects":false,"_nodeVersion":"18.19.1","_hasShrinkwrap":false,"packageManager":"yarn@4.0.2","readmeFilename":"README.md","devDependencies":{"c8":"^9.0.0","ava":"^6.0.1","bip39":"^3.1.0","madge":"^6.1.0","chuhai":"^1.2.0","cspell":"^8.3.2","eslint":"8.56.0","rollup":"^4.9.4","ajv-cli":"^5.0.0","cpy-cli":"^5.0.0","express":"^4.18.2","hash.js":"^1.1.7","typedoc":"^0.25.7","elliptic":"^6.5.4","open-cli":"^8.0.0","prettier":"^3.1.1","secp256k1":"^5.0.0","fast-check":"^3.15.0","typescript":"^5.3.3","@types/node":"^20.11.0","asmcrypto.js":"^2.3.2","@types/express":"^4.17.21","@ava/typescript":"^4.1.0","@fast-check/ava":"^1.2.1","@types/elliptic":"^6.4.18","@playwright/test":"^1.40.1","bitcore-lib-cash":"^10.0.23","standard-version":"^9.5.0","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.17","@rollup/plugin-alias":"^5.1.0","eslint-plugin-import":"^2.29.1","eslint-config-bitauth":"5.0.0","eslint-config-prettier":"^9.1.0","@rollup/plugin-commonjs":"^25.0.7","@microsoft/api-extractor":"^7.39.1","eslint-plugin-functional":"^6.0.0","ts-json-schema-generator":"^1.5.0","@microsoft/api-documenter":"^7.23.16","@typescript-eslint/parser":"^6.18.1","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^15.2.3","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^6.18.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_2.1.0-beta.1_1708669759742_0.7472842835776148","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@bitauth/libauth","version":"2.1.0","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@2.1.0","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js",".pnp.*","**/ajv/validate-*.js"]},"ava":{"timeout":"60s","typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules","--experimental-global-webcrypto","# ^ needed for node v18"]},"dist":{"shasum":"e618706092fe9ea5e4103a2cf427cd5ae5287e1e","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-2.1.0.tgz","fileCount":330,"integrity":"sha512-O0cIN7/UPUHg6gaWHuePXIYRkvNPrc3zHfi80guZkkO4Ke9nSaN5mSITqhC5lKFBwAakr6OSToClXHN/IxiOfA==","signatures":[{"sig":"MEUCIFaw4MJgVLKmFVn6OHfa2OsHFg4VFtjBirhnc9eX0RX1AiEA33WsyRtjWjSAPQaqdpNkFv7QvZhYTFRYM34m2lWQCMQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bitauth%2flibauth@2.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4433724},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"cf2eb349160cac0b740a869c9f4b81b4bec91c55","scripts":{"cov":"yarn build && yarn test:unit && yarn cov:html && yarn cov:lcov && open-cli coverage/index.html","doc":"yarn doc:html && yarn doc:html && open-cli build/docs/index.html","fix":"yarn fix:eslint && yarn fix:prettier","test":"yarn build && yarn test:policies && yarn test:unit","bench":"yarn build && yarn bench:browser-deps && yarn bench:test","build":"yarn build:wasm && yarn build:tsc","watch":"yarn build -w","wallet":"node 'build/lib/vmb-tests/bch-vmb-tests.live.spec.helper.js'","release":"yarn build && yarn changeset publish","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","doc:html":"typedoc src/index.ts --out build/docs","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"yarn build && yarn doc:extract && yarn doc:generate","build:tsc":"tsc -p tsconfig.json","changeset":"changeset","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"import('./package.json', { assert: { type: 'json' } }).then(p => typeof p.dependencies === 'undefined' ? console.log('No dependencies found.') : (console.error('Dependencies are not allowed.') && process.exit(1)));\"","test:fast":"echo '\n\nUsage:\n yarn test:fast src/lib/key/bip39.spec.ts                    # run a single test file \n yarn test:fast --match=\"!*crypto*\" --match=\"!*vmb_tests*\"   # include/exclude tests with names matching pattern(s) \n\n' && ava -v","test:lint":"yarn test:prettier && yarn test:eslint && yarn test:spelling","test:unit":"c8 ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1 && cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1 && cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256 && cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512 && cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","fix:eslint":"yarn test:eslint --fix","gen:schema":"yarn gen:schema:wallet-template && yarn gen:schema:bcmr","watch:test":"echo '\n\nUsage:\n yarn watch:test src/lib/key/bip39.spec.ts                    # watch a single test file \n yarn watch:test --match=\"!*crypto*\" --match=\"!*vmb_tests*\"   # include/exclude tests with names matching pattern(s) \n\n' && ava -v --watch","doc:extract":"mkdir -p build/api && api-extractor run --local --typescript-compiler-folder node_modules/typescript","test:cycles":"madge --circular build/index.js","test:eslint":"eslint . -c .eslintrc","doc:generate":"api-documenter markdown -i temp -o build/api/markdown","fix:prettier":"prettier . --write","test:schemas":"yarn test:schemas:unchanged && echo \"Schemas are up to date.\" || echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\"","dev:vmb_tests":"yarn gen:vmb-tests && yarn build:tsc && ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial --fail-fast","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"yarn build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels-v1' > src/lib/transaction/fixtures/templates/cash-channels-v1.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb-tests":"yarn build && yarn gen:vmb-tests:bch && yarn gen:vmb-tests-prettier","test:policies":"yarn test:deps && yarn test:schemas && yarn test:lint && yarn test:cycles","test:prettier":"prettier . --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","gen:schema:bcmr":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/bcmr-types.ts' --type 'MetadataRegistry' > src/lib/schema/bcmr.schema.json && prettier 'src/lib/schema/bcmr.schema.json' --write && ajv compile -s src/lib/schema/bcmr.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-bcmr.js && prettier 'src/lib/schema/ajv/validate-bcmr.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-bcmr.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\"","changeset:version":"yarn changeset version && yarn fix:prettier","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","gen:vmb-tests:bch":"node 'build/lib/vmb-tests/bch-vmb-tests.spec.helper.js' 'src/lib/vmb-tests/generated/bch' && yarn run gen:vmb-tests:bch:reasons","bench:browser-deps":"cpy '.yarn/artifacts/*.js' build/bench","test:unit:vmb_test":"node 'build/lib/vmb-tests/bch-vmb-test.spec.helper.js'","test:unit:vmb_tests":"c8 ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial","compile:debug:hashes":"docker run -it libauth-hashes bash","gen:vmb-tests-prettier":"prettier 'src/lib/vmb-tests/generated/**/*.json' --write","test:schemas:unchanged":"yarn gen:schema && node -e \"child_process.exec('git status src/lib/schema --porcelain | head -c1 | wc -c', (err, stdout) => stdout.trim() === '0' ? process.exit(0) : process.exit(1) )\"","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","gen:vmb-tests:bch:reasons":"node 'build/lib/vmb-tests/bch-vmb-tests-invalid.spec.helper.js'","gen:schema:wallet-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/template-types.ts' --type 'WalletTemplate' > src/lib/schema/wallet-template.schema.json && prettier 'src/lib/schema/wallet-template.schema.json' --write && ajv compile -s src/lib/schema/wallet-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-wallet-template.js && prettier 'src/lib/schema/ajv/validate-wallet-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-wallet-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/*bch-vmb-tests*.ts"],"options":{"printWidth":400}},{"files":["src/lib/vmb-tests/*bch-vmb-tests*.spec.*ts"],"options":{"printWidth":80}},{"files":["src/lib/vmb-tests/generated/**/*.json"],"options":{"printWidth":10000}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"10.2.4","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"resolutions":{"eslint-config-bitauth":"portal:./config/eslint-config-bitauth"},"sideEffects":false,"_nodeVersion":"20.11.1","publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"yarn@4.0.2","devDependencies":{"c8":"^9.0.0","ava":"^6.0.1","bip39":"^3.1.0","madge":"^6.1.0","chuhai":"^1.2.0","cspell":"^8.3.2","eslint":"8.56.0","rollup":"^4.9.4","ajv-cli":"^5.0.0","cpy-cli":"^5.0.0","express":"^4.18.2","hash.js":"^1.1.7","typedoc":"^0.25.7","elliptic":"^6.5.4","open-cli":"^8.0.0","prettier":"^3.1.1","secp256k1":"^5.0.0","fast-check":"^3.15.0","typescript":"^5.3.3","@types/node":"^20.11.0","asmcrypto.js":"^2.3.2","@types/express":"^4.17.21","@ava/typescript":"^4.1.0","@changesets/cli":"^2.27.1","@fast-check/ava":"^1.2.1","@types/elliptic":"^6.4.18","@playwright/test":"^1.41.2","bitcore-lib-cash":"^10.0.23","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.17","@rollup/plugin-alias":"^5.1.0","eslint-plugin-import":"^2.29.1","eslint-config-bitauth":"5.0.0","eslint-config-prettier":"^9.1.0","@rollup/plugin-commonjs":"^25.0.7","@microsoft/api-extractor":"^7.39.1","eslint-plugin-functional":"^6.0.0","ts-json-schema-generator":"^1.5.0","@microsoft/api-documenter":"^7.23.16","@typescript-eslint/parser":"^6.18.1","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^15.2.3","@changesets/changelog-github":"^0.5.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^6.18.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_2.1.0_1708764220705_0.5978500817280468","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@bitauth/libauth","version":"3.0.0","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@3.0.0","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js",".pnp.*","**/ajv/validate-*.js"]},"ava":{"timeout":"60s","typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules","--experimental-global-webcrypto","# ^ needed for node v18"]},"dist":{"shasum":"d88535fc5353d5ecd11db96d9a229e11c06a43d2","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-3.0.0.tgz","fileCount":340,"integrity":"sha512-3yoL31XpnhAnf5nDVMFk4xPqebxDwXrgYAwpa31ARJnV5A/eXWlpNYvCd6FTZPFM4VvKfjCBi+jRCrw1hOZ0Jg==","signatures":[{"sig":"MEQCIFJm1m7twfZKA6TdNzVD2hbVsra1JjylUGWexRR8WTiwAiAazHHyVi9Q9UdPsRufKFP2gII2BuE45CQapi0IGD9gQw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bitauth%2flibauth@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4422746},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"6d0ae217f9cc5917a370cc272279acbcf3b5ec90","scripts":{"cov":"yarn build && yarn test:unit && yarn cov:html && yarn cov:lcov && open-cli coverage/index.html","doc":"yarn doc:html && yarn doc:html && open-cli build/docs/index.html","fix":"yarn fix:eslint && yarn fix:prettier","test":"yarn build && yarn test:policies && yarn test:unit","bench":"yarn build && yarn bench:browser-deps && yarn bench:test","build":"yarn build:wasm && yarn build:tsc","watch":"yarn build -w","wallet":"node 'build/lib/vmb-tests/bch-vmb-tests.live.spec.helper.js'","release":"yarn build && yarn changeset publish","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","doc:html":"typedoc src/index.ts --out build/docs","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"yarn build && yarn doc:extract && yarn doc:generate","build:tsc":"tsc -p tsconfig.json","changeset":"changeset","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"import('./package.json', { assert: { type: 'json' } }).then(p => typeof p.dependencies === 'undefined' ? console.log('No dependencies found.') : (console.error('Dependencies are not allowed.') && process.exit(1)));\"","test:fast":"echo '\n\nUsage:\n yarn test:fast src/lib/key/bip39.spec.ts                    # run a single test file \n yarn test:fast --match=\"!*crypto*\" --match=\"!*vmb_tests*\"   # include/exclude tests with names matching pattern(s) \n\n' && ava -v","test:lint":"yarn test:prettier && yarn test:eslint && yarn test:spelling","test:unit":"c8 ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1 && cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1 && cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256 && cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512 && cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","fix:eslint":"yarn test:eslint --fix","gen:schema":"yarn gen:schema:wallet-template && yarn gen:schema:bcmr","watch:test":"echo '\n\nUsage:\n yarn watch:test src/lib/key/bip39.spec.ts                    # watch a single test file \n yarn watch:test --match=\"!*crypto*\" --match=\"!*vmb_tests*\"   # include/exclude tests with names matching pattern(s) \n\n' && ava -v --watch","doc:extract":"mkdir -p build/api && api-extractor run --local --typescript-compiler-folder node_modules/typescript","test:cycles":"madge --circular build/index.js","test:eslint":"eslint . -c .eslintrc","doc:generate":"api-documenter markdown -i temp -o build/api/markdown","fix:prettier":"prettier . --write","test:schemas":"yarn test:schemas:unchanged && echo \"Schemas are up to date.\" || echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\"","dev:vmb_tests":"yarn gen:vmb-tests && yarn build:tsc && ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial --fail-fast","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"yarn build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels-v1' > src/lib/transaction/fixtures/templates/cash-channels-v1.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb-tests":"yarn build && yarn gen:vmb-tests:bch && yarn gen:vmb-tests-prettier","test:policies":"yarn test:deps && yarn test:schemas && yarn test:lint && yarn test:cycles","test:prettier":"prettier . --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","gen:schema:bcmr":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/bcmr-types.ts' --type 'MetadataRegistry' > src/lib/schema/bcmr.schema.json && prettier 'src/lib/schema/bcmr.schema.json' --write && ajv compile -s src/lib/schema/bcmr.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-bcmr.js && prettier 'src/lib/schema/ajv/validate-bcmr.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-bcmr.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\"","changeset:version":"yarn changeset version && yarn fix:prettier","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","gen:vmb-tests:bch":"node 'build/lib/vmb-tests/bch-vmb-tests.spec.helper.js' 'src/lib/vmb-tests/generated/bch' && yarn run gen:vmb-tests:bch:reasons","bench:browser-deps":"cpy '.yarn/artifacts/*.js' build/bench","test:unit:vmb_test":"node 'build/lib/vmb-tests/bch-vmb-test.spec.helper.js'","test:unit:vmb_tests":"c8 ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial","compile:debug:hashes":"docker run -it libauth-hashes bash","gen:vmb-tests-prettier":"prettier 'src/lib/vmb-tests/generated/**/*.json' --write","test:schemas:unchanged":"yarn gen:schema && node -e \"child_process.exec('git status src/lib/schema --porcelain | head -c1 | wc -c', (err, stdout) => stdout.trim() === '0' ? process.exit(0) : process.exit(1) )\"","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","gen:vmb-tests:bch:reasons":"node 'build/lib/vmb-tests/bch-vmb-tests-invalid.spec.helper.js'","gen:schema:wallet-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/template-types.ts' --type 'WalletTemplate' > src/lib/schema/wallet-template.schema.json && prettier 'src/lib/schema/wallet-template.schema.json' --write && ajv compile -s src/lib/schema/wallet-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-wallet-template.js && prettier 'src/lib/schema/ajv/validate-wallet-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-wallet-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/*bch-vmb-tests*.ts"],"options":{"printWidth":400}},{"files":["src/lib/vmb-tests/*bch-vmb-tests*.spec.*ts"],"options":{"printWidth":80}},{"files":["src/lib/vmb-tests/generated/**/*.json"],"options":{"printWidth":10000}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"10.5.0","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"resolutions":{"eslint-config-bitauth":"portal:./config/eslint-config-bitauth"},"sideEffects":false,"_nodeVersion":"20.12.1","publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"yarn@4.0.2","devDependencies":{"c8":"^9.0.0","ava":"^6.0.1","bip39":"^3.1.0","madge":"^6.1.0","chuhai":"^1.2.0","cspell":"^8.3.2","eslint":"8.56.0","rollup":"^4.9.4","ajv-cli":"^5.0.0","cpy-cli":"^5.0.0","express":"^4.18.2","hash.js":"^1.1.7","typedoc":"^0.25.7","elliptic":"^6.5.4","open-cli":"^8.0.0","prettier":"^3.1.1","secp256k1":"^5.0.0","fast-check":"^3.15.0","typescript":"^5.3.3","@types/node":"^20.11.0","asmcrypto.js":"^2.3.2","@types/express":"^4.17.21","@ava/typescript":"^4.1.0","@changesets/cli":"^2.27.1","@fast-check/ava":"^1.2.1","@types/elliptic":"^6.4.18","@playwright/test":"^1.41.2","bitcore-lib-cash":"^10.0.23","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.17","@rollup/plugin-alias":"^5.1.0","eslint-plugin-import":"^2.29.1","eslint-config-bitauth":"5.0.0","eslint-config-prettier":"^9.1.0","@rollup/plugin-commonjs":"^25.0.7","@microsoft/api-extractor":"^7.39.1","eslint-plugin-functional":"^6.0.0","ts-json-schema-generator":"^1.5.0","@microsoft/api-documenter":"^7.23.16","@typescript-eslint/parser":"^6.18.1","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^15.2.3","@changesets/changelog-github":"^0.5.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^6.18.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_3.0.0_1712770394373_0.1386536290824305","host":"s3://npm-registry-packages"}},"3.1.0-next.0":{"name":"@bitauth/libauth","version":"3.1.0-next.0","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@3.1.0-next.0","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js",".pnp.*","**/ajv/validate-*.js"]},"ava":{"files":["!src/lib/vmb-tests/benchmark-bch-vmb-tests.spec.ts"],"timeout":"120s","typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules","--experimental-global-webcrypto"]},"dist":{"shasum":"42da7e69381b9fc153c6379cabc8d702d8671950","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-3.1.0-next.0.tgz","fileCount":374,"integrity":"sha512-B1p/wLA9I/3Xsu6WKNPHhvjAZeJuTYLEhLi5kGH6QN1lQJTATlTNuq4p5rd8XUjvXbVS3kcFxZnjTDFzG6uzQw==","signatures":[{"sig":"MEYCIQCCjwjsFHw39UDi0xoDot7Jlaka3mcAqt0IJ8rHieRl+wIhAIMLgCVJ4ViMDKMDceSKa0Xq4Suc4A3VoCsuj38sHPXo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bitauth%2flibauth@3.1.0-next.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4492408},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"b1851d4bd50ee39b8d7bc7392b9d2bb7d6e395b1","scripts":{"cov":"yarn build && yarn test:unit && yarn cov:html && yarn cov:lcov && open-cli coverage/index.html","doc":"yarn doc:html && yarn doc:html && open-cli build/docs/index.html","fix":"yarn fix:eslint && yarn fix:prettier","test":"yarn build && yarn test:policies && yarn test:unit","bench":"yarn build && yarn bench:browser-deps && yarn bench:vmb_tests && yarn bench:test","build":"yarn build:wasm && yarn build:tsc","watch":"yarn build -w","wallet":"node --enable-source-maps 'build/lib/vmb-tests/run-live-bch-vmb-test.spec.helper.js'","release":"yarn build && yarn changeset publish","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","doc:html":"typedoc src/index.ts --out build/docs","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"yarn build && yarn doc:extract && yarn doc:generate","build:tsc":"tsc -p tsconfig.json","changeset":"changeset","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"import('./package.json', { assert: { type: 'json' } }).then(p => typeof p.dependencies === 'undefined' ? console.log('No dependencies found.') : (console.error('Dependencies are not allowed.') && process.exit(1)));\"","test:fast":"echo '\n\nUsage:\n yarn test:fast src/lib/key/bip39.spec.ts                    # run a single test file \n yarn test:fast --match=\"!*crypto*\" --match=\"!*vmb_tests*\"   # include/exclude tests with names matching pattern(s) \n\n' && ava -v","test:lint":"yarn test:prettier && yarn test:eslint && yarn test:spelling","test:unit":"c8 ava","bench:test":"ava --config config/.ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1 && cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1 && cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256 && cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512 && cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","fix:eslint":"yarn test:eslint --fix","gen:schema":"yarn gen:schema:wallet-template && yarn gen:schema:bcmr","watch:test":"echo '\n\nUsage:\n yarn watch:test src/lib/key/bip39.spec.ts                    # watch a single test file \n yarn watch:test --match=\"!*crypto*\" --match=\"!*vmb_tests*\"   # include/exclude tests with names matching pattern(s) \n\n' && ava -v --watch","doc:extract":"mkdir -p build/api && api-extractor run --local --typescript-compiler-folder node_modules/typescript","test:cycles":"madge --circular build/index.js","test:eslint":"eslint . -c .eslintrc","doc:generate":"api-documenter markdown -i temp -o build/api/markdown","fix:prettier":"prettier . --write","test:schemas":"yarn test:schemas:unchanged && echo \"Schemas are up to date.\" || echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\"","dev:vmb_tests":"yarn gen:vmb_tests && yarn build:tsc && ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial --fail-fast","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"yarn build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels-v1' > src/lib/transaction/fixtures/templates/cash-channels-v1.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb_tests":"yarn build && yarn gen:vmb_tests:bch && yarn gen:vmb_tests-prettier","test:policies":"yarn test:deps && yarn test:schemas && yarn test:lint && yarn test:cycles","test:prettier":"prettier . --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","bench:vmb_tests":"ava --config config/.ava.vmb_bench.config.js src/lib/vmb-tests/benchmark-bch-vmb-tests.spec.ts --serial","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","gen:schema:bcmr":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/bcmr-types.ts' --type 'MetadataRegistry' > src/lib/schema/bcmr.schema.json && prettier 'src/lib/schema/bcmr.schema.json' --write && ajv compile -s src/lib/schema/bcmr.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-bcmr.js && prettier 'src/lib/schema/ajv/validate-bcmr.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-bcmr.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\"","changeset:version":"yarn changeset version && yarn fix:prettier","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","gen:vmb_tests:bch":"node --enable-source-maps 'build/lib/vmb-tests/write-bch-vmb-tests.spec.helper.js' 'src/lib/vmb-tests/generated' && yarn run gen:vmb_tests:bch:reasons","bench:browser-deps":"cpy '.yarn/artifacts/*.js' build/bench","dev:vmb_tests:info":"echo 'example: export FILTER_VMB_TESTS=benchmark; export FILTER_VMB_TEST_VM=2025; yarn dev:vmb_tests && say sucess || say failure","test:unit:vmb_test":"node --enable-source-maps 'build/lib/vmb-tests/run-bch-vmb-test.spec.helper.js'","test:unit:vmb_tests":"c8 ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial","compile:debug:hashes":"docker run -it libauth-hashes bash","gen:vmb_tests-prettier":"prettier 'src/lib/vmb-tests/generated/**/*.json' --write","test:schemas:unchanged":"yarn gen:schema && node -e \"child_process.exec('git status src/lib/schema --porcelain | head -c1 | wc -c', (err, stdout) => stdout.trim() === '0' ? process.exit(0) : process.exit(1) )\"","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","gen:vmb_tests:bch:reasons":"node --enable-source-maps 'build/lib/vmb-tests/write-reasons-bch-vmb-tests.spec.helper.js'","gen:schema:wallet-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/template-types.ts' --type 'WalletTemplate' > src/lib/schema/wallet-template.schema.json && prettier 'src/lib/schema/wallet-template.schema.json' --write && ajv compile -s src/lib/schema/wallet-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-wallet-template.js && prettier 'src/lib/schema/ajv/validate-wallet-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-wallet-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/**/*bch-vmb-tests*.ts"],"options":{"printWidth":400}},{"files":["src/lib/vmb-tests/*bch-vmb-tests*.spec.*ts"],"options":{"printWidth":80}},{"files":["src/lib/vmb-tests/generated/**/*.json"],"options":{"printWidth":10000}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"10.7.0","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"resolutions":{"eslint-config-bitauth":"portal:./config/eslint-config-bitauth"},"sideEffects":false,"_nodeVersion":"20.15.1","publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"yarn@4.0.2","readmeFilename":"README.md","devDependencies":{"c8":"^9.0.0","ava":"^6.0.1","bip39":"^3.1.0","madge":"^6.1.0","chuhai":"^1.2.0","cspell":"^8.3.2","eslint":"8.56.0","rollup":"^4.9.4","ajv-cli":"^5.0.0","cpy-cli":"^5.0.0","express":"^4.18.2","hash.js":"^1.1.7","typedoc":"^0.25.7","elliptic":"^6.5.4","open-cli":"^8.0.0","prettier":"^3.1.1","secp256k1":"^5.0.0","tinybench":"^2.8.0","fast-check":"^3.15.0","typescript":"^5.3.3","@types/node":"^20.11.0","asmcrypto.js":"^2.3.2","@types/express":"^4.17.21","@ava/typescript":"^4.1.0","@changesets/cli":"^2.27.1","@fast-check/ava":"^1.2.1","@types/elliptic":"^6.4.18","@playwright/test":"^1.41.2","bitcore-lib-cash":"^10.0.23","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.17","@rollup/plugin-alias":"^5.1.0","eslint-plugin-import":"^2.29.1","eslint-config-bitauth":"5.0.0","eslint-config-prettier":"^9.1.0","@rollup/plugin-commonjs":"^25.0.7","@microsoft/api-extractor":"^7.39.1","eslint-plugin-functional":"^6.0.0","ts-json-schema-generator":"^1.5.0","@microsoft/api-documenter":"^7.23.16","@typescript-eslint/parser":"^6.18.1","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^15.2.3","@changesets/changelog-github":"^0.5.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^6.18.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_3.1.0-next.0_1722017123216_0.6893006027800292","host":"s3://npm-registry-packages"}},"3.1.0-next.1":{"name":"@bitauth/libauth","version":"3.1.0-next.1","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@3.1.0-next.1","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js",".pnp.*","**/ajv/validate-*.js"]},"ava":{"timeout":"120s","typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules","--experimental-global-webcrypto"]},"dist":{"shasum":"13992451ac5871911e9bd05f7e1b602a60e4a858","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-3.1.0-next.1.tgz","fileCount":886,"integrity":"sha512-iwrAxHUrSGQce0stgR6Retbx3mjuILviNvcpaQwUOTBXIJkCf0ALYXqM259TEg3DbJoj63NjTXQtLyVdHf2tJA==","signatures":[{"sig":"MEYCIQDVyZCdTSC/mAAH4Q9y9B5/9qcjcTtBoanSMHVNQUrIPgIhAJii9sfV65xXhP+H+Zh+uvin2NsM9yVuqAmySLL0ZZTF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bitauth%2flibauth@3.1.0-next.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7263052},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"94306e475402932e43f9640f435ce669ee950438","scripts":{"cov":"yarn build && yarn test:unit && yarn cov:html && yarn cov:lcov && open-cli coverage/index.html","doc":"yarn doc:html && yarn doc:html && open-cli build/docs/index.html","fix":"yarn fix:eslint && yarn fix:prettier","test":"yarn build && yarn test:policies && yarn test:unit","bench":"yarn build && yarn bench:browser-deps && yarn bench:vmb_tests && yarn bench:test","build":"yarn build:wasm && yarn build:tsc","watch":"yarn build -w","digest":"ai-digest","wallet":"node --enable-source-maps 'build/lib/vmb-tests/run-live-bch-vmb-test.spec.helper.js'","release":"yarn build && yarn changeset publish","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","doc:html":"typedoc src/index.ts --out build/docs","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"yarn build && yarn doc:extract && yarn doc:generate","build:tsc":"tsc -p tsconfig.json","changeset":"changeset","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"import('./package.json', { assert: { type: 'json' } }).then(p => typeof p.dependencies === 'undefined' ? console.log('No dependencies found.') : (console.error('Dependencies are not allowed.') && process.exit(1)));\"","test:fast":"echo '\n\nUsage:\n yarn test:fast src/lib/key/bip39.spec.ts                    # run a single test file \n yarn test:fast --match=\"!*crypto*\"                            # include/exclude tests with names matching pattern(s) \n\n' && ava -v","test:lint":"yarn test:prettier && yarn test:eslint && yarn test:spelling","test:unit":"c8 ava","bench:test":"ava --config config/.ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1 && cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1 && cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256 && cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512 && cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","fix:eslint":"yarn test:eslint --fix","gen:schema":"yarn gen:schema:wallet-template && yarn gen:schema:bcmr","watch:test":"echo '\n\nUsage:\n yarn watch:test src/lib/key/bip39.spec.ts                    # watch a single test file \n yarn watch:test --match=\"!*crypto*\"                            # include/exclude tests with names matching pattern(s) \n\n' && ava -v --watch","doc:extract":"mkdir -p build/api && api-extractor run --local --typescript-compiler-folder node_modules/typescript","test:cycles":"madge --circular build/index.js","test:eslint":"eslint . -c .eslintrc","doc:generate":"api-documenter markdown -i temp -o build/api/markdown","fix:prettier":"prettier . --write","test:schemas":"yarn test:schemas:unchanged && echo \"Schemas are up to date.\" || echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\"","dev:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/dev-vmb-tests.spec.helper.js' -w","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"yarn build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels-v1' > src/lib/transaction/fixtures/templates/cash-channels-v1.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/dev-vmb-tests.spec.helper.js'","test:policies":"yarn test:deps && yarn test:schemas && yarn test:lint && yarn test:cycles","test:prettier":"prettier . --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","bench:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/dev-vmb-tests.spec.helper.js' -b","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","gen:schema:bcmr":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/bcmr-types.ts' --type 'MetadataRegistry' > src/lib/schema/bcmr.schema.json && prettier 'src/lib/schema/bcmr.schema.json' --write && ajv compile -s src/lib/schema/bcmr.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-bcmr.js && prettier 'src/lib/schema/ajv/validate-bcmr.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-bcmr.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\"","export:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/export-vmb-test-results.spec.helper.js'","changeset:version":"yarn changeset version && yarn fix:prettier","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"cpy '.yarn/artifacts/*.js' build/bench","test:unit:vmb_test":"node --enable-source-maps 'build/lib/vmb-tests/run-bch-vmb-test.spec.helper.js'","dev:vmb_tests:bench":"node --enable-source-maps 'build/lib/vmb-tests/dev-vmb-tests.spec.helper.js' -wb","compile:debug:hashes":"docker run -it libauth-hashes bash","test:schemas:unchanged":"yarn gen:schema && node -e \"child_process.exec('git status src/lib/schema --porcelain | head -c1 | wc -c', (err, stdout) => stdout.trim() === '0' ? process.exit(0) : process.exit(1) )\"","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","gen:schema:wallet-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/template-types.ts' --type 'WalletTemplate' > src/lib/schema/wallet-template.schema.json && prettier 'src/lib/schema/wallet-template.schema.json' --write && ajv compile -s src/lib/schema/wallet-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-wallet-template.js && prettier 'src/lib/schema/ajv/validate-wallet-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-wallet-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/sources/**/*.ts"],"options":{"printWidth":400}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"10.8.2","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"resolutions":{"eslint-config-bitauth":"portal:./config/eslint-config-bitauth"},"sideEffects":false,"_nodeVersion":"20.17.0","publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","readmeFilename":"README.md","devDependencies":{"c8":"^10.1.2","ava":"^6.0.1","bip39":"^3.1.0","madge":"^6.1.0","chuhai":"^1.2.0","cspell":"^8.3.2","eslint":"8.56.0","rollup":"^4.9.4","ajv-cli":"^5.0.0","cpy-cli":"^5.0.0","express":"^4.18.2","hash.js":"^1.1.7","typedoc":"^0.26.7","elliptic":"^6.5.4","open-cli":"^8.0.0","prettier":"^3.1.1","secp256k1":"^5.0.0","tinybench":"^2.8.0","fast-check":"^3.15.0","typescript":"^5.6.2","@types/node":"^22.5.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.21","@ava/typescript":"^4.1.0","@changesets/cli":"^2.27.1","@fast-check/ava":"^1.2.1","@types/elliptic":"^6.4.18","@playwright/test":"^1.41.2","bitcore-lib-cash":"^10.0.23","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.17","@rollup/plugin-alias":"^5.1.0","eslint-plugin-import":"^2.29.1","eslint-config-bitauth":"5.0.0","eslint-config-prettier":"^9.1.0","@rollup/plugin-commonjs":"^25.0.7","@microsoft/api-extractor":"^7.39.1","eslint-plugin-functional":"^6.0.0","ts-json-schema-generator":"^1.5.0","@microsoft/api-documenter":"^7.23.16","@typescript-eslint/parser":"^6.18.1","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^15.2.3","@changesets/changelog-github":"^0.5.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^6.18.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_3.1.0-next.1_1727444440983_0.8736876303949477","host":"s3://npm-registry-packages"}},"3.1.0-next.2":{"name":"@bitauth/libauth","version":"3.1.0-next.2","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@3.1.0-next.2","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js",".pnp.*","**/ajv/validate-*.js"]},"ava":{"timeout":"120s","typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules","--experimental-global-webcrypto"]},"dist":{"shasum":"121782b38774d9fba8226406db9b9af0c8d8e464","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-3.1.0-next.2.tgz","fileCount":954,"integrity":"sha512-XRtk9p8UHvtjSPS38rsfHXzaPHG5j9FpN4qHqqGLoAuZYy675PBiOy9zP6ah8lTnnIVaCFl2ekct8w0Hy1oefw==","signatures":[{"sig":"MEQCIAuxeBmBqTUTD7Zvoxiskx7LI73WpVYcZ9vlxjcUcChoAiAgqawzVtDS15dawjmJ9MArwB6Li42Sk31xEihuqGRgAg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bitauth%2flibauth@3.1.0-next.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7702941},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"681f962d597dad4e22d203209eefe9826c6bc2ba","scripts":{"cov":"yarn build && yarn test:unit && yarn cov:html && yarn cov:lcov && open-cli coverage/index.html","doc":"yarn doc:html && yarn doc:html && open-cli build/docs/index.html","fix":"yarn fix:eslint && yarn fix:prettier","test":"yarn build && yarn test:policies && yarn test:unit","bench":"yarn build && yarn bench:browser-deps && yarn bench:vmb_tests && yarn bench:test","build":"yarn build:wasm && yarn build:tsc","watch":"yarn build -w","digest":"ai-digest","wallet":"node --enable-source-maps 'build/lib/vmb-tests/run-live-bch-vmb-test.spec.helper.js'","release":"yarn build && yarn changeset publish","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","doc:html":"typedoc src/index.ts --out build/docs","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"yarn build && yarn doc:extract && yarn doc:generate","build:tsc":"tsc -p tsconfig.json","changeset":"changeset","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"import('./package.json', { assert: { type: 'json' } }).then(p => typeof p.dependencies === 'undefined' ? console.log('No dependencies found.') : (console.error('Dependencies are not allowed.') && process.exit(1)));\"","test:fast":"echo '\n\nUsage:\n yarn test:fast src/lib/key/bip39.spec.ts                    # run a single test file \n yarn test:fast --match=\"!*crypto*\"                            # include/exclude tests with names matching pattern(s) \n\n' && ava -v","test:lint":"yarn test:prettier && yarn test:eslint && yarn test:spelling","test:unit":"c8 ava","bchn:build":"cd wasm/bitcoin-cash-node/build && ninja","bchn:cmake":"cd wasm/bitcoin-cash-node/build && cmake -GNinja .. -DBUILD_BITCOIN_WALLET=OFF -DBUILD_BITCOIN_QT=OFF -DENABLE_NATPMP=OFF -DENABLE_MAN=OFF -DCMAKE_BUILD_TYPE=Release","bchn:setup":"cd wasm/bitcoin-cash-node && mkdir build && yarn bchn:cmake && yarn bchn:build","bench:test":"ava --config config/.ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1 && cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1 && cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256 && cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512 && cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","fix:eslint":"yarn test:eslint --fix","gen:schema":"yarn gen:schema:wallet-template && yarn gen:schema:bcmr","watch:test":"echo '\n\nUsage:\n yarn watch:test src/lib/key/bip39.spec.ts                    # watch a single test file \n yarn watch:test --match=\"!*crypto*\"                            # include/exclude tests with names matching pattern(s) \n\n' && ava -v --watch","doc:extract":"mkdir -p build/api && api-extractor run --local --typescript-compiler-folder node_modules/typescript","test:cycles":"madge --circular build/index.js","test:eslint":"eslint . -c .eslintrc","doc:generate":"api-documenter markdown -i temp -o build/api/markdown","fix:prettier":"prettier . --write","test:schemas":"yarn test:schemas:unchanged && echo \"Schemas are up to date.\" || echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\"","dev:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/dev-vmb-tests.spec.helper.js' -w","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"yarn build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels-v1' > src/lib/transaction/fixtures/templates/cash-channels-v1.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/dev-vmb-tests.spec.helper.js'","test:policies":"yarn test:deps && yarn test:schemas && yarn test:lint && yarn test:cycles","test:prettier":"prettier . --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","bchn:run-tests":"cd wasm/bitcoin-cash-node/build && echo 'Building BCHN tests...' && ninja test_bitcoin && echo 'Running VMB tests in BCHN...' && src/test/test_bitcoin -t libauth_tests","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","bench:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/dev-vmb-tests.spec.helper.js' -b","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","gen:schema:bcmr":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/bcmr-types.ts' --type 'MetadataRegistry' > src/lib/schema/bcmr.schema.json && prettier 'src/lib/schema/bcmr.schema.json' --write && ajv compile -s src/lib/schema/bcmr.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-bcmr.js && prettier 'src/lib/schema/ajv/validate-bcmr.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-bcmr.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\"","export:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/export-vmb-test-results.spec.helper.js'","changeset:version":"yarn changeset version && yarn fix:prettier","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"cpy '.yarn/artifacts/*.js' build/bench","test:unit:vmb_test":"node --enable-source-maps 'build/lib/vmb-tests/run-bch-vmb-test.spec.helper.js'","dev:vmb_tests:bench":"node --enable-source-maps 'build/lib/vmb-tests/dev-vmb-tests.spec.helper.js' -wb","bchn:check-vmb-tests":"yarn bchn:cmake && yarn bchn:build && yarn bchn:run-tests","compile:debug:hashes":"docker run -it libauth-hashes bash","bchn:update-vmb-tests":"yarn bchn:replace-vmb-tests && yarn bchn:cmake && yarn bchn:run-tests && yarn bchn:copy-vmb-test-results","bchn:add-new-vmb-tests":"cp -r src/lib/vmb-tests/generated/* wasm/bitcoin-cash-node/src/test/data/vmb_tests && echo 'Added new VMB tests.'","bchn:replace-vmb-tests":"yarn bchn:remove-old-vmb-tests && yarn bchn:add-new-vmb-tests","test:schemas:unchanged":"yarn gen:schema && node -e \"child_process.exec('git status src/lib/schema --porcelain | head -c1 | wc -c', (err, stdout) => stdout.trim() === '0' ? process.exit(0) : process.exit(1) )\"","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","bchn:remove-old-vmb-tests":"rm -r wasm/bitcoin-cash-node/src/test/data/vmb_tests/bch_{2023,2025}_{invalid,nonstandard,standard} && echo 'Removed old VMB tests from: wasm/bitcoin-cash-node/src/test/data/vmb_tests'","bchn:copy-vmb-test-results":"cp wasm/bitcoin-cash-node/build/libauth_expected_test_fail_reasons.json src/lib/vmb-tests/bchn/libauth_expected_test_fail_reasons.json && cp wasm/bitcoin-cash-node/build/libauth_expected_test_metrics.json src/lib/vmb-tests/bchn/libauth_expected_test_metrics.json && echo 'Replaced BCHN files at: src/lib/vmb-tests/bchn'","gen:schema:wallet-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/template-types.ts' --type 'WalletTemplate' > src/lib/schema/wallet-template.schema.json && prettier 'src/lib/schema/wallet-template.schema.json' --write && ajv compile -s src/lib/schema/wallet-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-wallet-template.js && prettier 'src/lib/schema/ajv/validate-wallet-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-wallet-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/sources/**/*.ts"],"options":{"printWidth":400}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"10.8.2","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"resolutions":{"eslint-config-bitauth":"portal:./config/eslint-config-bitauth"},"sideEffects":false,"_nodeVersion":"20.18.0","publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","readmeFilename":"README.md","devDependencies":{"c8":"^10.1.2","ava":"^6.0.1","bip39":"^3.1.0","madge":"^6.1.0","chuhai":"^1.2.0","cspell":"^8.3.2","eslint":"8.56.0","rollup":"^4.9.4","ajv-cli":"^5.0.0","cpy-cli":"^5.0.0","express":"^4.18.2","hash.js":"^1.1.7","typedoc":"^0.26.7","elliptic":"^6.5.4","open-cli":"^8.0.0","prettier":"^3.1.1","secp256k1":"^5.0.0","tinybench":"^2.8.0","fast-check":"^3.15.0","typescript":"^5.6.2","@types/node":"^22.5.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.21","@ava/typescript":"^4.1.0","@changesets/cli":"^2.27.1","@fast-check/ava":"^1.2.1","@types/elliptic":"^6.4.18","@playwright/test":"^1.41.2","bitcore-lib-cash":"^10.0.23","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.17","@rollup/plugin-alias":"^5.1.0","eslint-plugin-import":"^2.29.1","eslint-config-bitauth":"5.0.0","eslint-config-prettier":"^9.1.0","@rollup/plugin-commonjs":"^25.0.7","@microsoft/api-extractor":"^7.39.1","eslint-plugin-functional":"^6.0.0","ts-json-schema-generator":"^1.5.0","@microsoft/api-documenter":"^7.23.16","@typescript-eslint/parser":"^6.18.1","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^15.2.3","@changesets/changelog-github":"^0.5.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^6.18.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_3.1.0-next.2_1731640212698_0.04850381953722405","host":"s3://npm-registry-packages"}},"3.1.0-next.3":{"name":"@bitauth/libauth","version":"3.1.0-next.3","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@3.1.0-next.3","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js",".pnp.*","**/ajv/validate-*.js"]},"ava":{"timeout":"120s","typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules","--experimental-global-webcrypto"]},"dist":{"shasum":"6036549bcf4f530e38ec275d7b72462e0a443f6a","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-3.1.0-next.3.tgz","fileCount":978,"integrity":"sha512-Agb/g34S+Moskjz7x4GGwntAX8u8O7A4ycnxAW1gleh/ixHShJvJ2VvtI7EMk7k6Ef78OAo7lI9r5Fd4CJ1raA==","signatures":[{"sig":"MEYCIQCUCLdIV64lBEGEeM5oaMYX2pdb8ZndEoW9KahHAj8gGQIhAOqbgPuOEbUeJDJc6Pe6S97KmjwPOcPxgDagVCzjeMXl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bitauth%2flibauth@3.1.0-next.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7771687},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"3075c467f1e04e4d10d7dbe50eff8736bc60fda5","scripts":{"cov":"yarn build && yarn test:unit && yarn cov:html && yarn cov:lcov && open-cli coverage/index.html","doc":"yarn doc:html && yarn doc:html && open-cli build/docs/index.html","fix":"yarn fix:eslint && yarn fix:prettier","test":"yarn build && yarn test:policies && yarn test:unit","bench":"yarn build && yarn bench:browser-deps && yarn bench:vmb_tests && yarn bench:test","build":"yarn build:wasm && yarn build:tsc","watch":"yarn build -w","digest":"ai-digest","wallet":"node --enable-source-maps 'build/lib/vmb-tests/run-live-bch-vmb-test.spec.helper.js'","release":"yarn build && yarn changeset publish","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","doc:html":"typedoc src/index.ts --out build/docs","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"yarn build && yarn doc:extract && yarn doc:generate","build:tsc":"tsc -p tsconfig.json","changeset":"changeset","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"import('./package.json', { with: { type: 'json' } }).then(p => typeof p.dependencies === 'undefined' ? console.log('No dependencies found.') : (console.error('Dependencies are not allowed.') && process.exit(1)));\"","test:fast":"echo '\n\nUsage:\n yarn test:fast src/lib/key/bip39.spec.ts                    # run a single test file \n yarn test:fast --match=\"!*crypto*\"                            # include/exclude tests with names matching pattern(s) \n\n' && ava -v","test:lint":"yarn test:prettier && yarn test:eslint && yarn test:spelling","test:unit":"c8 ava","bchn:build":"cd wasm/bitcoin-cash-node/build && ninja","bchn:cmake":"cd wasm/bitcoin-cash-node/build && cmake -GNinja .. -DBUILD_BITCOIN_WALLET=OFF -DBUILD_BITCOIN_QT=OFF -DENABLE_NATPMP=OFF -DENABLE_MAN=OFF -DCMAKE_BUILD_TYPE=Release","bchn:setup":"cd wasm/bitcoin-cash-node && mkdir build && yarn bchn:cmake && yarn bchn:build","bench:test":"ava --config config/.ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1 && cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1 && cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256 && cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512 && cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","fix:eslint":"yarn test:eslint --fix","gen:schema":"yarn gen:schema:wallet-template && yarn gen:schema:bcmr","watch:test":"echo '\n\nUsage:\n yarn watch:test src/lib/key/bip39.spec.ts                    # watch a single test file \n yarn watch:test --match=\"!*crypto*\"                            # include/exclude tests with names matching pattern(s) \n\n' && ava -v --watch","doc:extract":"mkdir -p build/api && api-extractor run --local --typescript-compiler-folder node_modules/typescript","test:cycles":"madge --circular build/index.js","test:eslint":"eslint . -c .eslintrc","doc:generate":"api-documenter markdown -i temp -o build/api/markdown","fix:prettier":"prettier . --write","test:schemas":"yarn test:schemas:unchanged && echo \"Schemas are up to date.\" || echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\"","dev:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/dev-vmb-tests.spec.helper.js' -w","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"yarn build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels-v1' > src/lib/transaction/fixtures/templates/cash-channels-v1.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/dev-vmb-tests.spec.helper.js'","test:policies":"yarn test:deps && yarn test:schemas && yarn test:lint && yarn test:cycles","test:prettier":"prettier . --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","bchn:run-tests":"cd wasm/bitcoin-cash-node/build && echo 'Building BCHN tests...' && ninja test_bitcoin && echo 'Running VMB tests in BCHN...' && src/test/test_bitcoin -t libauth_tests","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","bench:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/dev-vmb-tests.spec.helper.js' -b","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","gen:schema:bcmr":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/bcmr-types.ts' --type 'MetadataRegistry' > src/lib/schema/bcmr.schema.json && prettier 'src/lib/schema/bcmr.schema.json' --write && ajv compile -s src/lib/schema/bcmr.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-bcmr.js && prettier 'src/lib/schema/ajv/validate-bcmr.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-bcmr.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\"","export:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/export-vmb-test-results.spec.helper.js'","changeset:version":"yarn changeset version && yarn fix:prettier","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"cpy '.yarn/artifacts/*.js' build/bench","test:unit:vmb_test":"node --enable-source-maps 'build/lib/vmb-tests/run-bch-vmb-test.spec.helper.js'","dev:vmb_tests:bench":"node --enable-source-maps 'build/lib/vmb-tests/dev-vmb-tests.spec.helper.js' -wb","bchn:check-vmb-tests":"yarn bchn:cmake && yarn bchn:build && yarn bchn:run-tests","compile:debug:hashes":"docker run -it libauth-hashes bash","bchn:update-vmb-tests":"yarn bchn:replace-vmb-tests && yarn bchn:cmake && yarn bchn:run-tests && yarn bchn:copy-vmb-test-results","bchn:add-new-vmb-tests":"cp -r src/lib/vmb-tests/generated/* wasm/bitcoin-cash-node/src/test/data/vmb_tests && echo 'Added new VMB tests.'","bchn:replace-vmb-tests":"yarn bchn:remove-old-vmb-tests && yarn bchn:add-new-vmb-tests","test:schemas:unchanged":"yarn gen:schema && node -e \"child_process.exec('git status src/lib/schema --porcelain | head -c1 | wc -c', (err, stdout) => stdout.trim() === '0' ? process.exit(0) : process.exit(1) )\"","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","bchn:remove-old-vmb-tests":"rm -r wasm/bitcoin-cash-node/src/test/data/vmb_tests/bch_{2023,2025}_{invalid,nonstandard,standard} && echo 'Removed old VMB tests from: wasm/bitcoin-cash-node/src/test/data/vmb_tests'","bchn:copy-vmb-test-results":"cp wasm/bitcoin-cash-node/build/libauth_expected_test_fail_reasons.json src/lib/vmb-tests/bchn/libauth_expected_test_fail_reasons.json && cp wasm/bitcoin-cash-node/build/libauth_expected_test_metrics.json src/lib/vmb-tests/bchn/libauth_expected_test_metrics.json && echo 'Replaced BCHN files at: src/lib/vmb-tests/bchn'","gen:schema:wallet-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/template-types.ts' --type 'WalletTemplate' > src/lib/schema/wallet-template.schema.json && prettier 'src/lib/schema/wallet-template.schema.json' --write && ajv compile -s src/lib/schema/wallet-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-wallet-template.js && prettier 'src/lib/schema/ajv/validate-wallet-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-wallet-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/sources/**/*.ts"],"options":{"printWidth":400}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"10.8.2","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"resolutions":{"eslint-config-bitauth":"portal:./config/eslint-config-bitauth"},"sideEffects":false,"_nodeVersion":"20.18.1","publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.3","readmeFilename":"README.md","devDependencies":{"c8":"^10.1.2","ava":"^6.0.1","bip39":"^3.1.0","madge":"^6.1.0","chuhai":"^1.2.0","cspell":"^8.3.2","eslint":"8.56.0","rollup":"^4.9.4","ajv-cli":"^5.0.0","cpy-cli":"^5.0.0","express":"^4.18.2","hash.js":"^1.1.7","typedoc":"^0.26.7","elliptic":"^6.5.4","open-cli":"^8.0.0","prettier":"^3.1.1","secp256k1":"^5.0.0","tinybench":"^2.8.0","fast-check":"^3.15.0","typescript":"^5.6.2","@types/node":"^22.5.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.21","@ava/typescript":"^4.1.0","@changesets/cli":"^2.27.1","@fast-check/ava":"^1.2.1","@types/elliptic":"^6.4.18","@playwright/test":"^1.41.2","bitcore-lib-cash":"^10.0.23","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.17","@rollup/plugin-alias":"^5.1.0","eslint-plugin-import":"^2.29.1","eslint-config-bitauth":"5.0.0","eslint-config-prettier":"^9.1.0","@rollup/plugin-commonjs":"^25.0.7","@microsoft/api-extractor":"^7.39.1","eslint-plugin-functional":"^6.0.0","ts-json-schema-generator":"^1.5.0","@microsoft/api-documenter":"^7.23.16","@typescript-eslint/parser":"^6.18.1","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^15.2.3","@changesets/changelog-github":"^0.5.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^6.18.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_3.1.0-next.3_1734049575883_0.4657387236017758","host":"s3://npm-registry-packages-npm-production"}},"3.1.0-next.4":{"name":"@bitauth/libauth","version":"3.1.0-next.4","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@3.1.0-next.4","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js",".pnp.*","**/ajv/validate-*.js"]},"ava":{"timeout":"120s","typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules","--experimental-global-webcrypto"]},"dist":{"shasum":"141e5a448149075501a66dc9478911e1e8a33295","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-3.1.0-next.4.tgz","fileCount":978,"integrity":"sha512-cvEluzkW27adgldtQxrxRnWfyqEizp2/PYhWAcoC7qtdhuhbBFzGUiHqog/egQVXi4tUVxpp+bsF1O7JdXW+Ow==","signatures":[{"sig":"MEUCIQDC8vGKgsNTFWKA2f8YyIyIpI1BzDVg3zYI6rBheahEQgIgLADruTIu6zwdXSM1etNZp8v73CpOEeYKKbuyVUmDT3g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bitauth%2flibauth@3.1.0-next.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7783820},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"489cac005d75acff2965092e6e91e5afabb1bd21","scripts":{"cov":"yarn build && yarn test:unit && yarn cov:html && yarn cov:lcov && open-cli coverage/index.html","doc":"yarn doc:html && yarn doc:html && open-cli build/docs/index.html","fix":"yarn fix:eslint && yarn fix:prettier","test":"yarn build && yarn test:policies && yarn test:unit","bench":"yarn build && yarn bench:browser-deps && yarn bench:vmb_tests && yarn bench:test","build":"yarn build:wasm && yarn build:tsc","watch":"yarn build -w","digest":"ai-digest","wallet":"node --enable-source-maps 'build/lib/vmb-tests/run-live-bch-vmb-test.spec.helper.js'","release":"yarn build && yarn changeset publish","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","doc:html":"typedoc src/index.ts --out build/docs","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"yarn build && yarn doc:extract && yarn doc:generate","build:tsc":"tsc -p tsconfig.json","changeset":"changeset","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"import('./package.json', { with: { type: 'json' } }).then(p => typeof p.dependencies === 'undefined' ? console.log('No dependencies found.') : (console.error('Dependencies are not allowed.') && process.exit(1)));\"","test:fast":"echo '\n\nUsage:\n yarn test:fast src/lib/key/bip39.spec.ts                    # run a single test file \n yarn test:fast --match=\"!*crypto*\"                            # include/exclude tests with names matching pattern(s) \n\n' && ava -v","test:lint":"yarn test:prettier && yarn test:eslint && yarn test:spelling","test:unit":"c8 ava","bchn:build":"cd wasm/bitcoin-cash-node/build && ninja","bchn:cmake":"cd wasm/bitcoin-cash-node/build && cmake -GNinja .. -DBUILD_BITCOIN_WALLET=OFF -DBUILD_BITCOIN_QT=OFF -DENABLE_NATPMP=OFF -DENABLE_MAN=OFF -DCMAKE_BUILD_TYPE=Release","bchn:setup":"cd wasm/bitcoin-cash-node && mkdir build && yarn bchn:cmake && yarn bchn:build","bench:test":"ava --config config/.ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1 && cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1 && cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256 && cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512 && cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","fix:eslint":"yarn test:eslint --fix","gen:schema":"yarn gen:schema:wallet-template && yarn gen:schema:bcmr","watch:test":"echo '\n\nUsage:\n yarn watch:test src/lib/key/bip39.spec.ts                    # watch a single test file \n yarn watch:test --match=\"!*crypto*\"                            # include/exclude tests with names matching pattern(s) \n\n' && ava -v --watch","doc:extract":"mkdir -p build/api && api-extractor run --local --typescript-compiler-folder node_modules/typescript","test:cycles":"madge --circular build/index.js","test:eslint":"eslint . -c .eslintrc","doc:generate":"api-documenter markdown -i temp -o build/api/markdown","fix:prettier":"prettier . --write","test:schemas":"yarn test:schemas:unchanged && echo \"Schemas are up to date.\" || echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\"","dev:vmb_tests":"yarn gen:vmb_tests -w","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"yarn build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels-v1' > src/lib/transaction/fixtures/templates/cash-channels-v1.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/dev-vmb-tests.spec.helper.js'","test:policies":"yarn test:deps && yarn test:schemas && yarn test:lint && yarn test:cycles","test:prettier":"prettier . --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","bchn:run-tests":"cd wasm/bitcoin-cash-node/build && echo 'Building BCHN tests...' && ninja test_bitcoin && echo 'Running VMB tests in BCHN...' && src/test/test_bitcoin -t libauth_tests","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","bench:vmb_tests":"yarn gen:vmb_tests -b","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","gen:schema:bcmr":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/bcmr-types.ts' --type 'MetadataRegistry' > src/lib/schema/bcmr.schema.json && prettier 'src/lib/schema/bcmr.schema.json' --write && ajv compile -s src/lib/schema/bcmr.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-bcmr.js && prettier 'src/lib/schema/ajv/validate-bcmr.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-bcmr.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\"","export:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/export-vmb-test-results.spec.helper.js'","changeset:version":"yarn changeset version && yarn fix:prettier","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"cpy '.yarn/artifacts/*.js' build/bench","test:unit:vmb_test":"node --enable-source-maps 'build/lib/vmb-tests/run-bch-vmb-test.spec.helper.js'","dev:vmb_tests:bench":"yarn gen:vmb_tests -wb","bchn:check-vmb-tests":"yarn bchn:cmake && yarn bchn:build && yarn bchn:run-tests","compile:debug:hashes":"docker run -it libauth-hashes bash","bchn:update-vmb-tests":"yarn bchn:replace-vmb-tests && yarn bchn:cmake && yarn bchn:run-tests && yarn bchn:copy-vmb-test-results","bchn:add-new-vmb-tests":"cp -r src/lib/vmb-tests/generated/* wasm/bitcoin-cash-node/src/test/data/vmb_tests && echo 'Added new VMB tests.'","bchn:replace-vmb-tests":"yarn bchn:remove-old-vmb-tests && yarn bchn:add-new-vmb-tests","test:schemas:unchanged":"yarn gen:schema && node -e \"child_process.exec('git status src/lib/schema --porcelain | head -c1 | wc -c', (err, stdout) => stdout.trim() === '0' ? process.exit(0) : process.exit(1) )\"","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","bchn:remove-old-vmb-tests":"rm -r wasm/bitcoin-cash-node/src/test/data/vmb_tests/bch_{2023,2025}_{invalid,nonstandard,standard} && echo 'Removed old VMB tests from: wasm/bitcoin-cash-node/src/test/data/vmb_tests'","bchn:copy-vmb-test-results":"cp wasm/bitcoin-cash-node/build/libauth_expected_test_fail_reasons.json src/lib/vmb-tests/bchn/libauth_expected_test_fail_reasons.json && cp wasm/bitcoin-cash-node/build/libauth_expected_test_metrics.json src/lib/vmb-tests/bchn/libauth_expected_test_metrics.json && echo 'Replaced BCHN files at: src/lib/vmb-tests/bchn'","gen:schema:wallet-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/template-types.ts' --type 'WalletTemplate' > src/lib/schema/wallet-template.schema.json && prettier 'src/lib/schema/wallet-template.schema.json' --write && ajv compile -s src/lib/schema/wallet-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-wallet-template.js && prettier 'src/lib/schema/ajv/validate-wallet-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-wallet-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/sources/**/*.ts"],"options":{"printWidth":400}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"10.8.2","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"resolutions":{"eslint-config-bitauth":"portal:./config/eslint-config-bitauth"},"sideEffects":false,"_nodeVersion":"20.18.1","publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.3","readmeFilename":"README.md","devDependencies":{"c8":"^10.1.2","ava":"^6.0.1","bip39":"^3.1.0","madge":"^6.1.0","chuhai":"^1.2.0","cspell":"^8.3.2","eslint":"8.56.0","rollup":"^4.9.4","ajv-cli":"^5.0.0","cpy-cli":"^5.0.0","express":"^4.18.2","hash.js":"^1.1.7","typedoc":"^0.26.7","elliptic":"^6.5.4","open-cli":"^8.0.0","prettier":"^3.1.1","secp256k1":"^5.0.0","tinybench":"^2.8.0","fast-check":"^3.15.0","typescript":"^5.6.2","@types/node":"^22.5.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.21","@ava/typescript":"^4.1.0","@changesets/cli":"^2.27.1","@fast-check/ava":"^1.2.1","@types/elliptic":"^6.4.18","@playwright/test":"^1.41.2","bitcore-lib-cash":"^10.0.23","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.17","@rollup/plugin-alias":"^5.1.0","eslint-plugin-import":"^2.29.1","eslint-config-bitauth":"5.0.0","eslint-config-prettier":"^9.1.0","@rollup/plugin-commonjs":"^25.0.7","@microsoft/api-extractor":"^7.39.1","eslint-plugin-functional":"^6.0.0","ts-json-schema-generator":"^1.5.0","@microsoft/api-documenter":"^7.23.16","@typescript-eslint/parser":"^6.18.1","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^15.2.3","@changesets/changelog-github":"^0.5.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^6.18.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_3.1.0-next.4_1734585237390_0.786888941136636","host":"s3://npm-registry-packages-npm-production"}},"3.1.0-next.5":{"name":"@bitauth/libauth","version":"3.1.0-next.5","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@3.1.0-next.5","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js",".pnp.*","**/ajv/validate-*.js"]},"ava":{"timeout":"120s","typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules","--experimental-global-webcrypto"]},"dist":{"shasum":"e73b7178d75bd5c8432b2e8a5995b982090a2896","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-3.1.0-next.5.tgz","fileCount":990,"integrity":"sha512-IUJdHCyk7HQQ6h8uni6Y00e5KwDo63zACMf7zXrW8FtzFWnxUVZSMv5kyhN3cORaaiuTenHRKIdWbSPU81Yq4A==","signatures":[{"sig":"MEUCIEKpwaWcIuQ8JMKZcLNW/VTexUl9TqXR4j0z9QhEVrdOAiEA3hnyTKjcZ3fBcl+D41k4QMUe2g0dUs5qypfkmDB2M9Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bitauth%2flibauth@3.1.0-next.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7945991},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"0c1f0b860825ec47ce9b562413b82ea60507f1e6","scripts":{"cov":"yarn build && yarn test:unit && yarn cov:html && yarn cov:lcov && open-cli coverage/index.html","doc":"yarn doc:html && yarn doc:html && open-cli build/docs/index.html","fix":"yarn fix:eslint && yarn fix:prettier","test":"yarn build && yarn test:policies && yarn test:unit","bench":"yarn build && yarn bench:browser-deps && yarn bench:vmb_tests && yarn bench:test","build":"yarn build:wasm && yarn build:tsc","watch":"yarn build -w","digest":"ai-digest","wallet":"node --enable-source-maps 'build/lib/vmb-tests/run-live-bch-vmb-test.spec.helper.js'","release":"yarn build && yarn changeset publish","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","doc:html":"typedoc src/index.ts --out build/docs","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"yarn build && yarn doc:extract && yarn doc:generate","build:tsc":"tsc -p tsconfig.json","changeset":"changeset","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"import('./package.json', { with: { type: 'json' } }).then(p => typeof p.dependencies === 'undefined' ? console.log('No dependencies found.') : (console.error('Dependencies are not allowed.') && process.exit(1)));\"","test:fast":"echo '\n\nUsage:\n yarn test:fast src/lib/key/bip39.spec.ts                    # run a single test file \n yarn test:fast --match=\"!*crypto*\"                            # include/exclude tests with names matching pattern(s) \n\n' && ava -v","test:lint":"yarn test:prettier && yarn test:eslint && yarn test:spelling","test:unit":"c8 ava","bchn:build":"cd wasm/bitcoin-cash-node/build && ninja","bchn:cmake":"cd wasm/bitcoin-cash-node/build && cmake -GNinja .. -DBUILD_BITCOIN_WALLET=OFF -DBUILD_BITCOIN_QT=OFF -DENABLE_NATPMP=OFF -DENABLE_MAN=OFF -DCMAKE_BUILD_TYPE=Release","bchn:setup":"cd wasm/bitcoin-cash-node && mkdir build && yarn bchn:cmake && yarn bchn:build","bench:test":"ava --config config/.ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1 && cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1 && cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256 && cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512 && cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","fix:eslint":"yarn test:eslint --fix","gen:schema":"yarn gen:schema:wallet-template && yarn gen:schema:bcmr","watch:test":"echo '\n\nUsage:\n yarn watch:test src/lib/key/bip39.spec.ts                    # watch a single test file \n yarn watch:test --match=\"!*crypto*\"                            # include/exclude tests with names matching pattern(s) \n\n' && ava -v --watch","doc:extract":"mkdir -p build/api && api-extractor run --local --typescript-compiler-folder node_modules/typescript","test:cycles":"madge --circular build/index.js","test:eslint":"eslint . -c .eslintrc","doc:generate":"api-documenter markdown -i temp -o build/api/markdown","fix:prettier":"prettier . --write","test:schemas":"yarn test:schemas:unchanged && echo \"Schemas are up to date.\" || echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\"","dev:vmb_tests":"yarn gen:vmb_tests -w","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"yarn build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels-v1' > src/lib/transaction/fixtures/templates/cash-channels-v1.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/dev-vmb-tests.spec.helper.js'","test:policies":"yarn test:deps && yarn test:schemas && yarn test:lint && yarn test:cycles","test:prettier":"prettier . --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","bchn:run-tests":"cd wasm/bitcoin-cash-node/build && echo 'Building BCHN tests...' && ninja test_bitcoin && echo 'Running VMB tests in BCHN...' && src/test/test_bitcoin -t libauth_tests","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","bench:vmb_tests":"yarn gen:vmb_tests -b","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","gen:schema:bcmr":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/bcmr-types.ts' --type 'MetadataRegistry' > src/lib/schema/bcmr.schema.json && prettier 'src/lib/schema/bcmr.schema.json' --write && ajv compile -s src/lib/schema/bcmr.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-bcmr.js && prettier 'src/lib/schema/ajv/validate-bcmr.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-bcmr.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\"","export:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/export-vmb-test-results.spec.helper.js'","changeset:version":"yarn changeset version && yarn fix:prettier","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"cpy '.yarn/artifacts/*.js' build/bench","test:unit:vmb_test":"node --enable-source-maps 'build/lib/vmb-tests/run-bch-vmb-test.spec.helper.js'","dev:vmb_tests:bench":"yarn gen:vmb_tests -wb","bchn:check-vmb-tests":"yarn bchn:cmake && yarn bchn:build && yarn bchn:run-tests","compile:debug:hashes":"docker run -it libauth-hashes bash","bchn:update-vmb-tests":"yarn bchn:replace-vmb-tests && yarn bchn:cmake && yarn bchn:run-tests && yarn bchn:copy-vmb-test-results","bchn:add-new-vmb-tests":"cp -r src/lib/vmb-tests/generated/bch_{2023,2025,2026}_{invalid,nonstandard,standard} wasm/bitcoin-cash-node/src/test/data/vmb_tests && echo 'Added new VMB tests.'","bchn:replace-vmb-tests":"yarn bchn:remove-old-vmb-tests && yarn bchn:add-new-vmb-tests","test:schemas:unchanged":"yarn gen:schema && node -e \"child_process.exec('git status src/lib/schema --porcelain | head -c1 | wc -c', (err, stdout) => stdout.trim() === '0' ? process.exit(0) : process.exit(1) )\"","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","bchn:remove-old-vmb-tests":"rm -r wasm/bitcoin-cash-node/src/test/data/vmb_tests/bch_{2023,2025,2026}_{invalid,nonstandard,standard} && echo 'Removed old VMB tests from: wasm/bitcoin-cash-node/src/test/data/vmb_tests'","bchn:copy-vmb-test-results":"cp wasm/bitcoin-cash-node/build/libauth_expected_test_fail_reasons.json src/lib/vmb-tests/bchn/libauth_expected_test_fail_reasons.json && cp wasm/bitcoin-cash-node/build/libauth_expected_test_metrics.json src/lib/vmb-tests/bchn/libauth_expected_test_metrics.json && echo 'Replaced BCHN files at: src/lib/vmb-tests/bchn'","gen:schema:wallet-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/template-types.ts' --type 'WalletTemplate' > src/lib/schema/wallet-template.schema.json && prettier 'src/lib/schema/wallet-template.schema.json' --write && ajv compile -s src/lib/schema/wallet-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-wallet-template.js && prettier 'src/lib/schema/ajv/validate-wallet-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-wallet-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/sources/**/*.ts"],"options":{"printWidth":400}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"10.8.2","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"resolutions":{"eslint-config-bitauth":"portal:./config/eslint-config-bitauth"},"sideEffects":false,"_nodeVersion":"20.19.1","publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.3","readmeFilename":"README.md","devDependencies":{"c8":"^10.1.2","ava":"^6.0.1","bip39":"^3.1.0","madge":"^6.1.0","chuhai":"^1.2.0","cspell":"^8.3.2","eslint":"8.56.0","rollup":"^4.9.4","ajv-cli":"^5.0.0","cpy-cli":"^5.0.0","express":"^4.18.2","hash.js":"^1.1.7","typedoc":"^0.26.7","elliptic":"^6.5.4","open-cli":"^8.0.0","prettier":"^3.1.1","secp256k1":"^5.0.0","tinybench":"^2.8.0","fast-check":"^3.15.0","typescript":"^5.6.2","@types/node":"^22.5.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.21","@ava/typescript":"^4.1.0","@changesets/cli":"^2.27.1","@fast-check/ava":"^1.2.1","@types/elliptic":"^6.4.18","@playwright/test":"^1.41.2","bitcore-lib-cash":"^10.0.23","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.17","@rollup/plugin-alias":"^5.1.0","eslint-plugin-import":"^2.29.1","eslint-config-bitauth":"5.0.0","eslint-config-prettier":"^9.1.0","@rollup/plugin-commonjs":"^25.0.7","@microsoft/api-extractor":"^7.39.1","eslint-plugin-functional":"^6.0.0","ts-json-schema-generator":"^1.5.0","@microsoft/api-documenter":"^7.23.16","@typescript-eslint/parser":"^6.18.1","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^15.2.3","@changesets/changelog-github":"^0.5.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^6.18.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_3.1.0-next.5_1748406269735_0.22316669853740656","host":"s3://npm-registry-packages-npm-production"}},"3.1.0-next.6":{"name":"@bitauth/libauth","version":"3.1.0-next.6","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@3.1.0-next.6","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js",".pnp.*","**/ajv/validate-*.js"]},"ava":{"timeout":"120s","typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules","--experimental-global-webcrypto"]},"dist":{"shasum":"2826db0abeda022b1c5bdfb247a408710a9d3ead","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-3.1.0-next.6.tgz","fileCount":998,"integrity":"sha512-FJ4ZChczVx779T6yElNGV1pWuyN4+mwF7P6ro+eFt5g6GPKqJe4S7YYBJySRGyER2CvTVnmx0gArzSbp/2u3oA==","signatures":[{"sig":"MEUCIAtx6InYulK59Nc6o9WuWYlVzL5EZoiTartvtaWinDh+AiEAmtkGll2bPjWNc53q3clzRxEYLLv+x2tBBHlDdR/g+UI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bitauth%2flibauth@3.1.0-next.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7976673},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"28b9aebd83cfda13a24e9353cd44409936af85d3","scripts":{"cov":"yarn build && yarn test:unit && yarn cov:html && yarn cov:lcov && open-cli coverage/index.html","doc":"yarn doc:html && yarn doc:html && open-cli build/docs/index.html","fix":"yarn fix:eslint && yarn fix:prettier","test":"yarn build && yarn test:policies && yarn test:unit","bench":"yarn build && yarn bench:browser-deps && yarn bench:vmb_tests && yarn bench:test","build":"yarn build:wasm && yarn build:tsc","watch":"yarn build -w","digest":"ai-digest","wallet":"node --enable-source-maps 'build/lib/vmb-tests/run-live-bch-vmb-test.spec.helper.js'","release":"yarn build && yarn changeset publish","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","doc:html":"typedoc src/index.ts --out build/docs","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"yarn build && yarn doc:extract && yarn doc:generate","build:tsc":"tsc -p tsconfig.json","changeset":"changeset","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"import('./package.json', { with: { type: 'json' } }).then(p => typeof p.dependencies === 'undefined' ? console.log('No dependencies found.') : (console.error('Dependencies are not allowed.') && process.exit(1)));\"","test:fast":"echo '\n\nUsage:\n yarn test:fast src/lib/key/bip39.spec.ts                    # run a single test file \n yarn test:fast --match=\"!*crypto*\"                            # include/exclude tests with names matching pattern(s) \n\n' && ava -v","test:lint":"yarn test:prettier && yarn test:eslint && yarn test:spelling","test:unit":"c8 ava","bchn:build":"cd wasm/bitcoin-cash-node/build && ninja","bchn:cmake":"cd wasm/bitcoin-cash-node/build && cmake -GNinja .. -DBUILD_BITCOIN_WALLET=OFF -DBUILD_BITCOIN_QT=OFF -DENABLE_NATPMP=OFF -DENABLE_MAN=OFF -DCMAKE_BUILD_TYPE=Release","bchn:setup":"cd wasm/bitcoin-cash-node && mkdir build && yarn bchn:cmake && yarn bchn:build","bench:test":"ava --config config/.ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1 && cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1 && cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256 && cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512 && cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","fix:eslint":"yarn test:eslint --fix","gen:schema":"yarn gen:schema:wallet-template && yarn gen:schema:bcmr","watch:test":"echo '\n\nUsage:\n yarn watch:test src/lib/key/bip39.spec.ts                    # watch a single test file \n yarn watch:test --match=\"!*crypto*\"                            # include/exclude tests with names matching pattern(s) \n\n' && ava -v --watch","doc:extract":"mkdir -p build/api && api-extractor run --local --typescript-compiler-folder node_modules/typescript","test:cycles":"madge --circular build/index.js","test:eslint":"eslint . -c .eslintrc","doc:generate":"api-documenter markdown -i temp -o build/api/markdown","fix:prettier":"prettier . --write","test:schemas":"yarn test:schemas:unchanged && echo \"Schemas are up to date.\" || echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\"","dev:vmb_tests":"yarn gen:vmb_tests -w","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"yarn build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels-v1' > src/lib/transaction/fixtures/templates/cash-channels-v1.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/dev-vmb-tests.spec.helper.js'","test:policies":"yarn test:deps && yarn test:schemas && yarn test:lint && yarn test:cycles","test:prettier":"prettier . --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","bchn:run-tests":"cd wasm/bitcoin-cash-node/build && echo 'Building BCHN tests...' && ninja test_bitcoin && echo 'Running VMB tests in BCHN...' && src/test/test_bitcoin -t libauth_tests","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","bench:vmb_tests":"yarn gen:vmb_tests -b","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","gen:schema:bcmr":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/bcmr-types.ts' --type 'MetadataRegistry' > src/lib/schema/bcmr.schema.json && prettier 'src/lib/schema/bcmr.schema.json' --write && ajv compile -s src/lib/schema/bcmr.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-bcmr.js && prettier 'src/lib/schema/ajv/validate-bcmr.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-bcmr.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\"","export:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/export-vmb-test-results.spec.helper.js'","changeset:version":"yarn changeset version && yarn fix:prettier","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"cpy '.yarn/artifacts/*.js' build/bench","test:unit:vmb_test":"node --enable-source-maps 'build/lib/vmb-tests/run-bch-vmb-test.spec.helper.js'","dev:vmb_tests:bench":"yarn gen:vmb_tests -wb","bchn:check-vmb-tests":"yarn bchn:cmake && yarn bchn:build && yarn bchn:run-tests","compile:debug:hashes":"docker run -it libauth-hashes bash","bchn:update-vmb-tests":"yarn bchn:replace-vmb-tests && yarn bchn:cmake && yarn bchn:run-tests && yarn bchn:copy-vmb-test-results","bchn:add-new-vmb-tests":"cp -r src/lib/vmb-tests/generated/bch_{2023,2025,2026}_{invalid,nonstandard,standard} wasm/bitcoin-cash-node/src/test/data/vmb_tests && echo 'Added new VMB tests.'","bchn:replace-vmb-tests":"yarn bchn:remove-old-vmb-tests && yarn bchn:add-new-vmb-tests","test:schemas:unchanged":"yarn gen:schema && node -e \"child_process.exec('git status src/lib/schema --porcelain | head -c1 | wc -c', (err, stdout) => stdout.trim() === '0' ? process.exit(0) : process.exit(1) )\"","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","bchn:remove-old-vmb-tests":"rm -r wasm/bitcoin-cash-node/src/test/data/vmb_tests/bch_{2023,2025,2026}_{invalid,nonstandard,standard} && echo 'Removed old VMB tests from: wasm/bitcoin-cash-node/src/test/data/vmb_tests'","bchn:copy-vmb-test-results":"cp wasm/bitcoin-cash-node/build/libauth_expected_test_fail_reasons.json src/lib/vmb-tests/bchn/libauth_expected_test_fail_reasons.json && cp wasm/bitcoin-cash-node/build/libauth_expected_test_metrics.json src/lib/vmb-tests/bchn/libauth_expected_test_metrics.json && echo 'Replaced BCHN files at: src/lib/vmb-tests/bchn'","gen:schema:wallet-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/template-types.ts' --type 'WalletTemplate' > src/lib/schema/wallet-template.schema.json && prettier 'src/lib/schema/wallet-template.schema.json' --write && ajv compile -s src/lib/schema/wallet-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-wallet-template.js && prettier 'src/lib/schema/ajv/validate-wallet-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-wallet-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/sources/**/*.ts"],"options":{"printWidth":400}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"10.8.2","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"resolutions":{"eslint-config-bitauth":"portal:./config/eslint-config-bitauth"},"sideEffects":false,"_nodeVersion":"20.19.1","publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.3","readmeFilename":"README.md","devDependencies":{"c8":"^10.1.2","ava":"^6.0.1","bip39":"^3.1.0","madge":"^6.1.0","chuhai":"^1.2.0","cspell":"^8.3.2","eslint":"8.56.0","rollup":"^4.9.4","ajv-cli":"^5.0.0","cpy-cli":"^5.0.0","express":"^4.18.2","hash.js":"^1.1.7","typedoc":"^0.26.7","elliptic":"^6.5.4","open-cli":"^8.0.0","prettier":"^3.1.1","secp256k1":"^5.0.0","tinybench":"^2.8.0","fast-check":"^3.15.0","typescript":"^5.6.2","@types/node":"^22.5.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.21","@ava/typescript":"^4.1.0","@changesets/cli":"^2.27.1","@fast-check/ava":"^1.2.1","@types/elliptic":"^6.4.18","@playwright/test":"^1.41.2","bitcore-lib-cash":"^10.0.23","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.17","@rollup/plugin-alias":"^5.1.0","eslint-plugin-import":"^2.29.1","eslint-config-bitauth":"5.0.0","eslint-config-prettier":"^9.1.0","@rollup/plugin-commonjs":"^25.0.7","@microsoft/api-extractor":"^7.39.1","eslint-plugin-functional":"^6.0.0","ts-json-schema-generator":"^1.5.0","@microsoft/api-documenter":"^7.23.16","@typescript-eslint/parser":"^6.18.1","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^15.2.3","@changesets/changelog-github":"^0.5.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^6.18.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_3.1.0-next.6_1748675918968_0.6829345091022279","host":"s3://npm-registry-packages-npm-production"}},"3.1.0-next.7":{"name":"@bitauth/libauth","version":"3.1.0-next.7","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"license":"MIT","_id":"@bitauth/libauth@3.1.0-next.7","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"homepage":"https://libauth.org/","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js",".pnp.*","**/ajv/validate-*.js"]},"ava":{"timeout":"120s","typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules","--experimental-global-webcrypto"]},"dist":{"shasum":"efcca8d6ad8b33d7a7b600c42ea26f2edd251a00","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-3.1.0-next.7.tgz","fileCount":1002,"integrity":"sha512-lJ+ZwDr5zIyO44XbHphdp/eEmIbd1D8gD6zbN8P2HLDDGSAE9rqUwXInWFGwaPKVR8cUbKK/MKSzbPCK+4hxDw==","signatures":[{"sig":"MEUCICBX4XGTQ6sViBPUDrjiznZdsRauDPxnTAqNW8Ftna/0AiEA9//9+LXMG00YI8NHPU4alxiVFk3kjMr/v8EgbJb60bo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bitauth%2flibauth@3.1.0-next.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8031526},"main":"./build/index.js","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"0955b4c0de97dfd38639ddfae508cfa292ee4a99","scripts":{"cov":"yarn build && yarn test:unit && yarn cov:html && yarn cov:lcov && open-cli coverage/index.html","doc":"yarn doc:html && yarn doc:html && open-cli build/docs/index.html","fix":"yarn fix:eslint && yarn fix:prettier","test":"yarn build && yarn test:policies && yarn test:unit","bench":"yarn build && yarn bench:browser-deps && yarn bench:vmb_tests && yarn bench:test","build":"yarn build:wasm && yarn build:tsc","watch":"yarn build -w","digest":"ai-digest","wallet":"node --enable-source-maps 'build/lib/vmb-tests/run-live-bch-vmb-test.spec.helper.js'","release":"yarn build && yarn changeset publish","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","doc:html":"typedoc src/index.ts --out build/docs","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"yarn build && yarn doc:extract && yarn doc:generate","build:tsc":"tsc -p tsconfig.json","changeset":"changeset","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test:deps":"node -e \"import('./package.json', { with: { type: 'json' } }).then(p => typeof p.dependencies === 'undefined' ? console.log('No dependencies found.') : (console.error('Dependencies are not allowed.') && process.exit(1)));\"","test:fast":"echo '\n\nUsage:\n yarn test:fast src/lib/key/bip39.spec.ts                    # run a single test file \n yarn test:fast --match=\"!*crypto*\"                            # include/exclude tests with names matching pattern(s) \n\n' && ava -v","test:lint":"yarn test:prettier && yarn test:eslint && yarn test:spelling","test:unit":"c8 ava","bchn:build":"cd wasm/bitcoin-cash-node/build && ninja","bchn:cmake":"cd wasm/bitcoin-cash-node/build && cmake -GNinja .. -DBUILD_BITCOIN_WALLET=OFF -DBUILD_BITCOIN_QT=OFF -DENABLE_NATPMP=OFF -DENABLE_MAN=OFF -DCMAKE_BUILD_TYPE=Release","bchn:setup":"cd wasm/bitcoin-cash-node && mkdir build && yarn bchn:cmake && yarn bchn:build","bench:test":"ava --config config/.ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1 && cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1 && cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256 && cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512 && cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","fix:eslint":"yarn test:eslint --fix","gen:schema":"yarn gen:schema:wallet-template && yarn gen:schema:bcmr","watch:test":"echo '\n\nUsage:\n yarn watch:test src/lib/key/bip39.spec.ts                    # watch a single test file \n yarn watch:test --match=\"!*crypto*\"                            # include/exclude tests with names matching pattern(s) \n\n' && ava -v --watch","doc:extract":"mkdir -p build/api && api-extractor run --local --typescript-compiler-folder node_modules/typescript","test:cycles":"madge --circular build/index.js","test:eslint":"eslint . -c .eslintrc","doc:generate":"api-documenter markdown -i temp -o build/api/markdown","fix:prettier":"prettier . --write","test:schemas":"yarn test:schemas:unchanged && echo \"Schemas are up to date.\" || echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\"","dev:vmb_tests":"yarn gen:vmb_tests -w","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"yarn build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels-v1' > src/lib/transaction/fixtures/templates/cash-channels-v1.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/dev-vmb-tests.spec.helper.js'","test:policies":"yarn test:deps && yarn test:schemas && yarn test:lint && yarn test:cycles","test:prettier":"prettier . --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","bchn:run-tests":"cd wasm/bitcoin-cash-node/build && echo 'Building BCHN tests...' && ninja test_bitcoin && echo 'Running VMB tests in BCHN...' && src/test/test_bitcoin -t libauth_tests","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","bench:vmb_tests":"yarn gen:vmb_tests -b","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","gen:schema:bcmr":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/bcmr-types.ts' --type 'MetadataRegistry' > src/lib/schema/bcmr.schema.json && prettier 'src/lib/schema/bcmr.schema.json' --write && ajv compile -s src/lib/schema/bcmr.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-bcmr.js && prettier 'src/lib/schema/ajv/validate-bcmr.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-bcmr.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\"","export:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/export-vmb-test-results.spec.helper.js'","changeset:version":"yarn changeset version && yarn fix:prettier","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","bench:browser-deps":"cpy '.yarn/artifacts/*.js' build/bench","test:unit:vmb_test":"node --enable-source-maps 'build/lib/vmb-tests/run-bch-vmb-test.spec.helper.js'","dev:vmb_tests:bench":"yarn gen:vmb_tests -wb","bchn:check-vmb-tests":"yarn bchn:cmake && yarn bchn:build && yarn bchn:run-tests","compile:debug:hashes":"docker run -it libauth-hashes bash","bchn:update-vmb-tests":"yarn bchn:replace-vmb-tests && yarn bchn:cmake && yarn bchn:run-tests && yarn bchn:copy-vmb-test-results","bchn:add-new-vmb-tests":"cp -r src/lib/vmb-tests/generated/bch_{2023,2025,2026}_{invalid,nonstandard,standard} wasm/bitcoin-cash-node/src/test/data/vmb_tests && echo 'Added new VMB tests.'","bchn:replace-vmb-tests":"yarn bchn:remove-old-vmb-tests && yarn bchn:add-new-vmb-tests","test:schemas:unchanged":"yarn gen:schema && node -e \"child_process.exec('git status src/lib/schema --porcelain | head -c1 | wc -c', (err, stdout) => stdout.trim() === '0' ? process.exit(0) : process.exit(1) )\"","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","bchn:remove-old-vmb-tests":"rm -r wasm/bitcoin-cash-node/src/test/data/vmb_tests/bch_{2023,2025,2026}_{invalid,nonstandard,standard} && echo 'Removed old VMB tests from: wasm/bitcoin-cash-node/src/test/data/vmb_tests'","bchn:copy-vmb-test-results":"cp wasm/bitcoin-cash-node/build/libauth_expected_test_fail_reasons.json src/lib/vmb-tests/bchn/libauth_expected_test_fail_reasons.json && cp wasm/bitcoin-cash-node/build/libauth_expected_test_metrics.json src/lib/vmb-tests/bchn/libauth_expected_test_metrics.json && echo 'Replaced BCHN files at: src/lib/vmb-tests/bchn'","gen:schema:wallet-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/template-types.ts' --type 'WalletTemplate' > src/lib/schema/wallet-template.schema.json && prettier 'src/lib/schema/wallet-template.schema.json' --write && ajv compile -s src/lib/schema/wallet-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-wallet-template.js && prettier 'src/lib/schema/ajv/validate-wallet-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-wallet-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","actor":{"name":"jasondreyzehner","type":"user","email":"jason@dreyzehner.com"},"email":"jason@dreyzehner.com"},"prettier":{"overrides":[{"files":["src/lib/vmb-tests/sources/**/*.ts"],"options":{"printWidth":400}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"10.8.2","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"resolutions":{"eslint-config-bitauth":"portal:./config/eslint-config-bitauth"},"sideEffects":false,"_nodeVersion":"20.19.2","publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.3","readmeFilename":"README.md","devDependencies":{"c8":"^10.1.2","ava":"^6.0.1","bip39":"^3.1.0","madge":"^6.1.0","chuhai":"^1.2.0","cspell":"^8.3.2","eslint":"8.56.0","rollup":"^4.9.4","ajv-cli":"^5.0.0","cpy-cli":"^5.0.0","express":"^4.18.2","hash.js":"^1.1.7","typedoc":"^0.26.7","elliptic":"^6.5.4","open-cli":"^8.0.0","prettier":"^3.1.1","secp256k1":"^5.0.0","tinybench":"^2.8.0","fast-check":"^3.15.0","typescript":"^5.6.2","@types/node":"^22.5.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.21","@ava/typescript":"^4.1.0","@changesets/cli":"^2.27.1","@fast-check/ava":"^1.2.1","@types/elliptic":"^6.4.18","@playwright/test":"^1.41.2","bitcore-lib-cash":"^10.0.23","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.17","@rollup/plugin-alias":"^5.1.0","eslint-plugin-import":"^2.29.1","eslint-config-bitauth":"5.0.0","eslint-config-prettier":"^9.1.0","@rollup/plugin-commonjs":"^25.0.7","@microsoft/api-extractor":"^7.39.1","eslint-plugin-functional":"^6.0.0","ts-json-schema-generator":"^1.5.0","@microsoft/api-documenter":"^7.23.16","@typescript-eslint/parser":"^6.18.1","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^15.2.3","@changesets/changelog-github":"^0.5.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^6.18.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_3.1.0-next.7_1751352909625_0.7901507488508062","host":"s3://npm-registry-packages-npm-production"}},"3.1.0-next.8":{"name":"@bitauth/libauth","version":"3.1.0-next.8","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","type":"module","main":"./build/index.js","types":"./build/index.d.ts","repository":{"type":"git","url":"git+https://github.com/bitauth/libauth.git"},"homepage":"https://libauth.org/","license":"MIT","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"scripts":{"changeset":"changeset","compile:secp256k1":"docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1","compile:hashes":"docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes","build":"yarn build:wasm && yarn build:tsc","build:tsc":"tsc -p tsconfig.json","build:wasm":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1 && cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1 && cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256 && cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512 && cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","compile:debug:hashes":"docker run -it libauth-hashes bash","bchn:cmake":"cd wasm/bitcoin-cash-node/build && cmake -GNinja .. -DBUILD_BITCOIN_WALLET=OFF -DBUILD_BITCOIN_QT=OFF -DENABLE_NATPMP=OFF -DENABLE_MAN=OFF -DCMAKE_BUILD_TYPE=Release","bchn:build":"cd wasm/bitcoin-cash-node/build && ninja","bchn:setup":"cd wasm/bitcoin-cash-node && mkdir build && yarn bchn:cmake && yarn bchn:build","bchn:bench":"cd wasm/bitcoin-cash-node/build && ninja && ninja bench_bitcoin && echo 'Running BCHN benchmarks (fast)...' && ./src/bench/bench_bitcoin -libauth -filter=\"^LibAuth_(2025|2026)_.*\"","bchn:bench:slow":"cd wasm/bitcoin-cash-node/build && ninja && ninja bench_bitcoin && echo 'Running BCHN benchmarks (slow, ~6-24 hrs)...' && src/bench/bench_bitcoin -libauth=all_slow -filter=\"^LibAuth_(2025|2026)_.*\"","bchn:remove-old-vmb-tests":"rm -r wasm/bitcoin-cash-node/src/test/data/vmb_tests/bch_{2023,2025,2026}_{invalid,nonstandard,standard} && echo 'Removed old VMB tests from: wasm/bitcoin-cash-node/src/test/data/vmb_tests'","bchn:add-new-vmb-tests":"cp -r src/lib/vmb-tests/generated/bch_{2023,2025,2026}_{invalid,nonstandard,standard} wasm/bitcoin-cash-node/src/test/data/vmb_tests && echo 'Added new VMB tests.'","bchn:replace-vmb-tests":"yarn bchn:remove-old-vmb-tests && yarn bchn:add-new-vmb-tests","bchn:run-tests":"cd wasm/bitcoin-cash-node/build && echo 'Building BCHN tests...' && ninja test_bitcoin && echo 'Running VMB tests in BCHN...' && src/test/test_bitcoin -t libauth_tests","bchn:check-vmb-tests":"yarn bchn:cmake && yarn bchn:build && yarn bchn:run-tests","bchn:copy-vmb-test-results":"cp wasm/bitcoin-cash-node/build/libauth_expected_test_fail_reasons.json src/lib/vmb-tests/bchn/libauth_expected_test_fail_reasons.json && cp wasm/bitcoin-cash-node/build/libauth_expected_test_metrics.json src/lib/vmb-tests/bchn/libauth_expected_test_metrics.json && echo 'Replaced BCHN files at: src/lib/vmb-tests/bchn'","bchn:update-vmb-tests":"yarn bchn:replace-vmb-tests && yarn bchn:cmake && yarn bchn:run-tests && yarn bchn:copy-vmb-test-results","fix":"yarn fix:eslint && yarn fix:prettier","fix:prettier":"prettier . --write","fix:eslint":"yarn test:eslint --fix","wallet":"node --enable-source-maps 'build/lib/vmb-tests/run-live-bch-vmb-test.spec.helper.js'","gen:schema":"yarn gen:schema:wallet-template && yarn gen:schema:bcmr","gen:schema:wallet-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/template-types.ts' --type 'WalletTemplate' > src/lib/schema/wallet-template.schema.json && prettier 'src/lib/schema/wallet-template.schema.json' --write && ajv compile -s src/lib/schema/wallet-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-wallet-template.js && prettier 'src/lib/schema/ajv/validate-wallet-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-wallet-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\"","gen:schema:bcmr":"ts-json-schema-generator --no-ref-encode --path 'src/lib/engine/types/bcmr-types.ts' --type 'MetadataRegistry' > src/lib/schema/bcmr.schema.json && prettier 'src/lib/schema/bcmr.schema.json' --write && ajv compile -s src/lib/schema/bcmr.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-bcmr.js && prettier 'src/lib/schema/ajv/validate-bcmr.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-bcmr.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\"","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","gen:templates":"yarn build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels-v1' > src/lib/transaction/fixtures/templates/cash-channels-v1.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","test":"yarn build && yarn test:policies && yarn test:unit","test:policies":"yarn test:deps && yarn test:schemas && yarn test:lint && yarn test:cycles","test:deps":"node -e \"import('./package.json', { with: { type: 'json' } }).then(p => typeof p.dependencies === 'undefined' ? console.log('No dependencies found.') : (console.error('Dependencies are not allowed.') && process.exit(1)));\"","test:schemas:unchanged":"yarn gen:schema && node -e \"child_process.exec('git status src/lib/schema --porcelain | head -c1 | wc -c', (err, stdout) => stdout.trim() === '0' ? process.exit(0) : process.exit(1) )\"","test:schemas":"yarn test:schemas:unchanged && echo \"Schemas are up to date.\" || echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\"","test:lint":"yarn test:prettier && yarn test:eslint && yarn test:spelling","test:eslint":"eslint . -c .eslintrc","test:prettier":"prettier . --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","test:cycles":"madge --circular build/index.js","test:unit":"c8 ava","test:fast":"echo '\n\nUsage:\n yarn test:fast src/lib/key/bip39.spec.ts                    # run a single test file \n yarn test:fast --match=\"!*crypto*\"                            # include/exclude tests with names matching pattern(s) \n\n' && ava -v","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","test:unit:vmb_test":"node --enable-source-maps 'build/lib/vmb-tests/run-bch-vmb-test.spec.helper.js'","gen:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/dev-vmb-tests.spec.helper.js'","bench:vmb_tests":"yarn gen:vmb_tests -b","dev:vmb_tests":"yarn gen:vmb_tests -w","dev:vmb_tests:bench":"yarn gen:vmb_tests -wb","export:vmb_tests":"node --enable-source-maps 'build/lib/vmb-tests/export-vmb-test-results.spec.helper.js'","bench":"yarn build && yarn bench:browser-deps && yarn bench:vmb_tests && yarn bench:test","bench:test":"ava --config config/.ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","bench:browser-deps":"cpy '.yarn/artifacts/*.js' build/bench","watch":"yarn build -w","watch:test":"echo '\n\nUsage:\n yarn watch:test src/lib/key/bip39.spec.ts                    # watch a single test file \n yarn watch:test --match=\"!*crypto*\"                            # include/exclude tests with names matching pattern(s) \n\n' && ava -v --watch","cov":"yarn build && yarn test:unit && yarn cov:html && yarn cov:lcov && open-cli coverage/index.html","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","doc":"yarn doc:html && yarn doc:html && open-cli build/docs/index.html","doc:logo":"cpy assets/libauth.svg build/docs","doc:html":"typedoc src/index.ts --out build/docs","doc:next":"yarn build && yarn doc:extract && yarn doc:generate","doc:extract":"mkdir -p build/api && api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:generate":"api-documenter markdown -i temp -o build/api/markdown","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","digest":"ai-digest","changeset:version":"yarn changeset version && yarn fix:prettier","release":"yarn build && yarn changeset publish"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"devDependencies":{"@ava/typescript":"^4.1.0","@changesets/changelog-github":"^0.5.0","@changesets/cli":"^2.27.1","@fast-check/ava":"^1.2.1","@microsoft/api-documenter":"^7.23.16","@microsoft/api-extractor":"^7.39.1","@playwright/test":"^1.41.2","@rollup/plugin-alias":"^5.1.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@types/elliptic":"^6.4.18","@types/express":"^4.17.21","@types/node":"^22.5.5","@typescript-eslint/eslint-plugin":"^6.18.1","@typescript-eslint/parser":"^6.18.1","ajv-cli":"^5.0.0","asmcrypto.js":"^2.3.2","ava":"^6.0.1","bip39":"^3.1.0","bitcore-lib-cash":"^10.0.23","c8":"^10.1.2","chuhai":"^1.2.0","cpy-cli":"^5.0.0","cspell":"^8.3.2","cz-conventional-changelog":"^3.3.0","elliptic":"^6.5.4","eslint":"8.56.0","eslint-config-bitauth":"5.0.0","eslint-config-prettier":"^9.1.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-functional":"^6.0.0","eslint-plugin-import":"^2.29.1","eslint-plugin-tsdoc":"^0.2.17","express":"^4.18.2","fast-check":"^3.15.0","hash.js":"^1.1.7","madge":"^6.1.0","open-cli":"^8.0.0","prettier":"^3.1.1","rollup":"^4.9.4","secp256k1":"^5.0.0","source-map-support":"^0.5.21","tinybench":"^2.8.0","ts-json-schema-generator":"^1.5.0","typedoc":"^0.26.7","typescript":"^5.6.2"},"publishConfig":{"provenance":true},"ava":{"timeout":"120s","typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules","--experimental-global-webcrypto"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true,"overrides":[{"files":["src/lib/vmb-tests/sources/**/*.ts"],"options":{"printWidth":400}}]},"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js",".pnp.*","**/ajv/validate-*.js"]},"sideEffects":false,"packageManager":"yarn@4.5.3","resolutions":{"eslint-config-bitauth":"portal:./config/eslint-config-bitauth"},"_id":"@bitauth/libauth@3.1.0-next.8","readmeFilename":"README.md","gitHead":"d28da7f595cbd747c1e1125477db655f740f3dbc","bugs":{"url":"https://github.com/bitauth/libauth/issues"},"_nodeVersion":"20.19.4","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Pm+Ju+YP3JeBLLTiVrBnia2wwE4G17r4XqpvPRMcklElJTe8J6x3JgKRg1by0Xm3ZY6UFxACkEAoSA+x419/zA==","shasum":"d130e5db6c3c8b24731c8d04c4091be07f48b0ee","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-3.1.0-next.8.tgz","fileCount":1006,"unpackedSize":8131703,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bitauth%2flibauth@3.1.0-next.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCWUPWdtDTFE3+b/yvXz8oRHPkZ/Enq41LkciRBdJ+oFAIhAN7BD2J7gIF+FqaK0mVrbJ/gk0ObjMjkMxnIQBNd/jVb"}]},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"directories":{},"maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/libauth_3.1.0-next.8_1757094291770_0.42266978676318967"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-19T17:40:34.248Z","modified":"2025-09-05T17:44:52.516Z","1.15.1":"2020-06-19T17:40:34.652Z","1.15.2":"2020-06-19T17:59:10.974Z","1.15.3":"2020-06-19T18:38:56.226Z","1.15.4":"2020-07-14T20:02:35.061Z","1.16.0":"2020-07-21T20:43:40.805Z","1.17.0":"2020-08-07T23:49:34.770Z","1.17.1":"2020-08-08T00:59:39.541Z","1.17.2":"2020-09-15T19:12:53.588Z","1.17.3":"2020-10-23T12:04:44.247Z","1.18.0":"2021-02-11T19:19:43.060Z","1.18.1":"2021-02-26T21:43:52.873Z","1.19.0":"2021-12-08T23:47:01.693Z","1.19.1":"2022-02-01T02:09:31.930Z","2.0.0-alpha.0":"2022-05-14T09:47:55.619Z","2.0.0-alpha.1":"2022-05-19T05:20:09.303Z","2.0.0-alpha.2":"2022-05-19T05:29:14.660Z","2.0.0-alpha.3":"2022-05-20T02:19:40.176Z","2.0.0-alpha.4":"2022-06-16T06:18:28.030Z","2.0.0-alpha.5":"2022-06-27T15:01:54.647Z","2.0.0-alpha.6":"2022-08-18T22:42:34.316Z","2.0.0-alpha.7":"2022-12-08T19:33:56.902Z","2.0.0-alpha.8":"2023-01-10T04:26:33.605Z","2.0.0":"2024-01-12T17:47:21.670Z","2.0.0-alpha.9":"2024-01-18T17:04:38.525Z","2.1.0-beta.0":"2024-02-23T05:04:54.610Z","2.1.0-beta.1":"2024-02-23T06:29:19.996Z","2.1.0":"2024-02-24T08:43:41.006Z","3.0.0":"2024-04-10T17:33:14.647Z","3.1.0-next.0":"2024-07-26T18:05:23.505Z","3.1.0-next.1":"2024-09-27T13:40:41.305Z","3.1.0-next.2":"2024-11-15T03:10:13.063Z","3.1.0-next.3":"2024-12-13T00:26:16.144Z","3.1.0-next.4":"2024-12-19T05:13:57.725Z","3.1.0-next.5":"2025-05-28T04:24:29.979Z","3.1.0-next.6":"2025-05-31T07:18:39.282Z","3.1.0-next.7":"2025-07-01T06:55:09.911Z","3.1.0-next.8":"2025-09-05T17:44:52.096Z"},"bugs":{"url":"https://github.com/bitauth/libauth/issues"},"license":"MIT","homepage":"https://libauth.org/","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"readme":"","readmeFilename":""}