{"_id":"@carpetai/rrweb-recorder","_rev":"12-c9ab87784061c53fb0f7dbe0be3a0ae4","name":"@carpetai/rrweb-recorder","dist-tags":{"latest":"1.4.2"},"versions":{"1.0.0":{"name":"@carpetai/rrweb-recorder","version":"1.0.0","keywords":["rrweb","session-recording","react","user-analytics","session-replay"],"author":{"name":"CarpetAI"},"license":"MIT","_id":"@carpetai/rrweb-recorder@1.0.0","maintainers":[{"name":"phodonou","email":"prince.hodonou0@gmail.com"}],"homepage":"https://github.com/carpetai/rrweb-recorder#readme","bugs":{"url":"https://github.com/carpetai/rrweb-recorder/issues"},"dist":{"shasum":"40490b653e99c2e34c36f602649de55ad09274a7","tarball":"https://registry.npmjs.org/@carpetai/rrweb-recorder/-/rrweb-recorder-1.0.0.tgz","fileCount":12,"integrity":"sha512-uxWeG/2MRfuFH/dI+vZZhU7wQWoIRU+WPTC4+6IucIgHEPZsLrx/Ivyseo2fGTivKkK9ZpN2B461aT7ijvO7yQ==","signatures":[{"sig":"MEYCIQC7JuJz2dDKbrHyDPm9ITK/Miig8e3SuKDo3GD/UUpE3wIhAJttdmiidmw33tYSNttF3pVp7aVhHECYqIfi7XMrrJGA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133785},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","gitHead":"c049af83416d7bc3575b27099e7fb5d8d971c9ab","scripts":{"dev":"rollup -c -w","build":"rollup -c","clean":"rimraf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"phodonou","actor":{"name":"phodonou","type":"user","email":"prince.hodonou0@gmail.com"},"email":"prince.hodonou0@gmail.com"},"repository":{"url":"git+https://github.com/carpetai/rrweb-recorder.git","type":"git"},"_npmVersion":"10.2.4","description":"A React component for recording user sessions using rrweb. Meant to be used with CarpetAI's Analytics Agent.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"rrweb":"^2.0.0-alpha.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","rollup":"^3.0.0","typescript":"^5.0.0","@types/node":"^24.0.3","@types/react":"^18.0.0","rollup-plugin-dts":"^5.0.0","@rollup/plugin-commonjs":"^25.0.0","@rollup/plugin-typescript":"^11.0.0","@rollup/plugin-node-resolve":"^15.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/rrweb-recorder_1.0.0_1750540800254_0.46325370765509866","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@carpetai/rrweb-recorder","version":"1.0.1","keywords":["rrweb","session-recording","react","user-analytics","session-replay"],"author":{"name":"CarpetAI"},"license":"MIT","_id":"@carpetai/rrweb-recorder@1.0.1","maintainers":[{"name":"phodonou","email":"prince.hodonou0@gmail.com"}],"homepage":"https://github.com/CarpetAI/carpetai-rrwebrecorder#readme","bugs":{"url":"https://github.com/CarpetAI/carpetai-rrwebrecorder/issues"},"dist":{"shasum":"7ad62294a167f0fe17abe5ab26356b5cc4c4a939","tarball":"https://registry.npmjs.org/@carpetai/rrweb-recorder/-/rrweb-recorder-1.0.1.tgz","fileCount":12,"integrity":"sha512-lEFCAaaPd3fYtWvKew3iKcBl1Iw/bcWaHdSFpgkFWoVs9SjtYvzmc21ofF0t90nhN0FXhATfEgPdH38f0ZDz2g==","signatures":[{"sig":"MEUCIQDi/lDCztmNcGhVxGevEJHAtIyRjstFQxXqFkQhwjjCAQIgAdp976V7i/NrvorrE3eru3duCFGveqDM1ZGeXdL+8is=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133805},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","gitHead":"3e4a896a27b8a9b5174c6b5f48ce51109f5a896d","scripts":{"dev":"rollup -c -w","build":"rollup -c","clean":"rimraf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"phodonou","actor":{"name":"phodonou","type":"user","email":"prince.hodonou0@gmail.com"},"email":"prince.hodonou0@gmail.com"},"repository":{"url":"git+https://github.com/CarpetAI/carpetai-rrwebrecorder.git","type":"git"},"_npmVersion":"10.2.4","description":"A React component for recording user sessions using rrweb. Meant to be used with CarpetAI's Analytics Agent.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"rrweb":"^2.0.0-alpha.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","rollup":"^3.0.0","typescript":"^5.0.0","@types/node":"^24.0.3","@types/react":"^18.0.0","rollup-plugin-dts":"^5.0.0","@rollup/plugin-commonjs":"^25.0.0","@rollup/plugin-typescript":"^11.0.0","@rollup/plugin-node-resolve":"^15.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/rrweb-recorder_1.0.1_1750541206358_0.0443112481528074","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@carpetai/rrweb-recorder","version":"1.1.0","keywords":["rrweb","session-recording","react","user-analytics","session-replay"],"author":{"name":"CarpetAI"},"license":"MIT","_id":"@carpetai/rrweb-recorder@1.1.0","maintainers":[{"name":"phodonou","email":"prince.hodonou0@gmail.com"}],"homepage":"https://github.com/CarpetAI/carpetai-rrwebrecorder#readme","bugs":{"url":"https://github.com/CarpetAI/carpetai-rrwebrecorder/issues"},"dist":{"shasum":"bc0c917bd8b814b18f1e423c570f6288186cc44c","tarball":"https://registry.npmjs.org/@carpetai/rrweb-recorder/-/rrweb-recorder-1.1.0.tgz","fileCount":12,"integrity":"sha512-ohnW/0Wa6b/kRDKbCCS17YGkNDXJo+POuYeWErU1MaTv0L/nSEw/WVYwZY9pDAIARDavh6mRtQ872WP0+2PmtA==","signatures":[{"sig":"MEYCIQDPoR8EbseK+K8DUaTOWqiRqwJBs1OSeYJM1EyGrVX3fQIhAJUEavHT3YeTdjAaSfRuBOtnYe6kRw8D9gVuTGAreeq3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":132534},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","gitHead":"d1a9e80e736889093525f32ac51a082f986c2da5","scripts":{"dev":"rollup -c -w","build":"rollup -c","clean":"rimraf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"phodonou","actor":{"name":"phodonou","type":"user","email":"prince.hodonou0@gmail.com"},"email":"prince.hodonou0@gmail.com"},"repository":{"url":"git+https://github.com/CarpetAI/carpetai-rrwebrecorder.git","type":"git"},"_npmVersion":"10.2.4","description":"A React component for recording user sessions using rrweb. Meant to be used with CarpetAI's Analytics Agent.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"rrweb":"^2.0.0-alpha.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","rollup":"^3.0.0","typescript":"^5.0.0","@types/node":"^24.0.3","@types/react":"^18.0.0","rollup-plugin-dts":"^5.0.0","@rollup/plugin-commonjs":"^25.0.0","@rollup/plugin-typescript":"^11.0.0","@rollup/plugin-node-resolve":"^15.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/rrweb-recorder_1.1.0_1750544745377_0.5440664373106601","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@carpetai/rrweb-recorder","version":"1.1.1","keywords":["rrweb","session-recording","react","user-analytics","session-replay"],"author":{"name":"CarpetAI"},"license":"MIT","_id":"@carpetai/rrweb-recorder@1.1.1","maintainers":[{"name":"phodonou","email":"prince.hodonou0@gmail.com"}],"homepage":"https://github.com/CarpetAI/carpetai-rrwebrecorder#readme","bugs":{"url":"https://github.com/CarpetAI/carpetai-rrwebrecorder/issues"},"dist":{"shasum":"1bd70ec469c28dd625097145d41563cdc153c709","tarball":"https://registry.npmjs.org/@carpetai/rrweb-recorder/-/rrweb-recorder-1.1.1.tgz","fileCount":12,"integrity":"sha512-yKr+s8E175oC7m747sTgp4vBLGdvbzzRhPhbcFhV9p+fQLjdKZLu5aHYbf99g9agtGokbdD4Lzj9xh3rBy5pOA==","signatures":[{"sig":"MEYCIQCmXIYTgLEe3KUfPvDHSXhA66bg+3Vj7QMm0vV25PzXLQIhAPf6uh7TGIYHmzrPtCqoZ+Y4nTSSR0V8dovsXlMKQaVR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":132376},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","gitHead":"960515f05ca5885c1a5088013801b0a213ccc830","scripts":{"dev":"rollup -c -w","build":"rollup -c","clean":"rimraf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"phodonou","actor":{"name":"phodonou","type":"user","email":"prince.hodonou0@gmail.com"},"email":"prince.hodonou0@gmail.com"},"repository":{"url":"git+https://github.com/CarpetAI/carpetai-rrwebrecorder.git","type":"git"},"_npmVersion":"10.2.4","description":"A React component for recording user sessions using rrweb. Meant to be used with CarpetAI's Analytics Agent.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"rrweb":"^2.0.0-alpha.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","rollup":"^3.0.0","typescript":"^5.0.0","@types/node":"^24.0.3","@types/react":"^18.0.0","rollup-plugin-dts":"^5.0.0","@rollup/plugin-commonjs":"^25.0.0","@rollup/plugin-typescript":"^11.0.0","@rollup/plugin-node-resolve":"^15.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/rrweb-recorder_1.1.1_1750545624379_0.8153398893434309","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@carpetai/rrweb-recorder","version":"1.1.2","keywords":["rrweb","session-recording","react","user-analytics","session-replay"],"author":{"name":"CarpetAI"},"license":"MIT","_id":"@carpetai/rrweb-recorder@1.1.2","maintainers":[{"name":"phodonou","email":"prince.hodonou0@gmail.com"}],"homepage":"https://github.com/CarpetAI/carpetai-rrwebrecorder#readme","bugs":{"url":"https://github.com/CarpetAI/carpetai-rrwebrecorder/issues"},"dist":{"shasum":"f932c894463ab0e534dac02d038d31c6b0db1f0d","tarball":"https://registry.npmjs.org/@carpetai/rrweb-recorder/-/rrweb-recorder-1.1.2.tgz","fileCount":12,"integrity":"sha512-lxwERCLu51DiE9LjK+nKu7PacoW6UQkv9Dh0446jUFRJnHlxPCo//oHkN76wbFdRUtM+0kIsA7irGU3beaYROg==","signatures":[{"sig":"MEYCIQCpA3rgGjmxZk3GSlqmYgHr3d/V5S9j7cbmnK6yarNoSwIhALlIE5LK7mzRIPyN9FLX5C27164sli+c9E0H8P7aSg3p","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":132507},"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"}},"gitHead":"f5a6fcf48c837f4766ccbf6d79f0b24dc648186a","scripts":{"dev":"rollup -c -w","build":"rollup -c","clean":"rimraf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"phodonou","actor":{"name":"phodonou","type":"user","email":"prince.hodonou0@gmail.com"},"email":"prince.hodonou0@gmail.com"},"repository":{"url":"git+https://github.com/CarpetAI/carpetai-rrwebrecorder.git","type":"git"},"_npmVersion":"10.2.4","description":"A React component for recording user sessions using rrweb. Meant to be used with CarpetAI's Analytics Agent.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"rrweb":"^2.0.0-alpha.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","rollup":"^3.0.0","typescript":"^5.0.0","@types/node":"^24.0.3","@types/react":"^18.0.0","rollup-plugin-dts":"^5.0.0","@rollup/plugin-commonjs":"^25.0.0","@rollup/plugin-typescript":"^11.0.0","@rollup/plugin-node-resolve":"^15.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/rrweb-recorder_1.1.2_1750546092515_0.7084290959948325","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@carpetai/rrweb-recorder","version":"1.1.3","keywords":["rrweb","session-recording","react","user-analytics","session-replay"],"author":{"name":"CarpetAI"},"license":"MIT","_id":"@carpetai/rrweb-recorder@1.1.3","maintainers":[{"name":"phodonou","email":"prince.hodonou0@gmail.com"}],"homepage":"https://github.com/CarpetAI/carpetai-rrwebrecorder#readme","bugs":{"url":"https://github.com/CarpetAI/carpetai-rrwebrecorder/issues"},"dist":{"shasum":"a3ded941a37650e41d33a12b25a89d5aafb1927a","tarball":"https://registry.npmjs.org/@carpetai/rrweb-recorder/-/rrweb-recorder-1.1.3.tgz","fileCount":12,"integrity":"sha512-Mq47aEqZfo2BxCi3s/MFwlsB3HeFBGpxJhpIfXgem0+ptvNa+dBSF9o3+NV9fRbOOfkvwQwGHD20GL5nqKJQ8Q==","signatures":[{"sig":"MEUCIQCc2IJknRsf3J+pT5d5li09cjhsQ716sui/5JDnxSL/GQIgQIQiSEtHsgER6CYi6sGQGx5tYwfnLW8HMiPaTua5cE4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":131869},"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"}},"gitHead":"1894a8fe6c1adeb570276ad3942965f2ee1cc556","scripts":{"dev":"rollup -c -w","build":"rollup -c","clean":"rimraf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"phodonou","actor":{"name":"phodonou","type":"user","email":"prince.hodonou0@gmail.com"},"email":"prince.hodonou0@gmail.com"},"repository":{"url":"git+https://github.com/CarpetAI/carpetai-rrwebrecorder.git","type":"git"},"_npmVersion":"10.2.4","description":"A React component for recording user sessions using rrweb. Meant to be used with CarpetAI's Analytics Agent.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"rrweb":"^2.0.0-alpha.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","rollup":"^3.0.0","typescript":"^5.0.0","@types/node":"^24.0.3","@types/react":"^18.0.0","rollup-plugin-dts":"^5.0.0","@rollup/plugin-commonjs":"^25.0.0","@rollup/plugin-typescript":"^11.0.0","@rollup/plugin-node-resolve":"^15.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/rrweb-recorder_1.1.3_1750547307786_0.6369458911369643","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@carpetai/rrweb-recorder","version":"1.1.4","keywords":["rrweb","session-recording","react","user-analytics","session-replay"],"author":{"name":"CarpetAI"},"license":"MIT","_id":"@carpetai/rrweb-recorder@1.1.4","maintainers":[{"name":"phodonou","email":"prince.hodonou0@gmail.com"}],"homepage":"https://github.com/CarpetAI/carpetai-rrwebrecorder#readme","bugs":{"url":"https://github.com/CarpetAI/carpetai-rrwebrecorder/issues"},"dist":{"shasum":"53103a2108bd0c994d871e43faea55d7400724fa","tarball":"https://registry.npmjs.org/@carpetai/rrweb-recorder/-/rrweb-recorder-1.1.4.tgz","fileCount":12,"integrity":"sha512-yqnzO9UVxjXXD+lwn18urKANV9mRr3Ug0ChgG6m9S/kE8zs0VpsYBlr9Taw9b7Dx1iYbKWAIrDyr6cyX7o7mdg==","signatures":[{"sig":"MEYCIQCBoNscGw4zrDOTvbl/yDf1ZcSasAdmMcSkgyGqyjSb+QIhAN+P9cY51LEt1Bst+3LFNnNcG2ezkU00JTuwS+h07Yk9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":131913},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"1d26c6ea158915bd9c21c64a1fe97dc6dd2a1e44","scripts":{"dev":"rollup -c -w","build":"rollup -c","clean":"rimraf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"phodonou","actor":{"name":"phodonou","type":"user","email":"prince.hodonou0@gmail.com"},"email":"prince.hodonou0@gmail.com"},"repository":{"url":"git+https://github.com/CarpetAI/carpetai-rrwebrecorder.git","type":"git"},"_npmVersion":"10.2.4","description":"A React component for recording user sessions using rrweb. Meant to be used with CarpetAI's Analytics Agent.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"rrweb":"^2.0.0-alpha.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","rollup":"^3.0.0","typescript":"^5.0.0","@types/node":"^24.0.3","@types/react":"^18.0.0","rollup-plugin-dts":"^5.0.0","@rollup/plugin-commonjs":"^25.0.0","@rollup/plugin-typescript":"^11.0.0","@rollup/plugin-node-resolve":"^15.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/rrweb-recorder_1.1.4_1750574083585_0.6890664420619459","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@carpetai/rrweb-recorder","version":"1.2.0","keywords":["rrweb","session-recording","react","user-analytics","session-replay"],"author":{"name":"CarpetAI"},"license":"MIT","_id":"@carpetai/rrweb-recorder@1.2.0","maintainers":[{"name":"phodonou","email":"prince.hodonou0@gmail.com"}],"homepage":"https://github.com/CarpetAI/carpetai-rrwebrecorder#readme","bugs":{"url":"https://github.com/CarpetAI/carpetai-rrwebrecorder/issues"},"dist":{"shasum":"0117ea16f3af0b8f6c990caca82b53e4e595ef40","tarball":"https://registry.npmjs.org/@carpetai/rrweb-recorder/-/rrweb-recorder-1.2.0.tgz","fileCount":12,"integrity":"sha512-9SVYHYMJFSH9G7KpTVfjjFS+TlLt2AE2JhsUlseCVEsVhHe4y1twsp454Ek4TR/kuUX/6tRBlXuTMOgrSByNQg==","signatures":[{"sig":"MEUCIQDjAHmbciukqsfogQ8NbYgun5djnWmC/p/eLgMCBXF2GAIgecGi+hk/NWttxEijxN1GtC6m9D1ELSEFP67qx0Lnn3s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":132305},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"dba5fc58a44703383a76b7f1cdb32e6623ec1382","scripts":{"dev":"rollup -c -w","build":"rollup -c","clean":"rimraf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"phodonou","actor":{"name":"phodonou","type":"user","email":"prince.hodonou0@gmail.com"},"email":"prince.hodonou0@gmail.com"},"repository":{"url":"git+https://github.com/CarpetAI/carpetai-rrwebrecorder.git","type":"git"},"_npmVersion":"10.2.4","description":"A React component for recording user sessions using rrweb. Meant to be used with CarpetAI's Analytics Agent.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"rrweb":"^2.0.0-alpha.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","rollup":"^3.0.0","typescript":"^5.0.0","@types/node":"^24.0.3","@types/react":"^18.0.0","rollup-plugin-dts":"^5.0.0","@rollup/plugin-commonjs":"^25.0.0","@rollup/plugin-typescript":"^11.0.0","@rollup/plugin-node-resolve":"^15.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/rrweb-recorder_1.2.0_1750647536419_0.5778182624148258","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@carpetai/rrweb-recorder","version":"1.3.0","keywords":["rrweb","session-recording","react","user-analytics","session-replay"],"author":{"name":"CarpetAI"},"license":"MIT","_id":"@carpetai/rrweb-recorder@1.3.0","maintainers":[{"name":"phodonou","email":"prince.hodonou0@gmail.com"}],"homepage":"https://github.com/CarpetAI/carpetai-rrwebrecorder#readme","bugs":{"url":"https://github.com/CarpetAI/carpetai-rrwebrecorder/issues"},"dist":{"shasum":"7741c8ce0a9fda8227ded84044a7ac20f4dd8460","tarball":"https://registry.npmjs.org/@carpetai/rrweb-recorder/-/rrweb-recorder-1.3.0.tgz","fileCount":12,"integrity":"sha512-o2OxHRauM24xJS8OtBf5Dh/TlsJva+mPoCplT+CW3ZKxTVbyW4NBqnfIQJr+VJz2iNDzRmMLKl+gnb5e1b1O7Q==","signatures":[{"sig":"MEQCIBZ42Y8cbqtUWTfspnpXDI2rGSO2uEzdQyhWAzb971u4AiBP4a+kr3jlrVOxwJFT0qiX0wjBFusiBD0rUMNp53aNVg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":132031},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"3b05b0d845c9054268ab374e014c4b54fdf2695e","scripts":{"dev":"rollup -c -w","build":"rollup -c","clean":"rimraf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"phodonou","actor":{"name":"phodonou","type":"user","email":"prince.hodonou0@gmail.com"},"email":"prince.hodonou0@gmail.com"},"repository":{"url":"git+https://github.com/CarpetAI/carpetai-rrwebrecorder.git","type":"git"},"_npmVersion":"10.2.4","description":"A React component for recording user sessions using rrweb. Meant to be used with CarpetAI's Analytics Agent.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"rrweb":"^2.0.0-alpha.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","rollup":"^3.0.0","typescript":"^5.0.0","@types/node":"^24.0.3","@types/react":"^18.0.0","rollup-plugin-dts":"^5.0.0","@rollup/plugin-commonjs":"^25.0.0","@rollup/plugin-typescript":"^11.0.0","@rollup/plugin-node-resolve":"^15.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/rrweb-recorder_1.3.0_1751304481541_0.040731726843822535","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@carpetai/rrweb-recorder","version":"1.4.0","keywords":["rrweb","session-recording","react","user-analytics","session-replay"],"author":{"name":"CarpetAI"},"license":"MIT","_id":"@carpetai/rrweb-recorder@1.4.0","maintainers":[{"name":"phodonou","email":"prince.hodonou0@gmail.com"}],"homepage":"https://github.com/CarpetAI/carpetai-rrwebrecorder#readme","bugs":{"url":"https://github.com/CarpetAI/carpetai-rrwebrecorder/issues"},"dist":{"shasum":"153fe2bd2a0937a2cd0e6dc38a7f8704c9a873f9","tarball":"https://registry.npmjs.org/@carpetai/rrweb-recorder/-/rrweb-recorder-1.4.0.tgz","fileCount":12,"integrity":"sha512-w38xJqicJUSWFAJFZ7XkSOFr8C+1i5m7Xv01Z3vFOJhg0KwmooMCp5N/NtlgnVCFhdAzcVF/DDZcJcT8ZhpB1Q==","signatures":[{"sig":"MEUCIQCdWc80TPip3m5lKRgZWfOCsW8dJoIYtJGiKsKZr8HXHwIgfAJHbZ4uu2/bH4FczIp/2X95LCFkrVnXZZH0S9baAzA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133073},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"d620c840b6d68daa00fa3bd6e4e5c9ee77a86293","scripts":{"dev":"rollup -c -w","build":"rollup -c","clean":"rimraf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"phodonou","actor":{"name":"phodonou","type":"user","email":"prince.hodonou0@gmail.com"},"email":"prince.hodonou0@gmail.com"},"repository":{"url":"git+https://github.com/CarpetAI/carpetai-rrwebrecorder.git","type":"git"},"_npmVersion":"10.2.4","description":"A React component for recording user sessions using rrweb. Meant to be used with CarpetAI's Analytics Agent.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"rrweb":"^2.0.0-alpha.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","rollup":"^3.0.0","typescript":"^5.0.0","@types/node":"^24.0.3","@types/react":"^18.0.0","rollup-plugin-dts":"^5.0.0","@rollup/plugin-commonjs":"^25.0.0","@rollup/plugin-typescript":"^11.0.0","@rollup/plugin-node-resolve":"^15.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/rrweb-recorder_1.4.0_1751326096207_0.6972794376461622","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"@carpetai/rrweb-recorder","version":"1.4.1","keywords":["rrweb","session-recording","react","user-analytics","session-replay"],"author":{"name":"CarpetAI"},"license":"MIT","_id":"@carpetai/rrweb-recorder@1.4.1","maintainers":[{"name":"phodonou","email":"prince.hodonou0@gmail.com"}],"homepage":"https://github.com/CarpetAI/carpetai-rrwebrecorder#readme","bugs":{"url":"https://github.com/CarpetAI/carpetai-rrwebrecorder/issues"},"dist":{"shasum":"678bb99e67603c4e9bea5d637466c424f3d5ae82","tarball":"https://registry.npmjs.org/@carpetai/rrweb-recorder/-/rrweb-recorder-1.4.1.tgz","fileCount":12,"integrity":"sha512-LmwRrSBx2hmwPGq4xQo6M/azt3LpYQwVHbhBbdjUP0qM1WvsS4iNW6bt7Uva+OOV14g96ET5+mymdlGeoHXiTQ==","signatures":[{"sig":"MEYCIQC7jDccOuzrmNmWs+if0mPp1SFAnU2p05v9tuyVv+X88gIhAPx4pGSDGTYm34OZrsWRpt+jFJDL+Xt7+PwxYI3rj1it","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133123},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"458de6cec1d45cde5f4bfb57bb71e70a12f1f57c","scripts":{"dev":"rollup -c -w","build":"rollup -c","clean":"rimraf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"phodonou","email":"prince.hodonou0@gmail.com"},"repository":{"url":"git+https://github.com/CarpetAI/carpetai-rrwebrecorder.git","type":"git"},"_npmVersion":"10.2.4","description":"A React component for recording user sessions using rrweb. Meant to be used with CarpetAI's Analytics Agent.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"rrweb":"^2.0.0-alpha.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","rollup":"^3.0.0","typescript":"^5.0.0","@types/node":"^24.0.3","@types/react":"^18.0.0","rollup-plugin-dts":"^5.0.0","@rollup/plugin-commonjs":"^25.0.0","@rollup/plugin-typescript":"^11.0.0","@rollup/plugin-node-resolve":"^15.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/rrweb-recorder_1.4.1_1752216385703_0.3760444591788832","host":"s3://npm-registry-packages-npm-production"}},"1.4.2":{"name":"@carpetai/rrweb-recorder","version":"1.4.2","type":"module","description":"A React component for recording user sessions using rrweb. Meant to be used with CarpetAI's Analytics Agent.","main":"dist/index.js","module":"dist/index.esm.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.js","types":"./dist/index.d.ts"}},"sideEffects":false,"scripts":{"build":"rollup -c","dev":"rollup -c -w","clean":"rimraf dist","prepublishOnly":"npm run clean && npm run build"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"dependencies":{"rrweb":"^2.0.0-alpha.4"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.0","@rollup/plugin-node-resolve":"^15.0.0","@rollup/plugin-typescript":"^11.0.0","@types/node":"^24.0.3","@types/react":"^18.0.0","rimraf":"^5.0.0","rollup":"^3.0.0","rollup-plugin-dts":"^5.0.0","typescript":"^5.0.0"},"keywords":["rrweb","session-recording","react","user-analytics","session-replay"],"author":{"name":"CarpetAI"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/CarpetAI/carpetai-rrwebrecorder.git"},"homepage":"https://github.com/CarpetAI/carpetai-rrwebrecorder#readme","bugs":{"url":"https://github.com/CarpetAI/carpetai-rrwebrecorder/issues"},"publishConfig":{"access":"public"},"_id":"@carpetai/rrweb-recorder@1.4.2","gitHead":"d43f95214014f8f0b4b7e25ed906acc8e6d63f4e","_nodeVersion":"22.17.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-ydF29/xFfDvEr9Nbd4CVLKxOpsfhNJxo0pssDR5WAFw5v8kf9she0ChjBMEYRyiTzRY4vevrGc10x4G0Vsbl5Q==","shasum":"035928385cbc9a0f3949eb6ccdc5101d75b12b0f","tarball":"https://registry.npmjs.org/@carpetai/rrweb-recorder/-/rrweb-recorder-1.4.2.tgz","fileCount":12,"unpackedSize":52945,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIE3Zfm3GDdwua5vt6WgUB9uw9Z4sAuI0/GU+Sdrjfb2xAiEAiLFlsndHM5Uk1FcSnb+dx5w4DfVGJkVIAKIbkB1JivU="}]},"_npmUser":{"name":"phodonou","email":"prince.hodonou0@gmail.com"},"directories":{},"maintainers":[{"name":"phodonou","email":"prince.hodonou0@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rrweb-recorder_1.4.2_1752255924275_0.2830977872018692"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-21T21:20:00.129Z","modified":"2025-07-11T17:45:24.632Z","1.0.0":"2025-06-21T21:20:00.429Z","1.0.1":"2025-06-21T21:26:46.537Z","1.1.0":"2025-06-21T22:25:45.576Z","1.1.1":"2025-06-21T22:40:24.584Z","1.1.2":"2025-06-21T22:48:12.710Z","1.1.3":"2025-06-21T23:08:27.973Z","1.1.4":"2025-06-22T06:34:43.775Z","1.2.0":"2025-06-23T02:58:56.594Z","1.3.0":"2025-06-30T17:28:01.723Z","1.4.0":"2025-06-30T23:28:16.399Z","1.4.1":"2025-07-11T06:46:25.883Z","1.4.2":"2025-07-11T17:45:24.442Z"},"bugs":{"url":"https://github.com/CarpetAI/carpetai-rrwebrecorder/issues"},"author":{"name":"CarpetAI"},"license":"MIT","homepage":"https://github.com/CarpetAI/carpetai-rrwebrecorder#readme","keywords":["rrweb","session-recording","react","user-analytics","session-replay"],"repository":{"type":"git","url":"git+https://github.com/CarpetAI/carpetai-rrwebrecorder.git"},"description":"A React component for recording user sessions using rrweb. Meant to be used with CarpetAI's Analytics Agent.","maintainers":[{"name":"phodonou","email":"prince.hodonou0@gmail.com"}],"readme":"# Session Recorder\n\nA React component and hook for recording user sessions using [rrweb](https://github.com/rrweb-io/rrweb). This package provides an easy way to capture user interactions and create session replays for analytics and debugging purposes.\n\n## Features\n\n- 🎥 Automatic session recording with configurable options\n- 🔧 Flexible configuration for recording behavior\n- 📱 React hook for custom implementations\n- 🛡️ Built-in safety limits to prevent runaway recordings\n- 🎯 Path-based exclusions (localhost excluded by default)\n- 📊 Automatic backend integration with CarpetAI's Analytics Agent\n- 🔄 Session persistence across page reloads\n- 📦 Framework agnostic (works with any React setup)\n\n## Installation\n\n```bash\nnpm install @carpetai/rrweb-recorder rrweb\n# or\nyarn add @carpetai/rrweb-recorder rrweb\n```\n\n### For Next.js Users\n\nIf you're using Next.js 13+ with the app router, we recommend using our Next.js wrapper package:\n\n```bash\nnpm install @carpetai/rrweb-recorder-nextjs\n# or\nyarn add @carpetai/rrweb-recorder-nextjs\n```\n\nThis eliminates the need for `'use client'` wrapper components. See [@carpetai/rrweb-recorder-nextjs](https://github.com/CarpetAI/carpetai-rrwebrecorder-nextjs) for more details.\n\n## Quick Start\n\n### Basic Usage\n\n```tsx\nimport { SessionRecorder } from '@carpetai/rrweb-recorder';\n\nfunction App() {\n  return (\n    <div>\n      <h1>My App</h1>\n      <SessionRecorder \n        apiKey=\"your-carpetai-api-key\"\n      />\n    </div>\n  );\n}\n```\n\n### Recording on Localhost\n\nBy default, the recorder excludes localhost URLs. To enable recording on localhost, set `excludePaths` to an empty array or customize the exclusions:\n\n```tsx\nimport { SessionRecorder } from '@carpetai/rrweb-recorder';\n\nfunction App() {\n  return (\n    <div>\n      <h1>My App</h1>\n      <SessionRecorder \n        apiKey=\"your-carpetai-api-key\"\n        excludePaths={[]} // Enable recording on localhost\n      />\n    </div>\n  );\n}\n```\n\n### Custom Path Exclusions\n\n```tsx\nimport { SessionRecorder } from '@carpetai/rrweb-recorder';\n\nfunction App() {\n  return (\n    <div>\n      <h1>My App</h1>\n      <SessionRecorder \n        apiKey=\"your-carpetai-api-key\"\n        excludePaths={[\n          'https://admin.example.com', // Exclude admin panel\n          'https://example.com/private' // Exclude private pages\n        ]}\n      />\n    </div>\n  );\n}\n```\n\n### Using the Hook\n\n```tsx\nimport { useSessionRecorder } from '@carpetai/rrweb-recorder';\n\nfunction MyComponent() {\n  const { isRecording, sessionId, startRecording, stopRecording } = useSessionRecorder({\n    apiKey: \"your-carpetai-api-key\"\n  });\n\n  return (\n    <div>\n      <p>Recording: {isRecording ? 'Yes' : 'No'}</p>\n      <p>Session ID: {sessionId}</p>\n      <button onClick={startRecording}>Start Recording</button>\n      <button onClick={stopRecording}>Stop Recording</button>\n    </div>\n  );\n}\n```\n\n## API Reference\n\n### SessionRecorder Component\n\nThe main React component for automatic session recording.\n\n#### Props\n\n| Prop | Type | Default | Description |\n|------|------|---------|-------------|\n| `autoStart` | `boolean` | `true` | Whether to start recording automatically |\n| `apiKey` | `string` | - | CarpetAI API key for authentication |\n| `apiUrl` | `string` | `CarpetAI default endpoint` | Custom API endpoint (optional) |\n| `maxSessionDuration` | `number` | `30 * 60 * 1000` | Maximum session duration in milliseconds (30 minutes) |\n| `saveInterval` | `number` | `5000` | How often to save events (5 seconds) |\n| `excludePaths` | `string[]` | `['http://localhost', 'https://localhost', 'http://127.0.0.1', 'https://127.0.0.1']` | Paths to exclude from recording (localhost excluded by default) |\n| `recordCanvas` | `boolean` | `false` | Whether to record canvas elements |\n| `recordCrossOriginIframes` | `boolean` | `false` | Whether to record cross-origin iframes |\n| `onSessionStart` | `(sessionId: string) => void` | - | Callback when recording starts |\n| `onSessionStop` | `(sessionId: string) => void` | - | Callback when recording stops |\n| `onError` | `(error: Error) => void` | - | Error handler |\n| `maskAllInputs` | `boolean` | `false` | Whether to mask all input elements for privacy |\n\n\n### useSessionRecorder Hook\n\nA React hook that provides session recording state and control functions.\n\n#### Returns\n\n| Property | Type | Description |\n|----------|------|-------------|\n| `isRecording` | `boolean` | Whether recording is currently active |\n| `sessionId` | `string \\| null` | Current session ID |\n| `startRecording` | `() => void` | Function to start recording |\n| `stopRecording` | `() => void` | Function to stop recording |\n\n**Note**: The hook automatically manages recording lifecycle when `autoStart` is true, but you can also control it manually using the provided functions.\n\n## Advanced Usage\n\n### Custom API Endpoint\n\n```tsx\nimport { SessionRecorder } from '@carpetai/rrweb-recorder';\n\nfunction App() {\n  return (\n    <SessionRecorder \n      apiKey=\"your-carpetai-api-key\"\n      apiUrl=\"https://your-custom-endpoint.com/api/sessions\"\n    />\n  );\n}\n```\n\n### Conditional Recording\n\n```tsx\nimport { useSessionRecorder } from '@carpetai/rrweb-recorder';\n\nfunction MyApp() {\n  const { isRecording, sessionId, startRecording, stopRecording } = useSessionRecorder({\n    autoStart: false, // Don't start automatically\n    apiKey: \"your-carpetai-api-key\"\n  });\n\n  const handleUserConsent = () => {\n    if (isRecording) {\n      stopRecording();\n    } else {\n      startRecording();\n    }\n  };\n\n  return (\n    <div>\n      <button onClick={handleUserConsent}>\n        {isRecording ? 'Stop Recording' : 'Start Recording'}\n      </button>\n      {isRecording && <p>Session ID: {sessionId}</p>}\n    </div>\n  );\n}\n```\n\n## Types\n\n### SessionData\n\n```typescript\ninterface SessionData {\n  sessionId: string;\n  events: SessionEvent[];\n  timestamp: number;\n  url?: string;\n}\n```\n\n### SessionEvent\n\n```typescript\ninterface SessionEvent {\n  type: number;\n  timestamp: number;\n  data: Record<string, unknown>;\n  delay?: number;\n}\n```\n\n## Safety Features\n\n- **Session Duration Limit**: Automatically stops recording after a configurable duration\n- **Path Exclusions**: Skip recording on specific paths\n- **Error Handling**: Graceful error handling with optional callbacks\n- **Automatic Backend Integration**: Sends data to CarpetAI's Analytics Agent automatically\n\n## Browser Support\n\nThis package works in all modern browsers that support:\n- ES2018+ features\n- React 16.8+ (for hooks)\n- rrweb compatibility\n\n## License\n\nMIT ","readmeFilename":"README.md"}