@getexception/react 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -51,7 +51,7 @@ To check the connection, call `GetException.captureException(new Error("GetExcep
|
|
|
51
51
|
|
|
52
52
|
`init`, `captureException`, `captureMessage`, `setTag`, `setTags`, `setContext`, `addBreadcrumb`, `withScope`, `flush`, `close`, and `ErrorBoundary`. See the [browser SDK](https://www.npmjs.com/package/@getexception/browser) for configuration and the [compatibility guide](https://github.com/GetException/GetException/blob/stable/docs/sdk-compatibility.md) for exact limits.
|
|
53
53
|
|
|
54
|
-
The SDK uses a restricted Sentry integration. It sends errors only: no replay, tracing, automatic console/DOM breadcrumbs, cookies, form values or user identity. Tags and context use an allow-list.
|
|
54
|
+
The SDK uses a restricted Sentry integration. It sends errors only: no replay, tracing, automatic console/DOM breadcrumbs, cookies, form values or user identity. Tags and context use an allow-list. Browser family and major version are collected without sending the full User-Agent. API diagnostics support `captureException(error, { contexts: { api: { code, reason, status_code } } })` with a restricted allow-list; see the browser package README. Upload private source maps with `@getexception/cli` using the same release SHA as `init`.
|
|
55
55
|
|
|
56
56
|
React is a peer dependency and stays under the application's control. Importing the package does not start monitoring; call `init` explicitly. The package is ESM and includes TypeScript declarations.
|
|
57
57
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Breadcrumb, BrowserOptions, Scope, SeverityLevel, addBreadcrumb, captureException, captureMessage, close, flush, init, setContext, setTag, setTags, withScope } from '@getexception/browser';
|
|
1
|
+
export { ApiContext, Breadcrumb, BrowserContext, BrowserOptions, CaptureContext, Scope, SeverityLevel, addBreadcrumb, captureException, captureMessage, close, flush, init, setContext, setTag, setTags, withScope } from '@getexception/browser';
|
|
2
2
|
export { ErrorBoundary } from '@getexception/sentry-react';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getexception/react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "GetException error monitoring and ErrorBoundary for React 18 and 19",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@getexception/browser": "0.1.
|
|
25
|
+
"@getexception/browser": "0.1.8",
|
|
26
26
|
"@getexception/sentry-react": "npm:@sentry/react@10.73.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|