{"_id":"@dapperduckling/oauth-monitor-client","_rev":"12-bc08c6529aaf2cc31574c5819d185583","name":"@dapperduckling/oauth-monitor-client","dist-tags":{"latest":"3.2.0"},"versions":{"1.0.2":{"name":"@dapperduckling/oauth-monitor-client","version":"1.0.2","keywords":["keycloak","sso","express","fastify","authentication","oidc"],"author":{"name":"DapperDuckling Dev LLC"},"license":"AGPL-3.0-only","_id":"@dapperduckling/oauth-monitor-client@1.0.2","maintainers":[{"name":"duckboy81","email":"duckwebdev@gmail.com"}],"homepage":"https://github.com/DapperDuckling/oauth-monitor#readme","bugs":{"url":"https://github.com/DapperDuckling/oauth-monitor/issues"},"dist":{"shasum":"2a8f7fa322d62bdeaa63409678ca8f7576a4e8be","tarball":"https://registry.npmjs.org/@dapperduckling/oauth-monitor-client/-/oauth-monitor-client-1.0.2.tgz","fileCount":19,"integrity":"sha512-pFYRBlyuxhiRWmSVx9DXloBUWryX1S14uW8x6/YvpmWq7AIqZs0xZGS5XhYtgFvEkUZPsXvsgGJzG2nVk1dKHQ==","signatures":[{"sig":"MEQCIGA17/RYZa6jgGPbcfqtiWZy3mMr9Dzcyr0AACDOiqnQAiB8hYgph/glrdybntusKhX8nCl5e5XsvBVF03UbyrbqtA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":76625},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"8eccb55fcf5c67b48bb28f30b70891abcd2cfb87","scripts":{"build":"npm run clean && tsc","clean":"rimraf ./dist/","prepare":"ts-patch install && typia patch","yalc:publish":"yalc publish --push","prepublishOnly":"npm run build"},"_npmUser":{"name":"duckboy81","email":"duckwebdev@gmail.com"},"yalcWatch":{"extensions":"js,ts","watchFolder":"dist","buildWatchCommand":"tsc --watch"},"_npmVersion":"lerna/9.0.1/node@v24.11.0+arm64 (darwin)","description":"An opinionated library securing frontend applications without all the fuss","directories":{},"_nodeVersion":"24.11.0","dependencies":{"typia":"^5.2.6","@dapperduckling/oauth-monitor-common":"^1.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-patch":"^3.3.0","typescript":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/oauth-monitor-client_1.0.2_1763535180613_0.3813882698401805","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@dapperduckling/oauth-monitor-client","version":"1.0.3","keywords":["keycloak","sso","express","fastify","authentication","oidc"],"author":{"name":"DapperDuckling Dev LLC"},"license":"AGPL-3.0-only","_id":"@dapperduckling/oauth-monitor-client@1.0.3","maintainers":[{"name":"duckboy81","email":"duckwebdev@gmail.com"}],"homepage":"https://github.com/DapperDuckling/oauth-monitor#readme","bugs":{"url":"https://github.com/DapperDuckling/oauth-monitor/issues"},"dist":{"shasum":"861ffe79f9cf1d8e707875688a2572dfc0f516ae","tarball":"https://registry.npmjs.org/@dapperduckling/oauth-monitor-client/-/oauth-monitor-client-1.0.3.tgz","fileCount":19,"integrity":"sha512-37t7e4skJNkxd6tv1z3TsRRki2UMJJqYIE2WoT4aQ28nF43AuelJ6/op0ug5H5zVQeV0TRbMe1OfGcjnPIB2VQ==","signatures":[{"sig":"MEYCIQD0D7aGOjKEtJd6LFVyIuijNdZx5iM1Q14DKR0kjhlSDQIhAJ9cs0seG4JCDH7Ve5aNtdng5+oMneJVD5dqXSMjPCCn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":78149},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"a686cd38071ba0da7bdceb7c03008e570e9de0c1","scripts":{"build":"npm run clean && tsc","clean":"rimraf ./dist/","prepare":"ts-patch install && typia patch","yalc:publish":"yalc publish --push","prepublishOnly":"npm run build"},"_npmUser":{"name":"duckboy81","email":"duckwebdev@gmail.com"},"yalcWatch":{"extensions":"js,ts","watchFolder":"dist","buildWatchCommand":"tsc --watch"},"_npmVersion":"lerna/9.0.1/node@v24.11.0+arm64 (darwin)","description":"An opinionated library securing frontend applications without all the fuss","directories":{},"_nodeVersion":"24.11.0","dependencies":{"typia":"^5.2.6","@dapperduckling/oauth-monitor-common":"^1.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-patch":"^3.3.0","typescript":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/oauth-monitor-client_1.0.3_1763622521253_0.24984888702394792","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@dapperduckling/oauth-monitor-client","version":"1.0.5","keywords":["keycloak","sso","express","fastify","authentication","oidc"],"author":{"name":"DapperDuckling Dev LLC"},"license":"AGPL-3.0-only","_id":"@dapperduckling/oauth-monitor-client@1.0.5","maintainers":[{"name":"duckboy81","email":"duckwebdev@gmail.com"}],"homepage":"https://github.com/DapperDuckling/oauth-monitor#readme","bugs":{"url":"https://github.com/DapperDuckling/oauth-monitor/issues"},"dist":{"shasum":"e90d2d7069f1e438757fda07282aa7f27f035721","tarball":"https://registry.npmjs.org/@dapperduckling/oauth-monitor-client/-/oauth-monitor-client-1.0.5.tgz","fileCount":19,"integrity":"sha512-VJqKa6/V8sIltMz950ffaVmOX5p/1rVnzkMtTt2LcEM46bG3jEJfLS0eR6GDuUJRGB6bY2SYptA7yGeqiNBN4A==","signatures":[{"sig":"MEUCIQDXd4KRqJJM3ENZMFAR2EuGXg72Col2oE2sC8m9Rr+j9wIgYIOOAMEnMHFLifdCGQODJDMJ4tz8FbiqHRxWxBKIksI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":78149},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"141e66d8fb88ffdccd41f09df45bc1387ab9fa03","scripts":{"build":"npm run clean && tsc","clean":"rimraf ./dist/","prepare":"ts-patch install && typia patch","yalc:publish":"yalc publish --push","prepublishOnly":"npm run build"},"_npmUser":{"name":"duckboy81","email":"duckwebdev@gmail.com"},"yalcWatch":{"extensions":"js,ts","watchFolder":"dist","buildWatchCommand":"tsc --watch"},"_npmVersion":"lerna/9.0.1/node@v24.11.0+arm64 (darwin)","description":"An opinionated library securing frontend applications without all the fuss","directories":{},"_nodeVersion":"24.11.0","dependencies":{"typia":"^5.2.6","@dapperduckling/oauth-monitor-common":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-patch":"^3.3.0","typescript":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/oauth-monitor-client_1.0.5_1763623033710_0.24834054252558602","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@dapperduckling/oauth-monitor-client","version":"1.0.6","keywords":["keycloak","sso","express","fastify","authentication","oidc"],"author":{"name":"DapperDuckling Dev LLC"},"license":"AGPL-3.0-only","_id":"@dapperduckling/oauth-monitor-client@1.0.6","maintainers":[{"name":"duckboy81","email":"duckwebdev@gmail.com"}],"homepage":"https://github.com/DapperDuckling/oauth-monitor#readme","bugs":{"url":"https://github.com/DapperDuckling/oauth-monitor/issues"},"dist":{"shasum":"a4bb90ebd3cfb6728cae2e025490fe1d48c5836f","tarball":"https://registry.npmjs.org/@dapperduckling/oauth-monitor-client/-/oauth-monitor-client-1.0.6.tgz","fileCount":19,"integrity":"sha512-fG2DoTeSCpeUAFLxIKFPjP9qxPSjFuHv6UJ8uy7F5bvXzjSO2y4jiWh98S1MLuKeCzciDKSTDH+oRTUQSM8jTQ==","signatures":[{"sig":"MEUCIQDOfFXJM/Sfhv4En2qxZEMC0makIlDdRMzPcirLceOlPwIgR9RrqAVf93v0h0QLowY1BxvF+1syNc1L3DX6mOapnas=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":81415},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"753207ea4c95176b836b7986f9bc691e717e5594","scripts":{"build":"npm run clean && tsc","clean":"rimraf ./dist/","prepare":"ts-patch install && typia patch","yalc:publish":"yalc publish --push","prepublishOnly":"npm run build"},"_npmUser":{"name":"duckboy81","email":"duckwebdev@gmail.com"},"yalcWatch":{"extensions":"js,ts","watchFolder":"dist","buildWatchCommand":"tsc --watch"},"_npmVersion":"lerna/9.0.1/node@v24.11.0+arm64 (darwin)","description":"An opinionated library securing frontend applications without all the fuss","directories":{},"_nodeVersion":"24.11.0","dependencies":{"typia":"^5.2.6","@dapperduckling/oauth-monitor-common":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-patch":"^3.3.0","typescript":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/oauth-monitor-client_1.0.6_1763664760526_0.545475346547599","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@dapperduckling/oauth-monitor-client","version":"1.0.7","keywords":["keycloak","sso","express","fastify","authentication","oidc"],"author":{"name":"DapperDuckling Dev LLC"},"license":"AGPL-3.0-only","_id":"@dapperduckling/oauth-monitor-client@1.0.7","maintainers":[{"name":"duckboy81","email":"duckwebdev@gmail.com"}],"homepage":"https://github.com/DapperDuckling/oauth-monitor#readme","bugs":{"url":"https://github.com/DapperDuckling/oauth-monitor/issues"},"dist":{"shasum":"73905f60b9a166580020fafc32fbfba2fd5bb0ef","tarball":"https://registry.npmjs.org/@dapperduckling/oauth-monitor-client/-/oauth-monitor-client-1.0.7.tgz","fileCount":19,"integrity":"sha512-jBLj3Rys2e7EoyoKNXUTr+JPw9YVVVqkoavVbd/wsJYwqpFbf3rBw+DU4a2uFyAKXgQRZjpAm/XFNn5Wsns25A==","signatures":[{"sig":"MEQCIHUulf9RKUCMUz14wefObSlmvlRSl4oOxwuGeLF9gcWCAiA6wNfDTzIvx8TK8443diCwRhefd86ir46AYxzLoSpYSA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":81794},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"8749620a39e3b631d44da9cbb519f2ee49a39529","scripts":{"build":"npm run clean && tsc","clean":"rimraf ./dist/","prepare":"ts-patch install && typia patch","yalc:publish":"yalc publish --push","prepublishOnly":"npm run build"},"_npmUser":{"name":"duckboy81","email":"duckwebdev@gmail.com"},"yalcWatch":{"extensions":"js,ts","watchFolder":"dist","buildWatchCommand":"tsc --watch"},"_npmVersion":"lerna/9.0.1/node@v24.11.0+arm64 (darwin)","description":"An opinionated library securing frontend applications without all the fuss","directories":{},"_nodeVersion":"24.11.0","dependencies":{"typia":"^5.2.6","@dapperduckling/oauth-monitor-common":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-patch":"^3.3.0","typescript":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/oauth-monitor-client_1.0.7_1763967375330_0.5125176734500112","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@dapperduckling/oauth-monitor-client","version":"1.0.8","keywords":["keycloak","sso","express","fastify","authentication","oidc"],"author":{"name":"DapperDuckling Dev LLC"},"license":"AGPL-3.0-only","_id":"@dapperduckling/oauth-monitor-client@1.0.8","maintainers":[{"name":"duckboy81","email":"duckwebdev@gmail.com"}],"homepage":"https://github.com/DapperDuckling/oauth-monitor#readme","bugs":{"url":"https://github.com/DapperDuckling/oauth-monitor/issues"},"dist":{"shasum":"3c1383807f43a59167e01c14121f56cf8218622d","tarball":"https://registry.npmjs.org/@dapperduckling/oauth-monitor-client/-/oauth-monitor-client-1.0.8.tgz","fileCount":19,"integrity":"sha512-a7jEdZG+pBCVfcDAeTrG/7rzuEWPAwIifLk2ZhhfIKQmefWcI8HwWvR1S9L7mlwH8FgxRjUX/Y56MoLL8X2OtA==","signatures":[{"sig":"MEQCIBa0AzWHs5iQkrx4bxZT2WsAWzUARqO/3o5pYPLvUJxNAiAmOoVITdyQJy+9VfYZ+MEBMX51JsdxhxeZ1UMYmyfHIQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":81794},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"1780c5fa7cf624c7be860d313df9a055f87b9b9f","scripts":{"build":"npm run clean && tsc","clean":"rimraf ./dist/","prepare":"ts-patch install && typia patch","yalc:publish":"yalc publish --push","prepublishOnly":"npm run build"},"_npmUser":{"name":"duckboy81","email":"duckwebdev@gmail.com"},"yalcWatch":{"extensions":"js,ts","watchFolder":"dist","buildWatchCommand":"tsc --watch"},"_npmVersion":"lerna/9.0.1/node@v24.11.0+arm64 (darwin)","description":"An opinionated library securing frontend applications without all the fuss","directories":{},"_nodeVersion":"24.11.0","dependencies":{"typia":"^5.2.6","@dapperduckling/oauth-monitor-common":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-patch":"^3.3.0","typescript":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/oauth-monitor-client_1.0.8_1764035525500_0.9235015401581486","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@dapperduckling/oauth-monitor-client","version":"1.0.9","keywords":["keycloak","sso","express","fastify","authentication","oidc"],"author":{"name":"DapperDuckling Dev LLC"},"license":"AGPL-3.0-only","_id":"@dapperduckling/oauth-monitor-client@1.0.9","maintainers":[{"name":"duckboy81","email":"duckwebdev@gmail.com"}],"homepage":"https://github.com/DapperDuckling/oauth-monitor#readme","bugs":{"url":"https://github.com/DapperDuckling/oauth-monitor/issues"},"dist":{"shasum":"ef5e57d52c0860ea04abc8ee875f3eebb2734f9c","tarball":"https://registry.npmjs.org/@dapperduckling/oauth-monitor-client/-/oauth-monitor-client-1.0.9.tgz","fileCount":19,"integrity":"sha512-+GrBSG1EbCaoW/9R9XBJA6vE++YOg+SlFww5oYnJeRWfNe0oT6jdnV2Z3yqGa7m420s/4EbijysaKk+jGLUnJA==","signatures":[{"sig":"MEYCIQDOMRkn6ul09UWOqPVl0NJapFPdfUjChpArUUbSp1wXLwIhAIN60ApZuVnM/7mpaV0F82tIrzFWnZmaP4rtAim5QBsx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82324},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"6288bcd2cf1cd249de987dbb2094134e9c163b81","scripts":{"build":"npm run clean && tsc","clean":"rimraf ./dist/","prepare":"ts-patch install && typia patch","yalc:publish":"yalc publish --push","prepublishOnly":"npm run build"},"_npmUser":{"name":"duckboy81","email":"duckwebdev@gmail.com"},"yalcWatch":{"extensions":"js,ts","watchFolder":"dist","buildWatchCommand":"tsc --watch"},"_npmVersion":"lerna/9.0.1/node@v24.11.0+arm64 (darwin)","description":"An opinionated library securing frontend applications without all the fuss","directories":{},"_nodeVersion":"24.11.0","dependencies":{"typia":"^5.2.6","@dapperduckling/oauth-monitor-common":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-patch":"^3.3.0","typescript":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/oauth-monitor-client_1.0.9_1764051568654_0.22065617987540787","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@dapperduckling/oauth-monitor-client","version":"1.0.10","keywords":["keycloak","sso","express","fastify","authentication","oidc"],"author":{"name":"DapperDuckling Dev LLC"},"license":"AGPL-3.0-only","_id":"@dapperduckling/oauth-monitor-client@1.0.10","maintainers":[{"name":"duckboy81","email":"duckwebdev@gmail.com"}],"homepage":"https://github.com/DapperDuckling/oauth-monitor#readme","bugs":{"url":"https://github.com/DapperDuckling/oauth-monitor/issues"},"dist":{"shasum":"2edc4e38e64e64936c8d9e15b77beb0ffbafe7a2","tarball":"https://registry.npmjs.org/@dapperduckling/oauth-monitor-client/-/oauth-monitor-client-1.0.10.tgz","fileCount":19,"integrity":"sha512-wpTJ7YrFel0yv4IW5LSH9ppJYwb0T9f22YYlkKhfp4mS+XiUDj7pRObM+Ia+SJLSjHa6gQUDfTT+X5ntiHgliQ==","signatures":[{"sig":"MEUCIQColXKlXN/GOqWWCxBt1LJcHbpQMt9iJkKOgL57MZ5ErAIgarCIpjymzj57Dsf+djPI/rKLw1MRZeoYFjs5IqUXxaA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83696},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"1138305d890b41782f05eb8f09d1ec872c1f8cac","scripts":{"build":"npm run clean && tsc","clean":"rimraf ./dist/","prepare":"ts-patch install && typia patch","yalc:publish":"yalc publish --push","prepublishOnly":"npm run build"},"_npmUser":{"name":"duckboy81","email":"duckwebdev@gmail.com"},"yalcWatch":{"extensions":"js,ts","watchFolder":"dist","buildWatchCommand":"tsc --watch"},"_npmVersion":"lerna/9.0.1/node@v24.11.0+arm64 (darwin)","description":"An opinionated library securing frontend applications without all the fuss","directories":{},"_nodeVersion":"24.11.0","dependencies":{"typia":"^5.2.6","@dapperduckling/oauth-monitor-common":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-patch":"^3.3.0","typescript":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/oauth-monitor-client_1.0.10_1764054215277_0.8488084006913326","host":"s3://npm-registry-packages-npm-production"}},"1.0.12":{"name":"@dapperduckling/oauth-monitor-client","version":"1.0.12","keywords":["keycloak","sso","express","fastify","authentication","oidc"],"author":{"name":"DapperDuckling Dev LLC"},"license":"AGPL-3.0-only","_id":"@dapperduckling/oauth-monitor-client@1.0.12","maintainers":[{"name":"duckboy81","email":"duckwebdev@gmail.com"}],"homepage":"https://github.com/DapperDuckling/oauth-monitor#readme","bugs":{"url":"https://github.com/DapperDuckling/oauth-monitor/issues"},"dist":{"shasum":"905767d1e83ed7c0abb00969eaefc9b4b91f5edc","tarball":"https://registry.npmjs.org/@dapperduckling/oauth-monitor-client/-/oauth-monitor-client-1.0.12.tgz","fileCount":19,"integrity":"sha512-/2oVe0fjOc/+O4+Hjx4B0LycxCyJJHs+o7PfMR4Uhr5/zTRh5CekoEgqb677zeqp//RfIqKf+uF0QWzLui4f8A==","signatures":[{"sig":"MEQCIE4tvQcc1g/01JlfZIFkF9/Q3wn6vndxmaMbVg446p5TAiABuHlnudQbqxMmFXKP8AQ5GWNC6rdBtEtO/9aSJEt7Lg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83696},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"d9d522fbdfc51bb37a4fb504cf3fbd28d1ce703d","scripts":{"build":"npm run clean && tsc","clean":"rimraf ./dist/","prepare":"ts-patch install && typia patch","yalc:publish":"yalc publish --push","prepublishOnly":"npm run build"},"_npmUser":{"name":"duckboy81","email":"duckwebdev@gmail.com"},"yalcWatch":{"extensions":"js,ts","watchFolder":"dist","buildWatchCommand":"tsc --watch"},"_npmVersion":"lerna/9.0.4/node@v24.13.0+arm64 (darwin)","description":"An opinionated library securing frontend applications without all the fuss","directories":{},"_nodeVersion":"24.13.0","dependencies":{"typia":"^5.2.6","@dapperduckling/oauth-monitor-common":"^1.0.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-patch":"^3.3.0","typescript":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/oauth-monitor-client_1.0.12_1771557154932_0.29862802416297307","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@dapperduckling/oauth-monitor-client","version":"2.0.2","keywords":["keycloak","sso","express","fastify","authentication","oidc"],"author":{"name":"DapperDuckling Dev LLC"},"license":"AGPL-3.0-only","_id":"@dapperduckling/oauth-monitor-client@2.0.2","maintainers":[{"name":"duckboy81","email":"duckwebdev@gmail.com"}],"homepage":"https://github.com/DapperDuckling/oauth-monitor#readme","bugs":{"url":"https://github.com/DapperDuckling/oauth-monitor/issues"},"dist":{"shasum":"ce33e7dddb827c144384bce90e9cbd4b2edb5da6","tarball":"https://registry.npmjs.org/@dapperduckling/oauth-monitor-client/-/oauth-monitor-client-2.0.2.tgz","fileCount":19,"integrity":"sha512-y+zl7nlDPKn1X0dEfdTI89wnADaLeA4wNA/qZ5zZ51vGi7rNxVue0gBrQAp8zXxGzR/CsVjynY42jr+MTWqgTQ==","signatures":[{"sig":"MEUCIQCi7YhbFggU0xRhyN/jNER0goPQ6AhefabGsDGJHwB1BQIgMJXyMFBtrSh8uJ+853l9wwlQaDIIQ79DiAEFXi83thM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83945},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"bcd0fa39124050305412c25be8ea4743a5284015","scripts":{"test":"vitest run","build":"npm run clean && tsc","clean":"rimraf ./dist/","prepare":"ts-patch install && typia patch","test:watch":"vitest","yalc:publish":"yalc publish --push","prepublishOnly":"npm run build"},"_npmUser":{"name":"duckboy81","email":"duckwebdev@gmail.com"},"yalcWatch":{"extensions":"js,ts","watchFolder":"dist","buildWatchCommand":"tsc --watch"},"_npmVersion":"lerna/9.0.7/node@v24.13.0+arm64 (darwin)","description":"An opinionated library securing frontend applications without all the fuss","directories":{},"_nodeVersion":"24.13.0","dependencies":{"typia":"^12.0.2","@dapperduckling/oauth-monitor-common":"^2.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-patch":"^3.3.0","typescript":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/oauth-monitor-client_2.0.2_1777415707063_0.7086647665475754","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"@dapperduckling/oauth-monitor-client","version":"3.1.0","keywords":["keycloak","sso","express","fastify","authentication","oidc"],"author":{"name":"DapperDuckling Dev LLC"},"license":"AGPL-3.0-only","_id":"@dapperduckling/oauth-monitor-client@3.1.0","maintainers":[{"name":"duckboy81","email":"duckwebdev@gmail.com"}],"homepage":"https://github.com/DapperDuckling/oauth-monitor#readme","bugs":{"url":"https://github.com/DapperDuckling/oauth-monitor/issues"},"dist":{"shasum":"64c7a61f5056006d9c917ee90397a8a9719f101b","tarball":"https://registry.npmjs.org/@dapperduckling/oauth-monitor-client/-/oauth-monitor-client-3.1.0.tgz","fileCount":19,"integrity":"sha512-Ub15rC36ia8ZnCEqzhxzV5NqgVM7Eq7od7d+HXwhPqPBThxPsiUYvuSqaHderzUE2q6r4O0f2D0InN1SjyP3Xg==","signatures":[{"sig":"MEQCIA9jb4OGjLM9stXZTxy1Nsl0jWZU+3xBmlqO9NYCqfqSAiAxxAmVX/2Acbw6lhYy9bYYMRFExT2tX/HxSHUu9vcBHw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDSE01TDRtmjr3+xg+wZrYU3dpS8Q+4Ihi22tkNVtOA4gIhAMl4jGNOu1Xsrvz0GW1p8En+R3sg99/xKv3Lg0X40jph","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":110743},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"6d83b4de6c86c0bf81124eed599d1472a06628fb","scripts":{"test":"vitest run","build":"npm run clean && tsc","clean":"rimraf ./dist/","prepare":"ts-patch install && typia patch","test:watch":"vitest","yalc:publish":"yalc publish --push","prepublishOnly":"npm run build"},"_npmUser":{"name":"duckboy81","email":"duckwebdev@gmail.com"},"yalcWatch":{"extensions":"js,ts","watchFolder":"dist","buildWatchCommand":"tsc --watch"},"_npmVersion":"lerna/10.0.1/node@v20.20.2+arm64 (darwin)","description":"An opinionated library securing frontend applications without all the fuss","directories":{},"_nodeVersion":"20.20.2","dependencies":{"typia":"^12.0.2","@dapperduckling/oauth-monitor-common":"^3.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-patch":"^3.3.0","typescript":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/oauth-monitor-client_3.1.0_1790554236822_0.11122227780650018","host":"s3://npm-registry-packages-npm-production"}},"3.2.0":{"_id":"@dapperduckling/oauth-monitor-client@3.2.0","bugs":{"url":"https://github.com/DapperDuckling/oauth-monitor/issues"},"dist":{"shasum":"11d0cf2b015c2f3d8a57532f9144aa07fb8f3054","tarball":"https://registry.npmjs.org/@dapperduckling/oauth-monitor-client/-/oauth-monitor-client-3.2.0.tgz","fileCount":19,"integrity":"sha512-rqhjHzJe0cTz6LO4MP1ONH0kMEx0V4QjCE9nBh/Ir3QQk3mgdw5rZ8uCvFE0PZpGXLvj6qI9j61O8C+peg2gRg==","signatures":[{"sig":"MEQCIHs2M18zpzKuyz0fcZ3AVx96WIJ2kMldW0c8rSeMtdgEAiAnO0GbH1Vdh46Zko1rAnIET5WlQjdyCCgCxYKzRJNJMw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCQ8N1mo5g/se6io7Rpq12y1n22K10p+zDkr5xrMlIWFgIgSQjohRXbQTTqor8WJMHLWdvTkDlnD9+ydesL/1XwavI="}],"unpackedSize":79430},"main":"./dist/index.js","name":"@dapperduckling/oauth-monitor-client","type":"module","types":"./dist/index.d.ts","author":{"name":"DapperDuckling Dev LLC"},"gitHead":"cda4405cc2e4379d96f767d338e10a76795ef75e","license":"MIT","scripts":{"test":"vitest run","build":"npm run clean && tsc","clean":"rimraf ./dist/","prepare":"ts-patch install && typia patch","test:watch":"vitest","yalc:publish":"yalc publish --push","prepublishOnly":"npm run build"},"version":"3.2.0","_npmUser":{"name":"duckboy81","email":"duckwebdev@gmail.com"},"homepage":"https://github.com/DapperDuckling/oauth-monitor#readme","keywords":["keycloak","sso","express","fastify","authentication","oidc"],"yalcWatch":{"extensions":"js,ts","watchFolder":"dist","buildWatchCommand":"tsc --watch"},"_npmVersion":"lerna/10.0.1/node@v22.15.1+arm64 (darwin)","description":"An opinionated library securing frontend applications without all the fuss","directories":{},"maintainers":[{"name":"duckboy81","email":"duckwebdev@gmail.com"}],"_nodeVersion":"22.15.1","dependencies":{"typia":"^12.0.2","@dapperduckling/oauth-monitor-common":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-patch":"^3.3.0","typescript":"^5.4.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/oauth-monitor-client_3.2.0_1790892406562_0.8908823613915386"}}},"time":{"created":"2025-11-19T06:53:00.505Z","modified":"2026-10-01T22:06:46.826Z","1.0.2":"2025-11-19T06:53:00.819Z","1.0.3":"2025-11-20T07:08:41.425Z","1.0.5":"2025-11-20T07:17:13.903Z","1.0.6":"2025-11-20T18:52:40.730Z","1.0.7":"2025-11-24T06:56:15.497Z","1.0.8":"2025-11-25T01:52:05.686Z","1.0.9":"2025-11-25T06:19:28.826Z","1.0.10":"2025-11-25T07:03:35.599Z","1.0.12":"2026-02-20T03:12:35.075Z","2.0.2":"2026-04-28T22:35:07.189Z","3.1.0":"2026-09-28T00:10:36.911Z","3.2.0":"2026-10-01T22:06:46.647Z"},"bugs":{"url":"https://github.com/DapperDuckling/oauth-monitor/issues"},"author":{"name":"DapperDuckling Dev LLC"},"license":"MIT","homepage":"https://github.com/DapperDuckling/oauth-monitor#readme","keywords":["keycloak","sso","express","fastify","authentication","oidc"],"description":"An opinionated library securing frontend applications without all the fuss","maintainers":[{"name":"duckboy81","email":"duckwebdev@gmail.com"}],"readme":"# OAuth Monitor Client\n\nThis package provides a UI-agnostic client for the OAuth Monitor. It handles the core logic of checking authentication status, managing tokens, and communicating with your backend server. It's designed to be used as a standalone library that you can integrate into any JavaScript application, allowing you to build your own custom UI on top of it. It operates by periodically checking a `user-status` endpoint on your server and emitting events when the user's authentication state changes. This allows you to create a responsive UI that reacts to logins, logouts, and token refreshes.\n\n## Table of Contents\n\n1. [Getting Started](#getting-started)\n2. [API and Events](#api-and-events)\n\n## Getting Started\n\n1.  **Installation:**\n\n    ```bash\n    npm install @dapperduckling/oauth-monitor-client\n    ```\n\n2.  **Set Up Backend Endpoints:**\n\n    For this client to work, you must have a backend server that is properly configured to handle authentication requests.\n\n    > **Important!**\n    > For more information on how to set up the required endpoints, please refer to the [main README file on GitHub](https://github.com/dapperduckling/oauth-monitor#backend-server-setup).\n\n3.  **Initialize and Use the Client:**\n\n    The client is event-driven. You can listen for events to update your UI and application state.\n\n    ```javascript\n    import { OauthMonitorClient } from '@dapperduckling/oauth-monitor-client';\n\n    // Configuration for the client\n    const config = {\n        apiServerOrigin: 'http://localhost:3001', // Your backend server\n        fastInitialAuthCheck: true,\n        eagerRefreshTime: 0.5,\n    };\n\n    // Create a new instance of the client\n    const oauthClient = new OauthMonitorClient(config);\n\n    // Example: Update UI based on authentication status\n    oauthClient.on('userStatusChange', (status) => {\n        const { loggedIn } = status;\n        if (loggedIn) {\n            console.log('User is logged in!');\n            // Update your UI to show a logged-in state\n        } else {\n            console.log('User is logged out.');\n            // Update your UI to show a logged-out state\n        }\n    });\n\n    // Example: Manually trigger login or logout\n    function handleLogin() {\n        oauthClient.handleLogin();\n    }\n\n    function handleLogout() {\n        oauthClient.handleLogout();\n    }\n\n    // Start the client's monitoring\n    oauthClient.start();\n    ```\n\n## API and Events\n\n### `OauthMonitorClient(config)`\n\nCreates a new client instance. The `config` object requires `apiServerOrigin`.\n\n### `.start()`\n\nStarts the client's polling mechanism to check for authentication status changes.\n\n### `.stop()`\n\nStops the client's polling mechanism.\n\n### `.handleLogin()`\n\nInitiates the login flow by opening a new window to the login endpoint.\n\n### `.handleLogout()`\n\nInitiates the logout flow by redirecting the user to the logout endpoint.\n\n### Events\n\nYou can listen for events using the `.on(eventName, callback)` method.\n\n-   **`userStatusChange`**: Fired when the user's authentication status changes. The callback receives the new `userStatus` object.\n-   **`tokenRefresh`**: Fired when the access token is about to expire and a refresh is attempted.\n-   **`error`**: Fired when an error occurs during the authentication check.\n","readmeFilename":"README.md"}