{"_id":"@bytezhang/cardano-coin-selection-asmjs","_rev":"15-305a961d6750742b83e073ef4cbceec5","name":"@bytezhang/cardano-coin-selection-asmjs","dist-tags":{"latest":"1.1.4-alpha.2"},"versions":{"1.1.0":{"name":"@bytezhang/cardano-coin-selection-asmjs","version":"1.1.0","keywords":["coin selection"],"author":{"name":"bytezhang"},"license":"MIT","_id":"@bytezhang/cardano-coin-selection-asmjs@1.1.0","maintainers":[{"name":"bytezhang","email":"ByteZhang@pm.me"}],"homepage":"https://github.com/OneKeyHQ/coin-selection","bugs":{"url":"https://github.com/OneKeyHQ/coin-selection/issues"},"dist":{"shasum":"719158dc6a111f963713571936519556e48224cb","tarball":"https://registry.npmjs.org/@bytezhang/cardano-coin-selection-asmjs/-/cardano-coin-selection-asmjs-1.1.0.tgz","fileCount":78,"integrity":"sha512-Zjo5cRBUBclzQXdSMDHizi8xmvbMKucCXf3gZE9u5qMfLEf5X6itA1oHJywiB21MnKBzG+C3Pt6XipuARetN9g==","signatures":[{"sig":"MEYCIQCx6gIUkr9odecK1rDpTlbbNESkzQlluubhRZ9fb++BegIhAI9mZm6NLoOhYwZZOfvCh1v875hPzTSL0YUNiFsWwExN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":267668},"main":"lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"lib/esm/index.js","browser":{"@emurgo/cardano-serialization-lib-nodejs":"@emurgo/cardano-serialization-lib-browser"},"gitHead":"48166e2e628e368ffe7334eb9c1c36b3d9d51031","scripts":{"lint":"eslint ./src/**/*.ts","test":"yarn run-s 'test:*'","build":"yarn clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json","clean":"rimraf lib","test:unit":"jest -c ./jest.config.js","type-check":"yarn tsc -p tsconfig.types.json","test:badges":"make-coverage-badge --output-path ./docs/badge-coverage.svg","prepublishOnly":"yarn build"},"_npmUser":{"name":"bytezhang","email":"ByteZhang@pm.me"},"repository":{"url":"git+https://github.com/OneKeyHQ/coin-selection.git","type":"git"},"_npmVersion":"10.5.1","description":"Minimal implementation of Cardano coin selection algorithms (see [CIP-2](https://cips.cardano.org/cips/cip2/)) developed solely for OneKeyHQ. Under the hood it leverages Cardano Serialization Lib via WASM module.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@emurgo/cardano-message-signing-asmjs":"^1.0.1","@emurgo/cardano-serialization-lib-asmjs":"11.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@3.2.2","devDependencies":{"jest":"^28.1.3","eslint":"8.21.0","rimraf":"^3.0.2","prettier":"2.7.1","typescript":"^4.7.4","@types/jest":"^28.1.6","@types/node":"^16.3.2","npm-run-all":"^4.1.5","bignumber.js":"^9.0.1","@swc-node/jest":"^1.5.2","make-coverage-badge":"^1.2.0","eslint-plugin-import":"2.26.0","eslint-config-prettier":"8.5.0","eslint-plugin-prettier":"4.2.1","@typescript-eslint/parser":"5.32.0","@typescript-eslint/eslint-plugin":"^5.32.0"},"peerDependencies":{"bignumber.js":"^9.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cardano-coin-selection-asmjs_1.1.0_1728911218382_0.8764467512321619","host":"s3://npm-registry-packages"}},"1.1.1-alpha.0":{"name":"@bytezhang/cardano-coin-selection-asmjs","version":"1.1.1-alpha.0","keywords":["coin selection"],"author":{"name":"bytezhang"},"license":"MIT","_id":"@bytezhang/cardano-coin-selection-asmjs@1.1.1-alpha.0","maintainers":[{"name":"bytezhang","email":"ByteZhang@pm.me"}],"homepage":"https://github.com/bytezhang/cardano-coin-selection-asmjs","bugs":{"url":"https://github.com/bytezhang/cardano-coin-selection-asmjs/issues"},"dist":{"shasum":"8498c5ceb4614f1e10e7697ef4d7cf108c2b6458","tarball":"https://registry.npmjs.org/@bytezhang/cardano-coin-selection-asmjs/-/cardano-coin-selection-asmjs-1.1.1-alpha.0.tgz","fileCount":78,"integrity":"sha512-bj8OtwNafGajx9iAedW/MYi4n44U76FodqTS8porcvrNW/8wsgaQeHsKIziplPJJpv3Ajyxlxd+kALJXrxCcGA==","signatures":[{"sig":"MEUCIEb0NfCzVuCaMrWQ5YVoGH8Y22o4dEnYC5oseQJg/q2MAiEAqzKPpxjOh9lW9OAJHR4VA281EPa8MgPLEFK7OVj9X3U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":268496},"main":"lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"lib/esm/index.js","browser":{"@emurgo/cardano-serialization-lib-nodejs":"@emurgo/cardano-serialization-lib-browser"},"gitHead":"48166e2e628e368ffe7334eb9c1c36b3d9d51031","scripts":{"lint":"eslint ./src/**/*.ts","test":"yarn run-s 'test:*'","build":"yarn clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json","clean":"rimraf lib","test:unit":"jest -c ./jest.config.js","type-check":"yarn tsc -p tsconfig.types.json","test:badges":"make-coverage-badge --output-path ./docs/badge-coverage.svg","prepublishOnly":"yarn build"},"_npmUser":{"name":"bytezhang","email":"ByteZhang@pm.me"},"repository":{"url":"git+https://github.com/bytezhang/cardano-coin-selection-asmjs.git","type":"git"},"_npmVersion":"10.5.1","description":"Minimal implementation of Cardano coin selection algorithms (see [CIP-2](https://cips.cardano.org/cips/cip2/)) developed solely for OneKeyHQ. Under the hood it leverages Cardano Serialization Lib via WASM module.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@emurgo/cardano-message-signing-asmjs":"^1.0.1","@emurgo/cardano-serialization-lib-asmjs":"11.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@3.2.2","devDependencies":{"jest":"^28.1.3","eslint":"8.21.0","rimraf":"^3.0.2","prettier":"2.7.1","typescript":"^4.7.4","@types/jest":"^28.1.6","@types/node":"^16.3.2","npm-run-all":"^4.1.5","bignumber.js":"^9.0.1","@swc-node/jest":"^1.5.2","make-coverage-badge":"^1.2.0","eslint-plugin-import":"2.26.0","eslint-config-prettier":"8.5.0","eslint-plugin-prettier":"4.2.1","@typescript-eslint/parser":"5.32.0","@typescript-eslint/eslint-plugin":"^5.32.0"},"peerDependencies":{"bignumber.js":"^9.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cardano-coin-selection-asmjs_1.1.1-alpha.0_1728912219807_0.6741460033416675","host":"s3://npm-registry-packages"}},"1.1.1-alpha.1":{"name":"@bytezhang/cardano-coin-selection-asmjs","version":"1.1.1-alpha.1","keywords":["coin selection"],"author":{"name":"bytezhang"},"license":"MIT","_id":"@bytezhang/cardano-coin-selection-asmjs@1.1.1-alpha.1","maintainers":[{"name":"bytezhang","email":"ByteZhang@pm.me"}],"homepage":"https://github.com/bytezhang/cardano-coin-selection-asmjs","bugs":{"url":"https://github.com/bytezhang/cardano-coin-selection-asmjs/issues"},"dist":{"shasum":"6eed5dfb82025726381ef540d84454b388081622","tarball":"https://registry.npmjs.org/@bytezhang/cardano-coin-selection-asmjs/-/cardano-coin-selection-asmjs-1.1.1-alpha.1.tgz","fileCount":78,"integrity":"sha512-fNCkLp8Eo3Y4sB7hdpZuPWjDUwwXkvBu89kLe0MV7nA+gJ4277g+WXTQIjn99H1YF+deXsI5+QEpPHv2fUeMWw==","signatures":[{"sig":"MEUCIQD4Olk1MrFPAQTX/f8cjpTOJn+7aJfZsdhscW34erB8NgIgVJjiY3F/7F+AuQSmQTozuH5DB28jbU4uzjAS9EllMx8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":268476},"main":"lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"lib/esm/index.js","browser":{"@emurgo/cardano-serialization-lib-nodejs":"@emurgo/cardano-serialization-lib-browser"},"gitHead":"48166e2e628e368ffe7334eb9c1c36b3d9d51031","scripts":{"lint":"eslint ./src/**/*.ts","test":"yarn run-s 'test:*'","build":"yarn clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json","clean":"rimraf lib","test:unit":"jest -c ./jest.config.js","type-check":"yarn tsc -p tsconfig.types.json","test:badges":"make-coverage-badge --output-path ./docs/badge-coverage.svg","prepublishOnly":"yarn build"},"_npmUser":{"name":"bytezhang","email":"ByteZhang@pm.me"},"repository":{"url":"git+https://github.com/bytezhang/cardano-coin-selection-asmjs.git","type":"git"},"_npmVersion":"10.5.1","description":"Minimal implementation of Cardano coin selection algorithms (see [CIP-2](https://cips.cardano.org/cips/cip2/)) developed solely for OneKeyHQ. Under the hood it leverages Cardano Serialization Lib via WASM module.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@emurgo/cardano-message-signing-asmjs":"^1.0.1","@emurgo/cardano-serialization-lib-asmjs":"11.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@3.2.2","devDependencies":{"jest":"^28.1.3","eslint":"8.21.0","rimraf":"^3.0.2","prettier":"2.7.1","typescript":"^4.7.4","@types/jest":"^28.1.6","@types/node":"^16.3.2","npm-run-all":"^4.1.5","bignumber.js":"^9.0.1","@swc-node/jest":"^1.5.2","make-coverage-badge":"^1.2.0","eslint-plugin-import":"2.26.0","eslint-config-prettier":"8.5.0","eslint-plugin-prettier":"4.2.1","@typescript-eslint/parser":"5.32.0","@typescript-eslint/eslint-plugin":"^5.32.0"},"peerDependencies":{"bignumber.js":"^9.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cardano-coin-selection-asmjs_1.1.1-alpha.1_1728912496086_0.868709327403205","host":"s3://npm-registry-packages"}},"1.1.1-alpha.2":{"name":"@bytezhang/cardano-coin-selection-asmjs","version":"1.1.1-alpha.2","keywords":["coin selection"],"author":{"name":"bytezhang"},"license":"MIT","_id":"@bytezhang/cardano-coin-selection-asmjs@1.1.1-alpha.2","maintainers":[{"name":"bytezhang","email":"ByteZhang@pm.me"}],"homepage":"https://github.com/bytezhang/cardano-coin-selection-asmjs","bugs":{"url":"https://github.com/bytezhang/cardano-coin-selection-asmjs/issues"},"dist":{"shasum":"269398dfd80fc9203c637ce2b7c75cd81a74a116","tarball":"https://registry.npmjs.org/@bytezhang/cardano-coin-selection-asmjs/-/cardano-coin-selection-asmjs-1.1.1-alpha.2.tgz","fileCount":78,"integrity":"sha512-98OFWUisw989mZHLLCD7abDWGzrc+La3quLQRODpgRinbjOcfdjTw/WMpyOZU97tjMJbpjkT4PtAFttdVJk03w==","signatures":[{"sig":"MEQCIAKr7vQ6WMg7RaQGjUdn+WtqdSA3ENHvDyQVNoodgRtlAiBf+G676I7CBB6Tnkci7Ac24ylRsp4JE4oG5YMseIW7QQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":267420},"main":"lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"lib/esm/index.js","browser":{"@emurgo/cardano-serialization-lib-nodejs":"@emurgo/cardano-serialization-lib-browser"},"gitHead":"48166e2e628e368ffe7334eb9c1c36b3d9d51031","scripts":{"lint":"eslint ./src/**/*.ts","test":"yarn run-s 'test:*'","build":"yarn clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json","clean":"rimraf lib","test:unit":"jest -c ./jest.config.js","type-check":"yarn tsc -p tsconfig.types.json","test:badges":"make-coverage-badge --output-path ./docs/badge-coverage.svg","prepublishOnly":"yarn build"},"_npmUser":{"name":"bytezhang","email":"ByteZhang@pm.me"},"repository":{"url":"git+https://github.com/bytezhang/cardano-coin-selection-asmjs.git","type":"git"},"_npmVersion":"10.5.1","description":"Minimal implementation of Cardano coin selection algorithms (see [CIP-2](https://cips.cardano.org/cips/cip2/)) developed solely for OneKeyHQ. Under the hood it leverages Cardano Serialization Lib via WASM module.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@emurgo/cardano-message-signing-asmjs":"^1.0.1","@emurgo/cardano-serialization-lib-asmjs":"11.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@3.2.2","devDependencies":{"jest":"^28.1.3","eslint":"8.21.0","rimraf":"^3.0.2","prettier":"2.7.1","typescript":"^4.7.4","@types/jest":"^28.1.6","@types/node":"^16.3.2","npm-run-all":"^4.1.5","bignumber.js":"^9.0.1","@swc-node/jest":"^1.5.2","make-coverage-badge":"^1.2.0","eslint-plugin-import":"2.26.0","eslint-config-prettier":"8.5.0","eslint-plugin-prettier":"4.2.1","@typescript-eslint/parser":"5.32.0","@typescript-eslint/eslint-plugin":"^5.32.0"},"peerDependencies":{"bignumber.js":"^9.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cardano-coin-selection-asmjs_1.1.1-alpha.2_1728913494547_0.7324247924311125","host":"s3://npm-registry-packages"}},"1.1.1-alpha.3":{"name":"@bytezhang/cardano-coin-selection-asmjs","version":"1.1.1-alpha.3","keywords":["coin selection"],"author":{"name":"OneKeyHQ"},"license":"MIT","_id":"@bytezhang/cardano-coin-selection-asmjs@1.1.1-alpha.3","maintainers":[{"name":"bytezhang","email":"ByteZhang@pm.me"}],"homepage":"https://github.com/OneKeyHQ/coin-selection","bugs":{"url":"https://github.com/OneKeyHQ/coin-selection/issues"},"dist":{"shasum":"0d8cc6c08cf09bfdcb255849106014c3780dea09","tarball":"https://registry.npmjs.org/@bytezhang/cardano-coin-selection-asmjs/-/cardano-coin-selection-asmjs-1.1.1-alpha.3.tgz","fileCount":78,"integrity":"sha512-kWUgVSQO/a9mw6IqfDtBDnrBkCc4F/teB5Zkgpx9m0GZ7tqj9Nc5DRfQrPVw8/WRZGvPQLgnWKGQhySmw4fcdA==","signatures":[{"sig":"MEYCIQCwFvBnB2JEbGLFeNpguVaqld6W31Paagwd2NURRqU8ywIhAI9dmBhctl+rAgDI3UxyUvoLjIi6uPfRVfYgrtWthqdk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":266124},"main":"lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"lib/esm/index.js","gitHead":"690ccbdc0d63b7f667329ecfc7cec5bc55fa9f06","scripts":{"lint":"eslint ./src/**/*.ts","test":"yarn run-s 'test:*'","build":"yarn clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json","clean":"rimraf lib","test:unit":"jest -c ./jest.config.js","type-check":"yarn tsc -p tsconfig.types.json","test:badges":"make-coverage-badge --output-path ./docs/badge-coverage.svg","prepublishOnly":"yarn build"},"_npmUser":{"name":"bytezhang","email":"ByteZhang@pm.me"},"repository":{"url":"git+https://github.com/OneKeyHQ/coin-selection.git","type":"git"},"_npmVersion":"10.5.1","description":"Minimal implementation of Cardano coin selection algorithms (see [CIP-2](https://cips.cardano.org/cips/cip2/)) developed solely for OneKeyHQ. Under the hood it leverages Cardano Serialization Lib via WASM module.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@emurgo/cardano-message-signing-asmjs":"^1.0.1","@emurgo/cardano-serialization-lib-asmjs":"11.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@3.2.2","devDependencies":{"jest":"^28.1.3","eslint":"8.21.0","rimraf":"^3.0.2","prettier":"2.7.1","typescript":"^4.7.4","@types/jest":"^28.1.6","@types/node":"^16.3.2","npm-run-all":"^4.1.5","bignumber.js":"^9.0.1","@swc-node/jest":"^1.5.2","make-coverage-badge":"^1.2.0","eslint-plugin-import":"2.26.0","eslint-config-prettier":"8.5.0","eslint-plugin-prettier":"4.2.1","@typescript-eslint/parser":"5.32.0","@typescript-eslint/eslint-plugin":"^5.32.0","@emurgo/cardano-serialization-lib-nodejs":"11.0.0"},"peerDependencies":{"bignumber.js":"^9.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cardano-coin-selection-asmjs_1.1.1-alpha.3_1729047201318_0.6791614813257547","host":"s3://npm-registry-packages"}},"1.1.1-alpha.4":{"name":"@bytezhang/cardano-coin-selection-asmjs","version":"1.1.1-alpha.4","keywords":["coin selection"],"author":{"name":"OneKeyHQ"},"license":"MIT","_id":"@bytezhang/cardano-coin-selection-asmjs@1.1.1-alpha.4","maintainers":[{"name":"bytezhang","email":"ByteZhang@pm.me"}],"homepage":"https://github.com/OneKeyHQ/coin-selection","bugs":{"url":"https://github.com/OneKeyHQ/coin-selection/issues"},"dist":{"shasum":"7e527f288dfafd9699f659636eb1a3c748450233","tarball":"https://registry.npmjs.org/@bytezhang/cardano-coin-selection-asmjs/-/cardano-coin-selection-asmjs-1.1.1-alpha.4.tgz","fileCount":78,"integrity":"sha512-HZAajY655n5t+PwoXJ9Ad5YlF5w+XUGb2aPdQ7aHPNjA4nDk/KNIj9Uycm/WLmuiwyRI7KWjckDCiY8RQucy7w==","signatures":[{"sig":"MEQCIEU2clTjY7YHUJYSS7xNLgcLSKuivAGaCyIkiT6DeaBnAiBsk0ZdrJwpXzPS9/vQrVncBEklhYXzwoY5msBfHIu6pA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":265414},"main":"lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"lib/esm/index.js","gitHead":"690ccbdc0d63b7f667329ecfc7cec5bc55fa9f06","scripts":{"lint":"eslint ./src/**/*.ts","test":"yarn run-s 'test:*'","build":"yarn clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json","clean":"rimraf lib","test:unit":"jest -c ./jest.config.js","type-check":"yarn tsc -p tsconfig.types.json","test:badges":"make-coverage-badge --output-path ./docs/badge-coverage.svg","prepublishOnly":"yarn build"},"_npmUser":{"name":"bytezhang","email":"ByteZhang@pm.me"},"repository":{"url":"git+https://github.com/OneKeyHQ/coin-selection.git","type":"git"},"_npmVersion":"10.5.1","description":"Minimal implementation of Cardano coin selection algorithms (see [CIP-2](https://cips.cardano.org/cips/cip2/)) developed solely for OneKeyHQ. Under the hood it leverages Cardano Serialization Lib via WASM module.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@emurgo/cardano-message-signing-asmjs":"^1.0.1","@emurgo/cardano-serialization-lib-asmjs":"11.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@3.2.2","devDependencies":{"jest":"^28.1.3","eslint":"8.21.0","rimraf":"^3.0.2","prettier":"2.7.1","typescript":"^4.7.4","@types/jest":"^28.1.6","@types/node":"^16.3.2","npm-run-all":"^4.1.5","bignumber.js":"^9.0.1","@swc-node/jest":"^1.5.2","make-coverage-badge":"^1.2.0","eslint-plugin-import":"2.26.0","eslint-config-prettier":"8.5.0","eslint-plugin-prettier":"4.2.1","@typescript-eslint/parser":"5.32.0","@typescript-eslint/eslint-plugin":"^5.32.0","@emurgo/cardano-serialization-lib-nodejs":"11.0.0"},"peerDependencies":{"bignumber.js":"^9.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cardano-coin-selection-asmjs_1.1.1-alpha.4_1729048302044_0.28079078141620695","host":"s3://npm-registry-packages"}},"1.1.1-alpha.5":{"name":"@bytezhang/cardano-coin-selection-asmjs","version":"1.1.1-alpha.5","keywords":["coin selection"],"author":{"name":"OneKeyHQ"},"license":"MIT","_id":"@bytezhang/cardano-coin-selection-asmjs@1.1.1-alpha.5","maintainers":[{"name":"bytezhang","email":"ByteZhang@pm.me"}],"homepage":"https://github.com/OneKeyHQ/coin-selection","bugs":{"url":"https://github.com/OneKeyHQ/coin-selection/issues"},"dist":{"shasum":"6a1149552a8c090889a3e5262a3909520224bb74","tarball":"https://registry.npmjs.org/@bytezhang/cardano-coin-selection-asmjs/-/cardano-coin-selection-asmjs-1.1.1-alpha.5.tgz","fileCount":78,"integrity":"sha512-WTv6F/xoh4aS09cK90hxvtivajAceVyrwyBjtTWVe57jmtgQrBzp8UhU5sWwRkiKjc0gO1g4d9MTAxwCT9H0gQ==","signatures":[{"sig":"MEQCICzs4a+AdDsHqJsge89RnmxNfXJe8OrvDkcGKQio9zpsAiBL4VRbi1hBUes+pV7Pi3rprIKW9S7yHJplBxgt/7ay/w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":265882},"main":"lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"lib/esm/index.js","gitHead":"690ccbdc0d63b7f667329ecfc7cec5bc55fa9f06","scripts":{"lint":"eslint ./src/**/*.ts","test":"yarn run-s 'test:*'","build":"yarn clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json","clean":"rimraf lib","test:unit":"jest -c ./jest.config.js","type-check":"yarn tsc -p tsconfig.types.json","test:badges":"make-coverage-badge --output-path ./docs/badge-coverage.svg","prepublishOnly":"yarn build"},"_npmUser":{"name":"bytezhang","email":"ByteZhang@pm.me"},"repository":{"url":"git+https://github.com/OneKeyHQ/coin-selection.git","type":"git"},"_npmVersion":"10.5.1","description":"Minimal implementation of Cardano coin selection algorithms (see [CIP-2](https://cips.cardano.org/cips/cip2/)) developed solely for OneKeyHQ. Under the hood it leverages Cardano Serialization Lib via WASM module.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@emurgo/cardano-message-signing-asmjs":"^1.0.1","@emurgo/cardano-serialization-lib-asmjs":"11.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@3.2.2","devDependencies":{"jest":"^28.1.3","eslint":"8.21.0","rimraf":"^3.0.2","prettier":"2.7.1","typescript":"^4.7.4","@types/jest":"^28.1.6","@types/node":"^16.3.2","npm-run-all":"^4.1.5","bignumber.js":"^9.0.1","@swc-node/jest":"^1.5.2","make-coverage-badge":"^1.2.0","eslint-plugin-import":"2.26.0","eslint-config-prettier":"8.5.0","eslint-plugin-prettier":"4.2.1","@typescript-eslint/parser":"5.32.0","@typescript-eslint/eslint-plugin":"^5.32.0","@emurgo/cardano-serialization-lib-nodejs":"11.0.0"},"peerDependencies":{"bignumber.js":"^9.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cardano-coin-selection-asmjs_1.1.1-alpha.5_1729050061139_0.8149395202041323","host":"s3://npm-registry-packages"}},"1.1.2-alpha.1":{"name":"@bytezhang/cardano-coin-selection-asmjs","version":"1.1.2-alpha.1","keywords":["coin selection"],"author":{"name":"OneKeyHQ"},"license":"MIT","_id":"@bytezhang/cardano-coin-selection-asmjs@1.1.2-alpha.1","maintainers":[{"name":"bytezhang","email":"ByteZhang@pm.me"}],"homepage":"https://github.com/OneKeyHQ/coin-selection","bugs":{"url":"https://github.com/OneKeyHQ/coin-selection/issues"},"dist":{"shasum":"27c773ddbe92e66384677e57b16bca20c9f4c50c","tarball":"https://registry.npmjs.org/@bytezhang/cardano-coin-selection-asmjs/-/cardano-coin-selection-asmjs-1.1.2-alpha.1.tgz","fileCount":78,"integrity":"sha512-9gKHIqXJy3OL8pxf3tI+RPuk4t8KH/gI63hCONYUKz+Li0Tt9qUnl6QKehVgXqaHPm4wYVZ1Gj1eUjQMo5ZLDA==","signatures":[{"sig":"MEUCIQD//PcETwNg4nsE3fVy/ddR5h6UoKqCsNCgP2zs+AQe5AIgbzsZ3MKeSAaDPXvD85HUTtauulG3wAgovEMLtl47N/s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":276781},"main":"lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"lib/esm/index.js","gitHead":"687786c069d49d2bc60f96456be8e31aedaa9546","scripts":{"lint":"eslint ./src/**/*.ts","test":"yarn run-s 'test:*'","build":"yarn clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json","clean":"rimraf lib","test:unit":"jest -c ./jest.config.js","type-check":"yarn tsc -p tsconfig.types.json","test:badges":"make-coverage-badge --output-path ./docs/badge-coverage.svg","prepublishOnly":"yarn build"},"_npmUser":{"name":"bytezhang","email":"ByteZhang@pm.me"},"repository":{"url":"git+https://github.com/OneKeyHQ/coin-selection.git","type":"git"},"_npmVersion":"10.8.2","description":"Minimal implementation of Cardano coin selection algorithms (see [CIP-2](https://cips.cardano.org/cips/cip2/)) developed solely for OneKeyHQ. Under the hood it leverages Cardano Serialization Lib via WASM module.","directories":{},"_nodeVersion":"20.18.1","dependencies":{"@emurgo/cardano-message-signing-asmjs":"^1.0.1","@emurgo/cardano-serialization-lib-asmjs":"13.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","devDependencies":{"jest":"^29.7.0","eslint":"^9.11.1","rimraf":"^6.0.1","prettier":"3.3.3","@swc/core":"1.7.26","@eslint/js":"^9.11.1","typescript":"^5.6.2","@types/jest":"^29.5.13","@types/node":"^16.3.2","npm-run-all":"^4.1.5","@swc/helpers":"^0.5.13","bignumber.js":"^9.0.1","@swc-node/jest":"^1.8.12","typescript-eslint":"^8.8.0","make-coverage-badge":"^1.2.0","eslint-plugin-import":"^2.30.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@typescript-eslint/parser":"8.8.0","@typescript-eslint/eslint-plugin":"^8.8.0","@emurgo/cardano-serialization-lib-nodejs":"13.2.0"},"peerDependencies":{"bignumber.js":"^9.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cardano-coin-selection-asmjs_1.1.2-alpha.1_1737728938265_0.6017943523481366","host":"s3://npm-registry-packages-npm-production"}},"1.1.2-alpha.2":{"name":"@bytezhang/cardano-coin-selection-asmjs","version":"1.1.2-alpha.2","keywords":["coin selection"],"author":{"name":"OneKeyHQ"},"license":"MIT","_id":"@bytezhang/cardano-coin-selection-asmjs@1.1.2-alpha.2","maintainers":[{"name":"bytezhang","email":"ByteZhang@pm.me"}],"homepage":"https://github.com/OneKeyHQ/coin-selection","bugs":{"url":"https://github.com/OneKeyHQ/coin-selection/issues"},"dist":{"shasum":"e1ad3ab15e56f0a17b74b66c85d1019865a35931","tarball":"https://registry.npmjs.org/@bytezhang/cardano-coin-selection-asmjs/-/cardano-coin-selection-asmjs-1.1.2-alpha.2.tgz","fileCount":78,"integrity":"sha512-6Ar17snzqiZB+YoyO662NOYaK0WEAvdizJ/pw8fOPW6Wbrh27jLTE7+BRDWVbhwWLy16UH/wdPiwWI8GXFba0g==","signatures":[{"sig":"MEUCIDQ/TZ2U2c+cKfdLorQ7IB/O57id6UCk7DhcsIib/a4NAiEA55GwUTc2Zo4qgI9LkTALubrqzvd0xAd2dtXGKI0//j8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":276779},"main":"lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"lib/esm/index.js","gitHead":"687786c069d49d2bc60f96456be8e31aedaa9546","scripts":{"lint":"eslint ./src/**/*.ts","test":"yarn run-s 'test:*'","build":"yarn clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json","clean":"rimraf lib","test:unit":"jest -c ./jest.config.js","type-check":"yarn tsc -p tsconfig.types.json","test:badges":"make-coverage-badge --output-path ./docs/badge-coverage.svg","prepublishOnly":"yarn build"},"_npmUser":{"name":"bytezhang","email":"ByteZhang@pm.me"},"repository":{"url":"git+https://github.com/OneKeyHQ/coin-selection.git","type":"git"},"_npmVersion":"10.8.2","description":"Minimal implementation of Cardano coin selection algorithms (see [CIP-2](https://cips.cardano.org/cips/cip2/)) developed solely for OneKeyHQ. Under the hood it leverages Cardano Serialization Lib via WASM module.","directories":{},"_nodeVersion":"20.18.1","dependencies":{"@emurgo/cardano-message-signing-asmjs":"^1.0.1","@emurgo/cardano-serialization-lib-asmjs":"13.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","devDependencies":{"jest":"^29.7.0","eslint":"^9.11.1","rimraf":"^6.0.1","prettier":"3.3.3","@swc/core":"1.7.26","@eslint/js":"^9.11.1","typescript":"^5.6.2","@types/jest":"^29.5.13","@types/node":"^16.3.2","npm-run-all":"^4.1.5","@swc/helpers":"^0.5.13","bignumber.js":"^9.0.1","@swc-node/jest":"^1.8.12","typescript-eslint":"^8.8.0","make-coverage-badge":"^1.2.0","eslint-plugin-import":"^2.30.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@typescript-eslint/parser":"8.8.0","@typescript-eslint/eslint-plugin":"^8.8.0","@emurgo/cardano-serialization-lib-nodejs":"13.2.0"},"peerDependencies":{"bignumber.js":"^9.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cardano-coin-selection-asmjs_1.1.2-alpha.2_1737735092066_0.4046060346168896","host":"s3://npm-registry-packages-npm-production"}},"1.1.2-alpha.3":{"name":"@bytezhang/cardano-coin-selection-asmjs","version":"1.1.2-alpha.3","keywords":["coin selection"],"author":{"name":"OneKeyHQ"},"license":"MIT","_id":"@bytezhang/cardano-coin-selection-asmjs@1.1.2-alpha.3","maintainers":[{"name":"bytezhang","email":"ByteZhang@pm.me"}],"homepage":"https://github.com/OneKeyHQ/coin-selection","bugs":{"url":"https://github.com/OneKeyHQ/coin-selection/issues"},"dist":{"shasum":"3fe5bcf686b4e2ff79cfc645cffce01ea772d7e3","tarball":"https://registry.npmjs.org/@bytezhang/cardano-coin-selection-asmjs/-/cardano-coin-selection-asmjs-1.1.2-alpha.3.tgz","fileCount":78,"integrity":"sha512-umh+ihUmY+BA1MPAkhjq1cCrsDElUFVOL5cDfDbesw1Z0LuaLtSjipWHTv/A8Y7/F0oOigkfinkKXmMfOGfv5A==","signatures":[{"sig":"MEQCIHWSUMl1TRN8kcIEUGWEep4hL5TEp1boHJnEfsp1a6n1AiA4bCBVJnuVpRE2islQhUBuNel5s40VOsctVqSJPI3LhQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":276779},"main":"lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"lib/esm/index.js","gitHead":"687786c069d49d2bc60f96456be8e31aedaa9546","scripts":{"lint":"eslint ./src/**/*.ts","test":"yarn run-s 'test:*'","build":"yarn clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json","clean":"rimraf lib","test:unit":"jest -c ./jest.config.js","type-check":"yarn tsc -p tsconfig.types.json","test:badges":"make-coverage-badge --output-path ./docs/badge-coverage.svg","prepublishOnly":"yarn build"},"_npmUser":{"name":"bytezhang","email":"ByteZhang@pm.me"},"repository":{"url":"git+https://github.com/OneKeyHQ/coin-selection.git","type":"git"},"_npmVersion":"10.8.2","description":"Minimal implementation of Cardano coin selection algorithms (see [CIP-2](https://cips.cardano.org/cips/cip2/)) developed solely for OneKeyHQ. Under the hood it leverages Cardano Serialization Lib via WASM module.","directories":{},"_nodeVersion":"20.18.1","dependencies":{"@emurgo/cardano-message-signing-asmjs":"^1.0.1","@emurgo/cardano-serialization-lib-asmjs":"13.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","devDependencies":{"jest":"^29.7.0","eslint":"^9.11.1","rimraf":"^6.0.1","prettier":"3.3.3","@swc/core":"1.7.26","@eslint/js":"^9.11.1","typescript":"^5.6.2","@types/jest":"^29.5.13","@types/node":"^16.3.2","npm-run-all":"^4.1.5","@swc/helpers":"^0.5.13","bignumber.js":"^9.0.1","@swc-node/jest":"^1.8.12","typescript-eslint":"^8.8.0","make-coverage-badge":"^1.2.0","eslint-plugin-import":"^2.30.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@typescript-eslint/parser":"8.8.0","@typescript-eslint/eslint-plugin":"^8.8.0","@emurgo/cardano-serialization-lib-nodejs":"13.2.0"},"peerDependencies":{"bignumber.js":"^9.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cardano-coin-selection-asmjs_1.1.2-alpha.3_1737736759183_0.6447714551161716","host":"s3://npm-registry-packages-npm-production"}},"1.1.3-alpha.1":{"name":"@bytezhang/cardano-coin-selection-asmjs","version":"1.1.3-alpha.1","keywords":["coin selection"],"author":{"name":"OneKeyHQ"},"license":"MIT","_id":"@bytezhang/cardano-coin-selection-asmjs@1.1.3-alpha.1","maintainers":[{"name":"bytezhang","email":"ByteZhang@pm.me"}],"homepage":"https://github.com/OneKeyHQ/coin-selection","bugs":{"url":"https://github.com/OneKeyHQ/coin-selection/issues"},"dist":{"shasum":"b09d6856cee7ec5c127c06effa5e7feb74d92e18","tarball":"https://registry.npmjs.org/@bytezhang/cardano-coin-selection-asmjs/-/cardano-coin-selection-asmjs-1.1.3-alpha.1.tgz","fileCount":78,"integrity":"sha512-QubUI25tz1lIIw7keleefbsZhhdYbZkOKfm73tXyMnFzDJXW+gcMKAX3QB7XjUer7uBbkc6ZnhcM2g0YOLKrJA==","signatures":[{"sig":"MEUCIQCtec+hcz9eTn1GefeJvPEvpoxc879/U6De6cB8LUX/DgIgdg5webABxbrt41Em2oNXko7wn+IY3BcVwWpAsB4zCz4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":277393},"main":"lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"lib/esm/index.js","gitHead":"a756c0d5b081a69e2de298c4f379b88320069e7c","scripts":{"lint":"eslint ./src/**/*.ts","test":"yarn run-s 'test:*'","build":"yarn clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json","clean":"rimraf lib","test:unit":"jest -c ./jest.config.js","type-check":"yarn tsc -p tsconfig.types.json","test:badges":"make-coverage-badge --output-path ./docs/badge-coverage.svg","prepublishOnly":"yarn build"},"_npmUser":{"name":"bytezhang","email":"ByteZhang@pm.me"},"repository":{"url":"git+https://github.com/OneKeyHQ/coin-selection.git","type":"git"},"_npmVersion":"10.8.2","description":"Minimal implementation of Cardano coin selection algorithms (see [CIP-2](https://cips.cardano.org/cips/cip2/)) developed solely for OneKeyHQ. Under the hood it leverages Cardano Serialization Lib via WASM module.","directories":{},"_nodeVersion":"20.18.2","dependencies":{"@emurgo/cardano-message-signing-asmjs":"^1.0.1","@emurgo/cardano-serialization-lib-asmjs":"13.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","devDependencies":{"jest":"^29.7.0","eslint":"^9.11.1","rimraf":"^6.0.1","prettier":"3.3.3","@swc/core":"1.7.26","@eslint/js":"^9.11.1","typescript":"^5.6.2","@types/jest":"^29.5.13","@types/node":"^16.3.2","npm-run-all":"^4.1.5","@swc/helpers":"^0.5.13","bignumber.js":"^9.0.1","@swc-node/jest":"^1.8.12","typescript-eslint":"^8.8.0","make-coverage-badge":"^1.2.0","eslint-plugin-import":"^2.30.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@typescript-eslint/parser":"8.8.0","@typescript-eslint/eslint-plugin":"^8.8.0","@emurgo/cardano-serialization-lib-nodejs":"13.2.0"},"peerDependencies":{"bignumber.js":"^9.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cardano-coin-selection-asmjs_1.1.3-alpha.1_1738754052705_0.9429949257028631","host":"s3://npm-registry-packages-npm-production"}},"1.1.3-alpha.2":{"name":"@bytezhang/cardano-coin-selection-asmjs","version":"1.1.3-alpha.2","keywords":["coin selection"],"author":{"name":"OneKeyHQ"},"license":"MIT","_id":"@bytezhang/cardano-coin-selection-asmjs@1.1.3-alpha.2","maintainers":[{"name":"bytezhang","email":"ByteZhang@pm.me"}],"homepage":"https://github.com/OneKeyHQ/coin-selection","bugs":{"url":"https://github.com/OneKeyHQ/coin-selection/issues"},"dist":{"shasum":"9c041decb178f160edd8c0ec7bdad64ca4917a9e","tarball":"https://registry.npmjs.org/@bytezhang/cardano-coin-selection-asmjs/-/cardano-coin-selection-asmjs-1.1.3-alpha.2.tgz","fileCount":78,"integrity":"sha512-d9e0BQvsgqXBuIbQYC2ac8IeJXdRLT3t4O/1EttZto989IWcX/55pF5KqUhduKDGQF7xNzqHTQLOqLjFPqefSA==","signatures":[{"sig":"MEQCIBjdiZ907TFEmjHrj/6qENvCDXYB4YUYgU3rUWFIYqeqAiBuwJx24VE3tjAmVWbJHGq87GsTPF6tVxeKvhzCjlhDZg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":277453},"main":"lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"lib/esm/index.js","gitHead":"a756c0d5b081a69e2de298c4f379b88320069e7c","scripts":{"lint":"eslint ./src/**/*.ts","test":"yarn run-s 'test:*'","build":"yarn clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json","clean":"rimraf lib","test:unit":"jest -c ./jest.config.js","type-check":"yarn tsc -p tsconfig.types.json","test:badges":"make-coverage-badge --output-path ./docs/badge-coverage.svg","prepublishOnly":"yarn build"},"_npmUser":{"name":"bytezhang","email":"ByteZhang@pm.me"},"repository":{"url":"git+https://github.com/OneKeyHQ/coin-selection.git","type":"git"},"_npmVersion":"10.8.2","description":"Minimal implementation of Cardano coin selection algorithms (see [CIP-2](https://cips.cardano.org/cips/cip2/)) developed solely for OneKeyHQ. Under the hood it leverages Cardano Serialization Lib via WASM module.","directories":{},"_nodeVersion":"20.18.2","dependencies":{"@emurgo/cardano-message-signing-asmjs":"^1.0.1","@emurgo/cardano-serialization-lib-asmjs":"13.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","devDependencies":{"jest":"^29.7.0","eslint":"^9.11.1","rimraf":"^6.0.1","prettier":"3.3.3","@swc/core":"1.7.26","@eslint/js":"^9.11.1","typescript":"^5.6.2","@types/jest":"^29.5.13","@types/node":"^16.3.2","npm-run-all":"^4.1.5","@swc/helpers":"^0.5.13","bignumber.js":"^9.0.1","@swc-node/jest":"^1.8.12","typescript-eslint":"^8.8.0","make-coverage-badge":"^1.2.0","eslint-plugin-import":"^2.30.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@typescript-eslint/parser":"8.8.0","@typescript-eslint/eslint-plugin":"^8.8.0","@emurgo/cardano-serialization-lib-nodejs":"13.2.0"},"peerDependencies":{"bignumber.js":"^9.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cardano-coin-selection-asmjs_1.1.3-alpha.2_1738755318795_0.1001626928738677","host":"s3://npm-registry-packages-npm-production"}},"1.1.3-alpha.3":{"name":"@bytezhang/cardano-coin-selection-asmjs","version":"1.1.3-alpha.3","keywords":["coin selection"],"author":{"name":"OneKeyHQ"},"license":"MIT","_id":"@bytezhang/cardano-coin-selection-asmjs@1.1.3-alpha.3","maintainers":[{"name":"bytezhang","email":"ByteZhang@pm.me"}],"homepage":"https://github.com/OneKeyHQ/coin-selection","bugs":{"url":"https://github.com/OneKeyHQ/coin-selection/issues"},"dist":{"shasum":"f8095eb6d56a18da74db4ef2b6ffdbd62a900dc4","tarball":"https://registry.npmjs.org/@bytezhang/cardano-coin-selection-asmjs/-/cardano-coin-selection-asmjs-1.1.3-alpha.3.tgz","fileCount":78,"integrity":"sha512-Y4OEnQt0i5+echmy5e9LqRHwwL8slt/UACKYxlduwa4ovHnsxEm/2fWJSFwmZfKUQd8LvfA66O8DsFqtQbN5Dg==","signatures":[{"sig":"MEQCICYGn3Ckwo1KY8PQLE9igkkRFStnQojhGO2AU4ukZWwOAiBYn6JBXEzDJmiDI+2er1BaRZFnbcLCqba8Y48xu/HrZw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":278073},"main":"lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"lib/esm/index.js","gitHead":"a756c0d5b081a69e2de298c4f379b88320069e7c","scripts":{"lint":"eslint ./src/**/*.ts","test":"yarn run-s 'test:*'","build":"yarn clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json","clean":"rimraf lib","test:unit":"jest -c ./jest.config.js","type-check":"yarn tsc -p tsconfig.types.json","test:badges":"make-coverage-badge --output-path ./docs/badge-coverage.svg","prepublishOnly":"yarn build"},"_npmUser":{"name":"bytezhang","email":"ByteZhang@pm.me"},"repository":{"url":"git+https://github.com/OneKeyHQ/coin-selection.git","type":"git"},"_npmVersion":"10.8.2","description":"Minimal implementation of Cardano coin selection algorithms (see [CIP-2](https://cips.cardano.org/cips/cip2/)) developed solely for OneKeyHQ. Under the hood it leverages Cardano Serialization Lib via WASM module.","directories":{},"_nodeVersion":"20.18.2","dependencies":{"@emurgo/cardano-message-signing-asmjs":"^1.0.1","@emurgo/cardano-serialization-lib-asmjs":"13.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","devDependencies":{"jest":"^29.7.0","eslint":"^9.11.1","rimraf":"^6.0.1","prettier":"3.3.3","@swc/core":"1.7.26","@eslint/js":"^9.11.1","typescript":"^5.6.2","@types/jest":"^29.5.13","@types/node":"^16.3.2","npm-run-all":"^4.1.5","@swc/helpers":"^0.5.13","bignumber.js":"^9.0.1","@swc-node/jest":"^1.8.12","typescript-eslint":"^8.8.0","make-coverage-badge":"^1.2.0","eslint-plugin-import":"^2.30.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@typescript-eslint/parser":"8.8.0","@typescript-eslint/eslint-plugin":"^8.8.0","@emurgo/cardano-serialization-lib-nodejs":"13.2.0"},"peerDependencies":{"bignumber.js":"^9.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cardano-coin-selection-asmjs_1.1.3-alpha.3_1738755624150_0.9297454283652782","host":"s3://npm-registry-packages-npm-production"}},"1.1.4-alpha.0":{"name":"@bytezhang/cardano-coin-selection-asmjs","version":"1.1.4-alpha.0","keywords":["coin selection"],"author":{"name":"OneKeyHQ"},"license":"MIT","_id":"@bytezhang/cardano-coin-selection-asmjs@1.1.4-alpha.0","maintainers":[{"name":"bytezhang","email":"ByteZhang@pm.me"}],"homepage":"https://github.com/OneKeyHQ/coin-selection","bugs":{"url":"https://github.com/OneKeyHQ/coin-selection/issues"},"dist":{"shasum":"b305385830fc8b1cd62dd3de10bbb0b77aed00c2","tarball":"https://registry.npmjs.org/@bytezhang/cardano-coin-selection-asmjs/-/cardano-coin-selection-asmjs-1.1.4-alpha.0.tgz","fileCount":82,"integrity":"sha512-yWbyptCPSUpundWRbtTBDxq4zNuguGA4eOBnrgnDh8Mk2upQu0unMh1ETBD03axBTdT3Nro4CojvXednw3sm5Q==","signatures":[{"sig":"MEQCIHVCT9yo3qVFQIqPzZ2Ifjb/KYUJJGAZ1Gt4KMi1b5iPAiB5WhcfcRa7TGodop6OHyoH3kDLUFCBIYUvCUyxu3u74g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":280051},"main":"lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"lib/esm/index.js","gitHead":"01ce96e6a254defdd9b8455597a796adf49969a0","scripts":{"lint":"eslint ./src/**/*.ts","test":"yarn run-s 'test:*'","build":"yarn clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json","clean":"rimraf lib","test:unit":"jest -c ./jest.config.js","type-check":"yarn tsc -p tsconfig.types.json","test:badges":"make-coverage-badge --output-path ./docs/badge-coverage.svg","prepublishOnly":"yarn build"},"_npmUser":{"name":"bytezhang","email":"ByteZhang@pm.me"},"repository":{"url":"git+https://github.com/OneKeyHQ/coin-selection.git","type":"git"},"_npmVersion":"10.5.1","description":"Minimal implementation of Cardano coin selection algorithms (see [CIP-2](https://cips.cardano.org/cips/cip2/)) developed solely for OneKeyHQ. Under the hood it leverages Cardano Serialization Lib via WASM module.","directories":{},"_nodeVersion":"20.18.2","dependencies":{"@emurgo/cardano-message-signing-asmjs":"^1.0.1","@emurgo/cardano-serialization-lib-asmjs":"13.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","devDependencies":{"jest":"^29.7.0","eslint":"^9.11.1","rimraf":"^6.0.1","prettier":"3.3.3","@swc/core":"1.7.26","@eslint/js":"^9.11.1","typescript":"^5.6.2","@types/jest":"^29.5.13","@types/node":"^16.3.2","npm-run-all":"^4.1.5","@swc/helpers":"^0.5.13","bignumber.js":"^9.0.1","@swc-node/jest":"^1.8.12","typescript-eslint":"^8.8.0","make-coverage-badge":"^1.2.0","eslint-plugin-import":"^2.30.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@typescript-eslint/parser":"8.8.0","@typescript-eslint/eslint-plugin":"^8.8.0","@emurgo/cardano-serialization-lib-nodejs":"13.2.0"},"peerDependencies":{"bignumber.js":"^9.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cardano-coin-selection-asmjs_1.1.4-alpha.0_1739517721157_0.38857310897976527","host":"s3://npm-registry-packages-npm-production"}},"1.1.4-alpha.1":{"name":"@bytezhang/cardano-coin-selection-asmjs","version":"1.1.4-alpha.1","keywords":["coin selection"],"author":{"name":"OneKeyHQ"},"license":"MIT","_id":"@bytezhang/cardano-coin-selection-asmjs@1.1.4-alpha.1","maintainers":[{"name":"bytezhang","email":"ByteZhang@pm.me"}],"homepage":"https://github.com/OneKeyHQ/coin-selection","bugs":{"url":"https://github.com/OneKeyHQ/coin-selection/issues"},"dist":{"shasum":"0d0590709b60843c990308ef25fd1c33db62d512","tarball":"https://registry.npmjs.org/@bytezhang/cardano-coin-selection-asmjs/-/cardano-coin-selection-asmjs-1.1.4-alpha.1.tgz","fileCount":82,"integrity":"sha512-dtLL1gIaid71NOSTVE5aDVOpqzI15NafjhA95UOorD5KmhGBUriz8ezQRqWonXLAz1vc4xVfhnLnki4VA4HS4A==","signatures":[{"sig":"MEYCIQDAkXePdiDW7Zi9nKfWxc0eh03F2/qxEDD4VAfKFXyFlAIhANWWzGEIHEnDf7ZiipLORAbsas7TahQhl1kC6rCpLLC9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":280051},"main":"lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"lib/esm/index.js","gitHead":"01ce96e6a254defdd9b8455597a796adf49969a0","scripts":{"lint":"eslint ./src/**/*.ts","test":"yarn run-s 'test:*'","build":"yarn clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json","clean":"rimraf lib","test:unit":"jest -c ./jest.config.js","type-check":"yarn tsc -p tsconfig.types.json","test:badges":"make-coverage-badge --output-path ./docs/badge-coverage.svg","prepublishOnly":"yarn build"},"_npmUser":{"name":"bytezhang","email":"ByteZhang@pm.me"},"repository":{"url":"git+https://github.com/OneKeyHQ/coin-selection.git","type":"git"},"_npmVersion":"10.5.1","description":"Minimal implementation of Cardano coin selection algorithms (see [CIP-2](https://cips.cardano.org/cips/cip2/)) developed solely for OneKeyHQ. Under the hood it leverages Cardano Serialization Lib via WASM module.","directories":{},"_nodeVersion":"20.18.2","dependencies":{"@emurgo/cardano-message-signing-asmjs":"^1.0.1","@emurgo/cardano-serialization-lib-asmjs":"13.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","devDependencies":{"jest":"^29.7.0","eslint":"^9.11.1","rimraf":"^6.0.1","prettier":"3.3.3","@swc/core":"1.7.26","@eslint/js":"^9.11.1","typescript":"^5.6.2","@types/jest":"^29.5.13","@types/node":"^16.3.2","npm-run-all":"^4.1.5","@swc/helpers":"^0.5.13","bignumber.js":"^9.0.1","@swc-node/jest":"^1.8.12","typescript-eslint":"^8.8.0","make-coverage-badge":"^1.2.0","eslint-plugin-import":"^2.30.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@typescript-eslint/parser":"8.8.0","@typescript-eslint/eslint-plugin":"^8.8.0","@emurgo/cardano-serialization-lib-nodejs":"13.2.0"},"peerDependencies":{"bignumber.js":"^9.0.1"},"_npmOperationalInternal":{"tmp":"tmp/cardano-coin-selection-asmjs_1.1.4-alpha.1_1739517809980_0.334424570365879","host":"s3://npm-registry-packages-npm-production"}},"1.1.4-alpha.2":{"name":"@bytezhang/cardano-coin-selection-asmjs","version":"1.1.4-alpha.2","description":"Minimal implementation of Cardano coin selection algorithms (see [CIP-2](https://cips.cardano.org/cips/cip2/)) developed solely for OneKeyHQ. Under the hood it leverages Cardano Serialization Lib via WASM module.","keywords":["coin selection"],"license":"MIT","author":{"name":"OneKeyHQ"},"homepage":"https://github.com/OneKeyHQ/coin-selection","repository":{"type":"git","url":"git+https://github.com/OneKeyHQ/coin-selection.git"},"publishConfig":{"access":"public"},"main":"lib/cjs/index.js","module":"lib/esm/index.js","scripts":{"build":"yarn clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json","clean":"rimraf lib","lint":"eslint ./src/**/*.ts","prepublishOnly":"yarn build","type-check":"yarn tsc -p tsconfig.types.json","test":"yarn run-s 'test:*'","test:unit":"jest -c ./jest.config.js","test:badges":"make-coverage-badge --output-path ./docs/badge-coverage.svg"},"devDependencies":{"@emurgo/cardano-serialization-lib-nodejs":"13.2.0","@eslint/js":"^9.11.1","@swc-node/jest":"^1.8.12","@swc/core":"1.7.26","@swc/helpers":"^0.5.13","@types/jest":"^29.5.13","@types/node":"^16.3.2","@typescript-eslint/eslint-plugin":"^8.8.0","@typescript-eslint/parser":"8.8.0","bignumber.js":"^9.0.1","eslint":"^9.11.1","eslint-config-prettier":"^9.1.0","eslint-plugin-import":"^2.30.0","eslint-plugin-prettier":"^5.2.1","jest":"^29.7.0","make-coverage-badge":"^1.2.0","npm-run-all":"^4.1.5","prettier":"3.3.3","rimraf":"^6.0.1","typescript":"^5.6.2","typescript-eslint":"^8.8.0"},"dependencies":{"@emurgo/cardano-message-signing-asmjs":"^1.0.1","@emurgo/cardano-serialization-lib-asmjs":"13.2.0"},"peerDependencies":{"bignumber.js":"^9.0.1"},"packageManager":"yarn@4.5.0","_id":"@bytezhang/cardano-coin-selection-asmjs@1.1.4-alpha.2","gitHead":"01ce96e6a254defdd9b8455597a796adf49969a0","types":"./lib/cjs/index.d.ts","bugs":{"url":"https://github.com/OneKeyHQ/coin-selection/issues"},"_nodeVersion":"20.18.2","_npmVersion":"10.5.1","dist":{"integrity":"sha512-PM7BMAWjGE2OWjA4KktMYKFc182v04L6X8h372Xgo+AwPjYn21zbBg54/J+ajSwpfME9hpycoTUm1pVAvRXjBw==","shasum":"4c79b3f9072df12ab9af7c6807eee1fb5dcf067d","tarball":"https://registry.npmjs.org/@bytezhang/cardano-coin-selection-asmjs/-/cardano-coin-selection-asmjs-1.1.4-alpha.2.tgz","fileCount":82,"unpackedSize":280385,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGcLCV6MAcNqCsXAPp2x69LsXUIsFh7gSPqvsG5AFksEAiA5ygsaodrFCaXiIh8bW1H5El6SPFkm/pxB/7UQHsE2zw=="}]},"_npmUser":{"name":"bytezhang","email":"ByteZhang@pm.me"},"directories":{},"maintainers":[{"name":"bytezhang","email":"ByteZhang@pm.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cardano-coin-selection-asmjs_1.1.4-alpha.2_1739523810983_0.8695638275664739"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-14T13:06:58.212Z","modified":"2025-02-14T09:03:31.361Z","1.1.0":"2024-10-14T13:06:58.639Z","1.1.1-alpha.0":"2024-10-14T13:23:40.074Z","1.1.1-alpha.1":"2024-10-14T13:28:16.280Z","1.1.1-alpha.2":"2024-10-14T13:44:54.745Z","1.1.1-alpha.3":"2024-10-16T02:53:21.539Z","1.1.1-alpha.4":"2024-10-16T03:11:42.291Z","1.1.1-alpha.5":"2024-10-16T03:41:01.399Z","1.1.2-alpha.1":"2025-01-24T14:28:58.440Z","1.1.2-alpha.2":"2025-01-24T16:11:32.324Z","1.1.2-alpha.3":"2025-01-24T16:39:19.389Z","1.1.3-alpha.1":"2025-02-05T11:14:12.921Z","1.1.3-alpha.2":"2025-02-05T11:35:18.952Z","1.1.3-alpha.3":"2025-02-05T11:40:24.361Z","1.1.4-alpha.0":"2025-02-14T07:22:01.345Z","1.1.4-alpha.1":"2025-02-14T07:23:30.235Z","1.1.4-alpha.2":"2025-02-14T09:03:31.181Z"},"bugs":{"url":"https://github.com/OneKeyHQ/coin-selection/issues"},"author":{"name":"OneKeyHQ"},"license":"MIT","homepage":"https://github.com/OneKeyHQ/coin-selection","keywords":["coin selection"],"repository":{"type":"git","url":"git+https://github.com/OneKeyHQ/coin-selection.git"},"description":"Minimal implementation of Cardano coin selection algorithms (see [CIP-2](https://cips.cardano.org/cips/cip2/)) developed solely for OneKeyHQ. Under the hood it leverages Cardano Serialization Lib via WASM module.","maintainers":[{"name":"bytezhang","email":"ByteZhang@pm.me"}],"readme":"# coin-selection\n\nMinimal implementation of Cardano coin selection algorithms (see [CIP-2](https://cips.cardano.org/cips/cip2/)) developed solely for OneKeyHQ.\nUnder the hood it leverages Cardano Serialization Lib via WASM module.\n\n## Features\n\n- Final tx plan: Compose transaction plan for given inputs (shelley utxos only), certificates (support for stake (de)registration and delegation), withdrawals,...\n- Draft tx plan: Return basic information about potential transaction (such as a size and fee) even for incomplete inputs (without an recipient address or an amount)\n- Set max: Calculate the max amount of an asset that is possible to include in a transaction output\n\n## Usage\n\n```typescript\nconst txPlan = coinSelection(\n\ttxParams: {\n        utxos: Utxo[];\n        outputs: UserOutput[];\n        changeAddress: string;\n        certificates: Certificate[];\n        withdrawals: Withdrawal[];\n        accountPubKey: string;\n        ttl?: number;\n    },\n\toptions: {\n        feeParams?: { a: string };\n        debug?: boolean;\n        forceLargestFirstSelection?: boolean;\n\t}\n);\n```\n\n### `coinSelection(txParams, options)`\n\n#### `txParams`\n\n- `utxos`: Array of account's utxo\n- `outputs`: Requested outputs provided by an user\n- `changeAddress`: An address where the change will be sent\n- `certificates`: Stake registration and/or delegation certificates (stake pool registration is not supported)\n- `withdrawals`: Withdrawal requests\n- `accountPubKey`: Account public key\n- `ttl`: Time-to-live for the transaction\n\n#### `Options`\n\n- `forceLargestFirstSelection`: Always use largest-first algorithm\n- `debug`: print debug information about coin-selection (selected utxos, outputs including change output,...)\n\n## Example\n\n### Final tx plan\n\n```typescript\n\nexport const utxo1 = {\n  address:\n    'addr1q860vxljhadqxnrrsr2j6yxnwpdkyquq74lmghx502aj0r28d2kd47hsre5v9urjyu8s0ryk38dxzw0t5jesncw4v90sp0878u',\n  txHash: '3c388acb799a37a4f1cc99bec7626637b0b80626b9ef7c7a687282cab701178d',\n  outputIndex: 0,\n  amount: [\n    {\n      quantity: '5000000',\n      unit: 'lovelace',\n    },\n  ],\n};\n\nexport const utxo2 = {\n  address:\n    'addr1q860vxljhadqxnrrsr2j6yxnwpdkyquq74lmghx502aj0r28d2kd47hsre5v9urjyu8s0ryk38dxzw0t5jesncw4v90sp0878u',\n  txHash: '9e63fddf20cb7b5472e2c9a1bb4bbe3112b8f2b22e45bc441206bcddde5c58a0',\n  outputIndex: 1,\n  amount: [\n    {\n      quantity: '5000000',\n      unit: 'lovelace',\n    },\n    {\n      quantity: '1000',\n      unit: '02477d7c23b4c2834b0be8ca8578dde47af0cc82a964688f6fc95a7a47524943',\n    },\n  ],\n};\n\nconst txPlan = coinSelection(\n\ttxParams: {\n        utxos: Utxo[];\n        outputs: [\n        {\n            address:\n            'addr1qya0nkzrf04gmcpu66vdt7sudwptnyg5df6475y7jhtt2wc44vzmgrfy6wwf69xlaszdslksw8evveyykw4c82eavq7sx29tlc',\n            amount: '1000000',\n            assets: [],\n            setMax: false,\n        },\n        {\n            address:\n            'addr1qya0nkzrf04gmcpu66vdt7sudwptnyg5df6475y7jhtt2wc44vzmgrfy6wwf69xlaszdslksw8evveyykw4c82eavq7sx29tlc',\n            amount: undefined,\n            assets: [],\n            setMax: true,\n        },\n        ],\n        changeAddress: `addr1q8u2f05rprqjhygz22m06mhy4xrnqvqqpyuzhmxqfxnwvxz8d2kd47hsre5v9urjyu8s0ryk38dxzw0t5jesncw4v90s22tk0f`,\n        certificates: [],\n        withdrawals: [],\n        accountPubKey:\n        'ec8fdf616242f430855ad7477acda53395eb30c295f5a7ef038712578877375b5a2f00353c9c5cc88c7ff18e71dc08724d90fc238213b789c0b02438e336be07',\n    },\n);\n\n// txPlan\n// {\n//   max: '7480901',\n//   totalSpent: '8655202',\n//   fee: '174301',\n//   inputs: [utxo1, utxo2],\n//   outputs: [\n//     {\n//       address:\n//         'addr1qya0nkzrf04gmcpu66vdt7sudwptnyg5df6475y7jhtt2wc44vzmgrfy6wwf69xlaszdslksw8evveyykw4c82eavq7sx29tlc',\n//       amount: '1000000',\n//       assets: [],\n//       setMax: false,\n//     },\n//     {\n//       address:\n//         'addr1qya0nkzrf04gmcpu66vdt7sudwptnyg5df6475y7jhtt2wc44vzmgrfy6wwf69xlaszdslksw8evveyykw4c82eavq7sx29tlc',\n//       amount: '7480901',\n//       assets: [],\n//       setMax: true,\n//     },\n//     {\n//       isChange: true,\n//       address: changeAddress,\n//       amount: '1344798',\n//       assets: [\n//         {\n//           quantity: '1000',\n//           unit: '02477d7c23b4c2834b0be8ca8578dde47af0cc82a964688f6fc95a7a47524943',\n//         },\n//       ],\n//     },\n//   ],\n// },\n;\n```\n\n### Draft tx plan\n\n```typescript\n\nconst txPlan = coinSelection(\n\t{\n        utxos: [utxo1];\n        outputs: [\n            {\n                address: undefined, // address not filled\n                amount: '2000000',\n                assets: [],\n                setMax: false,\n            },\n        ],\n        changeAddress: `addr1q8u2f05rprqjhygz22m06mhy4xrnqvqqpyuzhmxqfxnwvxz8d2kd47hsre5v9urjyu8s0ryk38dxzw0t5jesncw4v90s22tk0f`,\n        certificates: [],\n        withdrawals: [],\n        accountPubKey:\n        'ec8fdf616242f430855ad7477acda53395eb30c295f5a7ef038712578877375b5a2f00353c9c5cc88c7ff18e71dc08724d90fc238213b789c0b02438e336be07',\n    },\n);\n\n// txPlan:\n// {\n//     totalSpent: '2168053',\n//     fee: '168053',\n// },\n\n```\n\n## Notes\n\n- If there are certificates present or the transaction includes an output with `setMax: true` then largest-first algorithm will be used instead of random-improve.\n","readmeFilename":"README.md"}