{"_id":"@boobalan_jkkn/bug-reporter-sdk","_rev":"11-4b05582863eac91260af0a43952688db","name":"@boobalan_jkkn/bug-reporter-sdk","dist-tags":{"latest":"1.3.2"},"versions":{"1.0.0":{"name":"@boobalan_jkkn/bug-reporter-sdk","version":"1.0.0","keywords":["bug-reporter","error-tracking","react","nextjs","bug-tracking","error-reporting","crash-reporting","screenshot","console-logs","jkkn"],"author":{"name":"Boobalan JKKN","email":"boobalan@jkkn.ac.in"},"license":"MIT","_id":"@boobalan_jkkn/bug-reporter-sdk@1.0.0","maintainers":[{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"}],"homepage":"https://github.com/boobalan-jkkn/centralized-bug-reporter#readme","bugs":{"url":"https://github.com/boobalan-jkkn/centralized-bug-reporter/issues"},"dist":{"shasum":"db6b5793d07dd0aba0872525547c5b589c1b50bf","tarball":"https://registry.npmjs.org/@boobalan_jkkn/bug-reporter-sdk/-/bug-reporter-sdk-1.0.0.tgz","fileCount":6,"integrity":"sha512-T4wEmGg1rR4LT+VWXuqDzRxt34e9m+BSFj69DTstSRLLDrignic6EDWgwVA2Eq+2A0Ymf50v+/vUKFmcFbJJhg==","signatures":[{"sig":"MEYCIQD0VVp1Xy5eFlD1mNrSWoxTJ0EmJ1q6Ert+D9SmfSpA0gIhAO/aStnaVsHhmAliURwc+GRajlsWV6uWYIP/nirguAav","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52772},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch","build":"tsup src/index.ts --format cjs,esm --dts --clean","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"},"repository":{"url":"git+https://github.com/boobalan-jkkn/centralized-bug-reporter.git","type":"git","directory":"packages/bug-reporter-sdk"},"_npmVersion":"11.6.2","description":"Bug reporting SDK for JKKN centralized platform integration - Capture screenshots, console logs, and system info automatically","directories":{},"_nodeVersion":"22.17.0","dependencies":{"html2canvas":"^1.4.1","react-hot-toast":"^2.4.1","@boobalan_jkkn/shared":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5","@types/react":"^19","@types/react-dom":"^19"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bug-reporter-sdk_1.0.0_1762273792229_0.8900511360712728","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@boobalan_jkkn/bug-reporter-sdk","version":"1.0.1","keywords":["bug-reporter","error-tracking","react","nextjs","bug-tracking","error-reporting","crash-reporting","screenshot","console-logs","jkkn"],"author":{"name":"Boobalan JKKN","email":"boobalan@jkkn.ac.in"},"license":"MIT","_id":"@boobalan_jkkn/bug-reporter-sdk@1.0.1","maintainers":[{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"}],"homepage":"https://github.com/boobalan-jkkn/centralized-bug-reporter#readme","bugs":{"url":"https://github.com/boobalan-jkkn/centralized-bug-reporter/issues"},"dist":{"shasum":"fd84b3033725ca52c58316692f60c7e8ce62883d","tarball":"https://registry.npmjs.org/@boobalan_jkkn/bug-reporter-sdk/-/bug-reporter-sdk-1.0.1.tgz","fileCount":6,"integrity":"sha512-otWrzena4W3oMmS8Mka62IA0YHoTqoYK+4reqMOsgSneTgZbrOXiC30GPmHzKiHCwv5ahw4ITHSMdc9xq+jjvg==","signatures":[{"sig":"MEYCIQC0HQxTwnz78AhwlyYYt7fKKIx6eL1sCILANwNbEsZaQQIhAO3EJ2x2GJAOG0rsu77R5mt67Az09MDH2sV2w/EaF5cB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":55790},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch --external lucide-react","build":"tsup src/index.ts --format cjs,esm --dts --clean --external lucide-react","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"},"repository":{"url":"git+https://github.com/boobalan-jkkn/centralized-bug-reporter.git","type":"git","directory":"packages/bug-reporter-sdk"},"_npmVersion":"11.6.2","description":"Bug reporting SDK for JKKN centralized platform integration - Capture screenshots, console logs, and system info automatically","directories":{},"_nodeVersion":"22.17.0","dependencies":{"html2canvas":"^1.4.1","react-hot-toast":"^2.4.1","@boobalan_jkkn/shared":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5","@types/react":"^19","@types/react-dom":"^19"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0","lucide-react":"^0.400.0 || ^0.500.0"},"_npmOperationalInternal":{"tmp":"tmp/bug-reporter-sdk_1.0.1_1762361024409_0.46652665896950984","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@boobalan_jkkn/bug-reporter-sdk","version":"1.0.2","keywords":["bug-reporter","error-tracking","react","nextjs","bug-tracking","error-reporting","crash-reporting","screenshot","console-logs","jkkn"],"author":{"name":"Boobalan JKKN","email":"boobalan@jkkn.ac.in"},"license":"MIT","_id":"@boobalan_jkkn/bug-reporter-sdk@1.0.2","maintainers":[{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"}],"homepage":"https://github.com/boobalan-jkkn/centralized-bug-reporter#readme","bugs":{"url":"https://github.com/boobalan-jkkn/centralized-bug-reporter/issues"},"dist":{"shasum":"8eff8066daef933a5eef83f7a7fe4fb16baff163","tarball":"https://registry.npmjs.org/@boobalan_jkkn/bug-reporter-sdk/-/bug-reporter-sdk-1.0.2.tgz","fileCount":6,"integrity":"sha512-SXVrWJsRIHRN/GuOoKydHHi4/qJILHr5KUcW5RIx0lpR5Hq7aTsseHFjKrlydDuuJH03YW2dA0uPEcTz+fclGA==","signatures":[{"sig":"MEUCIQCgfbxqPBkDykXMMGLhMYWtTE/4Q8Haw811sOYSRGiFlAIgNcCwMEzn3Xuf3lB8H8AWcOONO6tdHZY/0yLB3xAUUSU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72856},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch --external lucide-react","build":"tsup src/index.ts --format cjs,esm --dts --clean --external lucide-react","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"},"repository":{"url":"git+https://github.com/boobalan-jkkn/centralized-bug-reporter.git","type":"git","directory":"packages/bug-reporter-sdk"},"_npmVersion":"11.6.2","description":"Bug reporting SDK for JKKN centralized platform integration - Capture screenshots, console logs, and system info automatically","directories":{},"_nodeVersion":"22.17.0","dependencies":{"html2canvas":"^1.4.1","react-hot-toast":"^2.4.1","@boobalan_jkkn/shared":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5","@types/react":"^19","@types/react-dom":"^19"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0","lucide-react":"^0.400.0 || ^0.500.0"},"_npmOperationalInternal":{"tmp":"tmp/bug-reporter-sdk_1.0.2_1762361527253_0.25318472060860064","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@boobalan_jkkn/bug-reporter-sdk","version":"1.0.3","keywords":["bug-reporter","error-tracking","react","nextjs","bug-tracking","error-reporting","crash-reporting","screenshot","console-logs","jkkn"],"author":{"name":"Boobalan JKKN","email":"boobalan@jkkn.ac.in"},"license":"MIT","_id":"@boobalan_jkkn/bug-reporter-sdk@1.0.3","maintainers":[{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"}],"homepage":"https://github.com/boobalan-jkkn/centralized-bug-reporter#readme","bugs":{"url":"https://github.com/boobalan-jkkn/centralized-bug-reporter/issues"},"dist":{"shasum":"4073c64447e25e591f212ffcc364268c4048dd75","tarball":"https://registry.npmjs.org/@boobalan_jkkn/bug-reporter-sdk/-/bug-reporter-sdk-1.0.3.tgz","fileCount":6,"integrity":"sha512-aqVzo+rCmOvqIgwQ7iR4I4UtF+N7zVTeHYEL1i9Ai/cetU4WOzhxewEVZVQd/ap5exBTDXla3RThUL0OuTI23g==","signatures":[{"sig":"MEQCIDe1TAQhRwXOXHHlY6kFtMliLqq+kGN97YVLguaKx7bFAiAfH295vk66QkrrSoZAWTZu2rU1KVus/vfRpP6ir5mqjw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75175},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch --external lucide-react","build":"tsup src/index.ts --format cjs,esm --dts --clean --external lucide-react","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"},"repository":{"url":"git+https://github.com/boobalan-jkkn/centralized-bug-reporter.git","type":"git","directory":"packages/bug-reporter-sdk"},"_npmVersion":"11.6.2","description":"Bug reporting SDK for JKKN centralized platform integration - Capture screenshots, console logs, and system info automatically","directories":{},"_nodeVersion":"22.17.0","dependencies":{"html2canvas":"^1.4.1","react-hot-toast":"^2.4.1","@boobalan_jkkn/shared":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5","@types/react":"^19","@types/react-dom":"^19"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0","lucide-react":"^0.400.0 || ^0.500.0"},"_npmOperationalInternal":{"tmp":"tmp/bug-reporter-sdk_1.0.3_1762362380802_0.7373574192716907","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@boobalan_jkkn/bug-reporter-sdk","version":"1.0.4","keywords":["bug-reporter","error-tracking","react","nextjs","bug-tracking","error-reporting","crash-reporting","screenshot","console-logs","jkkn"],"author":{"name":"Boobalan JKKN","email":"boobalan@jkkn.ac.in"},"license":"MIT","_id":"@boobalan_jkkn/bug-reporter-sdk@1.0.4","maintainers":[{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"}],"homepage":"https://github.com/boobalan-jkkn/centralized-bug-reporter#readme","bugs":{"url":"https://github.com/boobalan-jkkn/centralized-bug-reporter/issues"},"dist":{"shasum":"117bbfa5de611dea0e66cf0a70d0931172196b03","tarball":"https://registry.npmjs.org/@boobalan_jkkn/bug-reporter-sdk/-/bug-reporter-sdk-1.0.4.tgz","fileCount":6,"integrity":"sha512-7+SPwZkfu+SwUZa+AoA+rzgoY5ABsKQmNLnpEoAbN/vtMyQLajJ1jThdHzpyUU7hTjQZQcMqQUQfliRsWI2g1w==","signatures":[{"sig":"MEUCIEjCmXiwqqUsXi/lch2rD+4mLZlhHhjmPqyPmWSkTAc3AiEAvC18i2UPuHEcwmKMDGt+Ky4u8ZIKtod5r8ZvafsWBuA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":76520},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch --external lucide-react","build":"tsup src/index.ts --format cjs,esm --dts --clean --external lucide-react","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"},"repository":{"url":"git+https://github.com/boobalan-jkkn/centralized-bug-reporter.git","type":"git","directory":"packages/bug-reporter-sdk"},"_npmVersion":"11.6.2","description":"Bug reporting SDK for JKKN centralized platform integration - Capture screenshots, console logs, and system info automatically","directories":{},"_nodeVersion":"22.17.0","dependencies":{"html2canvas":"^1.4.1","react-hot-toast":"^2.4.1","@boobalan_jkkn/shared":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5","@types/react":"^19","@types/react-dom":"^19"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0","lucide-react":"^0.400.0 || ^0.500.0"},"_npmOperationalInternal":{"tmp":"tmp/bug-reporter-sdk_1.0.4_1762362939684_0.08248872859340772","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@boobalan_jkkn/bug-reporter-sdk","version":"1.0.5","keywords":["bug-reporter","error-tracking","react","nextjs","bug-tracking","error-reporting","crash-reporting","screenshot","console-logs","jkkn"],"author":{"name":"Boobalan JKKN","email":"boobalan@jkkn.ac.in"},"license":"MIT","_id":"@boobalan_jkkn/bug-reporter-sdk@1.0.5","maintainers":[{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"}],"homepage":"https://github.com/boobalan-jkkn/centralized-bug-reporter#readme","bugs":{"url":"https://github.com/boobalan-jkkn/centralized-bug-reporter/issues"},"dist":{"shasum":"ba6a0e5c0e26948b663ecfd87b083a9c4c2fd7ae","tarball":"https://registry.npmjs.org/@boobalan_jkkn/bug-reporter-sdk/-/bug-reporter-sdk-1.0.5.tgz","fileCount":6,"integrity":"sha512-J6m89oIshyuUPqQxZDT1OGIkHwMF4CT4laz5gFIw1kq6arNbwHogmOm0kLqUATHhTAJrM9S5mOI0DTcgQU+Y5Q==","signatures":[{"sig":"MEUCIQC5pIWXaq+uVzwDtAONVqMgo2cYJn0P7+PTsgvc7E3sFAIgNuoC/qiXhUfxr/ewz17trj/v388N3AoTSwcR64o83YQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":76532},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch --external lucide-react","build":"tsup src/index.ts --format cjs,esm --dts --clean --external lucide-react","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"},"repository":{"url":"git+https://github.com/boobalan-jkkn/centralized-bug-reporter.git","type":"git","directory":"packages/bug-reporter-sdk"},"_npmVersion":"11.6.2","description":"Bug reporting SDK for JKKN centralized platform integration - Capture screenshots, console logs, and system info automatically","directories":{},"_nodeVersion":"22.17.0","dependencies":{"html2canvas":"^1.4.1","react-hot-toast":"^2.4.1","@boobalan_jkkn/shared":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5","@types/react":"^19","@types/react-dom":"^19"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0","lucide-react":"^0.400.0 || ^0.500.0 || ^0.552.0"},"_npmOperationalInternal":{"tmp":"tmp/bug-reporter-sdk_1.0.5_1762494725730_0.6333266024059139","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@boobalan_jkkn/bug-reporter-sdk","version":"1.0.6","keywords":["bug-reporter","error-tracking","react","nextjs","bug-tracking","error-reporting","crash-reporting","screenshot","console-logs","jkkn"],"author":{"name":"Boobalan JKKN","email":"boobalan@jkkn.ac.in"},"license":"MIT","_id":"@boobalan_jkkn/bug-reporter-sdk@1.0.6","maintainers":[{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"}],"homepage":"https://github.com/boobalan-jkkn/centralized-bug-reporter#readme","bugs":{"url":"https://github.com/boobalan-jkkn/centralized-bug-reporter/issues"},"dist":{"shasum":"0bd601fc86257cb017498ae1a6cf488650dbecdd","tarball":"https://registry.npmjs.org/@boobalan_jkkn/bug-reporter-sdk/-/bug-reporter-sdk-1.0.6.tgz","fileCount":6,"integrity":"sha512-ywnm0rjpNdTBqlqDY5caLk6Bw6vO8W8uifXwYMEG0ogDwap1bXBB81BXai/P0DRvSJoLb3Yw/UzhFP6GQkBCUQ==","signatures":[{"sig":"MEUCIQDHcPmzo263E/SoTrFtfwyNTIIaeMcCpLUUklWr7VQiuAIgQ7cBSXk8XmIYffumZnoCGhCI40But+4CaMnqKd9fFlY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":76532},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch --external lucide-react","build":"tsup src/index.ts --format cjs,esm --dts --clean --external lucide-react","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"},"repository":{"url":"git+https://github.com/boobalan-jkkn/centralized-bug-reporter.git","type":"git","directory":"packages/bug-reporter-sdk"},"_npmVersion":"11.6.2","description":"Bug reporting SDK for JKKN centralized platform integration - Capture screenshots, console logs, and system info automatically","directories":{},"_nodeVersion":"22.17.0","dependencies":{"html2canvas":"^1.4.1","react-hot-toast":"^2.4.1","@boobalan_jkkn/shared":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5","@types/react":"^19","@types/react-dom":"^19"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0","lucide-react":"^0.400.0 || ^0.500.0 || ^0.552.0"},"_npmOperationalInternal":{"tmp":"tmp/bug-reporter-sdk_1.0.6_1762494931992_0.051660824922887816","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@boobalan_jkkn/bug-reporter-sdk","version":"1.0.7","keywords":["bug-reporter","error-tracking","react","nextjs","bug-tracking","error-reporting","crash-reporting","screenshot","console-logs","jkkn"],"author":{"name":"Boobalan JKKN","email":"boobalan@jkkn.ac.in"},"license":"MIT","_id":"@boobalan_jkkn/bug-reporter-sdk@1.0.7","maintainers":[{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"}],"homepage":"https://github.com/boobalan-jkkn/centralized-bug-reporter#readme","bugs":{"url":"https://github.com/boobalan-jkkn/centralized-bug-reporter/issues"},"dist":{"shasum":"8b6a23a1ab60cee2908f4a0c10bd376d01cfda3f","tarball":"https://registry.npmjs.org/@boobalan_jkkn/bug-reporter-sdk/-/bug-reporter-sdk-1.0.7.tgz","fileCount":6,"integrity":"sha512-BYI2vWCar0cQx+qgy1yMOC2Bgw3vvxMgDrKJeRxM3TEEw60OtgYOCcNK3FNk74NUc3fhkK4qtltjkhCiLLaWYA==","signatures":[{"sig":"MEUCIG1dYM05hFb6Wulf5xFe8/XpiDCuoRV3jBR0ZlCF30L/AiEAhhCb+k6P98O2wnHglMhAE7zbLwYRnAmS6qPAv1maIF4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":76532},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch --external lucide-react","build":"tsup src/index.ts --format cjs,esm --dts --clean --external lucide-react","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"},"repository":{"url":"git+https://github.com/boobalan-jkkn/centralized-bug-reporter.git","type":"git","directory":"packages/bug-reporter-sdk"},"_npmVersion":"11.6.2","description":"Bug reporting SDK for JKKN centralized platform integration - Capture screenshots, console logs, and system info automatically","directories":{},"_nodeVersion":"22.17.0","dependencies":{"html2canvas":"^1.4.1","react-hot-toast":"^2.4.1","@boobalan_jkkn/shared":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5","@types/react":"^19","@types/react-dom":"^19"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0","lucide-react":"^0.400.0 || ^0.500.0 || ^0.552.0"},"_npmOperationalInternal":{"tmp":"tmp/bug-reporter-sdk_1.0.7_1762495202047_0.733375872901096","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@boobalan_jkkn/bug-reporter-sdk","version":"1.1.0","keywords":["bug-reporter","error-tracking","react","nextjs","bug-tracking","error-reporting","crash-reporting","screenshot","console-logs","jkkn"],"author":{"name":"Boobalan JKKN","email":"boobalan@jkkn.ac.in"},"license":"MIT","_id":"@boobalan_jkkn/bug-reporter-sdk@1.1.0","maintainers":[{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"}],"homepage":"https://github.com/boobalan-jkkn/centralized-bug-reporter#readme","bugs":{"url":"https://github.com/boobalan-jkkn/centralized-bug-reporter/issues"},"dist":{"shasum":"7c109067ba67d7778f381475fde4e341a731fd63","tarball":"https://registry.npmjs.org/@boobalan_jkkn/bug-reporter-sdk/-/bug-reporter-sdk-1.1.0.tgz","fileCount":6,"integrity":"sha512-4TdE141uM0djR7iqcvnrAoRdwQQuV3pobi/p7klOinRe/Tipc8UaWIr+rAES3jLSUIBK47XIRLP5bhk3qimxAA==","signatures":[{"sig":"MEUCIQDQqP8++gQYf2nPsdYcNRX1kk5bOR/OhoYxxJuQR1kEoAIgGR6Lq3P8/QFchAZ9wzWym9YstwgXawj+wK9pRzbNqh8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":86367},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch --external lucide-react","build":"tsup src/index.ts --format cjs,esm --dts --clean --external lucide-react","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"},"repository":{"url":"git+https://github.com/boobalan-jkkn/centralized-bug-reporter.git","type":"git","directory":"packages/bug-reporter-sdk"},"_npmVersion":"11.6.2","description":"Bug reporting SDK for JKKN centralized platform integration - Capture screenshots, console logs, and system info automatically","directories":{},"_nodeVersion":"22.17.0","dependencies":{"html2canvas":"^1.4.1","react-hot-toast":"^2.4.1","@boobalan_jkkn/shared":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5","@types/react":"^19","@types/react-dom":"^19"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0","lucide-react":"^0.400.0 || ^0.500.0 || ^0.552.0"},"_npmOperationalInternal":{"tmp":"tmp/bug-reporter-sdk_1.1.0_1763106072821_0.6626797186928477","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@boobalan_jkkn/bug-reporter-sdk","version":"1.3.0","keywords":["bug-reporter","error-tracking","react","nextjs","bug-tracking","error-reporting","crash-reporting","screenshot","console-logs","jkkn"],"author":{"name":"Boobalan JKKN","email":"boobalan@jkkn.ac.in"},"license":"MIT","_id":"@boobalan_jkkn/bug-reporter-sdk@1.3.0","maintainers":[{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"}],"homepage":"https://github.com/boobalan-jkkn/centralized-bug-reporter#readme","bugs":{"url":"https://github.com/boobalan-jkkn/centralized-bug-reporter/issues"},"dist":{"shasum":"cff60b0e34da1b50257d8b436d0ae6543ab92f79","tarball":"https://registry.npmjs.org/@boobalan_jkkn/bug-reporter-sdk/-/bug-reporter-sdk-1.3.0.tgz","fileCount":6,"integrity":"sha512-ElsaTL8hJTsOr8drQnqRGWjbuhogvyChe/zGaHn5uDRrib4+GGZulAbyUCxx+cdrOmIyxu/qw6dnpcJEi69Iow==","signatures":[{"sig":"MEQCID2xto4LJ2+HEMIdDhY1qlTUZRxD7xP7AroEkOM4djCUAiAGi1AljJbT1GMXW1F2QSw3rn3UDjDsODD/xRjaRdJUwA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":211546},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch --external lucide-react","build":"tsup src/index.ts --format cjs,esm --dts --clean --external lucide-react","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"},"repository":{"url":"git+https://github.com/boobalan-jkkn/centralized-bug-reporter.git","type":"git","directory":"packages/bug-reporter-sdk"},"_npmVersion":"11.6.2","description":"Bug reporting SDK with screenshot, file attachments, console logging, network trace, and leaderboard - Complete bug bounty platform for teams","directories":{},"_nodeVersion":"22.17.0","dependencies":{"html2canvas":"^1.4.1","react-hot-toast":"^2.4.1","@boobalan_jkkn/shared":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5","@types/react":"^19","@types/react-dom":"^19"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0","lucide-react":"^0.400.0 || ^0.500.0 || ^0.552.0"},"_npmOperationalInternal":{"tmp":"tmp/bug-reporter-sdk_1.3.0_1767370010552_0.45725905822457635","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"@boobalan_jkkn/bug-reporter-sdk","version":"1.3.2","description":"Bug reporting SDK with screenshot, file attachments, console logging, network trace, and leaderboard - Complete bug bounty platform for teams","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean --external lucide-react","dev":"tsup src/index.ts --format cjs,esm --dts --watch --external lucide-react","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"keywords":["bug-reporter","error-tracking","react","nextjs","bug-tracking","error-reporting","crash-reporting","screenshot","console-logs","jkkn"],"author":{"name":"Boobalan JKKN","email":"boobalan@jkkn.ac.in"},"repository":{"type":"git","url":"git+https://github.com/boobalan-jkkn/centralized-bug-reporter.git","directory":"packages/bug-reporter-sdk"},"homepage":"https://github.com/boobalan-jkkn/centralized-bug-reporter#readme","bugs":{"url":"https://github.com/boobalan-jkkn/centralized-bug-reporter/issues"},"license":"MIT","peerDependencies":{"lucide-react":"^0.400.0 || ^0.500.0 || ^0.552.0","react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0"},"dependencies":{"@boobalan_jkkn/shared":"^1.0.1","html2canvas":"^1.4.1","react-hot-toast":"^2.4.1"},"devDependencies":{"@types/react":"^19","@types/react-dom":"^19","tsup":"^8.0.1","typescript":"^5"},"publishConfig":{"access":"public"},"_id":"@boobalan_jkkn/bug-reporter-sdk@1.3.2","_nodeVersion":"22.17.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-daRQ2+6DL88jI5jPn9uecwbZi/VrWhz2h5B7ZzIRuKXbOrKiin1FSbAfQ0JAEXiit3Izc52r76gQYzuIK8Cdbg==","shasum":"8f9162c53506279c1bb2a1f2ba0efe9ca8138a6a","tarball":"https://registry.npmjs.org/@boobalan_jkkn/bug-reporter-sdk/-/bug-reporter-sdk-1.3.2.tgz","fileCount":6,"unpackedSize":212706,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCS85AuVO+tpc4NlyfVTohWZMg/0iDMWdFvRvXx/819zgIhAOS1aohZroSc3BdA/YJqjfibrRc8vkg//FtL+jDh9D5n"}]},"_npmUser":{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"},"directories":{},"maintainers":[{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bug-reporter-sdk_1.3.2_1767381070055_0.1264567392146534"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-04T16:29:52.156Z","modified":"2026-01-02T19:11:10.394Z","1.0.0":"2025-11-04T16:29:52.419Z","1.0.1":"2025-11-05T16:43:44.631Z","1.0.2":"2025-11-05T16:52:07.431Z","1.0.3":"2025-11-05T17:06:20.988Z","1.0.4":"2025-11-05T17:15:39.910Z","1.0.5":"2025-11-07T05:52:05.950Z","1.0.6":"2025-11-07T05:55:32.204Z","1.0.7":"2025-11-07T06:00:02.237Z","1.1.0":"2025-11-14T07:41:13.013Z","1.3.0":"2026-01-02T16:06:50.727Z","1.3.2":"2026-01-02T19:11:10.188Z"},"bugs":{"url":"https://github.com/boobalan-jkkn/centralized-bug-reporter/issues"},"author":{"name":"Boobalan JKKN","email":"boobalan@jkkn.ac.in"},"license":"MIT","homepage":"https://github.com/boobalan-jkkn/centralized-bug-reporter#readme","keywords":["bug-reporter","error-tracking","react","nextjs","bug-tracking","error-reporting","crash-reporting","screenshot","console-logs","jkkn"],"repository":{"type":"git","url":"git+https://github.com/boobalan-jkkn/centralized-bug-reporter.git","directory":"packages/bug-reporter-sdk"},"description":"Bug reporting SDK with screenshot, file attachments, console logging, network trace, and leaderboard - Complete bug bounty platform for teams","maintainers":[{"name":"boobalan_jkkn","email":"boobalan.a@jkkn.ac.in"}],"readme":"# @boobalan_jkkn/bug-reporter-sdk\r\n\r\n**Version 1.3.0** - Complete Bug Bounty Platform SDK for React Applications\r\n\r\n[![npm version](https://img.shields.io/npm/v/@boobalan_jkkn/bug-reporter-sdk.svg)](https://www.npmjs.com/package/@boobalan_jkkn/bug-reporter-sdk)\r\n[![npm downloads](https://img.shields.io/npm/dm/@boobalan_jkkn/bug-reporter-sdk.svg)](https://www.npmjs.com/package/@boobalan_jkkn/bug-reporter-sdk)\r\n\r\n---\r\n\r\n## 🚀 Features\r\n\r\n- 🐛 **Floating Bug Button** - One-click bug reporting widget\r\n- 📸 **Mandatory Screenshot Capture** - Automatically captures page state\r\n- 📎 **File Attachments** - Upload up to 5 files per bug report (NEW in v1.3.0)\r\n- 🔍 **Automatic Console Logs** - Captures last 100 console logs automatically\r\n- 🌐 **Network Request Capture** - Captures HTTP/XHR requests with timing info\r\n- 📊 **Enhanced Bug Dashboard** - View bugs with filters, stats, and attachments (ENHANCED in v1.3.0)\r\n- 🏆 **Leaderboard System** - Track top bug reporters with points and prizes (NEW in v1.3.0)\r\n- 🔒 **Secure API Key Authentication** - Safe integration\r\n- ⚡ **Lightweight** - Minimal performance impact\r\n- 🎨 **Customizable** - Flexible configuration options\r\n- 📱 **Mobile Responsive** - Works on all devices\r\n\r\n---\r\n\r\n## 📦 Installation\r\n\r\n```bash\r\nnpm install @boobalan_jkkn/bug-reporter-sdk\r\n```\r\n\r\n**Peer Dependencies:**\r\n- React 18.x or 19.x\r\n- React DOM 18.x or 19.x\r\n- lucide-react ^0.400.0 or higher\r\n\r\n---\r\n\r\n## 🔧 Quick Start\r\n\r\n### 1. Get Your API Key\r\n\r\nRegister your application on the JKKN Bug Reporter Platform:\r\n- Go to: `https://your-platform-url.com/org/your-org/applications`\r\n- Create or select your application\r\n- Copy the API key from the application settings\r\n\r\n### 2. Wrap Your App with BugReporterProvider\r\n\r\n**For Next.js 13+ (App Router):**\r\n\r\n```tsx\r\n// app/layout.tsx\r\nimport { BugReporterProvider } from '@boobalan_jkkn/bug-reporter-sdk';\r\n\r\nexport default function RootLayout({ children }) {\r\n  return (\r\n    <html lang=\"en\">\r\n      <body>\r\n        <BugReporterProvider\r\n          apiKey={process.env.NEXT_PUBLIC_BUG_REPORTER_API_KEY!}\r\n          apiUrl={process.env.NEXT_PUBLIC_BUG_REPORTER_API_URL!}\r\n          enabled={true}\r\n          debug={process.env.NODE_ENV === 'development'}\r\n          userContext={{\r\n            email: 'user@example.com',  // Optional: Current user email\r\n            name: 'John Doe'             // Optional: Current user name\r\n          }}\r\n        >\r\n          {children}\r\n        </BugReporterProvider>\r\n      </body>\r\n    </html>\r\n  );\r\n}\r\n```\r\n\r\n**For Create React App:**\r\n\r\n```tsx\r\n// src/App.tsx\r\nimport { BugReporterProvider } from '@boobalan_jkkn/bug-reporter-sdk';\r\n\r\nfunction App() {\r\n  return (\r\n    <BugReporterProvider\r\n      apiKey={process.env.REACT_APP_BUG_REPORTER_API_KEY!}\r\n      apiUrl={process.env.REACT_APP_BUG_REPORTER_API_URL!}\r\n      enabled={true}\r\n    >\r\n      <YourApp />\r\n    </BugReporterProvider>\r\n  );\r\n}\r\n```\r\n\r\n### 3. Set Environment Variables\r\n\r\nCreate a `.env.local` file:\r\n\r\n```env\r\n# Next.js\r\nNEXT_PUBLIC_BUG_REPORTER_API_KEY=app_xxxxxxxxxxxxxxxxxxxxx\r\nNEXT_PUBLIC_BUG_REPORTER_API_URL=https://your-platform.vercel.app\r\n\r\n# Create React App\r\nREACT_APP_BUG_REPORTER_API_KEY=app_xxxxxxxxxxxxxxxxxxxxx\r\nREACT_APP_BUG_REPORTER_API_URL=https://your-platform.vercel.app\r\n```\r\n\r\n### 4. Test It!\r\n\r\nA red bug button will appear in the bottom-right corner. Click it to:\r\n1. 📸 Automatically capture a screenshot\r\n2. 📎 Optionally attach files (images, PDFs, logs)\r\n3. 📝 Fill out the bug report form\r\n4. 🚀 Submit with console logs and network trace included\r\n\r\n---\r\n\r\n## 🆕 What's New in v1.3.0\r\n\r\n### 📎 File Attachments\r\n\r\nUpload up to 5 files per bug report to provide more context:\r\n\r\n- **Supported File Types:** Images (PNG, JPG, GIF, WebP), PDF, TXT, CSV, JSON\r\n- **File Size Limit:** 10MB per file\r\n- **Image Previews:** Thumbnails for image files\r\n- **Drag & Drop:** Easy file selection\r\n- **Validation:** Automatic size and type checking\r\n\r\n**How to Use:**\r\n1. Click the bug button\r\n2. Fill out bug details\r\n3. Click \"Choose Files\" to add attachments\r\n4. Preview shows selected files\r\n5. Remove files if needed\r\n6. Submit report\r\n\r\n### 🔍 Enhanced Bug Viewing (MyBugsPanel)\r\n\r\nCompletely redesigned bug viewing experience:\r\n\r\n- **📊 Statistics Dashboard:** Total, Open, In Progress, Resolved counts\r\n- **🎯 Advanced Filtering:** Filter by status (All, Open, In Progress, Resolved, Closed)\r\n- **📋 Expandable Cards:** Click to view full details\r\n- **📎 Attachment Viewer:** Grid layout with image previews\r\n- **🏷️ Status & Category Badges:** Color-coded visual indicators\r\n- **⏰ Smart Dates:** \"Just now\", \"5m ago\", \"2h ago\" formatting\r\n- **🔗 Clickable Links:** Page URLs and attachment links open in new tab\r\n- **✨ Modern Design:** Professional UI with hover effects\r\n\r\n### 🏆 Leaderboard System (NEW)\r\n\r\nTrack and reward top bug reporters:\r\n\r\n- **🥇 Medal System:** Gold, Silver, Bronze for top 3\r\n- **📅 Period Toggles:** All Time, This Week, This Month\r\n- **🎁 Prize Display:** Shows weekly/monthly prize amounts\r\n- **📊 Points System:** Configurable points per priority level\r\n- **👤 User Profiles:** Avatar, name, email display\r\n- **📈 Rankings:** Bugs count and total points per user\r\n- **🎨 Beautiful Table:** Professional leaderboard design\r\n\r\n---\r\n\r\n## 📚 API Reference\r\n\r\n### BugReporterProvider Props\r\n\r\n| Prop | Type | Required | Default | Description |\r\n|------|------|----------|---------|-------------|\r\n| `apiKey` | `string` | ✅ Yes | - | Your application API key from the platform |\r\n| `apiUrl` | `string` | ✅ Yes | - | Platform API URL (e.g., `https://bugs.example.com`) |\r\n| `enabled` | `boolean` | ❌ No | `true` | Enable/disable bug reporting widget |\r\n| `debug` | `boolean` | ❌ No | `false` | Enable debug logging in console |\r\n| `userContext` | `object` | ❌ No | `undefined` | User information to attach to bug reports |\r\n| `userContext.email` | `string` | ❌ No | - | Reporter's email address |\r\n| `userContext.name` | `string` | ❌ No | - | Reporter's display name |\r\n| `networkCapture` | `boolean` | ❌ No | `true` | Enable/disable network request capture |\r\n| `networkBufferSize` | `number` | ❌ No | `10` | Max network requests to store (circular buffer) |\r\n| `networkExcludePatterns` | `RegExp[]` | ❌ No | `[]` | URL patterns to exclude from capture |\r\n\r\n### MyBugsPanel Component\r\n\r\nDisplay and manage bugs submitted by the current user:\r\n\r\n```tsx\r\nimport { MyBugsPanel } from '@boobalan_jkkn/bug-reporter-sdk';\r\n\r\nfunction MyBugsPage() {\r\n  return (\r\n    <div className=\"container\">\r\n      <h1>My Submitted Bugs</h1>\r\n      <MyBugsPanel />\r\n    </div>\r\n  );\r\n}\r\n```\r\n\r\n**Features:**\r\n- Statistics bar with bug counts\r\n- Filter by status\r\n- Expandable bug cards\r\n- Attachment grid viewer\r\n- Screenshot preview\r\n- Status badges\r\n\r\n**No props required** - Uses context from `BugReporterProvider`.\r\n\r\n### LeaderboardPanel Component (NEW in v1.3.0)\r\n\r\nDisplay leaderboard rankings for bug reporters:\r\n\r\n```tsx\r\nimport { LeaderboardPanel } from '@boobalan_jkkn/bug-reporter-sdk';\r\n\r\nfunction LeaderboardPage() {\r\n  return (\r\n    <div className=\"container\">\r\n      <LeaderboardPanel\r\n        applicationId=\"your-app-id\"\r\n        limit={10}\r\n        defaultPeriod=\"all-time\"\r\n      />\r\n    </div>\r\n  );\r\n}\r\n```\r\n\r\n**Props:**\r\n\r\n| Prop | Type | Required | Default | Description |\r\n|------|------|----------|---------|-------------|\r\n| `applicationId` | `string` | ✅ Yes | - | Application ID to show leaderboard for |\r\n| `limit` | `number` | ❌ No | `10` | Maximum number of entries to display |\r\n| `defaultPeriod` | `'all-time' \\| 'weekly' \\| 'monthly'` | ❌ No | `'all-time'` | Initial time period |\r\n\r\n**Features:**\r\n- Period selector (All Time, This Week, This Month)\r\n- Prize information display\r\n- Points system breakdown\r\n- Top 3 with medal icons\r\n- User avatars and profiles\r\n- Sortable rankings\r\n\r\n---\r\n\r\n## 📖 Usage Examples\r\n\r\n### Basic Setup (Minimal)\r\n\r\n```tsx\r\nimport { BugReporterProvider } from '@boobalan_jkkn/bug-reporter-sdk';\r\n\r\n<BugReporterProvider\r\n  apiKey=\"app_your_api_key\"\r\n  apiUrl=\"https://bugs.yourplatform.com\"\r\n>\r\n  <YourApp />\r\n</BugReporterProvider>\r\n```\r\n\r\n### With User Context\r\n\r\n```tsx\r\nimport { BugReporterProvider } from '@boobalan_jkkn/bug-reporter-sdk';\r\n\r\n<BugReporterProvider\r\n  apiKey=\"app_your_api_key\"\r\n  apiUrl=\"https://bugs.yourplatform.com\"\r\n  userContext={{\r\n    email: currentUser.email,\r\n    name: currentUser.name\r\n  }}\r\n>\r\n  <YourApp />\r\n</BugReporterProvider>\r\n```\r\n\r\n### Complete Dashboard with All Components\r\n\r\n```tsx\r\nimport {\r\n  BugReporterProvider,\r\n  MyBugsPanel,\r\n  LeaderboardPanel\r\n} from '@boobalan_jkkn/bug-reporter-sdk';\r\n\r\nfunction BugDashboard() {\r\n  return (\r\n    <BugReporterProvider\r\n      apiKey={process.env.NEXT_PUBLIC_BUG_REPORTER_API_KEY!}\r\n      apiUrl={process.env.NEXT_PUBLIC_BUG_REPORTER_API_URL!}\r\n      userContext={{\r\n        email: user.email,\r\n        name: user.name\r\n      }}\r\n    >\r\n      <div className=\"dashboard\">\r\n        <section>\r\n          <h2>My Bug Reports</h2>\r\n          <MyBugsPanel />\r\n        </section>\r\n\r\n        <section>\r\n          <h2>Leaderboard</h2>\r\n          <LeaderboardPanel\r\n            applicationId=\"your-app-id\"\r\n            limit={20}\r\n            defaultPeriod=\"monthly\"\r\n          />\r\n        </section>\r\n      </div>\r\n    </BugReporterProvider>\r\n  );\r\n}\r\n```\r\n\r\n### Disable in Production\r\n\r\n```tsx\r\n<BugReporterProvider\r\n  apiKey={process.env.NEXT_PUBLIC_BUG_REPORTER_API_KEY!}\r\n  apiUrl={process.env.NEXT_PUBLIC_BUG_REPORTER_API_URL!}\r\n  enabled={process.env.NODE_ENV !== 'production'} // Only dev/staging\r\n>\r\n  <YourApp />\r\n</BugReporterProvider>\r\n```\r\n\r\n---\r\n\r\n## 🎯 How It Works\r\n\r\n### Step 1: User Encounters a Bug\r\nUser clicks the red floating bug button (bottom-right).\r\n\r\n### Step 2: Screenshot Capture (Automatic)\r\n- Page screenshot captured automatically using `html2canvas`\r\n- Takes ~800ms for optimal quality\r\n- If capture fails, widget doesn't open (user can retry)\r\n\r\n### Step 3: User Fills Form\r\n- **Category** (required): Bug, Feature Request, UI/Design, Performance, Security, Other\r\n- **Title** (required): Min 5 characters\r\n- **Description** (required): Min 10 characters\r\n- **Attachments** (optional): Up to 5 files, 10MB each\r\n- **Screenshot** (required): Shows preview and status\r\n\r\n### Step 4: Console Logs & Network Trace (Automatic)\r\n- SDK captures console activity from the moment it loads\r\n- Stores last 100 logs with timestamps\r\n- Captures last 10 network requests with timing info\r\n\r\n### Step 5: Submit Bug Report\r\nComplete payload sent to platform with all context data.\r\n\r\n---\r\n\r\n## 🔐 Security\r\n\r\n- API keys are scoped to specific applications\r\n- File uploads validated for type and size\r\n- Sensitive headers automatically filtered from network trace\r\n- Screenshots are base64 encoded and stored securely\r\n- Console logs sanitized before transmission\r\n- User context is optional and controllable\r\n- All attachments stored in secure Supabase Storage\r\n\r\n---\r\n\r\n## 📊 Performance\r\n\r\n- **Bundle Size:** ~25 KB gzipped (increased from v1.2.0 due to new components)\r\n- **Screenshot Capture:** ~800ms average\r\n- **File Upload:** Depends on file size and network\r\n- **Console Logging:** Minimal overhead (< 1ms per log)\r\n- **Memory Usage:** Stores last 100 logs (~50-100 KB)\r\n- **Network Capture:** Circular buffer, minimal memory impact\r\n\r\n---\r\n\r\n## 🌐 Browser Support\r\n\r\n- Chrome 90+\r\n- Edge 90+\r\n- Firefox 88+\r\n- Safari 14+\r\n- Mobile browsers (iOS Safari 14+, Chrome Mobile)\r\n\r\n---\r\n\r\n## 📄 Changelog\r\n\r\n### v1.3.0 (2026-01-02)\r\n- ✨ **NEW:** File attachment support (up to 5 files, 10MB each)\r\n- ✨ **NEW:** LeaderboardPanel component with period toggles\r\n- ✨ **NEW:** Prize display and points system visualization\r\n- ✨ **ENHANCED:** MyBugsPanel with statistics, filters, and attachment viewer\r\n- ✨ **ENHANCED:** Expandable bug cards with full details\r\n- 🎨 **IMPROVED:** Modern UI with status badges and category badges\r\n- 🎨 **IMPROVED:** Smart date formatting (\"5m ago\", \"2h ago\")\r\n- 📎 **IMPROVED:** Attachment grid viewer with image previews\r\n- 🏆 **IMPROVED:** Medal system for top 3 leaderboard positions\r\n- 🐛 **FIXED:** Status consistency (changed 'new' to 'open')\r\n\r\n### v1.2.0 (2026-01-02)\r\n- ✨ **NEW:** Network request capture for fetch() and XMLHttpRequest\r\n- ✨ **NEW:** Configurable network buffer size (default: 10 requests)\r\n- ✨ **NEW:** Custom exclude patterns for network capture via `networkExcludePatterns`\r\n- 🔒 **SECURITY:** Automatic filtering of sensitive headers (Authorization, Cookie, API keys)\r\n- 🔒 **SECURITY:** Auto-exclusion of SDK's own API calls to prevent recursion\r\n- 📊 **ENHANCED:** Network request count added to metadata\r\n- 🧹 **IMPROVED:** Automatic buffer clearing after successful bug submission\r\n\r\n### v1.1.0 (2025-01-14)\r\n- ✨ **NEW:** Mandatory screenshot capture - widget only opens after successful capture\r\n- ✨ **NEW:** Automatic console log capture - captures last 100 logs with timestamps\r\n- ✨ **NEW:** Enhanced validation - submit blocked without screenshot\r\n- 🎨 **IMPROVED:** Better UX with visual feedback for required fields\r\n- 🐛 **FIXED:** Screenshot failures now handled gracefully\r\n\r\n### v1.0.7 (2025-01-10)\r\n- 🐛 Bug fixes and performance improvements\r\n\r\n### v1.0.0 (2025-01-04)\r\n- 🎉 Initial release\r\n\r\n---\r\n\r\n## 🔄 Updating from Previous Versions\r\n\r\n### From v1.2.0 to v1.3.0\r\n\r\n```bash\r\nnpm install @boobalan_jkkn/bug-reporter-sdk@1.3.0\r\n```\r\n\r\n**✅ No breaking changes!** Fully backward compatible.\r\n\r\n**New Features:**\r\n- File attachments automatically available in bug widget\r\n- Enhanced MyBugsPanel with new features\r\n- LeaderboardPanel component ready to use\r\n\r\n**Migration Steps:**\r\n1. Update package version\r\n2. (Optional) Add LeaderboardPanel to your dashboard\r\n3. Enjoy enhanced bug viewing experience\r\n\r\n### From v1.0.x or v1.1.0\r\n\r\n```bash\r\nnpm install @boobalan_jkkn/bug-reporter-sdk@latest\r\n```\r\n\r\nAll features work automatically - no configuration changes needed!\r\n\r\n---\r\n\r\n## 🐛 Troubleshooting\r\n\r\n### Issue: File Upload Fails\r\n\r\n**Symptoms:**\r\n- Error message when selecting files\r\n- Files not appearing in bug report\r\n\r\n**Solutions:**\r\n1. **Check File Size:** Max 10MB per file\r\n2. **Check File Type:** Only images, PDFs, text files, CSV, JSON allowed\r\n3. **Check File Count:** Max 5 files per report\r\n4. **Browser Compatibility:** Use modern browsers\r\n\r\n### Issue: Leaderboard Not Showing\r\n\r\n**Symptoms:**\r\n- \"Leaderboard is disabled\" message\r\n- No leaderboard data\r\n\r\n**Solutions:**\r\n1. **Check Configuration:** Verify leaderboard is enabled in organization settings\r\n2. **Check Application ID:** Ensure correct `applicationId` prop\r\n3. **Check API Key:** Verify API key has access to application\r\n4. **Check Network:** Open browser DevTools to see API errors\r\n\r\n### Issue: Screenshot Not Capturing\r\n\r\n**Symptoms:**\r\n- Widget doesn't open after clicking button\r\n- Error: \"Failed to capture screenshot. Please try again.\"\r\n\r\n**Solutions:**\r\n1. **Check CORS:** Ensure all external images/resources have CORS enabled\r\n2. **Browser Compatibility:** Use modern browsers (Chrome, Edge, Firefox, Safari)\r\n3. **Canvas Tainted:** Check for cross-origin images without `crossOrigin=\"anonymous\"`\r\n4. **Try Again:** Close any overlays/modals and retry\r\n\r\n---\r\n\r\n## 🤝 Contributing\r\n\r\nContributions are welcome! Please follow these steps:\r\n\r\n1. Fork the repository\r\n2. Create a feature branch: `git checkout -b feature/amazing-feature`\r\n3. Commit changes: `git commit -m 'Add amazing feature'`\r\n4. Push to branch: `git push origin feature/amazing-feature`\r\n5. Open a pull request\r\n\r\n---\r\n\r\n## 📞 Support\r\n\r\n- **GitHub Issues:** [Report a bug](https://github.com/boobalan-jkkn/centralized-bug-reporter/issues)\r\n- **Email:** boobalan@jkkn.ac.in\r\n- **Documentation:** https://your-platform-url.com/docs\r\n\r\n---\r\n\r\n## 📜 License\r\n\r\nMIT © Boobalan JKKN\r\n\r\n---\r\n\r\n## 🔗 Links\r\n\r\n- **npm Package:** https://www.npmjs.com/package/@boobalan_jkkn/bug-reporter-sdk\r\n- **GitHub Repository:** https://github.com/boobalan-jkkn/centralized-bug-reporter\r\n- **Bug Reporter Platform:** https://your-platform.vercel.app\r\n\r\n---\r\n\r\n**Made with ❤️ by JKKN Team**\r\n","readmeFilename":"README.md"}