{"_id":"@chainvue/v402-deposit-watcher","_rev":"3-6bb6d47cb344d7233d0d16cf3b74c7b9","name":"@chainvue/v402-deposit-watcher","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@chainvue/v402-deposit-watcher","version":"0.1.0","author":{"url":"chainvue","name":"Robert Lech"},"license":"Apache-2.0","_id":"@chainvue/v402-deposit-watcher@0.1.0","maintainers":[{"name":"devdudeio","email":"fLoAtivErImE@proton.me"}],"homepage":"https://github.com/chainvue/v402/tree/main/packages/deposit-watcher#readme","bugs":{"url":"https://github.com/chainvue/v402/issues"},"dist":{"shasum":"e793638efd9f97724f3b18f3bc223c372b57ad98","tarball":"https://registry.npmjs.org/@chainvue/v402-deposit-watcher/-/v402-deposit-watcher-0.1.0.tgz","fileCount":23,"integrity":"sha512-EfgLVyhjPqZDuLbnM17e7L+2QAUgN1/SmGEMukY3p7RuZUthhw+Do4bpJJDUyy16Pv29Jr52+t1fijdMNz8bxg==","signatures":[{"sig":"MEUCICZifrB6Js5uAN62Eh9+L968B8EaRYaD7fP+xIPGNmmnAiEA7h0bbsbhDOwox7IeZlc74+9FhU59zvj9/jKQmlHWoAA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":57791},"main":"./dist/index.js","type":"module","_from":"file:chainvue-v402-deposit-watcher-0.1.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc -p tsconfig.json"},"_npmUser":{"name":"devdudeio","email":"fLoAtivErImE@proton.me"},"_resolved":"/private/var/folders/lc/_1dmy3kd06b9ryyyvv7pk9vw0000gn/T/565ef55492bc7ad8080bd38cdbce63f5/chainvue-v402-deposit-watcher-0.1.0.tgz","_integrity":"sha512-EfgLVyhjPqZDuLbnM17e7L+2QAUgN1/SmGEMukY3p7RuZUthhw+Do4bpJJDUyy16Pv29Jr52+t1fijdMNz8bxg==","repository":{"url":"git+https://github.com/chainvue/v402.git","type":"git","directory":"packages/deposit-watcher"},"_npmVersion":"11.11.0","description":"Deposit watcher for the v402 facilitator: real mode (block polling, reorg detection, sender-VerusID attribution, confirmation crediting, re-mine handling) and simulated mode for dev/CI without a Verus node.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","dependencies":{"@chainvue/v402-storage":"^0.1.0","@chainvue/v402-protocol":"^0.1.0","@chainvue/v402-verus-rpc":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/v402-deposit-watcher_0.1.0_1783727470761_0.16401396821819647","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@chainvue/v402-deposit-watcher","version":"0.1.1","author":{"url":"chainvue","name":"Robert Lech"},"license":"Apache-2.0","_id":"@chainvue/v402-deposit-watcher@0.1.1","maintainers":[{"name":"devdudeio","email":"fLoAtivErImE@proton.me"}],"homepage":"https://github.com/chainvue/v402/tree/main/packages/deposit-watcher#readme","bugs":{"url":"https://github.com/chainvue/v402/issues"},"dist":{"shasum":"6e523ca2237cb9fcb0bd7092e060a47e1bfacef3","tarball":"https://registry.npmjs.org/@chainvue/v402-deposit-watcher/-/v402-deposit-watcher-0.1.1.tgz","fileCount":23,"integrity":"sha512-IiLVtoMCNMIe+p9KsJ2uqZusxZNFR+jY70ti8LwMty5LxWAGHroytv0fgyMql8/An74MNTo38ykPS9WL93hXBQ==","signatures":[{"sig":"MEQCIQDznIrZ4F3zkn40sA5FoE/ua/F7cjMM03G1gHrKluFe+QIfSPuPSNjTwO90GOeCTdkbcSrpwMSsMSsStoppMot7Kw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@chainvue%2fv402-deposit-watcher@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":57867},"main":"./dist/index.js","type":"module","_from":"file:chainvue-v402-deposit-watcher-0.1.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc -p tsconfig.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:122e28b2-d0f1-415c-a532-e61e26226988"}},"_resolved":"/tmp/3c0e9ea97a7267053b7286eb99183835/chainvue-v402-deposit-watcher-0.1.1.tgz","_integrity":"sha512-IiLVtoMCNMIe+p9KsJ2uqZusxZNFR+jY70ti8LwMty5LxWAGHroytv0fgyMql8/An74MNTo38ykPS9WL93hXBQ==","repository":{"url":"git+https://github.com/chainvue/v402.git","type":"git","directory":"packages/deposit-watcher"},"_npmVersion":"11.17.0","description":"Deposit watcher for the v402 facilitator: real mode (block polling, reorg detection, sender-VerusID attribution, confirmation crediting, re-mine handling) and simulated mode for dev/CI without a Verus node.","directories":{},"sideEffects":false,"_nodeVersion":"26.5.0","dependencies":{"@chainvue/v402-storage":"^0.2.0","@chainvue/v402-protocol":"^0.2.0","@chainvue/v402-verus-rpc":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/v402-deposit-watcher_0.1.1_1783985690979_0.03665935949411425","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@chainvue/v402-deposit-watcher","version":"0.2.0","description":"Deposit watcher for the v402 facilitator: real mode (block polling, reorg detection, sender-VerusID attribution, confirmation crediting, re-mine handling) and simulated mode for dev/CI without a Verus node.","repository":{"type":"git","url":"git+https://github.com/chainvue/v402.git","directory":"packages/deposit-watcher"},"homepage":"https://github.com/chainvue/v402/tree/main/packages/deposit-watcher#readme","bugs":{"url":"https://github.com/chainvue/v402/issues"},"license":"Apache-2.0","author":{"name":"Robert Lech"},"type":"module","sideEffects":false,"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"dependencies":{"@chainvue/v402-protocol":"0.2.0","@chainvue/v402-storage":"0.3.0","@chainvue/v402-verus-rpc":"0.1.0"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc -p tsconfig.build.json","typecheck":"tsc -p tsconfig.json","test":"vitest run"},"_id":"@chainvue/v402-deposit-watcher@0.2.0","_integrity":"sha512-OCZNPG70vYR+1/HhSdplY5TpgNSFBdNWwyPjpyKH+iOZORMroKqbR26Q1o9Iat65UrIhABgwqj0w+pf5hZxRqQ==","_resolved":"/tmp/2174fc681bf6e800c27269b7b377870e/chainvue-v402-deposit-watcher-0.2.0.tgz","_from":"file:chainvue-v402-deposit-watcher-0.2.0.tgz","_nodeVersion":"26.5.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-OCZNPG70vYR+1/HhSdplY5TpgNSFBdNWwyPjpyKH+iOZORMroKqbR26Q1o9Iat65UrIhABgwqj0w+pf5hZxRqQ==","shasum":"9329a7b87981f8bca6f891f7208caf1875fa53e2","tarball":"https://registry.npmjs.org/@chainvue/v402-deposit-watcher/-/v402-deposit-watcher-0.2.0.tgz","fileCount":23,"unpackedSize":58182,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@chainvue%2fv402-deposit-watcher@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDYzCcOjtZklO8Cj7ViC56pBTAi9MjafOsqzgko9jEaTQIhAJJbgUvDn+l1HF619Nik+GHCMrnzlr4YltKNAnZc70Ue"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:122e28b2-d0f1-415c-a532-e61e26226988"}},"directories":{},"maintainers":[{"name":"devdudeio","email":"fLoAtivErImE@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/v402-deposit-watcher_0.2.0_1784047002383_0.4870668097606461"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-10T23:51:10.571Z","modified":"2026-07-14T16:36:42.845Z","0.1.0":"2026-07-10T23:51:10.904Z","0.1.1":"2026-07-13T23:34:51.190Z","0.2.0":"2026-07-14T16:36:42.522Z"},"bugs":{"url":"https://github.com/chainvue/v402/issues"},"author":{"name":"Robert Lech"},"license":"Apache-2.0","homepage":"https://github.com/chainvue/v402/tree/main/packages/deposit-watcher#readme","repository":{"type":"git","url":"git+https://github.com/chainvue/v402.git","directory":"packages/deposit-watcher"},"description":"Deposit watcher for the v402 facilitator: real mode (block polling, reorg detection, sender-VerusID attribution, confirmation crediting, re-mine handling) and simulated mode for dev/CI without a Verus node.","maintainers":[{"name":"devdudeio","email":"fLoAtivErImE@proton.me"}],"readme":"# @chainvue/v402-deposit-watcher\n\nDeposit watcher for the [v402](https://github.com/chainvue/v402) facilitator.\nReal mode (`RealDepositWatcher`) polls blocks via\n[`@chainvue/v402-verus-rpc`](https://www.npmjs.com/package/@chainvue/v402-verus-rpc),\nattributes deposits to the sending VerusID (source-tx vin lookup), credits\nbalances after the configured confirmation depth, and detects reorgs — on a\nsuspected reorg it re-verifies the block hashes of **all** recorded deposits so\ndeep reorgs alarm instead of passing silently. Simulated mode fakes deposits\nfor dev/CI without a Verus node (production-guarded).\n\nRuns embedded in the facilitator daemon; published separately so custom\nfacilitator builds can reuse it.\n\n```sh\nnpm install @chainvue/v402-deposit-watcher\n```\n\nKnown boundaries (by design, see the repo's\n[docs/RISKS.md](https://github.com/chainvue/v402/blob/main/docs/RISKS.md)):\nshielded funding has no transparent vins → flagged for manual reconciliation;\namounts use the daemon's exact `valueSat`.\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md"}