{"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},"bugs":{"url":"https://github.com/bitauth/libauth/issues"},"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","name":"@bitauth/libauth","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","license":"MIT","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"},"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"],"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"]},"maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"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"},"_id":"@bitauth/libauth@2.0.0-alpha.8","version":"2.0.0-alpha.8"}