{"name":"@sentry-internal/replay-canvas","version":"9.2.0","author":{"name":"Sentry"},"license":"MIT","_id":"@sentry-internal/replay-canvas@9.2.0","maintainers":[{"name":"haza","email":"daniel.griesser.86@gmail.com"},{"name":"sentry-bot","email":"accounts@sentry.io"},{"name":"mitsuhiko","email":"armin.ronacher@active-4.com"},{"name":"zeeg","email":"dcramer@gmail.com"},{"name":"leedongwei","email":"danny@dongwei.li"},{"name":"evanpurkhiser","email":"evanpurkhiser@gmail.com"},{"name":"billyvg","email":"npm@mmo.me"},{"name":"jauer","email":"account@jauer.org"},{"name":"markstory","email":"mark@mark-story.com"}],"homepage":"https://docs.sentry.io/platforms/javascript/session-replay/","bugs":{"url":"https://github.com/getsentry/sentry-javascript/issues"},"dist":{"shasum":"1ae21743c9e5fe597a66539f2ea3e20fc1168968","tarball":"http://registry-npm.ywwl.com/@sentry-internal/replay-canvas/download/@sentry-internal/replay-canvas-9.2.0.tgz","fileCount":14,"integrity":"sha512-+q5dmEzMXs8/Fcl74mf8D8t3/W1pYPVse6jt0dNzo5o1z/LWgWY0LlImmlPU1QBIlUzB6VZkgfaKen8wZdcOVA==","signatures":[{"sig":"MEQCIFfQ//6Y35Nf9dTjywyjGf3vm4UdTpw1zyT/773B1QD9AiAhvF7QaYjjEENFD2PaAF4UGh/upT2Nu6oGRlYqnAZFiA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":399446,"size":80832,"noattachment":false,"key":"/@sentry-internal/replay-canvas/-/@sentry-internal/replay-canvas-9.2.0.tgz"},"main":"build/npm/cjs/index.js","_from":"file:/tmp/craft-bFYQbD/sentry-internal-replay-canvas-9.2.0.tgz","types":"build/npm/types/index.d.ts","volta":{"extends":"../../package.json"},"module":"build/npm/esm/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./build/npm/types/index.d.ts","default":"./build/npm/esm/index.js"},"require":{"types":"./build/npm/types/index.d.ts","default":"./build/npm/cjs/index.js"}},"./package.json":"./package.json"},"scripts":{"fix":"eslint . --format stylish --fix","lint":"eslint . --format stylish","test":"vitest run","build":"run-p build:transpile build:types build:bundle","clean":"rimraf build sentry-replay-*.tgz","build:dev":"run-p build:transpile build:types","test:watch":"vitest --watch","build:types":"run-s build:types:core build:types:downlevel","build:watch":"run-p build:transpile:watch build:bundle:watch build:types:watch","build:bundle":"rollup -c rollup.bundle.config.mjs","yalc:publish":"yalc publish --push --sig","build:tarball":"npm pack","build:dev:watch":"run-p build:transpile:watch build:types:watch","build:transpile":"rollup -c rollup.npm.config.mjs","build:types:core":"tsc -p tsconfig.types.json","circularDepCheck":"madge --circular src/index.ts","build:types:watch":"tsc -p tsconfig.types.json --watch","build:bundle:watch":"yarn build:bundle --watch","build:transpile:watch":"yarn build:transpile --watch","build:types:downlevel":"yarn downlevel-dts build/npm/types build/npm/types-ts3.8 --to ts3.8"},"_npmUser":{"name":"sentry-bot","email":"accounts@sentry.io"},"_resolved":"/tmp/craft-bFYQbD/sentry-internal-replay-canvas-9.2.0.tgz","_integrity":"sha512-+q5dmEzMXs8/Fcl74mf8D8t3/W1pYPVse6jt0dNzo5o1z/LWgWY0LlImmlPU1QBIlUzB6VZkgfaKen8wZdcOVA==","repository":{"url":"git+https://github.com/getsentry/sentry-javascript.git","type":"git"},"_npmVersion":"10.9.2","description":"Replay canvas integration","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"@sentry/core":"9.2.0","@sentry-internal/replay":"9.2.0"},"publishConfig":{"access":"public"},"typesVersions":{"<5.0":{"build/npm/types/index.d.ts":["build/npm/types-ts3.8/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"@sentry-internal/rrweb":"2.31.0"},"_npmOperationalInternal":{"tmp":"tmp/replay-canvas_9.2.0_1740416605831_0.6272821140867675","host":"s3://npm-registry-packages-npm-production"},"readme":"<p align=\"center\">\n  <a href=\"https://sentry.io/?utm_source=github&utm_medium=logo\" target=\"_blank\">\n    <img src=\"https://sentry-brand.storage.googleapis.com/sentry-wordmark-dark-280x84.png\" alt=\"Sentry\" width=\"280\" height=\"84\">\n  </a>\n</p>\n\n# Sentry Session Replay with Canvas\n\n## Pre-requisites\n\nReplay with canvas requires Node 14+, and browsers newer than IE11.\n\n## Installation\n\nReplay and ReplayCanvas can be imported from `@sentry/browser`, or a respective SDK package like `@sentry/react` or\n`@sentry/vue`. You don't need to install anything in order to use Session Replay. The minimum version that includes\nReplay is 7.27.0.\n\nFor details on using Replay when using Sentry via the CDN bundles, see [CDN bundle](#loading-replay-as-a-cdn-bundle).\n\n## Setup\n\nTo set up the canvas integration, add the following to your Sentry integrations:\n\n```javascript\nSentry.replayCanvasIntegration(),\n```\n\n### Full Example\n\n```javascript\nimport * as Sentry from '@sentry/browser';\n// or e.g. import * as Sentry from '@sentry/react';\n\nSentry.init({\n  dsn: '__DSN__',\n\n  // This sets the sample rate to be 10%. You may want this to be 100% while\n  // in development and sample at a lower rate in production\n  replaysSessionSampleRate: 0.1,\n\n  // If the entire session is not sampled, use the below sample rate to sample\n  // sessions when an error occurs.\n  replaysOnErrorSampleRate: 1.0,\n\n  integrations: [Sentry.replayIntegration(), Sentry.replayCanvasIntegration()],\n  // ...\n});\n```\n","publish_time":1740416606046,"_cnpm_publish_time":1740416606046,"dist-tags":{"latest":"10.57.0","next":"10.50.0-alpha.0","v7":"7.120.4","v8":"8.55.2","v9":"9.47.2"}}