{"_id":"@absolutejs/agent-exchange-mandate-stores","_rev":"3-4f5c5f9068744d3a8342c6cfd6750710","name":"@absolutejs/agent-exchange-mandate-stores","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"@absolutejs/agent-exchange-mandate-stores","version":"0.1.0","author":{"name":"Alex Kahn"},"license":"Apache-2.0","_id":"@absolutejs/agent-exchange-mandate-stores@0.1.0","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/agent-exchange-providers/tree/main/mandate-stores","bugs":{"url":"https://github.com/absolutejs/agent-exchange-providers/issues"},"dist":{"shasum":"df5c0f5bd54b20b240c9fe51f10dfb445524be3c","tarball":"https://registry.npmjs.org/@absolutejs/agent-exchange-mandate-stores/-/agent-exchange-mandate-stores-0.1.0.tgz","fileCount":7,"integrity":"sha512-TKGnkpof78c9nTESGOn2L+QkQM5ueqqQW7sMzbw1wvVDapOcKDSthsss/yCy16OV6XVbjRShmvFcyioCPzs/rA==","signatures":[{"sig":"MEUCIQDJrRM4wVQi7hYAJAqwDK48iS7U3AhdnQzGDE/g6+hUJgIgHzV2VYgLSsllTOq3V+XCgiUl+0WajisAs6gFXJjTSLA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30427},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"9ecd275aa2b8114e05c573dff99a6a707cd8451b","scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts --outdir dist --root src --sourcemap --target=browser --external @absolutejs/agent-exchange && tsc --project tsconfig.build.json","format":"prettier --write \"./**/*.{ts,json,md}\"","typecheck":"tsc --noEmit","format:check":"prettier --check \"./**/*.{ts,json,md}\""},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"repository":{"url":"git+https://github.com/absolutejs/agent-exchange-providers.git","type":"git","directory":"mandate-stores"},"_npmVersion":"10.9.2","description":"Atomic PostgreSQL and Redis stores for Agent Exchange standing mandates.","directories":{},"_nodeVersion":"22.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14","typescript":"^5.9.0","@absolutejs/agent-exchange":"0.4.0"},"peerDependencies":{"@absolutejs/agent-exchange":">=0.4.0 <0.5"},"_npmOperationalInternal":{"tmp":"tmp/agent-exchange-mandate-stores_0.1.0_1787751501102_0.0023221619050304287","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@absolutejs/agent-exchange-mandate-stores","version":"0.2.0","author":{"name":"Alex Kahn"},"license":"Apache-2.0","_id":"@absolutejs/agent-exchange-mandate-stores@0.2.0","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/agent-exchange-providers/tree/main/mandate-stores","bugs":{"url":"https://github.com/absolutejs/agent-exchange-providers/issues"},"dist":{"shasum":"92f25b4948ec78481f35cf522d98596ddd028f72","tarball":"https://registry.npmjs.org/@absolutejs/agent-exchange-mandate-stores/-/agent-exchange-mandate-stores-0.2.0.tgz","fileCount":7,"integrity":"sha512-JbX0Cgf2myICa82KPPAjQ0fDXkv4Ag0zYnq5N1+HZN+NiumPuLUDr37op1BeZGGS5ok5EaeLKY1ZNchNyyhbww==","signatures":[{"sig":"MEUCIQDRY+TGNu3kKs/9xLA9mi+fCEog9dw5EY9KBqwT1Krz+QIgZVt7U/+Tbvr5YKabJGUwWVKPIOVw9e8BU07MxNfugIc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30427},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"05a6e94907aa2c6fe91023f483bfa51b87847429","scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts --outdir dist --root src --sourcemap --target=browser --external @absolutejs/agent-exchange && tsc --project tsconfig.build.json","format":"prettier --write \"./**/*.{ts,json,md}\"","typecheck":"tsc --noEmit","format:check":"prettier --check \"./**/*.{ts,json,md}\""},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"repository":{"url":"git+https://github.com/absolutejs/agent-exchange-providers.git","type":"git","directory":"mandate-stores"},"_npmVersion":"10.9.2","description":"Atomic PostgreSQL and Redis stores for Agent Exchange standing mandates.","directories":{},"_nodeVersion":"22.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14","typescript":"^5.9.0","@absolutejs/agent-exchange":"0.5.0"},"peerDependencies":{"@absolutejs/agent-exchange":">=0.5.0 <0.6"},"_npmOperationalInternal":{"tmp":"tmp/agent-exchange-mandate-stores_0.2.0_1787773394607_0.30751190587204214","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"_id":"@absolutejs/agent-exchange-mandate-stores@0.2.1","bugs":{"url":"https://github.com/absolutejs/agent-exchange-providers/issues"},"dist":{"shasum":"8626878f7ff9600b14cc9b7c55448064fac39c44","tarball":"https://registry.npmjs.org/@absolutejs/agent-exchange-mandate-stores/-/agent-exchange-mandate-stores-0.2.1.tgz","fileCount":7,"integrity":"sha512-yMjHywrKjkKVJxUSEOYAA/Dy+V9TEvrvRE/8gzs4ZkXVybuHY0ExPfIo/EnmW52Osv1Nm9bOBR9k1iZ/ecwlNw==","signatures":[{"sig":"MEQCIEjR0iPLZZJiLFyIfqJb5URSu+mIFy5F3ecL2aM7GF28AiAL78/asw2N1fg64aEaRmiHSzQsc/J88nl9xIhy7tkgBg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCe8UVKoXHnZtXfm24foPwTl7L6ht4rTBnR3HTJpjzVZQIhAK01Kle4Hs0nB3sEQqUoouwH/o/7Mrr+inFqYsi6a1sl"}],"unpackedSize":30573},"main":"./dist/index.js","name":"@absolutejs/agent-exchange-mandate-stores","type":"module","types":"./dist/index.d.ts","author":{"name":"Alex Kahn"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"license":"Apache-2.0","scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts --outdir dist --root src --sourcemap --target=browser --external @absolutejs/agent-exchange && tsc --project tsconfig.build.json","format":"prettier --write \"./**/*.{ts,json,md}\"","typecheck":"tsc --noEmit","format:check":"prettier --check \"./**/*.{ts,json,md}\"","check:package":"bun run format:check && bun run typecheck && bun run test && bun run build","prepublishOnly":"bun run check:package"},"version":"0.2.1","_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"homepage":"https://github.com/absolutejs/agent-exchange-providers/tree/main/mandate-stores","repository":{"url":"git+https://github.com/absolutejs/agent-exchange-providers.git","type":"git","directory":"mandate-stores"},"_npmVersion":"10.9.2","description":"Atomic PostgreSQL and Redis stores for Agent Exchange standing mandates.","directories":{},"maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"_nodeVersion":"22.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14","typescript":"^5.9.0","@absolutejs/agent-exchange":"0.5.0"},"peerDependencies":{"@absolutejs/agent-exchange":">=0.5.0 <0.6"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/agent-exchange-mandate-stores_0.2.1_1790289258305_0.7380513410058998"}}},"time":{"created":"2026-08-26T13:38:20.931Z","modified":"2026-09-24T22:34:18.541Z","0.1.0":"2026-08-26T13:38:21.240Z","0.2.0":"2026-08-26T19:43:14.747Z","0.2.1":"2026-09-24T22:34:18.381Z"},"bugs":{"url":"https://github.com/absolutejs/agent-exchange-providers/issues"},"author":{"name":"Alex Kahn"},"license":"Apache-2.0","homepage":"https://github.com/absolutejs/agent-exchange-providers/tree/main/mandate-stores","repository":{"url":"git+https://github.com/absolutejs/agent-exchange-providers.git","type":"git","directory":"mandate-stores"},"description":"Atomic PostgreSQL and Redis stores for Agent Exchange standing mandates.","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"readme":"# `@absolutejs/agent-exchange-mandate-stores`\n\nAtomic PostgreSQL and Redis implementations of the\n`AgentExchangeMandateStore` contract. They register signed mandates, reject\nunknown or expired records, consume each exchange ID once, enforce total use\nlimits, and make revocation effective before later execution.\n\nApply `AGENT_EXCHANGE_MANDATE_POSTGRES_MIGRATION` before constructing the\nPostgreSQL adapter. The Redis adapter uses single Lua scripts for each state\ntransition and expiry at the mandate deadline.\n\nThis is an experimental `0.x` package and has not been independently audited.\n","readmeFilename":"README.md"}