{"_id":"@cashu/coco-adapter-tests","_rev":"12-5dd83c5a09fb8eec86b4cc818e35a6b3","name":"@cashu/coco-adapter-tests","dist-tags":{"latest":"2.0.0","rc":"2.0.0-rc.3"},"versions":{"1.0.0-rc.0":{"name":"@cashu/coco-adapter-tests","version":"1.0.0-rc.0","_id":"@cashu/coco-adapter-tests@1.0.0-rc.0","maintainers":[{"name":"robwoodgate","email":"robwoodgate@mac.com"},{"name":"gandlaf21","email":"gandlaf@proton.me"},{"name":"callebtc","email":"callebtc@protonmail.com"},{"name":"egge21m","email":"egge@my2sats.space"}],"dist":{"shasum":"0bce5f511668f5c10e28811585f51f3e620a2687","tarball":"https://registry.npmjs.org/@cashu/coco-adapter-tests/-/coco-adapter-tests-1.0.0-rc.0.tgz","fileCount":6,"integrity":"sha512-/dYn2wA1RxKPDBQ3as/XqED4gymSTwei6T97239MPxdsURuOSP3XDxw7G5Ih1NKrsw58IcQtJq2ukWk7619txg==","signatures":[{"sig":"MEYCIQCBtDETXeZi3HfeOjnWxGFZTzYTJW7TgyESR00S2vov5QIhAO92uWHc7XlCLfpUaBNi2sD5TZX/IFCs+rcC6HkLWz2g","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":174062},"type":"module","module":"index.ts","shasum":"0bce5f511668f5c10e28811585f51f3e620a2687","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"egge21m","email":"egge@my2sats.space"},"_integrity":"sha512-/dYn2wA1RxKPDBQ3as/XqED4gymSTwei6T97239MPxdsURuOSP3XDxw7G5Ih1NKrsw58IcQtJq2ukWk7619txg==","repository":{"url":"https://github.com/cashubtc/coco","type":"git","directory":"packages/adapter-tests"},"_npmVersion":"10.8.3","directories":{},"_nodeVersion":"24.3.0","dependencies":{"fake-bolt11":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"@cashu/coco-core":"1.0.0-rc.0"},"peerDependencies":{"typescript":"^5","@cashu/cashu-ts":"^3.3.0","@cashu/coco-core":"^1.0.0-rc.0"},"_npmOperationalInternal":{"tmp":"tmp/coco-adapter-tests_1.0.0-rc.0_1774960807801_0.9984689563647575","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-rc.2":{"name":"@cashu/coco-adapter-tests","version":"1.0.0-rc.2","_id":"@cashu/coco-adapter-tests@1.0.0-rc.2","maintainers":[{"name":"robwoodgate","email":"robwoodgate@mac.com"},{"name":"gandlaf21","email":"gandlaf@proton.me"},{"name":"callebtc","email":"callebtc@protonmail.com"},{"name":"egge21m","email":"egge@my2sats.space"}],"homepage":"https://github.com/cashubtc/coco#readme","bugs":{"url":"https://github.com/cashubtc/coco/issues"},"dist":{"shasum":"9875c52b53d6ec0720436b90391dc71f9632f38e","tarball":"https://registry.npmjs.org/@cashu/coco-adapter-tests/-/coco-adapter-tests-1.0.0-rc.2.tgz","fileCount":6,"integrity":"sha512-6mRmVTL/+K7qjRb7E6x+mGlU0DPkN46UAqBv2foiqOXiSHUyJC4oc7rTxpkDS4LCNOcpWG8CsMXy7098UXducA==","signatures":[{"sig":"MEUCIQCf5XpDv02Au9zba5l7Q2it+5chZWT+XGdlskLKs2BU4gIgNEpzsdsE2AoG0jAZAmrOCW9Ma6GlsH3Zp481tg9dQrU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cashu%2fcoco-adapter-tests@1.0.0-rc.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":175048},"type":"module","module":"index.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"d553bfd96f72f4051144f18d0dd8e7fc74f40079","scripts":{"build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8cf9b983-b984-4817-83d1-a097ba45763f"}},"repository":{"url":"git+https://github.com/cashubtc/coco.git","type":"git","directory":"packages/adapter-tests"},"_npmVersion":"11.11.0","description":"This package exports reusable test helpers that verify whether a storage adapter conforms to the `Repositories` contract from `@cashu/coco-core`.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"fake-bolt11":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"@cashu/coco-core":"1.0.0-rc.2"},"peerDependencies":{"typescript":"^5","@cashu/cashu-ts":"^3.3.0","@cashu/coco-core":"^1.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/coco-adapter-tests_1.0.0-rc.2_1775572675736_0.24383746607319856","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-rc.3":{"name":"@cashu/coco-adapter-tests","version":"1.0.0-rc.3","_id":"@cashu/coco-adapter-tests@1.0.0-rc.3","maintainers":[{"name":"robwoodgate","email":"robwoodgate@mac.com"},{"name":"gandlaf21","email":"gandlaf@proton.me"},{"name":"callebtc","email":"callebtc@protonmail.com"},{"name":"egge21m","email":"egge@my2sats.space"}],"homepage":"https://github.com/cashubtc/coco#readme","bugs":{"url":"https://github.com/cashubtc/coco/issues"},"dist":{"shasum":"5c8aa36472c50015152eca54c976054108dfea92","tarball":"https://registry.npmjs.org/@cashu/coco-adapter-tests/-/coco-adapter-tests-1.0.0-rc.3.tgz","fileCount":6,"integrity":"sha512-Wp6NvZaJhZTdvsknBdhXmFUzDtdXSbCUBjOx9aWli+d/4aQV8h4XHsRkJcaQUWldUvksJRKnqPiGqvGO4Deq3g==","signatures":[{"sig":"MEUCIQDK576BLu1SyVD7WhOmh74FPRx80zzaWDWK0vDi1Y4N4AIgVm4EojSCuBP+4pvkOi11kbLfg/rxBM5E6+NIVBrUfHQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cashu%2fcoco-adapter-tests@1.0.0-rc.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":180757},"type":"module","module":"index.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"e9589a11e04a68e0583ab793bfa9f8991f5c70e3","scripts":{"build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8cf9b983-b984-4817-83d1-a097ba45763f"}},"repository":{"url":"git+https://github.com/cashubtc/coco.git","type":"git","directory":"packages/adapter-tests"},"_npmVersion":"11.11.0","description":"This package exports reusable test helpers that verify whether a storage adapter conforms to the `Repositories` contract from `@cashu/coco-core`.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"fake-bolt11":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"@cashu/coco-core":"1.0.0-rc.3"},"peerDependencies":{"typescript":"^5","@cashu/cashu-ts":"^3.3.0","@cashu/coco-core":"^1.0.0-rc.3"},"_npmOperationalInternal":{"tmp":"tmp/coco-adapter-tests_1.0.0-rc.3_1775719680918_0.16170311326735076","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-rc.4":{"name":"@cashu/coco-adapter-tests","version":"1.0.0-rc.4","_id":"@cashu/coco-adapter-tests@1.0.0-rc.4","maintainers":[{"name":"robwoodgate","email":"robwoodgate@mac.com"},{"name":"gandlaf21","email":"gandlaf@proton.me"},{"name":"callebtc","email":"callebtc@protonmail.com"},{"name":"egge21m","email":"egge@my2sats.space"}],"homepage":"https://github.com/cashubtc/coco#readme","bugs":{"url":"https://github.com/cashubtc/coco/issues"},"dist":{"shasum":"b855cc33e2030a5a63b1efbd125af63feed3bafa","tarball":"https://registry.npmjs.org/@cashu/coco-adapter-tests/-/coco-adapter-tests-1.0.0-rc.4.tgz","fileCount":6,"integrity":"sha512-/unjIYw6eYrhSf6v2VhLz1iiashMt5rX6uac2L086CFu/lnytYNUedhjrexzsCqkjHggY+2VoCDQRT19zSVvgg==","signatures":[{"sig":"MEUCIH33cnt/i1/4oAjiN6G7S3JHjyf7E2+8TwflHYs9u3ZhAiEAx+zoFboc47/jNFcP/vpJoDaDhIqIlte1I46A+DQRMiw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cashu%2fcoco-adapter-tests@1.0.0-rc.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":181100},"type":"module","module":"index.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"ff23f99cf0cfb02120415a0c2d5bc03b8ee40a81","scripts":{"build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8cf9b983-b984-4817-83d1-a097ba45763f"}},"repository":{"url":"git+https://github.com/cashubtc/coco.git","type":"git","directory":"packages/adapter-tests"},"_npmVersion":"11.11.0","description":"> ⚠️ Release candidate: Coco is stabilizing for v1, but breaking changes may > still land before the final 1.0 release. Pin versions in production.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"fake-bolt11":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"@cashu/coco-core":"1.0.0-rc.4"},"peerDependencies":{"typescript":"^5","@cashu/cashu-ts":"^3.3.0","@cashu/coco-core":"^1.0.0-rc.4"},"_npmOperationalInternal":{"tmp":"tmp/coco-adapter-tests_1.0.0-rc.4_1776770032461_0.616514186817027","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-rc.5":{"name":"@cashu/coco-adapter-tests","version":"1.0.0-rc.5","_id":"@cashu/coco-adapter-tests@1.0.0-rc.5","maintainers":[{"name":"robwoodgate","email":"robwoodgate@mac.com"},{"name":"gandlaf21","email":"gandlaf@proton.me"},{"name":"callebtc","email":"callebtc@protonmail.com"},{"name":"egge21m","email":"egge@my2sats.space"}],"homepage":"https://github.com/cashubtc/coco#readme","bugs":{"url":"https://github.com/cashubtc/coco/issues"},"dist":{"shasum":"fd54012025d167e7c3018f62cde40bb85a626fff","tarball":"https://registry.npmjs.org/@cashu/coco-adapter-tests/-/coco-adapter-tests-1.0.0-rc.5.tgz","fileCount":6,"integrity":"sha512-YiVHJnslIE4Ay1fZ7L6u2Ht5GlLtfeX8aj7Z+A/jvavl4CUgQjhvCnkQmWjIfRE3Cyj7wcnvt0OZe7AzmBY/9g==","signatures":[{"sig":"MEUCIQCplt7F+GIPMg1CfjTs2WjozPw4HMNbY2Tix/1mDue14gIgBZ0E+j8edwmA+Tt+BLDtP5k4GcecOKwPxMR+oK1Qbk8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cashu%2fcoco-adapter-tests@1.0.0-rc.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":181100},"type":"module","module":"index.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"9bf9fef41d59de8fd7c899a94c5f4da843cc2f7f","scripts":{"build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8cf9b983-b984-4817-83d1-a097ba45763f"}},"repository":{"url":"git+https://github.com/cashubtc/coco.git","type":"git","directory":"packages/adapter-tests"},"_npmVersion":"11.12.1","description":"> ⚠️ Release candidate: Coco is stabilizing for v1, but breaking changes may > still land before the final 1.0 release. Pin versions in production.","directories":{},"_nodeVersion":"24.15.0","dependencies":{"fake-bolt11":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"@cashu/coco-core":"1.0.0-rc.5"},"peerDependencies":{"typescript":"^5","@cashu/cashu-ts":"^3.3.0","@cashu/coco-core":"^1.0.0-rc.5"},"_npmOperationalInternal":{"tmp":"tmp/coco-adapter-tests_1.0.0-rc.5_1776954249828_0.4013568488630286","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@cashu/coco-adapter-tests","version":"1.0.0","_id":"@cashu/coco-adapter-tests@1.0.0","maintainers":[{"name":"robwoodgate","email":"robwoodgate@mac.com"},{"name":"gandlaf21","email":"gandlaf@proton.me"},{"name":"callebtc","email":"callebtc@protonmail.com"},{"name":"egge21m","email":"egge@my2sats.space"}],"homepage":"https://github.com/cashubtc/coco#readme","bugs":{"url":"https://github.com/cashubtc/coco/issues"},"dist":{"shasum":"85bec5908d1fb888af3bfafbe907f514f0913800","tarball":"https://registry.npmjs.org/@cashu/coco-adapter-tests/-/coco-adapter-tests-1.0.0.tgz","fileCount":6,"integrity":"sha512-jSd4yipDyi0RvgmS6uY5fkumyvkN7hbynjzKofljsgJlQULCyJDiOGuL7kHRoEL6QoRNQWARF4BZOuMplW6Kxg==","signatures":[{"sig":"MEYCIQCzyMfIuvxhjjdcpfMklJJqfXlh8YWzuhIjf83JmnSSXwIhAImCUHT9RnWI6vSnmZqE3qaNGEIZMePM8GmDCyD13C44","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cashu%2fcoco-adapter-tests@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":184600},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"8f06364ad15187b02e7d53b6b6a00f389be2fa60","scripts":{"build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8cf9b983-b984-4817-83d1-a097ba45763f"}},"repository":{"url":"git+https://github.com/cashubtc/coco.git","type":"git","directory":"packages/adapter-tests"},"_npmVersion":"11.11.0","description":"> ⚠️ Release candidate: Coco is stabilizing for v1, but breaking changes may > still land before the final 1.0 release. Pin versions in production.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"fake-bolt11":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"@cashu/coco-core":"1.0.0"},"peerDependencies":{"typescript":"^5","@cashu/cashu-ts":"^3.3.0","@cashu/coco-core":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/coco-adapter-tests_1.0.0_1777975607077_0.014911107809606472","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@cashu/coco-adapter-tests","version":"1.0.1","_id":"@cashu/coco-adapter-tests@1.0.1","maintainers":[{"name":"robwoodgate","email":"robwoodgate@mac.com"},{"name":"gandlaf21","email":"gandlaf@proton.me"},{"name":"callebtc","email":"callebtc@protonmail.com"},{"name":"egge21m","email":"egge@my2sats.space"}],"homepage":"https://github.com/cashubtc/coco#readme","bugs":{"url":"https://github.com/cashubtc/coco/issues"},"dist":{"shasum":"42b9b499ab924f907fe7559076ca701dcdb8e17c","tarball":"https://registry.npmjs.org/@cashu/coco-adapter-tests/-/coco-adapter-tests-1.0.1.tgz","fileCount":6,"integrity":"sha512-xAdfisRoIF9LASzgO2nVxOPEAB4KCZwxrAf8lKbeSIy9Oq/JYu9/aNLg2qK0BkrxnXAjNFUjS3P1G8xTt3PcCQ==","signatures":[{"sig":"MEYCIQDAHCfux9kAexyQzrUzwJKB6ltqPnLIh4gKdY2To+ppVwIhAKFhCiTKLy8WDGmKDQqLIrSJ+fb94GJ630mHI7xTiNTq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cashu%2fcoco-adapter-tests@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":184600},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"d080ebd9cb08fd4084adafbbf28cf98072c595fd","scripts":{"build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8cf9b983-b984-4817-83d1-a097ba45763f"}},"repository":{"url":"git+https://github.com/cashubtc/coco.git","type":"git","directory":"packages/adapter-tests"},"_npmVersion":"11.12.1","description":"> ⚠️ Release candidate: Coco is stabilizing for v1, but breaking changes may > still land before the final 1.0 release. Pin versions in production.","directories":{},"_nodeVersion":"24.15.0","dependencies":{"fake-bolt11":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"@cashu/coco-core":"1.0.1"},"peerDependencies":{"typescript":"^5","@cashu/cashu-ts":"^3.3.0","@cashu/coco-core":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/coco-adapter-tests_1.0.1_1779174893715_0.5932549633709328","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-rc.0":{"name":"@cashu/coco-adapter-tests","version":"2.0.0-rc.0","_id":"@cashu/coco-adapter-tests@2.0.0-rc.0","maintainers":[{"name":"robwoodgate","email":"robwoodgate@mac.com"},{"name":"gandlaf21","email":"gandlaf@proton.me"},{"name":"callebtc","email":"callebtc@protonmail.com"},{"name":"egge21m","email":"egge@my2sats.space"}],"homepage":"https://github.com/cashubtc/coco#readme","bugs":{"url":"https://github.com/cashubtc/coco/issues"},"dist":{"shasum":"18a4301990b381ec968a353566b657f32ee6e119","tarball":"https://registry.npmjs.org/@cashu/coco-adapter-tests/-/coco-adapter-tests-2.0.0-rc.0.tgz","fileCount":4,"integrity":"sha512-/QWKn2mlUkQDl8FQss1xTuRCIOMlbMT/z10leHvBYBb5dh6HCYsp1/OlQhxXWHlAcpBQO5GC68AD7MhJNYi2ig==","signatures":[{"sig":"MEUCIAutxGmhElxhmb4dMHirskekw7NuvPq8Kn/J+zUuCy0XAiEAwwJq9cx4HYqAIGakQ4E615AU+IpejhRFmpApHDKSqdw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cashu%2fcoco-adapter-tests@2.0.0-rc.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":142797},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"1d5caafc8eca29dc516f7b4bab3ce09401eed6f2","scripts":{"build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8cf9b983-b984-4817-83d1-a097ba45763f"}},"repository":{"url":"git+https://github.com/cashubtc/coco.git","type":"git","directory":"packages/adapter-tests"},"_npmVersion":"11.16.0","description":"This package exports reusable test helpers that verify whether a storage adapter conforms to the `Repositories` contract from `@cashu/coco-core`.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"fake-bolt11":"^0.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@cashu/coco-core":"2.0.0-rc.0"},"peerDependencies":{"typescript":"^5","@cashu/cashu-ts":"4.5","@cashu/coco-core":"^2.0.0-rc.0"},"_npmOperationalInternal":{"tmp":"tmp/coco-adapter-tests_2.0.0-rc.0_1782992111823_0.8259903553159775","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-rc.1":{"name":"@cashu/coco-adapter-tests","version":"2.0.0-rc.1","_id":"@cashu/coco-adapter-tests@2.0.0-rc.1","maintainers":[{"name":"robwoodgate","email":"robwoodgate@mac.com"},{"name":"gandlaf21","email":"gandlaf@proton.me"},{"name":"callebtc","email":"callebtc@protonmail.com"},{"name":"egge21m","email":"egge@my2sats.space"}],"homepage":"https://github.com/cashubtc/coco#readme","bugs":{"url":"https://github.com/cashubtc/coco/issues"},"dist":{"shasum":"477c2ac63b5f34c4c6fe8bb35fe3c3b6c22bafca","tarball":"https://registry.npmjs.org/@cashu/coco-adapter-tests/-/coco-adapter-tests-2.0.0-rc.1.tgz","fileCount":4,"integrity":"sha512-/rxqti2gVI6Ldv3tkoOrTJYeA7vcqzNz/8g/rJifDIT9tUbyWY1QYxk3dausCEWlFjP1RWmgNaDdwZLFoHAyyA==","signatures":[{"sig":"MEQCIFDh4VCP4bYZq7zzH8bDzQ8Stkw4Djh6urNRk/Qh8nwvAiBUz36CjuS+dcv4DztIBi7dEoV/dGBWq8Mb335Ese3laA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cashu%2fcoco-adapter-tests@2.0.0-rc.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":142797},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"e635155a5f23f418350e6839f84cbfd37366efb6","scripts":{"build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8cf9b983-b984-4817-83d1-a097ba45763f"}},"repository":{"url":"git+https://github.com/cashubtc/coco.git","type":"git","directory":"packages/adapter-tests"},"_npmVersion":"11.16.0","description":"This package exports reusable test helpers that verify whether a storage adapter conforms to the `Repositories` contract from `@cashu/coco-core`.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"fake-bolt11":"^0.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@cashu/coco-core":"2.0.0-rc.1"},"peerDependencies":{"typescript":"^5","@cashu/cashu-ts":"4.5","@cashu/coco-core":"^2.0.0-rc.1"},"_npmOperationalInternal":{"tmp":"tmp/coco-adapter-tests_2.0.0-rc.1_1783434657151_0.6041689974654301","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-rc.2":{"name":"@cashu/coco-adapter-tests","version":"2.0.0-rc.2","_id":"@cashu/coco-adapter-tests@2.0.0-rc.2","maintainers":[{"name":"robwoodgate","email":"robwoodgate@mac.com"},{"name":"gandlaf21","email":"gandlaf@proton.me"},{"name":"callebtc","email":"callebtc@protonmail.com"},{"name":"egge21m","email":"egge@my2sats.space"}],"homepage":"https://github.com/cashubtc/coco#readme","bugs":{"url":"https://github.com/cashubtc/coco/issues"},"dist":{"shasum":"687400193b9c59a394f6b901933024ba94720927","tarball":"https://registry.npmjs.org/@cashu/coco-adapter-tests/-/coco-adapter-tests-2.0.0-rc.2.tgz","fileCount":4,"integrity":"sha512-an0OdHAqlAWj1jNU9edSQxDAPYDqCEW52zW6vdfdELkL4vTauJPXOF1lZZfVbYIsEhz1j0wKJtxA2Hq2KIRWDA==","signatures":[{"sig":"MEUCIFHinlN9k+t/ld8yjzoxvT+uULvPAaO/uiLPWH/TI5qEAiEAzmptyG3/m6TsPJ/KccuF9G7xaFnJtduLxFVoYZVCd6M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cashu%2fcoco-adapter-tests@2.0.0-rc.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":142797},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"30b55fd76076cc348c0b2528d66774a37ef96a80","scripts":{"build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8cf9b983-b984-4817-83d1-a097ba45763f"}},"repository":{"url":"git+https://github.com/cashubtc/coco.git","type":"git","directory":"packages/adapter-tests"},"_npmVersion":"11.16.0","description":"This package exports reusable test helpers that verify whether a storage adapter conforms to the `Repositories` contract from `@cashu/coco-core`.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"fake-bolt11":"^0.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@cashu/coco-core":"2.0.0-rc.2"},"peerDependencies":{"typescript":"^5","@cashu/cashu-ts":"4.5","@cashu/coco-core":"^2.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/coco-adapter-tests_2.0.0-rc.2_1784020308626_0.5722436615444557","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-rc.3":{"name":"@cashu/coco-adapter-tests","version":"2.0.0-rc.3","_id":"@cashu/coco-adapter-tests@2.0.0-rc.3","maintainers":[{"name":"robwoodgate","email":"robwoodgate@mac.com"},{"name":"gandlaf21","email":"gandlaf@proton.me"},{"name":"callebtc","email":"callebtc@protonmail.com"},{"name":"egge21m","email":"egge@my2sats.space"}],"homepage":"https://github.com/cashubtc/coco#readme","bugs":{"url":"https://github.com/cashubtc/coco/issues"},"dist":{"shasum":"f39b08f40545e5e2ce0ead88f48c2e97ea14bc89","tarball":"https://registry.npmjs.org/@cashu/coco-adapter-tests/-/coco-adapter-tests-2.0.0-rc.3.tgz","fileCount":4,"integrity":"sha512-d5tKclCHhKVniy4c20U5ezoD75Q1JRBxrush2TOQhwHfItpABdjfXuLuXIFyeTawsrlV4gjOkOpaYJS2/PU8pQ==","signatures":[{"sig":"MEUCIBVk3DO5YAA/tOzkrKYTB3OhIAcMRY2UN5v2fcqTuClDAiEAqGhWq1VJsbYozL2GsPJXymp2somQwIga1pPRMoumoLQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cashu%2fcoco-adapter-tests@2.0.0-rc.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":150575},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"12e987af50be86e2e8a8111a818ea4112a1489da","scripts":{"build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8cf9b983-b984-4817-83d1-a097ba45763f"}},"repository":{"url":"git+https://github.com/cashubtc/coco.git","type":"git","directory":"packages/adapter-tests"},"_npmVersion":"11.16.0","description":"This package exports reusable test helpers that verify whether a storage adapter conforms to the `Repositories` contract from `@cashu/coco-core`.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"fake-bolt11":"^0.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@cashu/coco-core":"2.0.0-rc.3"},"peerDependencies":{"typescript":"^5","@cashu/cashu-ts":"5.0.0-rc.4","@cashu/coco-core":"^2.0.0-rc.3"},"_npmOperationalInternal":{"tmp":"tmp/coco-adapter-tests_2.0.0-rc.3_1786457516712_0.738644056507934","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@cashu/coco-adapter-tests","version":"2.0.0","main":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","type":"module","repository":{"type":"git","url":"git+https://github.com/cashubtc/coco.git","directory":"packages/adapter-tests"},"devDependencies":{"@cashu/coco-core":"2.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"tsdown","typecheck":"tsc --noEmit"},"peerDependencies":{"@cashu/coco-core":"^2.0.0","typescript":"^5","@cashu/cashu-ts":"5.0.0-rc.4"},"dependencies":{"fake-bolt11":"^0.1.0"},"gitHead":"7dada8305be1c0a1e6b1ecaa9d53a91c5686771c","_id":"@cashu/coco-adapter-tests@2.0.0","description":"This package exports reusable test helpers that verify whether a storage adapter conforms to the `Repositories` contract from `@cashu/coco-core`.","bugs":{"url":"https://github.com/cashubtc/coco/issues"},"homepage":"https://github.com/cashubtc/coco#readme","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-ckvWBxP/+6ZruqA3YLbTaulyJgVrfJX32jysCH0zJwErWqN6UXkOMKGE7au+gCnynBmdgDR8l6/pKh6ra8OaMg==","shasum":"2043759b53f0aaba1da2fed2d434764d4d45e799","tarball":"https://registry.npmjs.org/@cashu/coco-adapter-tests/-/coco-adapter-tests-2.0.0.tgz","fileCount":4,"unpackedSize":150560,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cashu%2fcoco-adapter-tests@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDjArj1sUSZ2gfVCTcI3u7wJx7tKX0F7Tp28EBNAbQLmAIgCW8UXCfdHEeiqOhs4GJxId6mbqm+bp/Jt4T5NF8hfHo="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8cf9b983-b984-4817-83d1-a097ba45763f"}},"directories":{},"maintainers":[{"name":"robwoodgate","email":"robwoodgate@mac.com"},{"name":"gandlaf21","email":"gandlaf@proton.me"},{"name":"callebtc","email":"callebtc@protonmail.com"},{"name":"egge21m","email":"egge@my2sats.space"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/coco-adapter-tests_2.0.0_1786987673073_0.29569049922354185"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-31T12:40:07.682Z","modified":"2026-08-17T17:27:53.603Z","1.0.0-rc.0":"2026-03-31T12:40:07.969Z","1.0.0-rc.2":"2026-04-07T14:37:55.868Z","1.0.0-rc.3":"2026-04-09T07:28:01.104Z","1.0.0-rc.4":"2026-04-21T11:13:52.642Z","1.0.0-rc.5":"2026-04-23T14:24:09.982Z","1.0.0":"2026-05-05T10:06:47.203Z","1.0.1":"2026-05-19T07:14:53.959Z","2.0.0-rc.0":"2026-07-02T11:35:11.962Z","2.0.0-rc.1":"2026-07-07T14:30:57.291Z","2.0.0-rc.2":"2026-07-14T09:11:48.764Z","2.0.0-rc.3":"2026-08-11T14:11:56.863Z","2.0.0":"2026-08-17T17:27:53.227Z"},"bugs":{"url":"https://github.com/cashubtc/coco/issues"},"homepage":"https://github.com/cashubtc/coco#readme","repository":{"type":"git","url":"git+https://github.com/cashubtc/coco.git","directory":"packages/adapter-tests"},"description":"This package exports reusable test helpers that verify whether a storage adapter conforms to the `Repositories` contract from `@cashu/coco-core`.","maintainers":[{"name":"robwoodgate","email":"robwoodgate@mac.com"},{"name":"gandlaf21","email":"gandlaf@proton.me"},{"name":"callebtc","email":"callebtc@protonmail.com"},{"name":"egge21m","email":"egge@my2sats.space"}],"readme":"# @cashu/coco-adapter-tests\n\nThis package exports reusable test helpers that verify whether a storage adapter\nconforms to the `Repositories` contract from `@cashu/coco-core`.\n\n## Install\n\n```bash\nnpm install -D @cashu/coco-adapter-tests @cashu/coco-core\n```\n\n## Usage\n\nInstall the package as a devDependency inside an adapter package and wire the\ncontract suites into your test runner:\n\n```ts\nimport { describe, it, expect } from 'bun:test';\nimport {\n  runRepositoryTransactionContract,\n  runAuthSessionRepositoryContract,\n} from '@cashu/coco-adapter-tests';\nimport { MyAdapterRepositories } from './src';\n\nrunRepositoryTransactionContract(\n  {\n    createRepositories: async () => {\n      const repositories = new MyAdapterRepositories(options);\n      await repositories.init();\n      return {\n        repositories,\n        dispose: async () => repositories.close?.(),\n      };\n    },\n  },\n  { describe, it, expect },\n);\n\nrunAuthSessionRepositoryContract(\n  {\n    createRepositories: async () => {\n      const repositories = new MyAdapterRepositories(options);\n      await repositories.init();\n      return {\n        repositories,\n        dispose: async () => repositories.close?.(),\n      };\n    },\n  },\n  { describe, it, expect },\n);\n```\n\nThe factory is responsible for providing a fresh, isolated repositories\ninstance for every test and for cleaning up via `dispose()`.\n\n- `runRepositoryTransactionContract()` verifies transactional behavior across the\n  repository set.\n- `runAuthSessionRepositoryContract()` verifies the NUT-21/22 auth session\n  persistence contract.\n","readmeFilename":"README.md"}