{"_id":"@desicon/seal-cdn","name":"@desicon/seal-cdn","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@desicon/seal-cdn","version":"1.0.1","description":"Browser CDN script for Seal AI Rescue Engine","main":"seal.js","scripts":{"test":"node --test test/*.test.cjs"},"repository":{"type":"git","url":"git+https://github.com/Desicon-AI/seal-cdn.git"},"keywords":["sre","error","logging","ai","browser","cdn"],"author":{"name":"Desicon","email":"support+seal@desicon.ai","url":"https://seal.desicon.ai/"},"license":"MIT","_id":"@desicon/seal-cdn@1.0.1","bugs":{"url":"https://github.com/Desicon-AI/seal-cdn/issues"},"homepage":"https://github.com/Desicon-AI/seal-cdn#readme","_integrity":"sha512-U+icpBclDbcLHrIUjEZsaQhO/EXhajMMw9/V8dyz2QSrvn+X94g23WcK4YL4fKw6y+KgHIO3xGqp3SDpcdJPYw==","_resolved":"C:\\Users\\tafad\\Documents\\code\\Seal\\release-artifacts\\sdk-publishing\\desicon-seal-cdn-1.0.1.tgz","_from":"file:C:/Users/tafad/Documents/code/Seal/release-artifacts/sdk-publishing/desicon-seal-cdn-1.0.1.tgz","_nodeVersion":"22.18.0","_npmVersion":"11.19.1","dist":{"integrity":"sha512-U+icpBclDbcLHrIUjEZsaQhO/EXhajMMw9/V8dyz2QSrvn+X94g23WcK4YL4fKw6y+KgHIO3xGqp3SDpcdJPYw==","shasum":"9a487903bdfe153142d8a5cdff81b8afc0dadf86","tarball":"https://registry.npmjs.org/@desicon/seal-cdn/-/seal-cdn-1.0.1.tgz","fileCount":3,"unpackedSize":11512,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDORv/P7+Ku7EHBePRQUPDPakkpQd9BUOy0NvEgL90JdQIgQ8AguJWKugbf9jgY+Ke0sWFD4LyvzzheIcV7ovUvnS8="}]},"_npmUser":{"name":"desicon","email":"tafadzwatazvitadza@gmail.com"},"directories":{},"maintainers":[{"name":"desicon","email":"tafadzwatazvitadza@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/seal-cdn_1.0.1_1788733088191_0.2380304220616578"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-06T22:18:08.025Z","1.0.1":"2026-09-06T22:18:08.317Z","modified":"2026-09-06T22:18:08.528Z"},"maintainers":[{"name":"desicon","email":"tafadzwatazvitadza@gmail.com"}],"description":"Browser CDN script for Seal AI Rescue Engine","homepage":"https://github.com/Desicon-AI/seal-cdn#readme","keywords":["sre","error","logging","ai","browser","cdn"],"repository":{"type":"git","url":"git+https://github.com/Desicon-AI/seal-cdn.git"},"author":{"name":"Desicon","email":"support+seal@desicon.ai","url":"https://seal.desicon.ai/"},"bugs":{"url":"https://github.com/Desicon-AI/seal-cdn/issues"},"license":"MIT","readme":"# Seal browser SDK 1.0.1\r\n\r\nCandidate package; not yet published. Reports browser errors to `/api/v1/ingest` using `X-API-Key`, `app_name`, `environment`, `error_type`, `error_message`, `stack_trace`, `code_context`, and `severity`.\r\n\r\n```js\r\nSeal.init({apiKey: 'BROWSER_PROJECT_KEY', appName: 'Frontend', environment: 'production'});\r\n```\r\n\r\nUse a dedicated browser project key; values embedded in browser code are public. Do not embed backend signing or encryption secrets. Global application error handlers are preserved.\r\n\r\nThe SDK does not evaluate downloaded JavaScript. Optional `rescueEngine: true` and an explicit `onApprovedPatches(candidates)` callback expose approved candidates to application-owned review/application logic. The callback must implement validation, application and rollback. The feed requires app/environment scope and returns an array with `hash`, `patchCode`, `patch_id`, and `patch_version`. Enabling the rescue setting alone does not execute code.\r\n\r\n`npm test` verifies the contract and absence of automatic code execution. Publish only after backend scope/approval changes are deployed and the dedicated application pilot passes.\r\n","readmeFilename":"README.md","_rev":"1-c6c515afc34c3fb04237acdb5a10a3e4"}