@sentry/react-router 9.25.1 → 9.26.0

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.
@@ -3,11 +3,19 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3
3
  const browser = require('@sentry/browser');
4
4
  const sdk = require('./client/sdk.js');
5
5
  const tracingIntegration = require('./client/tracingIntegration.js');
6
+ const react = require('@sentry/react');
6
7
 
7
8
 
8
9
 
9
10
  exports.init = sdk.init;
10
11
  exports.reactRouterTracingIntegration = tracingIntegration.reactRouterTracingIntegration;
12
+ exports.ErrorBoundary = react.ErrorBoundary;
13
+ exports.Profiler = react.Profiler;
14
+ exports.captureReactException = react.captureReactException;
15
+ exports.reactErrorHandler = react.reactErrorHandler;
16
+ exports.useProfiler = react.useProfiler;
17
+ exports.withErrorBoundary = react.withErrorBoundary;
18
+ exports.withProfiler = react.withProfiler;
11
19
  Object.prototype.hasOwnProperty.call(browser, '__proto__') &&
12
20
  !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
13
21
  Object.defineProperty(exports, '__proto__', {
@@ -1 +1 @@
1
- {"version":3,"file":"index.client.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.client.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,5 @@
1
1
  export * from '@sentry/browser';
2
2
  export { init } from './client/sdk.js';
3
3
  export { reactRouterTracingIntegration } from './client/tracingIntegration.js';
4
+ export { ErrorBoundary, Profiler, captureReactException, reactErrorHandler, useProfiler, withErrorBoundary, withProfiler } from '@sentry/react';
4
5
  //# sourceMappingURL=index.client.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.client.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"index.client.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
@@ -1 +1 @@
1
- {"type":"module","version":"9.25.1"}
1
+ {"type":"module","version":"9.26.0"}
@@ -1,4 +1,6 @@
1
1
  export * from '@sentry/browser';
2
2
  export { init } from './sdk';
3
3
  export { reactRouterTracingIntegration } from './tracingIntegration';
4
+ export { captureReactException, reactErrorHandler, Profiler, withProfiler, useProfiler, ErrorBoundary, withErrorBoundary, } from '@sentry/react';
5
+ export type { ErrorBoundaryProps, FallbackRender } from '@sentry/react';
4
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAEhC,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAC7B,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAEhC,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAC7B,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AAErE,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,aAAa,EACb,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/react-router",
3
- "version": "9.25.1",
3
+ "version": "9.26.0",
4
4
  "description": "Official Sentry SDK for React Router (Framework)",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/react-router",
@@ -38,17 +38,18 @@
38
38
  "@opentelemetry/core": "^1.30.1",
39
39
  "@opentelemetry/instrumentation": "0.57.2",
40
40
  "@opentelemetry/semantic-conventions": "^1.34.0",
41
- "@sentry/browser": "9.25.1",
41
+ "@sentry/browser": "9.26.0",
42
42
  "@sentry/cli": "^2.45.0",
43
- "@sentry/core": "9.25.1",
44
- "@sentry/node": "9.25.1",
43
+ "@sentry/core": "9.26.0",
44
+ "@sentry/node": "9.26.0",
45
+ "@sentry/react": "9.26.0",
45
46
  "@sentry/vite-plugin": "^3.2.4",
46
47
  "glob": "11.0.1"
47
48
  },
48
49
  "devDependencies": {
49
- "@react-router/dev": "^7.1.5",
50
- "@react-router/node": "^7.1.5",
51
- "react-router": "^7.1.5",
50
+ "@react-router/dev": "^7.5.2",
51
+ "@react-router/node": "^7.5.2",
52
+ "react-router": "^7.5.2",
52
53
  "vite": "^6.1.0"
53
54
  },
54
55
  "peerDependencies": {