{"_id":"@c1m-public/platform-auth","_rev":"29-0973475b2f4953989da55ca66ac3eef4","name":"@c1m-public/platform-auth","dist-tags":{"latest":"0.22.0"},"versions":{"0.2.0":{"name":"@c1m-public/platform-auth","version":"0.2.0","license":"MIT","_id":"@c1m-public/platform-auth@0.2.0","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"441b1b77ceff80f333d298d06e340a07003e4522","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.2.0.tgz","fileCount":22,"integrity":"sha512-3cgGqxC2nx45u3rJnHl/lS7oGiqsyobGFKTcQJqTvBl0XsIxIOLrQUw/vpyEGHQm4faxjaG2A9LlAoVrJbRFSw==","signatures":[{"sig":"MEQCIC3VzTDO+a45zPplnd8W4QCv5x7wIzg5sMygVpyPy65dAiBltV1dZ+G1pC1fMUM7p+QSWJHMfHjn/brs8FrQoI7/1w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40458},"main":"./dist/index.js","type":"module","_from":"file:/private/tmp/claude-501/-Users-anasmahmud-repos-personalprojects-mml/118e24dc-9541-4773-aed5-0f79ba142038/scratchpad/c1m-public-platform-auth-0.2.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsc -p tsconfig.build.json","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"c1m-npm","email":"admin@cloud1media.com"},"_resolved":"/private/tmp/claude-501/-Users-anasmahmud-repos-personalprojects-mml/118e24dc-9541-4773-aed5-0f79ba142038/scratchpad/c1m-public-platform-auth-0.2.0.tgz","_integrity":"sha512-3cgGqxC2nx45u3rJnHl/lS7oGiqsyobGFKTcQJqTvBl0XsIxIOLrQUw/vpyEGHQm4faxjaG2A9LlAoVrJbRFSw==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"10.9.8","description":"Framework-neutral session helpers for C1M platform surfaces: token payload reads, forwarded client headers, safe return paths, device identity cookies, and the first-party session handoff (target callback + source start) built on Web Request/Response","directories":{},"_nodeVersion":"22.23.2","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.4","typescript":"5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.2.0_1786881070653_0.891804926838444","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@c1m-public/platform-auth","version":"0.3.1","license":"MIT","_id":"@c1m-public/platform-auth@0.3.1","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"09f1efb5f19f15b0ea2eb2d1f20c8e01df32423d","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.3.1.tgz","fileCount":24,"integrity":"sha512-Unvg9BUBr3fg39eMK9uBUVhZJlnCHVAa6i5cz9+zmdUI1KhrqKQkUFareezWQPthlseB3R4PW/O5+bq7P0uhfw==","signatures":[{"sig":"MEUCIFgp5mx6JeoyTbfR8g1mfe0noxC9K2FKI7hP1kOlcWBhAiEAkPJLRwrPSzaVRo3eodIvAApSbdeq8enPZDyVZxDXlz4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36523},"main":"./dist/index.js","type":"module","_from":"file:/private/tmp/claude-501/-Users-anasmahmud-repos-personalprojects-mml/118e24dc-9541-4773-aed5-0f79ba142038/scratchpad/c1m-public-platform-auth-0.3.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsc -p tsconfig.build.json","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"c1m-npm","email":"admin@cloud1media.com"},"_resolved":"/private/tmp/claude-501/-Users-anasmahmud-repos-personalprojects-mml/118e24dc-9541-4773-aed5-0f79ba142038/scratchpad/c1m-public-platform-auth-0.3.1.tgz","_integrity":"sha512-Unvg9BUBr3fg39eMK9uBUVhZJlnCHVAa6i5cz9+zmdUI1KhrqKQkUFareezWQPthlseB3R4PW/O5+bq7P0uhfw==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"10.9.8","description":"Framework-neutral session helpers for C1M platform surfaces: token payload reads, forwarded client headers, safe return paths, device identity cookies, and the first-party session handoff (target callback + source start) built on Web Request/Response","directories":{},"_nodeVersion":"22.23.2","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.4","typescript":"5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.3.1_1786946088752_0.10086507430135772","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@c1m-public/platform-auth","version":"0.4.0","license":"MIT","_id":"@c1m-public/platform-auth@0.4.0","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"f7c5b08f05063f42fbcd020d2de4bb7138e37caa","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.4.0.tgz","fileCount":42,"integrity":"sha512-8xNl8CqrSY8oQp7torMWUEx71wP+u6FItAusweWS1LQsoNdwDCt7EvVpm23rpsJr7kko/im/siGUnitmZ43hXA==","signatures":[{"sig":"MEYCIQCn+oWGYNZSf7s3ohUEmlI32eiKhCMWXGAi7TX4uOF5BwIhAO+Ly/MRJUyWhWHMzs4cnc4+elpYtKE/5IPl8tJ7VVim","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73673},"main":"./dist/index.js","type":"module","_from":"file:/private/tmp/claude-501/-Users-anasmahmud-repos-personalprojects-mml/118e24dc-9541-4773-aed5-0f79ba142038/scratchpad/c1m-public-platform-auth-0.4.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsc -p tsconfig.build.json","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"c1m-npm","email":"admin@cloud1media.com"},"_resolved":"/private/tmp/claude-501/-Users-anasmahmud-repos-personalprojects-mml/118e24dc-9541-4773-aed5-0f79ba142038/scratchpad/c1m-public-platform-auth-0.4.0.tgz","_integrity":"sha512-8xNl8CqrSY8oQp7torMWUEx71wP+u6FItAusweWS1LQsoNdwDCt7EvVpm23rpsJr7kko/im/siGUnitmZ43hXA==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"10.9.8","description":"Server-side session and authorization helpers for C1M platform surfaces: token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh, plus the resolved access snapshot, typed permission keys, predicates, a","directories":{},"_nodeVersion":"22.23.2","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.4.0_1786993179771_0.9576022806910036","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@c1m-public/platform-auth","version":"0.5.0","license":"MIT","_id":"@c1m-public/platform-auth@0.5.0","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"3e2e65105e0905c54af7e024924fd520c74ca486","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.5.0.tgz","fileCount":42,"integrity":"sha512-3HV3dIqi4DsXkUd2gJYaKzN843eSi2lowXpD9OzpPGT5rdw0xBR9ZrPtd9AXzA4pfUmQCdu7g5KIu1DioOcdZQ==","signatures":[{"sig":"MEUCIGTp7mDK3OrEFqIxF8ORhCe8Y/6EYDXEwLd8qg9wTBIYAiEA3CcLxd+o5vHlzqCYyjMzRAETfhkPYpzx7SAkpEssAPM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":77722},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.5.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsc -p tsconfig.build.json","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.5.0.tgz","_integrity":"sha512-3HV3dIqi4DsXkUd2gJYaKzN843eSi2lowXpD9OzpPGT5rdw0xBR9ZrPtd9AXzA4pfUmQCdu7g5KIu1DioOcdZQ==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Server-side session and authorization helpers for C1M platform surfaces: token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh, plus the resolved access snapshot, typed permission keys, predicates, a","directories":{},"_nodeVersion":"24.19.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.5.0_1787519434894_0.12466063794231275","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@c1m-public/platform-auth","version":"0.6.0","license":"MIT","_id":"@c1m-public/platform-auth@0.6.0","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"ba6e6d67d73466a01e2e41d2a3054146a712ee13","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.6.0.tgz","fileCount":42,"integrity":"sha512-g6VpXFVV246V3CbwVSGZjaeoRruMilXQapmGrDwD2PkkCdzTABO5RZqb0eAw/jNEwK/oS8QVE1ecJlIDjqRuQg==","signatures":[{"sig":"MEQCIBGk14uZnvPKNYdztMO2f57ftCD4RFfiNI8lTVxoAL8EAiBfUmeuECVZ0w9F6JhQGrbZuNrg9QevLqpa0VE52xoc8Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":78242},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.6.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsc -p tsconfig.build.json","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.6.0.tgz","_integrity":"sha512-g6VpXFVV246V3CbwVSGZjaeoRruMilXQapmGrDwD2PkkCdzTABO5RZqb0eAw/jNEwK/oS8QVE1ecJlIDjqRuQg==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Server-side session and authorization helpers for C1M platform surfaces: token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh, plus the resolved access snapshot, typed permission keys, predicates, a","directories":{},"_nodeVersion":"24.19.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.6.0_1787828502531_0.05485542500820473","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@c1m-public/platform-auth","version":"0.7.0","license":"MIT","_id":"@c1m-public/platform-auth@0.7.0","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"d062985b79e5893da3da5b6ca3e0788805371034","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.7.0.tgz","fileCount":17,"integrity":"sha512-2ZPpOwjdf4SaSWwRwiN5UmiDpvk/ECDFha5lM36HvOeWoElfJhQ9JODBm1iW50N2l2HUaYXzg4oLhDS27gTFuw==","signatures":[{"sig":"MEQCIGgkmf8iojtZuQ+c0PdolChCXGEdd/mNa5UpUcvuAev8AiBY7nsVJJI+lxo0YCyJWp7ASG2Zmx/aNi/pXl4N7BAQ7w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":100604},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.7.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.7.0.tgz","_integrity":"sha512-2ZPpOwjdf4SaSWwRwiN5UmiDpvk/ECDFha5lM36HvOeWoElfJhQ9JODBm1iW50N2l2HUaYXzg4oLhDS27gTFuw==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.19.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.7.0_1787830319063_0.3456364497890587","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@c1m-public/platform-auth","version":"0.8.0","license":"MIT","_id":"@c1m-public/platform-auth@0.8.0","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"ca644e5ed9f7109ca91edee6346e3f5edaad1aab","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.8.0.tgz","fileCount":17,"integrity":"sha512-Eoke0QBUREJhxLZMqRZBqDa670EWlEt2E8ScAzakWx06ToBvLQWnqlajCuSHGgKEPx+CcKS+pBpjaevEw4FrfQ==","signatures":[{"sig":"MEUCIBkP8Ry0jYDI7HkhRbd3zc5z9QTiaEiv5NDZiDogQCp1AiEAqAM7fV6rsNq3ue8fHxmL50wUVQQlySR+k+wVpIZ7OjY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":101697},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.8.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.8.0.tgz","_integrity":"sha512-Eoke0QBUREJhxLZMqRZBqDa670EWlEt2E8ScAzakWx06ToBvLQWnqlajCuSHGgKEPx+CcKS+pBpjaevEw4FrfQ==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.19.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.8.0_1787830444148_0.5268777722711777","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"name":"@c1m-public/platform-auth","version":"0.8.1","license":"MIT","_id":"@c1m-public/platform-auth@0.8.1","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"33fed21f00ad94e0d492514fee09e2a5625f7e16","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.8.1.tgz","fileCount":17,"integrity":"sha512-jHV1vqQ2KAldxbyJEcbgF/YapYW8/ZHnfmcSU3qTNO08M3UQF3IeAQ01V2zfLB8qVfzTDgH3icM04YV8miHRvA==","signatures":[{"sig":"MEUCIFr3HFj2nb/AZoHdHVzO+bgYXs6CvbShneHLkRf7182NAiEAm3lQbXyJV4l8bQReCG/7jpb8/opd3sv6teF0BXGVnKs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":102059},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.8.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.8.1.tgz","_integrity":"sha512-jHV1vqQ2KAldxbyJEcbgF/YapYW8/ZHnfmcSU3qTNO08M3UQF3IeAQ01V2zfLB8qVfzTDgH3icM04YV8miHRvA==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.19.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.8.1_1787830754463_0.08060991911172533","host":"s3://npm-registry-packages-npm-production"}},"0.8.2":{"name":"@c1m-public/platform-auth","version":"0.8.2","license":"MIT","_id":"@c1m-public/platform-auth@0.8.2","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"82a5285032bc5941aa4966c51888746186d9eb5b","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.8.2.tgz","fileCount":17,"integrity":"sha512-CAkYb7+u+Pod+vhmR9M3iVohZGrWQdlrSs66D2oNwUKWH8H50ZBliQOgqgOILRN9fRGU8nDkuUldBSBcZTrhJQ==","signatures":[{"sig":"MEQCIHVKBhtCP5xD6Cv8Uf9K5Piq4zO1ZrQGpBaDxhxHtvq+AiB23vkfAqgD57IUSFkDpeV6ZwOiVM3uDTIG4TXgcR77KQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":102110},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.8.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.8.2.tgz","_integrity":"sha512-CAkYb7+u+Pod+vhmR9M3iVohZGrWQdlrSs66D2oNwUKWH8H50ZBliQOgqgOILRN9fRGU8nDkuUldBSBcZTrhJQ==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.19.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.8.2_1787831062624_0.633106409422038","host":"s3://npm-registry-packages-npm-production"}},"0.8.3":{"name":"@c1m-public/platform-auth","version":"0.8.3","license":"MIT","_id":"@c1m-public/platform-auth@0.8.3","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"372e64650e8a3e2b04aab5fe61dccb5428077bc6","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.8.3.tgz","fileCount":17,"integrity":"sha512-UBp3O/3a9/hH1kUbgi5W2CH+691sFAHyaXuBFfWvxyjfFdKQZ++1+Vc8FWtONV3xeMbC945nGaqddS+2JZch8w==","signatures":[{"sig":"MEYCIQCVUbXcUM/5A+ZZyU6yBG3f1ihc7MA9e3eDvC4KWt3HnAIhAPROgxVfxFMKKSm0YNe8qPnt4ups1J6G7mC4nvbE0/zf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":103010},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.8.3.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.8.3.tgz","_integrity":"sha512-UBp3O/3a9/hH1kUbgi5W2CH+691sFAHyaXuBFfWvxyjfFdKQZ++1+Vc8FWtONV3xeMbC945nGaqddS+2JZch8w==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.19.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.8.3_1787831217740_0.3185111331429491","host":"s3://npm-registry-packages-npm-production"}},"0.8.4":{"name":"@c1m-public/platform-auth","version":"0.8.4","license":"MIT","_id":"@c1m-public/platform-auth@0.8.4","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"e5c60e865f20f587c5010fec4fa7797d2c88288d","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.8.4.tgz","fileCount":17,"integrity":"sha512-oRkn5VM8+WXJdgF13JcpRN0ja238wEycXLDW3anPxb2hqbUqo6OAhtF0pYo4Wec0RDMKpxpBlnWlUOEDt4RPBw==","signatures":[{"sig":"MEUCIDdTvFUzW4kBuZsoUBIhl9XLojoG/0p9MuazrBpQD+2fAiEA5XH+2ueCggkn5naRoFYs/NO+8Tz7ZYcJ08OrTqrt5rU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":103586},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.8.4.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.8.4.tgz","_integrity":"sha512-oRkn5VM8+WXJdgF13JcpRN0ja238wEycXLDW3anPxb2hqbUqo6OAhtF0pYo4Wec0RDMKpxpBlnWlUOEDt4RPBw==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.19.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.8.4_1787831491363_0.1279870227167812","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@c1m-public/platform-auth","version":"0.9.0","license":"MIT","_id":"@c1m-public/platform-auth@0.9.0","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"a0e86803500ff2dff42d4a41a7caa84eccf4458f","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.9.0.tgz","fileCount":17,"integrity":"sha512-oIugYMHGOw165I5tYuLfUwNd+jQMs+dPikX5eUSDA6pKLOpQ/wyfnIl8HyH2unsJA/3sfjdQxxSGtrch8SIraA==","signatures":[{"sig":"MEQCIHMiRVsWFK2zLL3Es4Zv5WLA7dSDk8sm+oN5IXg3YEhpAiA7u5f6lOnAFSY9JHhhpc52qvvDi4IrUEUXK5C/+5KvIQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":104773},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.9.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.9.0.tgz","_integrity":"sha512-oIugYMHGOw165I5tYuLfUwNd+jQMs+dPikX5eUSDA6pKLOpQ/wyfnIl8HyH2unsJA/3sfjdQxxSGtrch8SIraA==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.19.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.9.0_1787832335832_0.8057711963665415","host":"s3://npm-registry-packages-npm-production"}},"0.9.1":{"name":"@c1m-public/platform-auth","version":"0.9.1","license":"MIT","_id":"@c1m-public/platform-auth@0.9.1","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"df56bf5fe567778880b836a3d1086bd33757348b","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.9.1.tgz","fileCount":14,"integrity":"sha512-OtKV83JtWyr8jcGdFNQ6ddE5uhLsRfRyGnLcFUOJlKorHnrlLtw93uwRJH2Xv5kA4GJAzvu4J0RF4da6xlov8w==","signatures":[{"sig":"MEQCIF2KNX7u7Ws0bUrUcXbpJ9VHwENMZH1ci4wwow8b0jH9AiAvcPuoiYc085Uba/SkO0AJ3mx3HLcHmjbC0/7PkfT9iA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":142904},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.9.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.9.1.tgz","_integrity":"sha512-OtKV83JtWyr8jcGdFNQ6ddE5uhLsRfRyGnLcFUOJlKorHnrlLtw93uwRJH2Xv5kA4GJAzvu4J0RF4da6xlov8w==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.19.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.9.1_1787833328167_0.5669610827797258","host":"s3://npm-registry-packages-npm-production"}},"0.9.2":{"name":"@c1m-public/platform-auth","version":"0.9.2","license":"MIT","_id":"@c1m-public/platform-auth@0.9.2","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"530dc68f6f7b654e449da38c9049c8380c2b4931","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.9.2.tgz","fileCount":14,"integrity":"sha512-zXLKcky4SomcrfKt5ejKQ7g37meh4RlxmAw3bL+ipsxUKmt2zl+uTgBb4+yO/TFpxGDsLDnx7+n/qIGNfZhD4w==","signatures":[{"sig":"MEQCIDxGzWKZ77NU9e+4LXw+Juc8OWv19D3PTGwGZ5chCywzAiApjdKsZCHtXzWIFE0f/ztPatyyj3bMb3JK5uCjPuTbbg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":142895},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.9.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.9.2.tgz","_integrity":"sha512-zXLKcky4SomcrfKt5ejKQ7g37meh4RlxmAw3bL+ipsxUKmt2zl+uTgBb4+yO/TFpxGDsLDnx7+n/qIGNfZhD4w==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.19.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.9.2_1787833532933_0.7000647024720288","host":"s3://npm-registry-packages-npm-production"}},"0.9.3":{"name":"@c1m-public/platform-auth","version":"0.9.3","license":"MIT","_id":"@c1m-public/platform-auth@0.9.3","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"296581082ccec736a5bd08cf987a2d556c87d417","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.9.3.tgz","fileCount":14,"integrity":"sha512-L3kOfTP6FLe81aWUUzCC/UwfeF9kw1SofQVCIDsEYjy6yduR17yKqT+7JAnV9tvQiN1bQbi8R9cvYvwN2ymZvg==","signatures":[{"sig":"MEYCIQDowNAgdAmcRXM9LNdOs5lYgLHKeLO9UmQjNoola1sbJgIhALGPiR978l7qEIA+eRBUdV6ohl9xDx7H18VvjcFQdwhp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":144088},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.9.3.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.9.3.tgz","_integrity":"sha512-L3kOfTP6FLe81aWUUzCC/UwfeF9kw1SofQVCIDsEYjy6yduR17yKqT+7JAnV9tvQiN1bQbi8R9cvYvwN2ymZvg==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.19.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.9.3_1787944296082_0.23317655579924979","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"name":"@c1m-public/platform-auth","version":"0.11.0","license":"MIT","_id":"@c1m-public/platform-auth@0.11.0","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"36a3fe5ad1d07e5cef3fd4fed5f468c0db223a3c","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.11.0.tgz","fileCount":16,"integrity":"sha512-8RLauib2IV/pkX4TTzTF0rXDylRO0m+C7fNUe0+hNcssjc3EEA9+tFw7VbBGATwhYuXT3wNt9yq6ggq0Ya62sw==","signatures":[{"sig":"MEYCIQD46BgaJYHJ/20p8qTlT/lupOm9NzHsuRTKk4NXvJZIVgIhAKH4h3yTO35YH3dvxCTbxnBEWUjLnPav2wC+uJAbUmpQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":165550},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.11.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./mcp-tokens":{"types":"./dist/mcp-tokens.d.ts","default":"./dist/mcp-tokens.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.11.0.tgz","_integrity":"sha512-8RLauib2IV/pkX4TTzTF0rXDylRO0m+C7fNUe0+hNcssjc3EEA9+tFw7VbBGATwhYuXT3wNt9yq6ggq0Ya62sw==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.19.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.11.0_1788180188196_0.11565770637064343","host":"s3://npm-registry-packages-npm-production"}},"0.12.0":{"name":"@c1m-public/platform-auth","version":"0.12.0","license":"MIT","_id":"@c1m-public/platform-auth@0.12.0","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"16d65bd032f1e7e478837bebde9bb76556221679","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.12.0.tgz","fileCount":16,"integrity":"sha512-zA/UioAfqz2b/+OJ9/xNHnhxLmAWNm1CP1Af41EZnUOlXBqDIML3iXPGslbimk0m6PKyZCHtZgpbnzwO7sT62A==","signatures":[{"sig":"MEYCIQCx/hmsQw5ozD/bBcNa3yZiEZOpzgn5hGF0AcUTokieeQIhAOa682gFKP9v4lnhVcO34G3QJDzPQuk/DR0Q0nHWRZNQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":165497},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.12.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./mcp-tokens":{"types":"./dist/mcp-tokens.d.ts","default":"./dist/mcp-tokens.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.12.0.tgz","_integrity":"sha512-zA/UioAfqz2b/+OJ9/xNHnhxLmAWNm1CP1Af41EZnUOlXBqDIML3iXPGslbimk0m6PKyZCHtZgpbnzwO7sT62A==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.19.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.12.0_1788200989226_0.6650956523676099","host":"s3://npm-registry-packages-npm-production"}},"0.13.0":{"name":"@c1m-public/platform-auth","version":"0.13.0","license":"MIT","_id":"@c1m-public/platform-auth@0.13.0","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"a6363595570d66f8e8ffb6c7e1b8aab07c889d3a","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.13.0.tgz","fileCount":18,"integrity":"sha512-/qsMfsD1deBDdYKiBYcIepjWoAGjmI/1JOXl/kui38Zo/vmCTY1nCaY5Cql94kHiNsic5qo264VePxi7WnlM6A==","signatures":[{"sig":"MEQCICEhY8+VXjvQeLdHzeKmGcKdrsZ6HeAqhjOXzyhgnZmQAiAc9dX/OMOx+AAAKPDejfguXvf+pKh5aFkRNnWTYJS0sw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":194845},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.13.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./mcp-tokens":{"types":"./dist/mcp-tokens.d.ts","default":"./dist/mcp-tokens.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"},"./service-accounts":{"types":"./dist/service-accounts.d.ts","default":"./dist/service-accounts.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.13.0.tgz","_integrity":"sha512-/qsMfsD1deBDdYKiBYcIepjWoAGjmI/1JOXl/kui38Zo/vmCTY1nCaY5Cql94kHiNsic5qo264VePxi7WnlM6A==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.19.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.13.0_1788211205414_0.6714961654995799","host":"s3://npm-registry-packages-npm-production"}},"0.14.0":{"name":"@c1m-public/platform-auth","version":"0.14.0","license":"MIT","_id":"@c1m-public/platform-auth@0.14.0","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"dced9fd95644f023c1d9bb7544a7b8242b4cce1a","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.14.0.tgz","fileCount":16,"integrity":"sha512-7nzll8H5xnrk+lN2dOBjN89/jdbwV+ZK42O/qB3ev2pEmYe70sLA3mNUhRQ38rt7MrYnN6RGCPkja8G6KLhRmg==","signatures":[{"sig":"MEQCIBw5qTbroSZXCy1VpgLcrWL/bZo9uvBgoZwzC555tf4JAiBFPebIIBq9vgbggkR2iLj7C6Yg9kfgU3lpvXLv03wohA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":175410},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.14.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"},"./service-accounts":{"types":"./dist/service-accounts.d.ts","default":"./dist/service-accounts.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.14.0.tgz","_integrity":"sha512-7nzll8H5xnrk+lN2dOBjN89/jdbwV+ZK42O/qB3ev2pEmYe70sLA3mNUhRQ38rt7MrYnN6RGCPkja8G6KLhRmg==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.20.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.14.0_1788571972610_0.22810519097327941","host":"s3://npm-registry-packages-npm-production"}},"0.14.1":{"name":"@c1m-public/platform-auth","version":"0.14.1","license":"MIT","_id":"@c1m-public/platform-auth@0.14.1","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"d75f4c509c073127181886503e55690b6f99e6ce","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.14.1.tgz","fileCount":16,"integrity":"sha512-dgJ57kuJKUmSS61+YMscw+PoRyhEJzX0ZBk851qaP4BgbvJpvMTQNQUVFsdXbkmdruQTTJeafUUm0g4TLjIJiQ==","signatures":[{"sig":"MEUCIQCG2w3y1DqDowHf22tSwGYeT+VALkym5tyZ9240LRY3FAIgfRmoedF4nUFGxRHApEp+j04cH+zGyIGh5x+tKqMAyFo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":176930},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.14.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"},"./service-accounts":{"types":"./dist/service-accounts.d.ts","default":"./dist/service-accounts.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.14.1.tgz","_integrity":"sha512-dgJ57kuJKUmSS61+YMscw+PoRyhEJzX0ZBk851qaP4BgbvJpvMTQNQUVFsdXbkmdruQTTJeafUUm0g4TLjIJiQ==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.20.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.14.1_1788618548613_0.22701206639407356","host":"s3://npm-registry-packages-npm-production"}},"0.15.0":{"name":"@c1m-public/platform-auth","version":"0.15.0","license":"MIT","_id":"@c1m-public/platform-auth@0.15.0","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"215e5a774ab6f928919e0ea14f8c08a36be250a0","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.15.0.tgz","fileCount":16,"integrity":"sha512-ysUGhNFNrZC8laYyUrl6Vx1oxB932fvyf0lVdU22mXieOtJpfsOlF2kpjPBtWJqqpisu4W7Fc4BDXt9ZApahVA==","signatures":[{"sig":"MEUCICFf41pzKVocLjHCqg5pN/X6n9YuvMp4FRrNpOlh76OsAiEAkOCYa1RuLR2JqROurmSNEvqYsc1vYGQ5f8CwD7WtB/U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":177840},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.15.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"},"./service-accounts":{"types":"./dist/service-accounts.d.ts","default":"./dist/service-accounts.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.15.0.tgz","_integrity":"sha512-ysUGhNFNrZC8laYyUrl6Vx1oxB932fvyf0lVdU22mXieOtJpfsOlF2kpjPBtWJqqpisu4W7Fc4BDXt9ZApahVA==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.20.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.15.0_1788686614412_0.511513602197371","host":"s3://npm-registry-packages-npm-production"}},"0.15.1":{"name":"@c1m-public/platform-auth","version":"0.15.1","license":"MIT","_id":"@c1m-public/platform-auth@0.15.1","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"88ef67a0ea4f4a51ade22563606569d186bb7390","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.15.1.tgz","fileCount":16,"integrity":"sha512-1u3kuabZf4M99VFh9XAIPLIF4VZTD0Rd6ue4TMbq/bIgt0ZP1C5l3cZRH8wsCUWHn6pQ+JQ9XQ2zHWbpw1kaqg==","signatures":[{"sig":"MEUCIQCeK/H+3vkGkWyh9TyaoRmcBVlwKZegFFLzI84bWRjYYQIgdXaJ9pwsMdfXr18K9p/UFBrn8Ypm5Nag5Jh6Ez4703A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":177919},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.15.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"},"./service-accounts":{"types":"./dist/service-accounts.d.ts","default":"./dist/service-accounts.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.15.1.tgz","_integrity":"sha512-1u3kuabZf4M99VFh9XAIPLIF4VZTD0Rd6ue4TMbq/bIgt0ZP1C5l3cZRH8wsCUWHn6pQ+JQ9XQ2zHWbpw1kaqg==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.20.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.15.1_1788872980621_0.8560383735936272","host":"s3://npm-registry-packages-npm-production"}},"0.16.0":{"name":"@c1m-public/platform-auth","version":"0.16.0","license":"MIT","_id":"@c1m-public/platform-auth@0.16.0","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"80c2aca4ebfa9a2ed92994c08c14b82e56ff5891","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.16.0.tgz","fileCount":16,"integrity":"sha512-QPqZtFiQEJjRIkwrU4LXGZw2xrOVBaZmOlZCTwRI+ttaBx/E5yneXizYNA7DtX/qVD4CIuNN0Rt0kClMqKazOQ==","signatures":[{"sig":"MEYCIQD+EtzPTUnhK2aZfrKUMWT0iRj/6+pwQbbI6GMNLV9IEQIhAMjKhYlChqLeHH8WgsXe4ZEkFKL6sZgDzwErkhZQ5kbl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":178247},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.16.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"},"./service-accounts":{"types":"./dist/service-accounts.d.ts","default":"./dist/service-accounts.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.16.0.tgz","_integrity":"sha512-QPqZtFiQEJjRIkwrU4LXGZw2xrOVBaZmOlZCTwRI+ttaBx/E5yneXizYNA7DtX/qVD4CIuNN0Rt0kClMqKazOQ==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.20.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.16.0_1789154114383_0.6922698314444136","host":"s3://npm-registry-packages-npm-production"}},"0.17.0":{"name":"@c1m-public/platform-auth","version":"0.17.0","license":"MIT","_id":"@c1m-public/platform-auth@0.17.0","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"b010055a1fb7e0f8ab665ac95380fc95c75c7053","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.17.0.tgz","fileCount":16,"integrity":"sha512-24D4duRoTkz2oLM+QZt/Bi7Y9z782dOJgIDQozW+i1rjebt/sQy9s7z8bMGcVNWwuw26fwurZE5SAdaMezNCuQ==","signatures":[{"sig":"MEYCIQDKAerVuKzxOD9juD87q6Z+riki2jtnDoZm9YShS133OwIhAPib69eFghA7T6EBSy+2lRUEis3nB+y88URbomn2T+w3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":183055},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.17.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"},"./service-accounts":{"types":"./dist/service-accounts.d.ts","default":"./dist/service-accounts.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.17.0.tgz","_integrity":"sha512-24D4duRoTkz2oLM+QZt/Bi7Y9z782dOJgIDQozW+i1rjebt/sQy9s7z8bMGcVNWwuw26fwurZE5SAdaMezNCuQ==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.20.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0","@c1m-public/resilience":"0.1.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.17.0_1789162588092_0.8034901545644257","host":"s3://npm-registry-packages-npm-production"}},"0.18.0":{"name":"@c1m-public/platform-auth","version":"0.18.0","license":"MIT","_id":"@c1m-public/platform-auth@0.18.0","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"11dfc59def2e965a95dfece6b52ed95a85eebd2f","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.18.0.tgz","fileCount":14,"integrity":"sha512-7sfzX6aJVnQi4muayTzOA0RvnNJl69opknD9EUJ4vHThcNn8glcN3vjt62o5+W+A8B2OdXLOMDl2pZBbmCQIyA==","signatures":[{"sig":"MEYCIQC/G7BDRmsh3Wv+qlVAIrpRlPZTJDmYGZRIvaJscgRTigIhAJKUFgvdJE0Be2aYDTQnugS4SsdbR/StQSTfaRBQqRP6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQC4iFlon9TGapKJhufV61So3rGJwXeehZALzI62DLLfJAIhAOjL8FbDCDrKvXeyHTJ6Nsguv17jYvrE3oIEGmDIrad3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":153127},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.18.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.18.0.tgz","_integrity":"sha512-7sfzX6aJVnQi4muayTzOA0RvnNJl69opknD9EUJ4vHThcNn8glcN3vjt62o5+W+A8B2OdXLOMDl2pZBbmCQIyA==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.20.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0","@c1m-public/resilience":"0.1.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.18.0_1789605069968_0.19150171356215173","host":"s3://npm-registry-packages-npm-production"}},"0.19.0":{"name":"@c1m-public/platform-auth","version":"0.19.0","license":"MIT","_id":"@c1m-public/platform-auth@0.19.0","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"7df1b6fe18b14a1a0b2517eb8fde7b1e54ce99cd","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.19.0.tgz","fileCount":14,"integrity":"sha512-HmbW99euhR4jSUp6WhhaOvHQ5g8yFVOgWhWvbN58Ez3sgMTbIyQ6dLoiEtBltOVldIQ/c1phdGXR8o1cx8bV9g==","signatures":[{"sig":"MEYCIQDmWTkIWQ4acwYj0VZhZGE5mgDFC+VeYLbXP0aZz+8kggIhAIN1OCCMTHkq7IXc0oCQngnBPN8Az1Jr8AEbcZ9jS0Ec","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDtf2HN+nZ4AaEgpmSR7u0WhkuZskWcvplTT+4696HvBQIhALfn+skDwkzJVt5zSNMGPIf/nO0mgvwx1ViVu5LmR7sA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":153818},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.19.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.19.0.tgz","_integrity":"sha512-HmbW99euhR4jSUp6WhhaOvHQ5g8yFVOgWhWvbN58Ez3sgMTbIyQ6dLoiEtBltOVldIQ/c1phdGXR8o1cx8bV9g==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.20.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0","@c1m-public/resilience":"0.1.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.19.0_1789998679355_0.5555905790418485","host":"s3://npm-registry-packages-npm-production"}},"0.20.0":{"name":"@c1m-public/platform-auth","version":"0.20.0","license":"MIT","_id":"@c1m-public/platform-auth@0.20.0","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"9529c7a4af69444ceb43f632913700f5f72934ae","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.20.0.tgz","fileCount":14,"integrity":"sha512-yBB3ZQfzdypP2D+mKRZx4cIbydUQ4oJa3jV7ruvssTDhkOR9ud5oJZzsPH9j9Lz5YkGvvpLH/yTrqcNBhehU3w==","signatures":[{"sig":"MEUCIAYrdm1CbhwS4P3BokDxxeAb7Ck19kmqbNpmDcqYsq3sAiEAqrQvCyr8xDJJC+GX05RHV7HrKjNQbKpEtE5G2A04+fM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIAX6GWrXDUaXyBrz16T3vmTlX8UBoLJNmAZFA5N0N3T7AiEAkNF4HINuFG+0uLGnG2dL+Dlx2pZaWOvbwGYIx7t5mro=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":153891},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.20.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.20.0.tgz","_integrity":"sha512-yBB3ZQfzdypP2D+mKRZx4cIbydUQ4oJa3jV7ruvssTDhkOR9ud5oJZzsPH9j9Lz5YkGvvpLH/yTrqcNBhehU3w==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.20.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0","@c1m-public/resilience":"0.1.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.20.0_1790026840382_0.28910666806731444","host":"s3://npm-registry-packages-npm-production"}},"0.21.0":{"name":"@c1m-public/platform-auth","version":"0.21.0","license":"MIT","_id":"@c1m-public/platform-auth@0.21.0","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"5429eb2cabe68a08f278b49bb9c1f965d16ce2df","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.21.0.tgz","fileCount":14,"integrity":"sha512-9MhAtHgh10Q0X6jB1DPRE5XimTzHo4Aa6O9b0Kj53jNFL8E1v06WBBaLXTwkAo58kH+8/kKxgypNdEWQf3lKEw==","signatures":[{"sig":"MEUCIEdBsUZ7Soy6gJvwkMAimsTGZPzRvgair/BNdSZS0WdXAiEAko27utsEU+Cc77qNIE0y2MUxqxqdjgo4+8L14N9yqu8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIB97VxZlg2CUvVLzLUP91iKwaX1gRHbWP4JeEkG/9UNOAiAkORgjN69Zn+zrCLYCG6i1g9d7+vPgRRKicPdnsd5nkA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":153818},"main":"./dist/index.js","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.21.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"_resolved":"/tmp/c1m-public-platform-auth-0.21.0.tgz","_integrity":"sha512-9MhAtHgh10Q0X6jB1DPRE5XimTzHo4Aa6O9b0Kj53jNFL8E1v06WBBaLXTwkAo58kH+8/kKxgypNdEWQf3lKEw==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"_nodeVersion":"24.20.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0","@c1m-public/resilience":"0.1.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/platform-auth_0.21.0_1790029366159_0.81401038441016","host":"s3://npm-registry-packages-npm-production"}},"0.22.0":{"_id":"@c1m-public/platform-auth@0.22.0","bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"dist":{"shasum":"8edaa527511c3dd045c45fef0ef46610c1374b42","tarball":"https://registry.npmjs.org/@c1m-public/platform-auth/-/platform-auth-0.22.0.tgz","fileCount":14,"integrity":"sha512-4bmqhxbKpLg8XlhJLzoUvXyu+v/Rymdm7JCjx3IUMM45aqbUnHk79VpGsqcIQVytdmzsSdiGhtm/TyrhOoR8/Q==","signatures":[{"sig":"MEUCIQCIwq683VIA1UqOYdMczD3Pw2ITIuYdlDfo2OI6Z2nRVgIgD+v0pgq5afUKlm8bJ7VhkjZ7aKoSFmR0yEvznQcvTXs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDal3njCxWkFJwgGwg3brjaVWxreq5ZO5T2Hdlkp+1JZAIgC43FET9Apx2pR94i7+PcWRi3ynNOWUL9gLJ6ogEAEWU="}],"unpackedSize":166290},"main":"./dist/index.js","name":"@c1m-public/platform-auth","type":"module","_from":"file:/tmp/c1m-public-platform-auth-0.22.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./next":{"types":"./dist/next.d.ts","default":"./dist/next.js"},"./access":{"types":"./dist/access/index.d.ts","default":"./dist/access/index.js"},"./access/next":{"types":"./dist/access/next.d.ts","default":"./dist/access/next.js"},"./access/react":{"types":"./dist/access/react.d.ts","default":"./dist/access/react.js"}},"license":"MIT","scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"vitest","build":"pnpm clean && tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","test:run":"vitest run","type-check":"tsc -p tsconfig.json --noEmit"},"version":"0.22.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b41677f2-cd77-44e8-a24b-a62710800934"}},"homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","_resolved":"/tmp/c1m-public-platform-auth-0.22.0.tgz","_integrity":"sha512-4bmqhxbKpLg8XlhJLzoUvXyu+v/Rymdm7JCjx3IUMM45aqbUnHk79VpGsqcIQVytdmzsSdiGhtm/TyrhOoR8/Q==","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"_npmVersion":"12.0.1","description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","directories":{},"maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"_nodeVersion":"24.20.0","dependencies":{"server-only":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"16.3.1","tsup":"^8.5.1","react":"19.2.4","vitest":"^4.1.4","react-dom":"19.2.4","typescript":"5.9.3","@types/react":"^19","@types/react-dom":"^19","@c1m-public/transport":"0.0.0","@c1m-public/resilience":"0.1.0"},"peerDependencies":{"next":">=15","react":">=18"},"peerDependenciesMeta":{"next":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/platform-auth_0.22.0_1790095411695_0.1030991014839131"}}},"time":{"created":"2026-08-16T11:51:10.515Z","modified":"2026-09-22T16:43:32.006Z","0.2.0":"2026-08-16T11:51:10.805Z","0.3.1":"2026-08-17T05:54:48.905Z","0.4.0":"2026-08-17T18:59:39.919Z","0.5.0":"2026-08-23T21:10:35.044Z","0.6.0":"2026-08-27T11:01:42.688Z","0.7.0":"2026-08-27T11:31:59.210Z","0.8.0":"2026-08-27T11:34:04.293Z","0.8.1":"2026-08-27T11:39:14.605Z","0.8.2":"2026-08-27T11:44:22.749Z","0.8.3":"2026-08-27T11:46:57.884Z","0.8.4":"2026-08-27T11:51:31.507Z","0.9.0":"2026-08-27T12:05:35.976Z","0.9.1":"2026-08-27T12:22:08.318Z","0.9.2":"2026-08-27T12:25:33.089Z","0.9.3":"2026-08-28T19:11:36.258Z","0.11.0":"2026-08-31T12:43:08.340Z","0.12.0":"2026-08-31T18:29:49.378Z","0.13.0":"2026-08-31T21:20:05.550Z","0.14.0":"2026-09-05T01:32:52.745Z","0.14.1":"2026-09-05T14:29:08.741Z","0.15.0":"2026-09-06T09:23:34.535Z","0.15.1":"2026-09-08T13:09:40.741Z","0.16.0":"2026-09-11T19:15:14.520Z","0.17.0":"2026-09-11T21:36:28.241Z","0.18.0":"2026-09-17T00:31:10.102Z","0.19.0":"2026-09-21T13:51:19.470Z","0.20.0":"2026-09-21T21:40:40.466Z","0.21.0":"2026-09-21T22:22:46.240Z","0.22.0":"2026-09-22T16:43:31.780Z"},"bugs":{"url":"https://github.com/cloud1mediaLtd/mml-js/issues"},"license":"MIT","homepage":"https://github.com/cloud1mediaLtd/mml-js#readme","repository":{"url":"git+https://github.com/cloud1mediaLtd/mml-js.git","type":"git","directory":"packages/platform-auth"},"description":"Session and authorization helpers for C1M platform surfaces. The root is runtime-neutral (Web Request/Response): token/session reads, the first-party handoff (PKCE target + source), proxy session gate and coalesced refresh; ./next adds the server-only gua","maintainers":[{"name":"c1m-npm","email":"admin@cloud1media.com"}],"readme":"# @c1m-public/platform-auth\n\nServer-side **session** and **authorization** helpers for C1M platform surfaces\n(Platform Admin Center, Knowledge Library, SaaSDash BFFs, and starter BFFs).\n\nTwo halves, one package. The root and `./next` entry points carry session\nprotocol behaviour and stay framework-neutral; everything under `./access`\ncarries the resolved authorization snapshot. Import only the entry point you\nneed — the boundary is the subpath.\n\n```\n.               session: token reads, handoff, proxy gate, refresh   (Web Request/Response)\n./next          session, server-only guard                            (Next route handlers)\n./access        authorization: snapshot, keys, predicates             (framework-neutral)\n./access/next   access loader: require / forbidden / invalidate       (Next, server-only)\n./access/react  <Can>, useCan, AccessProvider                         (client)\n```\n\n`next` and `react` are **optional** peer dependencies: a BFF that only reads\nsessions never needs them.\n\n## `.` — session\n\n| Export | Purpose |\n|---|---|\n| `decodeTokenPayload`, `decodeDefaultSession`, `hasTokenAudience`, `isTokenExpired`, `isTokenExpiringSoon`, `tokenMaxAgeSeconds` | Read an access token for routing. Decoding is **not** verification — the backend re-verifies every call. `decodeDefaultSession` prefers `impersonation_target`, so a support session resolves as the impersonated user. |\n| `parseAuthResponse`, `AuthResponse` | Validate a backend auth envelope before trusting it. |\n| `readCookie`, `serializeCookie`, `setCookie`, `deleteCookie` | Cookie helpers over Web `Request`/`Response`. `__Host-` names get `Secure` automatically. |\n| `createDeviceIdentity` | The `X-Client-Device-ID` cookie the backend requires to create a session. |\n| `applyForwardedClientHeaders`, `forwardedRequestHeaders` | Copy client identity (IP, geo, UA) onto a backend call. Never used for auth. |\n| `safeInternalPath(raw, { stripParams? })` | Strict same-origin return-path sanitiser (rejects `//`, `://`, encoded slashes, control chars, anything that does not round-trip). `stripParams` drops named query params (e.g. a one-shot `auth`/`from` flag) from the accepted value so it doesn't survive into the redirect target. |\n| `createSessionRefresher` | Coalesced refresh-token exchange: one backend call per token per window. |\n| `evaluateSessionGate`, `hasSessionShape` | Pure proxy decision — `pass` / `redirect_home` / `anonymous_public` / `unauthorized_api` / `redirect_login`. The proxy owns response construction. `eagerReauthBufferSeconds` demotes a token expiring within that window to not-live, so a failed refresh rejects the session instead of passing through on the still-valid token. |\n| `createHandoffTarget`, `createHandoffSource`, `brokerPaths`, `sourceStartPath` | Browser halves of the first-party session handoff (`/api/v1/platform/auth/handoffs/{app}`): PKCE S256 + state, one-time code, host-local cookies, no tokens in URLs. |\n| `HANDOFF_ERROR_MESSAGES`, `SSO_ERROR_MESSAGES`, `AUTH_ERROR_MESSAGES`, `authErrorMessage(code, overrides?)`, `isAuthErrorCode`, `handoffErrorMessage`, `isHandoffErrorCode` | One sign-in error vocabulary — handoff, admission and SSO codes. Surfaces pass their own copy as `overrides` instead of forking the map. |\n| `ADMIN_HOST_ROOT`, `isAdminRootHost`, `adminSlugFromHost`, `recoveryAdminOrigin`, `brandedAdminHost` | The `<slug>.saasdash.app` / `admin.<domain>` admin-host rules, mirroring the backend's `internal/platform/domainmanagement/admin_dash_hostnames.go`. |\n| `SIGN_IN_HINT_COOKIE`, `signInHintDomain`, `signInHintCookie`, `hasSignInHint` | The non-secret \"signed in\" display hint an admin host sets on its own domain so the Dash's public site can show \"Open your workspace\" instead of \"Sign in\". `signInHintDomain`/`signInHintCookie` are the pure writer half; `hasSignInHint` the reader. The hint carries no identity and must never gate access. |\n\n```ts\n// proxy.ts\nconst refresher = createSessionRefresher({ apiUrl: API_URL, refreshPath, clientType, audience });\nconst decision = await evaluateSessionGate({\n  accessToken: request.cookies.get(SESSION)?.value,\n  refreshToken: request.cookies.get(REFRESH)?.value,\n  audience, refresher,\n  isPublic, isLoginPath, isApiPath: pathname.startsWith(\"/api/\"),\n});\n```\n\n```ts\n// target: app/api/auth/platform-sso/{start,callback}\nconst target = createHandoffTarget({ app: \"docs\", apiUrl, audience: \"platform_docs\", clientType,\n  sources: { admin: ADMIN_URL, saasdash: SAASDASH_URL }, defaultSource: \"admin\",\n  cookiePrefix: \"docs\", loginPath: \"/login\", defaultReturnPath: \"/docs\", device, establishSession });\n\n// source: app/api/auth/handoffs/[app]/start\nconst source = createHandoffSource({ apiUrl, clientType, targets: { docs: { origin: DOCS_URL } },\n  getAccessToken, loginPath: \"/login\" });\n```\n\n## `./next` — a Next.js surface's session, fetch and errors\n\nServer-only. Everything under `.` plus the three things every first-party app\nused to hand-roll:\n\n| Export | Purpose |\n|---|---|\n| `createSessionStore({ audience, cookies, maxAgeSeconds?, secure?, cookieDomain?, defaultRememberMe?, refresh?, requestBoundary?, onError? })` | The session/refresh/remember cookies over `next/headers`: `createSession`, `writeSessionCookies(response, …)`, `getSession`, `getAccessToken`, `getRefreshToken`, `getSessionWithRefresh`, `updateAccessToken`, `isRememberMe`, `destroySession`, `clearSessionCookies(response)`, `requireSession`, `isAuthenticated`. rememberMe=false → no Max-Age; the remember choice survives refresh; deletes carry the same attributes as sets (a `__Host-` cookie ignores a Secure-less delete); a token for another audience is never stored or read. Pass `requestBoundary: connection` (from `next/server`) so Cache Components treat session state as request-time. |\n| `createPlatformFetch({ apiUrl, getAccessToken, forwardHeaders?, timeoutMs?, fetch? })` | Bearer + forwarded client headers + `no-store` + per-method timeout (10 s reads, 30 s writes): `fetchAuthed`, `fetchAuthedJson` (null on 204/404), `fetchAuthedJsonStrict`, `fetchJsonWithAccessToken`, `fetchPublicJson`, `fetchAuthedField`, `fetchAuthedItems`. A missing session **throws** (401), never returns null. |\n| `buildForwardedRequestHeaders` | The incoming request's client identity as headers, for a call you make yourself. |\n| `SessionExpiredError`, `RecentAuthenticationRequiredError`, `SSOReauthenticationRequiredError`, `PlatformServerFetchError{path,status?,code?,requestId?}` + `is*Error` predicates | One error vocabulary; 401 bodies map by `code`. |\n| `mapControlError`, `controlRequest(run)` | Translate a `@c1m-public/control-client` failure into that vocabulary, keeping the backend's code and request id. |\n\n```ts\n// lib/auth/session.ts\nexport const sessions = createSessionStore({\n  audience: \"platform_admin\",\n  cookies: { session: \"__Host-platform_session\", refreshToken: \"__Host-platform_refresh_token\", rememberMe: \"platform_remember\" },\n  requestBoundary: connection,\n  refresh: { apiUrl: getApiUrl, refreshPath: \"/api/v1/platform/auth/refresh\", clientType: \"nextjs-platform\" },\n});\n\n// lib/platform/fetch.ts\nexport const platform = createPlatformFetch({ apiUrl: getApiUrl, getAccessToken: sessions.getAccessToken });\nconst items = await platform.fetchAuthedItems<Workspace>(\"/api/v1/platform/workspaces\");\n```\n\n## `./access` — authorization\n\nThe resolved snapshot from `GET /api/v1/platform/access`.\n\n| Export | Purpose |\n|---|---|\n| `PLATFORM_PERMISSIONS`, `LEADBROKER_PERMISSIONS`, `WORKSPACE_PERMISSIONS`, `WORKSPACE_ROLES` + key types | Generated from the backend catalog — see the drift guard below. |\n| `parseAccessSnapshot`, `emptySnapshot`, `AccessSnapshot`, `AccessEntry` | Validate and shape the snapshot. |\n| `hasPermission`, `hasAnyPermission`, `hasAllPermissions`, `hasWorkspacePermission`, `isPlatformOwner`, `appScopes`, `permissionsFor` | Scope-aware predicates. |\n| `managedDashes`, `dashRole` | The dashes a subject runs, from the mirrored `dash.owner` / `dash.admin` bundle grants (`snapshot.dash_roles`). Admission only — gate an action with `hasPermission(snapshot, \"dash.publish\", { dashId })`. Platform managers are not listed; admit them on `platform.tenants.manage`. |\n| `fetchAccessSnapshot` | Framework-neutral fetch. Pass `request` and it forwards client identity for you. |\n| `AccessSnapshotError`, `isAccessSnapshotError` | `unauthenticated` / `forbidden` / `unavailable` / `invalid_snapshot`. |\n\n`./access/next` adds `createAccessLoader` (request-scoped via React `cache`),\n`requireAccess`, `requireWorkspaceAccess`, `invalidateAccess`, `accessCacheTag`.\n`./access/react` adds `AccessProvider`, `useCan`, `useCanWorkspace`,\n`useIsPlatformOwner`, `<Can>`.\n\n```ts\n// lib/access.server.ts\nexport const access = createAccessLoader({\n  apiUrl: getApiUrl,\n  getAccessToken: async () => (await cookies()).get(SESSION)?.value ?? null,\n  // Cross-request caching is the APP's job: the \"use cache\" directive does not\n  // apply inside node_modules, so wrap the fetch here and tag it yourself.\n  fetchSnapshot: cachedSnapshot,\n});\nawait access.requireAccess(\"platform.tenants.manage\");\n```\n\nOmit `getSubjectId` and the loader derives the cache-tag subject from the access\ntoken, so per-user tagging cannot silently collapse to one shared tag.\n\n### Pipeline stages\n\n`PIPELINE_STAGES` / `PipelineStage` / `isPipelineStage` under `./access` are\nthe onboarding funnel strings in order (`created`, `awaiting_payment`,\n`provisioning`, `attention`, `active`), generated from the backend's\n`schemas/api/pipeline-stages.json` the same way the permission keys are.\nLabels and descriptions stay with the app; the strings are the backend's.\n\n## Keys drift guard\n\n`src/access/generated/keys.ts` is generated from the backend authz catalog\n(`c1m-server/schemas/api/authz-keys.json`, produced by `make authzgen`) and\nvendored to `contracts/authz-keys.json`. Never hand-edit it. Regenerate with\n`node scripts/generate-access-types.mjs`; `pnpm contract:check` runs\n`--check` and fails on drift, so a backend rename cannot silently diverge from\nthe frontend key unions.\n\n## Notes\n\n- Import from `@c1m-public/platform-auth/next` (or `/access/next`) inside\n  Next.js server code — those entries carry the `server-only` guard.\n- Session cookies stay host-local per surface; this package never shares a\n  session across origins. Crossing hosts is always a fresh handoff.\n","readmeFilename":"README.md"}