@xifan052/monitor 0.1.7 → 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/dist/index.cjs CHANGED
@@ -36,7 +36,7 @@ __export(src_exports, {
36
36
  module.exports = __toCommonJS(src_exports);
37
37
 
38
38
  // src/adapter/web/index.ts
39
- var Sentry = __toESM(require("@sentry/browser"), 1);
39
+ var Sentry = __toESM(require("@sentry/react"), 1);
40
40
 
41
41
  // src/core/baseClient.ts
42
42
  var BaseClient = class {
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { C as CaptureContext, M as MonitorUser } from './baseClient-CpBY_Ydd.cjs';
2
2
  export { WebMonitorClient } from './web.cjs';
3
3
  export { RNMonitorClient } from './rn.cjs';
4
- import '@sentry/browser';
4
+ import '@sentry/react';
5
5
  import '@sentry/react-native';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { C as CaptureContext, M as MonitorUser } from './baseClient-CpBY_Ydd.js';
2
2
  export { WebMonitorClient } from './web.js';
3
3
  export { RNMonitorClient } from './rn.js';
4
- import '@sentry/browser';
4
+ import '@sentry/react';
5
5
  import '@sentry/react-native';
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/adapter/web/index.ts
2
- import * as Sentry from "@sentry/browser";
2
+ import * as Sentry from "@sentry/react";
3
3
 
4
4
  // src/core/baseClient.ts
5
5
  var BaseClient = class {
package/dist/web.cjs CHANGED
@@ -33,7 +33,7 @@ __export(web_exports, {
33
33
  WebMonitorClient: () => WebMonitorClient
34
34
  });
35
35
  module.exports = __toCommonJS(web_exports);
36
- var Sentry = __toESM(require("@sentry/browser"), 1);
36
+ var Sentry = __toESM(require("@sentry/react"), 1);
37
37
 
38
38
  // src/core/baseClient.ts
39
39
  var BaseClient = class {
package/dist/web.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import * as Sentry from '@sentry/browser';
1
+ import * as Sentry from '@sentry/react';
2
2
  import { B as BaseClient } from './baseClient-CpBY_Ydd.cjs';
3
3
 
4
4
  declare class WebMonitorClient extends BaseClient {
package/dist/web.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as Sentry from '@sentry/browser';
1
+ import * as Sentry from '@sentry/react';
2
2
  import { B as BaseClient } from './baseClient-CpBY_Ydd.js';
3
3
 
4
4
  declare class WebMonitorClient extends BaseClient {
package/dist/web.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/adapter/web/index.ts
2
- import * as Sentry from "@sentry/browser";
2
+ import * as Sentry from "@sentry/react";
3
3
 
4
4
  // src/core/baseClient.ts
5
5
  var BaseClient = class {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xifan052/monitor",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -35,7 +35,7 @@
35
35
  "prepublishOnly": "pnpm build"
36
36
  },
37
37
  "peerDependencies": {
38
- "@sentry/browser": "^7",
38
+ "@sentry/react": "^7",
39
39
  "@sentry/react-native": "^5"
40
40
  },
41
41
  "devDependencies": {