{"_id":"@pinia/colada-plugin-cache-persister","_rev":"14-c1a3d4d709b443d2e39777c28d6ea2ef","name":"@pinia/colada-plugin-cache-persister","dist-tags":{"latest":"1.1.2"},"versions":{"0.0.0":{"name":"@pinia/colada-plugin-cache-persister","version":"0.0.0","keywords":["pinia","colada","plugin","cache","persist"],"author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"license":"MIT","_id":"@pinia/colada-plugin-cache-persister@0.0.0","maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"homepage":"https://github.com/posva/pinia-colada/plugins/retry#readme","bugs":{"url":"https://github.com/posva/pinia-colada/issues"},"dist":{"shasum":"d552648bf9e0c18715fb9d950a145526d69900fe","tarball":"https://registry.npmjs.org/@pinia/colada-plugin-cache-persister/-/colada-plugin-cache-persister-0.0.0.tgz","fileCount":9,"integrity":"sha512-2eoFPOxEb/iKTy9/ILCIxnYQ/YPY1PRznl4hjf0IHHtgH+s5GgwcHp/JvS05nMGzQ4ymyeBV9pcTYGGVtuy1jQ==","signatures":[{"sig":"MEYCIQDd369fXZSMHym/mU1nUc+9ROrUpkCTFSGkgIyby82n+AIhANEC5aZ23HQ6RdGfhNKd9b7At8++1kwOx2TWMmzTg6Ff","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4941},"main":"./dist/index.cjs","type":"module","_from":"file:pinia-colada-plugin-cache-persister-0.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":{"import":"./dist/index.d.ts","require":"./dist/index.d.cts"},"import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":"https://github.com/sponsors/posva","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l @pinia/colada-plugin-cache-persister -r 1"},"_npmUser":{"name":"posva","email":"posva13@gmail.com"},"_resolved":"/private/var/folders/vz/93zczm2s0f9ds4p7d5bzxymc0000gn/T/8462376304e4e509ae691a6cf0176727/pinia-colada-plugin-cache-persister-0.0.0.tgz","_integrity":"sha512-2eoFPOxEb/iKTy9/ILCIxnYQ/YPY1PRznl4hjf0IHHtgH+s5GgwcHp/JvS05nMGzQ4ymyeBV9pcTYGGVtuy1jQ==","repository":{"url":"git+https://github.com/posva/pinia-colada.git","type":"git"},"_npmVersion":"10.2.4","description":"Persists Pinia Colada's cache in the client","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/*","./*"]}},"_hasShrinkwrap":false,"devDependencies":{"@pinia/colada":"^0.10.0"},"peerDependencies":{"@pinia/colada":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/colada-plugin-cache-persister_0.0.0_1729626840703_0.5497036834430973","host":"s3://npm-registry-packages"}},"0.0.1":{"name":"@pinia/colada-plugin-cache-persister","version":"0.0.1","keywords":["pinia","colada","plugin","cache","persist"],"author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"license":"MIT","_id":"@pinia/colada-plugin-cache-persister@0.0.1","maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"homepage":"https://github.com/posva/pinia-colada/plugins/retry#readme","bugs":{"url":"https://github.com/posva/pinia-colada/issues"},"dist":{"shasum":"40f68af17a96a41e4761133b0911f358537e184a","tarball":"https://registry.npmjs.org/@pinia/colada-plugin-cache-persister/-/colada-plugin-cache-persister-0.0.1.tgz","fileCount":9,"integrity":"sha512-jTz8WB8JpEQSLOzknjbxb1mxVpm/dK2Lg5gmdkszG/BNbbd/o2nB4jymtZ5UeRkfY+QyVm+YrR86hXxjZ37kqA==","signatures":[{"sig":"MEUCIQCP0+YtV4ZtAnoXoiz2Tq1ISXnfGxa62FZ9cpuV0NwSAAIgaqpc7L4PXbp/2e5ioTyPEdMynIoVNHoHEGj1EZrNwh0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4941},"main":"./dist/index.cjs","type":"module","_from":"file:pinia-colada-plugin-cache-persister-0.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":{"import":"./dist/index.d.ts","require":"./dist/index.d.cts"},"import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":"https://github.com/sponsors/posva","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l @pinia/colada-plugin-cache-persister -r 1"},"_npmUser":{"name":"posva","email":"posva13@gmail.com"},"_resolved":"/private/var/folders/vz/93zczm2s0f9ds4p7d5bzxymc0000gn/T/dcf960fb750c40d2650a92a814a17e05/pinia-colada-plugin-cache-persister-0.0.1.tgz","_integrity":"sha512-jTz8WB8JpEQSLOzknjbxb1mxVpm/dK2Lg5gmdkszG/BNbbd/o2nB4jymtZ5UeRkfY+QyVm+YrR86hXxjZ37kqA==","repository":{"url":"git+https://github.com/posva/pinia-colada.git","type":"git"},"_npmVersion":"10.2.4","description":"Persists Pinia Colada's cache in the client","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/*","./*"]}},"_hasShrinkwrap":false,"devDependencies":{"@pinia/colada":"^0.11.0"},"peerDependencies":{"@pinia/colada":"^0.11.0"},"_npmOperationalInternal":{"tmp":"tmp/colada-plugin-cache-persister_0.0.1_1729871248402_0.860956123593303","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@pinia/colada-plugin-cache-persister","version":"0.0.2","keywords":["pinia","colada","plugin","cache","persist"],"author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"license":"MIT","_id":"@pinia/colada-plugin-cache-persister@0.0.2","maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"homepage":"https://github.com/posva/pinia-colada/plugins/retry#readme","bugs":{"url":"https://github.com/posva/pinia-colada/issues"},"dist":{"shasum":"ba3164bf1b31477637486807a2bd36e45dc3d749","tarball":"https://registry.npmjs.org/@pinia/colada-plugin-cache-persister/-/colada-plugin-cache-persister-0.0.2.tgz","fileCount":9,"integrity":"sha512-BcmnZWHyLGv8pY1SFjKoQx+Wc8k3zcg7zw754GIesDmvXiSQaQlBqLg+1gROy88GRqv16W/pwDR83vUyV5oC/A==","signatures":[{"sig":"MEUCIGs3NFJ5QE8EUnUpLjXaOqDM2UIubjiIq9jeOJhObpX2AiEAvj3BF4nd4ZdHW1fZsi8cR9HNm/Z6d6alAl5idYcO8c4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4909},"main":"./dist/index.cjs","type":"module","_from":"file:pinia-colada-plugin-cache-persister-0.0.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":{"import":"./dist/index.d.ts","require":"./dist/index.d.cts"},"import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":"https://github.com/sponsors/posva","scripts":{"test":"vitest --ui","build":"tsup","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l @pinia/colada-plugin-cache-persister -r 1"},"_npmUser":{"name":"posva","email":"posva13@gmail.com"},"_resolved":"/private/var/folders/vz/93zczm2s0f9ds4p7d5bzxymc0000gn/T/6882f2e2c869d8c258206eaa8ebfe5db/pinia-colada-plugin-cache-persister-0.0.2.tgz","_integrity":"sha512-BcmnZWHyLGv8pY1SFjKoQx+Wc8k3zcg7zw754GIesDmvXiSQaQlBqLg+1gROy88GRqv16W/pwDR83vUyV5oC/A==","repository":{"url":"git+https://github.com/posva/pinia-colada.git","type":"git"},"_npmVersion":"10.2.4","description":"Persists Pinia Colada's cache in the client","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/*","./*"]}},"_hasShrinkwrap":false,"devDependencies":{"@pinia/colada":"^0.12.1"},"peerDependencies":{"@pinia/colada":"^0.12.1"},"_npmOperationalInternal":{"tmp":"tmp/colada-plugin-cache-persister_0.0.2_1731155909354_0.09789516913681395","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@pinia/colada-plugin-cache-persister","version":"0.0.3","keywords":["pinia","colada","plugin","cache","persist"],"author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"license":"MIT","_id":"@pinia/colada-plugin-cache-persister@0.0.3","maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"homepage":"https://github.com/posva/pinia-colada/plugins/retry#readme","bugs":{"url":"https://github.com/posva/pinia-colada/issues"},"dist":{"shasum":"f1db61f2c8bbafcae4c7ade2624097d02d41aa35","tarball":"https://registry.npmjs.org/@pinia/colada-plugin-cache-persister/-/colada-plugin-cache-persister-0.0.3.tgz","fileCount":9,"integrity":"sha512-6fGv8Psv4f0U0xfJgsZyV8kerBW13ISo+Gig5Iln761NbzFxI1u3UQcgdfm8J80MUM2pa9q6C9e+vrC93WWMmw==","signatures":[{"sig":"MEUCIEjLOhhqUJzl1Q4yli/bdvhNpLRAVH4kP2oEGzJWgVK5AiEA6bn2LfZKoP+5CV8GLLkqJdfZ13hMvLn0Hpes1+4zt2Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4916},"main":"./dist/index.cjs","type":"module","_from":"file:pinia-colada-plugin-cache-persister-0.0.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":{"import":"./dist/index.d.ts","require":"./dist/index.d.cts"},"import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":"https://github.com/sponsors/posva","scripts":{"test":"vitest --ui","build":"tsup","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l @pinia/colada-plugin-cache-persister -r 1"},"_npmUser":{"name":"posva","email":"posva13@gmail.com"},"_resolved":"/private/var/folders/0r/w6t5_v8d03b_763d_82ffzv80000gn/T/ed56e78d22796870cd7efc171881155b/pinia-colada-plugin-cache-persister-0.0.3.tgz","_integrity":"sha512-6fGv8Psv4f0U0xfJgsZyV8kerBW13ISo+Gig5Iln761NbzFxI1u3UQcgdfm8J80MUM2pa9q6C9e+vrC93WWMmw==","repository":{"url":"git+https://github.com/posva/pinia-colada.git","type":"git"},"_npmVersion":"10.9.0","description":"Persists Pinia Colada's cache in the client","directories":{},"sideEffects":false,"_nodeVersion":"22.11.0","publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/*","./*"]}},"_hasShrinkwrap":false,"devDependencies":{"@pinia/colada":"^0.15.0"},"peerDependencies":{"@pinia/colada":">=0.15.0"},"_npmOperationalInternal":{"tmp":"tmp/colada-plugin-cache-persister_0.0.3_1745568427148_0.9033865777785846","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@pinia/colada-plugin-cache-persister","version":"0.0.4","keywords":["pinia","colada","plugin","cache","persist"],"author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"license":"MIT","_id":"@pinia/colada-plugin-cache-persister@0.0.4","maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"homepage":"https://github.com/posva/pinia-colada/plugins/retry#readme","bugs":{"url":"https://github.com/posva/pinia-colada/issues"},"dist":{"shasum":"0ede9fd3a3a94f7035328c065657124959f8e38d","tarball":"https://registry.npmjs.org/@pinia/colada-plugin-cache-persister/-/colada-plugin-cache-persister-0.0.4.tgz","fileCount":9,"integrity":"sha512-taPZmwcxQZ1Fv06LPCpypea4thChFyPtvvCi9Tj6U7zug6t24VtgQY3fgahp9I6vnDZlwRtpBA3rAfdcs2Ilbg==","signatures":[{"sig":"MEUCIQD6K8oimBPNxML/UPuOxkjD1YmJN8FexyenYdM/bTcFwAIgWsREmogQmtDNXJoP+2+k0+t+OqmxzUFn1bx2C8zaI6Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4440},"main":"./dist/index.cjs","type":"module","_from":"file:pinia-colada-plugin-cache-persister-0.0.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":{"import":"./dist/index.d.ts","require":"./dist/index.d.cts"},"import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":"https://github.com/sponsors/posva","scripts":{"test":"vitest --ui","build":"tsup","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l @pinia/colada-plugin-cache-persister -r 1"},"_npmUser":{"name":"posva","email":"posva13@gmail.com"},"_resolved":"/private/var/folders/0r/w6t5_v8d03b_763d_82ffzv80000gn/T/564060ab995644c7b5d8e37fd527dcf4/pinia-colada-plugin-cache-persister-0.0.4.tgz","_integrity":"sha512-taPZmwcxQZ1Fv06LPCpypea4thChFyPtvvCi9Tj6U7zug6t24VtgQY3fgahp9I6vnDZlwRtpBA3rAfdcs2Ilbg==","repository":{"url":"git+https://github.com/posva/pinia-colada.git","type":"git"},"_npmVersion":"11.5.1","description":"Persists Pinia Colada's cache in the client","directories":{},"sideEffects":false,"_nodeVersion":"24.7.0","publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/*","./*"]}},"_hasShrinkwrap":false,"devDependencies":{"@pinia/colada":"^0.17.7"},"peerDependencies":{"@pinia/colada":">=0.17.7"},"_npmOperationalInternal":{"tmp":"tmp/colada-plugin-cache-persister_0.0.4_1761837874285_0.7760475913260054","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@pinia/colada-plugin-cache-persister","version":"0.1.0","keywords":["pinia","colada","plugin","cache","unstorage","persistence","persisted","persist"],"author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"license":"MIT","_id":"@pinia/colada-plugin-cache-persister@0.1.0","maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"homepage":"https://github.com/posva/pinia-colada/plugins/retry#readme","bugs":{"url":"https://github.com/posva/pinia-colada/issues"},"dist":{"shasum":"fcbed713384012439316860ceda05a928bf749a8","tarball":"https://registry.npmjs.org/@pinia/colada-plugin-cache-persister/-/colada-plugin-cache-persister-0.1.0.tgz","fileCount":6,"integrity":"sha512-GJjuFOSUpdILrf2zHyHDuV1XMokIcvUcHwcPDaXmQlvZcRn0VAX+Jlxx53MdoqxVwkXZSSyX19ngUkmVIdrrZw==","signatures":[{"sig":"MEYCIQCNa8x1GQ+wT4KmNFv69KxZs4kVun7tT+s+16SDIpb7KAIhALJOoKQPiTuIC9t4daSc8hmd0MMoxQN2Zqvtx0WP+6WK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pinia%2fcolada-plugin-cache-persister@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":14765},"main":"./dist/index.mjs","type":"module","_from":"file:pinia-colada-plugin-cache-persister-0.1.0.tgz","types":"./dist/index.d.mts","exports":"./dist/index.mjs","funding":"https://github.com/sponsors/posva","scripts":{"test":"vitest --ui","build":"tsdown","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l @pinia/colada-plugin-cache-persister -r 1"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:785b487c-20b2-41d6-907b-9f8e51432867"}},"_resolved":"/tmp/4cfb9385ae2f5f12ce2fb58fa4ae03ee/pinia-colada-plugin-cache-persister-0.1.0.tgz","_integrity":"sha512-GJjuFOSUpdILrf2zHyHDuV1XMokIcvUcHwcPDaXmQlvZcRn0VAX+Jlxx53MdoqxVwkXZSSyX19ngUkmVIdrrZw==","repository":{"url":"git+https://github.com/posva/pinia-colada.git","type":"git"},"_npmVersion":"11.6.2","description":"Persists Pinia Colada's cache in the client","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/*","./*"]}},"_hasShrinkwrap":false,"devDependencies":{"@pinia/colada":"^0.21.0"},"peerDependencies":{"@pinia/colada":">=0.21.0"},"_npmOperationalInternal":{"tmp":"tmp/colada-plugin-cache-persister_0.1.0_1767709991646_0.581624584250465","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@pinia/colada-plugin-cache-persister","version":"0.1.1","keywords":["pinia","colada","plugin","cache","unstorage","persistence","persisted","persist"],"author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"license":"MIT","_id":"@pinia/colada-plugin-cache-persister@0.1.1","maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"homepage":"https://github.com/posva/pinia-colada/plugins/retry#readme","bugs":{"url":"https://github.com/posva/pinia-colada/issues"},"dist":{"shasum":"ccbe00b79663cb1a5b2525d7fc2641ee779634a4","tarball":"https://registry.npmjs.org/@pinia/colada-plugin-cache-persister/-/colada-plugin-cache-persister-0.1.1.tgz","fileCount":6,"integrity":"sha512-TM7PEKQr2nD6SU4+rxflSrm0A3N9IfC4kdb5i6kYAVQxH/Qood5Rjw4gNfi/Wj1b0V1hDBs+zFTNI56o3pRGIw==","signatures":[{"sig":"MEUCIQDDJnWU+mLd9ZNRvxcsNcX6TVDsJ3YdXVc53NvF9RnoagIgLWL+rb8ecnlHMxMSDYyljHddogmEWvFQZ7qNh9HZSEY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pinia%2fcolada-plugin-cache-persister@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16730},"main":"./dist/index.mjs","type":"module","_from":"file:pinia-colada-plugin-cache-persister-0.1.1.tgz","types":"./dist/index.d.mts","exports":"./dist/index.mjs","funding":"https://github.com/sponsors/posva","scripts":{"test":"vitest --ui","build":"tsdown","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l @pinia/colada-plugin-cache-persister -r 1"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:785b487c-20b2-41d6-907b-9f8e51432867"}},"_resolved":"/tmp/a0ab563e354730070b04ce87f3128fb4/pinia-colada-plugin-cache-persister-0.1.1.tgz","_integrity":"sha512-TM7PEKQr2nD6SU4+rxflSrm0A3N9IfC4kdb5i6kYAVQxH/Qood5Rjw4gNfi/Wj1b0V1hDBs+zFTNI56o3pRGIw==","repository":{"url":"git+https://github.com/posva/pinia-colada.git","type":"git"},"_npmVersion":"11.6.2","description":"Persists Pinia Colada's cache in the client","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/*","./*"]}},"_hasShrinkwrap":false,"devDependencies":{"@pinia/colada":"^0.21.0"},"peerDependencies":{"@pinia/colada":">=0.21.0"},"_npmOperationalInternal":{"tmp":"tmp/colada-plugin-cache-persister_0.1.1_1767712163611_0.13079259625254958","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@pinia/colada-plugin-cache-persister","version":"0.1.2","keywords":["pinia","colada","plugin","cache","unstorage","persistence","persisted","persist"],"author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"license":"MIT","_id":"@pinia/colada-plugin-cache-persister@0.1.2","maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"homepage":"https://github.com/posva/pinia-colada/plugins/retry#readme","bugs":{"url":"https://github.com/posva/pinia-colada/issues"},"dist":{"shasum":"4b8e61047c86b47fcfa64a52364e1c2ab6e96842","tarball":"https://registry.npmjs.org/@pinia/colada-plugin-cache-persister/-/colada-plugin-cache-persister-0.1.2.tgz","fileCount":6,"integrity":"sha512-BUkBuiK/kYjnMGJqh8pItTkL3Mz1Jb/HRdKgS3hUQeGI8wR3lZJ0PlFnCrD9MxCB6r+TCW5tzrEGzyhWsRs15A==","signatures":[{"sig":"MEUCIQDyGRwMb3+OXNQzc/8nXkLYVFE2s43/c4DiWqRZ9PiwiAIgNHR8GMlzAtCfbbisGOW3bvGE9PxCehjyInMAT5czgrw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pinia%2fcolada-plugin-cache-persister@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16993},"main":"./dist/index.mjs","type":"module","_from":"file:pinia-colada-plugin-cache-persister-0.1.2.tgz","types":"./dist/index.d.mts","exports":"./dist/index.mjs","funding":"https://github.com/sponsors/posva","scripts":{"test":"vitest --ui","build":"tsdown","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l @pinia/colada-plugin-cache-persister -r 1"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:785b487c-20b2-41d6-907b-9f8e51432867"}},"_resolved":"/tmp/82ba9db59d10a3ade03ad222b576152c/pinia-colada-plugin-cache-persister-0.1.2.tgz","_integrity":"sha512-BUkBuiK/kYjnMGJqh8pItTkL3Mz1Jb/HRdKgS3hUQeGI8wR3lZJ0PlFnCrD9MxCB6r+TCW5tzrEGzyhWsRs15A==","repository":{"url":"git+https://github.com/posva/pinia-colada.git","type":"git"},"_npmVersion":"11.6.2","description":"Persists Pinia Colada's cache in the client","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/*","./*"]}},"_hasShrinkwrap":false,"devDependencies":{"@pinia/colada":"^0.21.0"},"peerDependencies":{"@pinia/colada":">=0.21.0"},"_npmOperationalInternal":{"tmp":"tmp/colada-plugin-cache-persister_0.1.2_1767775413130_0.17905336706836006","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@pinia/colada-plugin-cache-persister","version":"0.1.3","keywords":["pinia","colada","plugin","cache","unstorage","persistence","persisted","persist"],"author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"license":"MIT","_id":"@pinia/colada-plugin-cache-persister@0.1.3","maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"homepage":"https://github.com/posva/pinia-colada/plugins/retry#readme","bugs":{"url":"https://github.com/posva/pinia-colada/issues"},"dist":{"shasum":"8d434ab1083ae51327d538d263b14b9768506649","tarball":"https://registry.npmjs.org/@pinia/colada-plugin-cache-persister/-/colada-plugin-cache-persister-0.1.3.tgz","fileCount":6,"integrity":"sha512-26feFaIernj0OgC7V3xKlkpmGtnuep19gVJQO7Vt0yBv3wV+gMKa27JavlaXasfbSPMDBzHwSZyrR4ii4y6SQw==","signatures":[{"sig":"MEYCIQDgSrEmX0F+QFze4LefmUBiHlD84+GnqcuDB8tP6AlFVQIhAPXWkf1eTrqhxMw9IUGLkfh6YEYUI5T2qnn7boqtLJUz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pinia%2fcolada-plugin-cache-persister@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16975},"main":"./dist/index.mjs","type":"module","_from":"file:pinia-colada-plugin-cache-persister-0.1.3.tgz","types":"./dist/index.d.mts","exports":"./dist/index.mjs","funding":"https://github.com/sponsors/posva","scripts":{"test":"vitest --ui","build":"tsdown","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l @pinia/colada-plugin-cache-persister -r 1"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:785b487c-20b2-41d6-907b-9f8e51432867"}},"_resolved":"/tmp/98a049480d2e195ed55e17eaff247cff/pinia-colada-plugin-cache-persister-0.1.3.tgz","_integrity":"sha512-26feFaIernj0OgC7V3xKlkpmGtnuep19gVJQO7Vt0yBv3wV+gMKa27JavlaXasfbSPMDBzHwSZyrR4ii4y6SQw==","repository":{"url":"git+https://github.com/posva/pinia-colada.git","type":"git"},"_npmVersion":"11.6.2","description":"Persists Pinia Colada's cache in the client","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/*","./*"]}},"_hasShrinkwrap":false,"devDependencies":{"@pinia/colada":"^0.21.1"},"peerDependencies":{"@pinia/colada":">=0.21.1"},"_npmOperationalInternal":{"tmp":"tmp/colada-plugin-cache-persister_0.1.3_1767993828252_0.09110744233755219","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@pinia/colada-plugin-cache-persister","version":"0.1.4","keywords":["pinia","colada","plugin","cache","unstorage","persistence","persisted","persist"],"author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"license":"MIT","_id":"@pinia/colada-plugin-cache-persister@0.1.4","maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"homepage":"https://github.com/posva/pinia-colada/blob/main/plugins/cache-persister/README.md","bugs":{"url":"https://github.com/posva/pinia-colada/issues"},"dist":{"shasum":"67548f3a2080a6a937fc53f9992e6cf9fb7892c5","tarball":"https://registry.npmjs.org/@pinia/colada-plugin-cache-persister/-/colada-plugin-cache-persister-0.1.4.tgz","fileCount":6,"integrity":"sha512-/8OOd66FqVfYOD9p3Xd1Nq4bVmf88hnsuAFUVIsKQXHKYElYm2Biu5Pm0lnCi+va8Mm2rVPcHtRH06kkTH283w==","signatures":[{"sig":"MEUCIER6oW/aTEPdH6V73T0nOJM9t0a1gcs3i5xk6KNU2NYZAiEAvUt7Cip1XdHKuLM5MH1EjA4F6zdSqNjkN0X0Frj4dHU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pinia%2fcolada-plugin-cache-persister@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16846},"main":"./dist/index.mjs","type":"module","_from":"file:pinia-colada-plugin-cache-persister-0.1.4.tgz","types":"./dist/index.d.mts","exports":"./dist/index.mjs","funding":"https://github.com/sponsors/posva","scripts":{"test":"vitest --ui","build":"tsdown","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l @pinia/colada-plugin-cache-persister -r 1"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:785b487c-20b2-41d6-907b-9f8e51432867"}},"_resolved":"/tmp/fec3f3e5ef521bbbc56728179ee1dd64/pinia-colada-plugin-cache-persister-0.1.4.tgz","_integrity":"sha512-/8OOd66FqVfYOD9p3Xd1Nq4bVmf88hnsuAFUVIsKQXHKYElYm2Biu5Pm0lnCi+va8Mm2rVPcHtRH06kkTH283w==","repository":{"url":"git+https://github.com/posva/pinia-colada.git","type":"git"},"_npmVersion":"11.9.0","description":"Persists Pinia Colada's cache in the client","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/*","./*"]}},"_hasShrinkwrap":false,"devDependencies":{"@pinia/colada":"^1.0.0"},"peerDependencies":{"@pinia/colada":">=1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/colada-plugin-cache-persister_0.1.4_1772789150661_0.9014161035762154","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@pinia/colada-plugin-cache-persister","version":"1.0.0","keywords":["pinia","colada","plugin","cache","unstorage","persistence","persisted","persist"],"author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"license":"MIT","_id":"@pinia/colada-plugin-cache-persister@1.0.0","maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"homepage":"https://github.com/posva/pinia-colada/blob/main/plugins/cache-persister/README.md","bugs":{"url":"https://github.com/posva/pinia-colada/issues"},"dist":{"shasum":"479ee617ead182d993c09be1d93d3d42b5b60d45","tarball":"https://registry.npmjs.org/@pinia/colada-plugin-cache-persister/-/colada-plugin-cache-persister-1.0.0.tgz","fileCount":6,"integrity":"sha512-39USRxHEJIFgL203wAn2vOjtoQf+IlDeQN2o333tKP0hMeIM5Bce0Txed63vIt/psJy4PWDAlWxXuMZq5lKeqw==","signatures":[{"sig":"MEQCIEZuQIcZNiTY5DIC2qsZcfyXjsKuZ3uB8Ms9aetr0XfGAiByOBVDtYhCB5Bt9LL3rqgyX4uJSiCzqo5fymM/pTuxHQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pinia%2fcolada-plugin-cache-persister@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16819},"main":"./dist/index.mjs","type":"module","_from":"file:pinia-colada-plugin-cache-persister-1.0.0.tgz","types":"./dist/index.d.mts","exports":"./dist/index.mjs","funding":"https://github.com/sponsors/posva","scripts":{"test":"vitest --ui","build":"tsdown","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l @pinia/colada-plugin-cache-persister -r 1"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:785b487c-20b2-41d6-907b-9f8e51432867"}},"_resolved":"/tmp/f9039d7ee5a0b4bcdb46268665025e3f/pinia-colada-plugin-cache-persister-1.0.0.tgz","_integrity":"sha512-39USRxHEJIFgL203wAn2vOjtoQf+IlDeQN2o333tKP0hMeIM5Bce0Txed63vIt/psJy4PWDAlWxXuMZq5lKeqw==","repository":{"url":"git+https://github.com/posva/pinia-colada.git","type":"git"},"_npmVersion":"11.11.0","description":"Persists Pinia Colada's cache in the client","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/*","./*"]}},"_hasShrinkwrap":false,"devDependencies":{"@pinia/colada":"^1.2.0"},"peerDependencies":{"@pinia/colada":">=1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/colada-plugin-cache-persister_1.0.0_1776689250042_0.9529707808645436","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@pinia/colada-plugin-cache-persister","version":"1.1.0","keywords":["pinia","colada","plugin","cache","unstorage","persistence","persisted","persist"],"author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"license":"MIT","_id":"@pinia/colada-plugin-cache-persister@1.1.0","maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"homepage":"https://github.com/posva/pinia-colada/blob/main/plugins/cache-persister/README.md","bugs":{"url":"https://github.com/posva/pinia-colada/issues"},"dist":{"shasum":"5049fc4a4a376f408fb7eb03a6f42a5fe77607c9","tarball":"https://registry.npmjs.org/@pinia/colada-plugin-cache-persister/-/colada-plugin-cache-persister-1.1.0.tgz","fileCount":6,"integrity":"sha512-eGHriu8kcAyjSDmZ2UUuK/AXyaXu1NJruNESVmkWixqvY7Gq26d6krvCMvBJmpap19hfwNwjZvwuEjTTTUuaZQ==","signatures":[{"sig":"MEYCIQDkmVAsjlcPctO+J31o++sbJI7XsLKAYlgVamhdmG2cgAIhAKkvE2VwdvjPQ2dO78c08+kkrXhEBDobASmWqvoMGEW5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pinia%2fcolada-plugin-cache-persister@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28498},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","exports":"./dist/index.mjs","funding":"https://github.com/sponsors/posva","scripts":{"test":"vitest --ui","build":"tsdown","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l @pinia/colada-plugin-cache-persister -r 1"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:785b487c-20b2-41d6-907b-9f8e51432867"}},"repository":{"url":"posva/pinia-colada","type":"git"},"description":"Persists Pinia Colada's cache in the client","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","dependencies":{"nostics":"^1.1.4"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/*","./*"]}},"_hasShrinkwrap":false,"devDependencies":{"devalue":"^5.8.1","@pinia/colada":"^1.4.0"},"peerDependencies":{"@pinia/colada":">=1.4.0"},"_npmOperationalInternal":{"tmp":"tmp/colada-plugin-cache-persister_1.1.0_1784041809995_0.444857968780044","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@pinia/colada-plugin-cache-persister","version":"1.1.1","keywords":["pinia","colada","plugin","cache","unstorage","persistence","persisted","persist"],"author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"license":"MIT","_id":"@pinia/colada-plugin-cache-persister@1.1.1","maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"homepage":"https://github.com/posva/pinia-colada/blob/main/plugins/cache-persister/README.md","bugs":{"url":"https://github.com/posva/pinia-colada/issues"},"dist":{"shasum":"2c4e4f2d8ce1496a99cb931fe01de5100facadf7","tarball":"https://registry.npmjs.org/@pinia/colada-plugin-cache-persister/-/colada-plugin-cache-persister-1.1.1.tgz","fileCount":6,"integrity":"sha512-4C9An/vcf703NfSbqFjhaNdvFbDRvzUHZFKm8sq6MYcEFaJjGmsODrb2BEoTbRWaLh12sEyGWzV6drPqaTSXRw==","signatures":[{"sig":"MEQCIC0ilrxphQ9r/4nZZA6F5AJBfVK/TSZVvMz0odQtw8eRAiBtMEBnwhBfmKovfHf6SUc7esrf6gnnPAAOCM0PLZGfRA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pinia%2fcolada-plugin-cache-persister@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":31582},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","exports":"./dist/index.mjs","funding":"https://github.com/sponsors/posva","scripts":{"test":"vitest --ui","build":"tsdown","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l @pinia/colada-plugin-cache-persister -r 1"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:785b487c-20b2-41d6-907b-9f8e51432867"}},"repository":{"url":"posva/pinia-colada","type":"git"},"description":"Persists Pinia Colada's cache in the client","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","dependencies":{"nostics":"^1.2.0"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/*","./*"]}},"_hasShrinkwrap":false,"devDependencies":{"devalue":"^5.9.0","@pinia/colada":"^1.4.2"},"peerDependencies":{"@pinia/colada":">=1.4.2"},"_npmOperationalInternal":{"tmp":"tmp/colada-plugin-cache-persister_1.1.1_1786367878051_0.00893475474864247","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"_id":"@pinia/colada-plugin-cache-persister@1.1.2","bugs":{"url":"https://github.com/posva/pinia-colada/issues"},"dist":{"shasum":"5243430655782addd8b2a719b17f9d4638c64587","tarball":"https://registry.npmjs.org/@pinia/colada-plugin-cache-persister/-/colada-plugin-cache-persister-1.1.2.tgz","fileCount":5,"integrity":"sha512-Ce7Om4B0fsGKzRV3ws3zAJ+9IlGnpdZNRFvh5KIG8Alw/9p4LLvvdIdhrdaYUvbrdHelpKgJmKtJco8rcQqaYw==","signatures":[{"sig":"MEYCIQDy0V+4tE6nwGfqDvu7LVYTCkzgRkf3zQ7wYZoV4A7GFwIhAIiLyPOPIz4f4o/RuzMteXqHgQBOpYAm2MOJOlhCB3PJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDMvwM+W24wat/ChspU+XmgS2R/SjjgJ6fG7OUuQ9csvQIgRJXSG9WEbRMxf4nc4IvYjImsN+DsPZxxL+gukdFzJO4="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pinia%2fcolada-plugin-cache-persister@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17328},"main":"./dist/index.mjs","name":"@pinia/colada-plugin-cache-persister","type":"module","types":"./dist/index.d.mts","author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"exports":"./dist/index.mjs","funding":"https://github.com/sponsors/posva","license":"MIT","scripts":{"test":"vitest --ui","build":"tsdown","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l @pinia/colada-plugin-cache-persister -r 1"},"version":"1.1.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:785b487c-20b2-41d6-907b-9f8e51432867"}},"homepage":"https://github.com/posva/pinia-colada/blob/main/plugins/cache-persister/README.md","keywords":["pinia","colada","plugin","cache","unstorage","persistence","persisted","persist"],"repository":{"url":"posva/pinia-colada","type":"git"},"description":"Persists Pinia Colada's cache in the client","directories":{},"maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"sideEffects":false,"dependencies":{"nostics":"^1.2.0"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/*","./*"]}},"_hasShrinkwrap":false,"devDependencies":{"devalue":"^5.9.2","@pinia/colada":"^1.4.5"},"peerDependencies":{"@pinia/colada":">=1.4.5"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/colada-plugin-cache-persister_1.1.2_1789569380405_0.6657915754563781"}}},"time":{"created":"2024-10-22T19:54:00.560Z","modified":"2026-09-16T14:36:20.902Z","0.0.0":"2024-10-22T19:54:00.898Z","0.0.1":"2024-10-25T15:47:28.544Z","0.0.2":"2024-11-09T12:38:29.520Z","0.0.3":"2025-04-25T08:07:07.335Z","0.0.4":"2025-10-30T15:24:34.494Z","0.1.0":"2026-01-06T14:33:11.789Z","0.1.1":"2026-01-06T15:09:23.756Z","0.1.2":"2026-01-07T08:43:33.281Z","0.1.3":"2026-01-09T21:23:48.395Z","0.1.4":"2026-03-06T09:25:50.789Z","1.0.0":"2026-04-20T12:47:30.194Z","1.1.0":"2026-07-14T15:10:10.173Z","1.1.1":"2026-08-10T13:17:58.211Z","1.1.2":"2026-09-16T14:36:20.483Z"},"bugs":{"url":"https://github.com/posva/pinia-colada/issues"},"author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"license":"MIT","homepage":"https://github.com/posva/pinia-colada/blob/main/plugins/cache-persister/README.md","keywords":["pinia","colada","plugin","cache","unstorage","persistence","persisted","persist"],"repository":{"url":"posva/pinia-colada","type":"git"},"description":"Persists Pinia Colada's cache in the client","maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"readme":"<h1>\n  <img height=\"76\" src=\"https://github.com/posva/pinia-colada/assets/664177/02011637-f94d-4a35-854a-02f7aed86a3c\" alt=\"Pinia Colada logo\">\n  Pinia Colada Cache Persister\n</h1>\n\n<a href=\"https://npmjs.com/package/@pinia/colada-plugin-cache-persister\">\n  <img src=\"https://badgen.net/npm/v/@pinia/colada-plugin-cache-persister/latest\" alt=\"npm package\">\n</a>\n\nPersist the query cache to storage and restore it on page load.\n\n## Installation\n\n```sh\nnpm install @pinia/colada-plugin-cache-persister\n```\n\n## Usage\n\n```ts\nimport { PiniaColadaCachePersister, isCacheReady } from '@pinia/colada-plugin-cache-persister'\n\napp.use(PiniaColada, {\n  plugins: [\n    PiniaColadaCachePersister({\n      // Options (all optional)\n      key: 'pinia-colada-cache', // Storage key\n      storage: localStorage, // Storage backend\n      debounce: 1000, // Persist delay in ms\n      stringify: JSON.stringify, // Convert cache to a string\n      parse: JSON.parse, // Restore cache from a string\n    }),\n  ],\n})\n\n// if using async storage, wait for cache to be restored before mounting the app\n// (not needed with localStorage)\nawait isCacheReady()\napp.mount('#app')\n```\n\n## GC Time\n\nQueries are removed from storage when they are garbage collected. Increase `gcTime` to keep data longer:\n\n```ts\nuseQuery({\n  key: ['users'],\n  query: fetchUsers,\n  gcTime: 1000 * 60 * 60 * 24, // 24 hours\n})\n```\n\n## Options\n\n| Option             | Type                            | Default                | Description                     |\n| ------------------ | ------------------------------- | ---------------------- | ------------------------------- |\n| `key`              | `string`                        | `'pinia-colada-cache'` | Storage key                     |\n| `storage`          | `Storage \\| PiniaColadaStorage` | `localStorage`         | Storage backend (sync or async) |\n| `filter`           | `UseQueryEntryFilter`           | -                      | Filter which queries to persist |\n| `debounce`         | `number`                        | `1000`                 | Debounce time in ms             |\n| `stringify`        | `(cache) => string`             | `JSON.stringify`       | Stringify the cache for storage |\n| `parse`            | `(stored) => cache`             | `JSON.parse`           | Parse the cache from storage    |\n| `onStringifyError` | `(error) => void`               | `console.error` (dev)  | Called when `stringify` throws  |\n| `onParseError`     | `(error) => void`               | `console.error` (dev)  | Called when `parse` throws      |\n\n## Custom Serialization\n\nBy default the plugin uses `JSON.stringify`/`JSON.parse`. To persist values JSON cannot restore (`Date`, `Map`, custom classes…), pass a codec like [devalue](https://github.com/sveltejs/devalue):\n\n```ts\nimport { parse, stringify } from 'devalue'\n\nPiniaColadaCachePersister({\n  stringify,\n  parse,\n})\n```\n\nThe object handed to `stringify`, and expected back from `parse`, maps each query key hash to a `[data, error, when, meta]` tuple, where `when` is the local time (`Date.now()`) of its last fetch. Because that timestamp is absolute, an entry restored days later is correctly stale and refetches on mount instead of being served as fresh.\n\nPersistence is best-effort: if serializing or restoring the cache throws, the plugin skips that write or read instead of crashing. Pass `onStringifyError`/`onParseError` to observe those failures.\n\n## Filtering Queries\n\nOnly persist specific queries using a filter:\n\n```ts\nPiniaColadaCachePersister({\n  filter: { key: ['users'] }, // Only persist queries starting with 'users'\n})\n```\n\nOr use a predicate function:\n\n```ts\nPiniaColadaCachePersister({\n  filter: {\n    predicate: (entry) => entry.key[0] === 'important',\n  },\n})\n```\n\n## Async Storage\n\nWorks with async storage backends like IndexedDB, compatible with [unstorage](https://github.com/unjs/unstorage):\n\n```ts\nimport { get, set } from 'idb-keyval'\n\nPiniaColadaCachePersister({\n  storage: {\n    getItem: (key) => get(key),\n    setItem: (key, value) => set(key, value),\n  },\n})\n```\n\n## Handling Errors\n\nTwo errors can happen and are recoverable:\n\n- `onStringifyError` — `JSON.stringify` failed while persisting, e.g. on non-serializable data. The cache is not persisted this time.\n- `onParseError` — `JSON.parse` failed while restoring, e.g. on corrupt data. The cache starts fresh and is overwritten on the next successful persist.\n\nA handler you pass is always called, in development and production. With no handler, the error is logged with `console.error` in development only. Pass a handler to report them yourself:\n\n```ts\nPiniaColadaCachePersister({\n  onStringifyError: (error) => reportToErrorTracker(error),\n  onParseError: (error) => reportToErrorTracker(error),\n})\n```\n\nStorage write errors (e.g. `QuotaExceededError`) are always ignored.\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n","readmeFilename":""}