@getexception/react 0.1.23 → 0.1.25

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @getexception/react
2
2
 
3
+ For errors, the React SDK needs only the project's public DSN. Private source maps use a separate Node.js uploader and a Production or Preview key; never pass that key to this SDK. See the [project connection guide](../../docs/project-onboarding.md). Use the same `release`, `buildId` and `environment` in the application and map delivery. These options do not require a CI provider.
4
+
3
5
  Error monitoring for React 18 and 19 applications using your own GetException server. Includes automatic browser error capture, manual capture and a React `ErrorBoundary`.
4
6
 
5
7
  ## Install
@@ -51,7 +53,7 @@ To check the connection, call `GetException.captureException(new Error("GetExcep
51
53
 
52
54
  `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
55
 
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`.
56
+ 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`, `buildId` and `environment` as `init`.
55
57
 
56
58
  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
59
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getexception/react",
3
- "version": "0.1.23",
3
+ "version": "0.1.25",
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.23",
25
+ "@getexception/browser": "0.1.25",
26
26
  "@getexception/sentry-react": "npm:@sentry/react@10.73.0"
27
27
  },
28
28
  "devDependencies": {
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "repository": {
36
36
  "type": "git",
37
- "url": "git+https://github.com/GetException/GetException.git",
37
+ "url": "git+https://gitlab.sndsy.ru/sendsay-ru/frontend/getexception.git",
38
38
  "directory": "packages/react"
39
39
  }
40
40
  }