{"_id":"@atlaskit/report-error","_rev":"2-a281aedbc5756f208593ce6b5d78ae72","name":"@atlaskit/report-error","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.0":{"name":"@atlaskit/report-error","version":"0.0.0","author":{"name":"Atlassian Pty Ltd"},"_id":"@atlaskit/report-error@0.0.0","maintainers":[{"name":"atlassianartifactteam","email":"eng-development-tooling-secrets-and-artifacts@atlassian.com"}],"dist":{"shasum":"cf9a4e6a991311bb44b97e45182cff487f4650b8","tarball":"https://registry.npmjs.org/@atlaskit/report-error/-/report-error-0.0.0.tgz","fileCount":8,"integrity":"sha512-iSgi0SKTKxR1znYqSbR87IrytoLMo4AqWcvkl3dLiaOc1GPv7gwyoPsKhSH2vbKTKkBs6e/Go53MCuY9uIknIQ==","signatures":[{"sig":"MEQCIG+t/m4Vubo1dRN6bzUtFVIZlQoNhkbYB7z6JyuWVo/vAiAWEadJ2ty6Lm514StIoR0Ev5R+Lco1Ngb6MQwbt+uTGQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4600},"main":"dist/cjs/reportError.js","_from":"file:/tmp/package-1-67b821d1-9f5d9a2f10e87df203dcb303-1.tgz","types":"dist/types/reportError.d.ts","module":"dist/esm/reportError.js","_npmUser":{"name":"atlassianartifactteam","email":"eng-development-tooling-secrets-and-artifacts@atlassian.com"},"_resolved":"/tmp/package-1-67b821d1-9f5d9a2f10e87df203dcb303-1.tgz","atlassian":{"team":"UIP Application Framework - Jupiter","runReact18":true},"techstack":{"@repo/internal":{"imports":["import-no-extraneous-disable-for-examples-and-docs"],"styling":["static","compiled"],"theming":["react-context"],"analytics":["analytics-next"],"dom-events":"use-bind-event-listener","deprecation":["no-deprecated-imports"],"design-tokens":["color"],"ui-components":["lite-mode"]},"@atlassian/frontend":{"import-structure":["atlassian-conventions"],"circular-dependencies":["file-and-folder-level"]}},"_integrity":"sha512-iSgi0SKTKxR1znYqSbR87IrytoLMo4AqWcvkl3dLiaOc1GPv7gwyoPsKhSH2vbKTKkBs6e/Go53MCuY9uIknIQ==","af:exports":{".":"./src/reportError.ts"},"repository":{"url":"https://stash.atlassian.com/projects/ATLASSIAN/repos/atlassian-frontend-monorepo","type":"git"},"_npmVersion":"10.8.2","description":"Platform error reporter","directories":{},"sideEffects":["*.compiled.css"],"_nodeVersion":"20.18.0","atlaskit:src":"src/reportError.ts","dependencies":{"@babel/runtime":"^7.0.0","@atlaskit/platform-feature-flags":"*"},"module:es2019":"dist/es2019/reportError.js","publishConfig":{"registry":"https://registry.npmjs.org/"},"typesVersions":{">=4.5 <5.4":{"*":["dist/types-ts4.5/*","dist/types-ts4.5/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"typescript":"~5.4.2","@atlassian/feature-flags-test-utils":"*"},"peerDependencies":{"react":"^18.2.0"},"platform-feature-flags":{"moving_jira_entry-points_api_under_platform":{"type":"boolean"}},"_npmOperationalInternal":{"tmp":"tmp/report-error_0.0.0_1740120532043_0.2525300843863214","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"atlassian":{"team":"UIP Application Framework - Jupiter"},"repository":{"type":"git","url":"git+https://bitbucket.org/atlassian/atlassian-frontend-monorepo.git"},"main":"dist/cjs/reportError.js","module":"dist/esm/reportError.js","module:es2019":"dist/es2019/reportError.js","types":"dist/types/reportError.d.ts","sideEffects":["*.compiled.css"],"atlaskit:src":"src/reportError.ts","dependencies":{"@atlaskit/platform-feature-flags":"^2.0.0","@babel/runtime":"^7.0.0"},"peerDependencies":{"react":"^18.2.0"},"devDependencies":{"@atlassian/feature-flags-test-utils":"^1.1.0","react":"^18.2.0"},"techstack":{"@atlassian/frontend":{"import-structure":["atlassian-conventions"],"circular-dependencies":["file-and-folder-level"]},"@repo/internal":{"dom-events":"use-bind-event-listener","analytics":["analytics-next"],"design-tokens":["color"],"theming":["react-context"],"ui-components":["lite-mode"],"deprecation":["no-deprecated-imports"],"styling":["static","compiled"],"imports":["import-no-extraneous-disable-for-examples-and-docs"]}},"name":"@atlaskit/report-error","version":"1.0.0","description":"Platform error reporter","author":{"name":"Atlassian Pty Ltd"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"platform-feature-flags":{"moving_jira_entry-points_api_under_platform":{"type":"boolean"}},"_id":"@atlaskit/report-error@1.0.0","bugs":{"url":"https://bitbucket.org/atlassian/atlassian-frontend-monorepo/issues"},"homepage":"https://bitbucket.org/atlassian/atlassian-frontend-monorepo#readme","_integrity":"sha512-YD3fFsU95OcpGf7IZ9nHE13WNmrTXuVc6cocIn/QCABqWxBRS/lv35DMRvM1rQZM03x5wmSLtWv80xj1m8zZUw==","_resolved":"/tmp/package-1-6a30e1c4-63f55674e8c95ba749f129b2-1.tgz","_from":"file:/tmp/package-1-6a30e1c4-63f55674e8c95ba749f129b2-1.tgz","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-YD3fFsU95OcpGf7IZ9nHE13WNmrTXuVc6cocIn/QCABqWxBRS/lv35DMRvM1rQZM03x5wmSLtWv80xj1m8zZUw==","shasum":"eadba03aaacc8f7f417592bb41edd56c04370bbe","tarball":"https://registry.npmjs.org/@atlaskit/report-error/-/report-error-1.0.0.tgz","fileCount":7,"unpackedSize":4724,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIA4n9neqU5hsMy41D+CIPdczYnYTbD3hieO2XazJjKUuAiBFYCYyKHEZlfXAKQ1noDtxyeYVOHUUHBGZ0l//3Xp+8Q=="}]},"_npmUser":{"name":"atlassianartifactteam","email":"eng-development-tooling-artifacts@atlassian.com"},"directories":{},"maintainers":[{"name":"atlassianartifactteam","email":"eng-development-tooling-artifacts@atlassian.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/report-error_1.0.0_1781588423228_0.5640532547105122"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-21T06:48:51.949Z","modified":"2026-06-16T05:40:23.551Z","0.0.0":"2025-02-21T06:48:52.238Z","1.0.0":"2026-06-16T05:40:23.423Z"},"author":{"name":"Atlassian Pty Ltd"},"repository":{"type":"git","url":"git+https://bitbucket.org/atlassian/atlassian-frontend-monorepo.git"},"description":"Platform error reporter","maintainers":[{"name":"atlassianartifactteam","email":"eng-development-tooling-artifacts@atlassian.com"}],"readme":"# Platform error reporter\n\nPlatform error bus can be used by platform component to report errors to products.\n\n## Platform usage\n\n```js\nimport { reportError } from '@atlaskit/report-error';\n\nreportError({\n\terror: Error; // Error\n\terrorInfo: ErrorInfo; // ErrorInfo from 'react', available within ErrorBoundary\n\tinterractionId?: string; // UFO interractionId, if available\n})\n```\n\n## Product usage\n\n```js\n// product root file\nimport { installErrorHandler } from '@atlaskit/report-error';\n\ninstallErrorHandler(({\n\terror: Error; // Error\n\terrorInfo: ErrorInfo; // ErrorInfo from 'react', available within ErrorBoundary\n\tinteractionId?: string; // UFO interractionId, if available\n}) => {\n\t// log error to splunk\n\n\t// log error to sentry\n\n\t// any other custom error logging...\n});\n```\n","readmeFilename":"README.md","homepage":"https://bitbucket.org/atlassian/atlassian-frontend-monorepo#readme","bugs":{"url":"https://bitbucket.org/atlassian/atlassian-frontend-monorepo/issues"}}