{"_id":"@bluyog/commenty","_rev":"3-ad848c5de893cadccbe201aaf467213a","name":"@bluyog/commenty","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"@bluyog/commenty","version":"0.1.0","keywords":["annotation","feedback","screenshot","web","sdk"],"author":{"name":"Bluyog"},"license":"MIT","_id":"@bluyog/commenty@0.1.0","maintainers":[{"name":"bluyog","email":"vj@bluyog.design"}],"homepage":"https://commenty-project.vercel.app","bugs":{"url":"https://github.com/bluyog/commenty-project/issues"},"dist":{"shasum":"fc8c2606489032c556f11513fa4ce35eb2bb605e","tarball":"https://registry.npmjs.org/@bluyog/commenty/-/commenty-0.1.0.tgz","fileCount":6,"integrity":"sha512-mX84c6Z3W0sX5bRH1uorUgnJYURxBgnDoxmG1g0/f8ZlcNfTqYYbhXNxVgaJ4XCL7FHPqIUfK+levbM87bmbiQ==","signatures":[{"sig":"MEUCICjc5aUecRMqbxFzSggZlmnK5ZNBJvJFi+nIuu+OntDwAiEA0rFmK61CRqCiedfYutXE6K1zzrC84gERga76ps15dJ0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22306},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./styles.css":"./dist/index.css"},"gitHead":"2a8d5964f94f745555ba4a5bd4ad4731c1eeb751","scripts":{"test":"vitest run","build":"tsup","prepublishOnly":"npm run test && npm run build"},"_npmUser":{"name":"bluyog","email":"vj@bluyog.design"},"repository":{"url":"git+https://github.com/bluyog/commenty-project.git","type":"git","directory":"packages/commenty"},"_npmVersion":"11.12.1","description":"Embeddable visual annotation and contextual feedback SDK for web applications.","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.15.0","dependencies":{"html2canvas":"^1.4.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/commenty_0.1.0_1784815306707_0.36738295595342985","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@bluyog/commenty","version":"0.2.0","keywords":["annotation","feedback","screenshot","web","sdk"],"author":{"name":"Bluyog"},"license":"MIT","_id":"@bluyog/commenty@0.2.0","maintainers":[{"name":"bluyog","email":"vj@bluyog.design"}],"homepage":"https://commenty-project.vercel.app","bugs":{"url":"https://github.com/bluyog/commenty-project/issues"},"dist":{"shasum":"f8edae9aba58b3e8c0553e20593f8782d3c1be73","tarball":"https://registry.npmjs.org/@bluyog/commenty/-/commenty-0.2.0.tgz","fileCount":6,"integrity":"sha512-DcGY2KU5jKBZ0IFXfLjKmyee1RvJNcvqbF587KASXrinULXazQ2fpzfUhA7xSCygjAWpaoL9ajrqQX/4B/K4dA==","signatures":[{"sig":"MEYCIQDsket21DthfXD0vZxe3LqY7dQRHiEC9XjZ+gTlHtUxEgIhAK7k7Zj+uqPEQVYPVM0wZhJ2mFttseMOqraP8EjVr+ap","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30231},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./styles.css":"./dist/index.css"},"gitHead":"566b57ef46d45b861c0f46d1fb9546e6e83b4da8","scripts":{"test":"vitest run","build":"tsup","prepublishOnly":"npm run test && npm run build"},"_npmUser":{"name":"bluyog","email":"vj@bluyog.design"},"repository":{"url":"git+https://github.com/bluyog/commenty-project.git","type":"git","directory":"packages/commenty"},"_npmVersion":"11.12.1","description":"Embeddable visual annotation and contextual feedback SDK for web applications.","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.15.0","dependencies":{"html2canvas":"^1.4.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/commenty_0.2.0_1784817536612_0.18414536844406237","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@bluyog/commenty","version":"0.2.1","description":"Embeddable visual annotation and contextual feedback SDK for web applications.","type":"module","sideEffects":["*.css"],"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./styles.css":"./dist/index.css"},"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"tsup","test":"vitest run","prepublishOnly":"npm run test && npm run build"},"keywords":["annotation","feedback","screenshot","web","sdk"],"author":{"name":"Bluyog"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/bluyog/commenty-project.git","directory":"packages/commenty"},"bugs":{"url":"https://github.com/bluyog/commenty-project/issues"},"homepage":"https://commenty-project.vercel.app","publishConfig":{"access":"public"},"dependencies":{"html2canvas":"^1.4.1"},"gitHead":"dab5e97011be0ff76eddb73a08d80643743d485a","_id":"@bluyog/commenty@0.2.1","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-YxmPSNQqpVacavTsGbuXvAJelHzGeVLnf9IDaApb9Ie5W79l2k7gUCuaZXvq+GB1f6IRjFb8ClY2M+2D6GUGPw==","shasum":"6a316085d2e78395e119a9923d8229d0a2ec37fe","tarball":"https://registry.npmjs.org/@bluyog/commenty/-/commenty-0.2.1.tgz","fileCount":6,"unpackedSize":32736,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICF7AG6TbyL5hjSefVPNNzUfW/zVAbs3NodWAVPaOKPDAiAjrmC5lz1sbzVHTjzaGi/wr1UFYhdbFL+dTliD/C6dRg=="}]},"_npmUser":{"name":"bluyog","email":"vj@bluyog.design"},"directories":{},"maintainers":[{"name":"bluyog","email":"vj@bluyog.design"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/commenty_0.2.1_1784818982455_0.379044068425757"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-23T14:01:46.555Z","modified":"2026-07-23T15:03:02.751Z","0.1.0":"2026-07-23T14:01:46.869Z","0.2.0":"2026-07-23T14:38:56.789Z","0.2.1":"2026-07-23T15:03:02.611Z"},"bugs":{"url":"https://github.com/bluyog/commenty-project/issues"},"author":{"name":"Bluyog"},"license":"MIT","homepage":"https://commenty-project.vercel.app","keywords":["annotation","feedback","screenshot","web","sdk"],"repository":{"type":"git","url":"git+https://github.com/bluyog/commenty-project.git","directory":"packages/commenty"},"description":"Embeddable visual annotation and contextual feedback SDK for web applications.","maintainers":[{"name":"bluyog","email":"vj@bluyog.design"}],"readme":"# @bluyog/commenty\n\nEmbeddable visual annotation and contextual feedback SDK for web applications.\n\n## Install\n\n```sh\nnpm install @bluyog/commenty\n```\n\n## Use\n\n```ts\nimport { Commenty } from \"@bluyog/commenty\";\nimport \"@bluyog/commenty/styles.css\";\n\nconst commenty = Commenty.init({\n  projectKey: \"your_public_project_key\",\n  apiUrl: \"https://your-commenty-host\",\n  environment: \"production\",\n  screenshot: true,\n});\n\ncommenty.open();\n```\n\nOn first open, the SDK asks for the reviewer's display name and shared feedback\npassword. The password is exchanged for a signed three-hour token and is never\nstored. Call `commenty.lock()` to clear the session, `commenty.close()` to exit\nfeedback mode, and `commenty.destroy()` when the host application unmounts.\n\n## Privacy masking\n\nMark sensitive elements so their content is masked in captured screenshots:\n\n```html\n<span data-commenty-private>Sensitive value</span>\n```\n\n## Security\n\nThe SDK contains no secrets. Public project keys identify integrations. The\nCommenty server authenticates reviewers with short-lived scoped tokens and\nenforces origin checks, rate limits, and payload validation.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}