@lookiero/checkout 0.6.0-beta.7 → 0.6.0-beta.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.
@@ -0,0 +1,4 @@
1
+ import { BrowserClient, Hub } from "@sentry/browser";
2
+ import { ErrorBoundary } from "@sentry/react";
3
+ import { BrowserTracing } from "@sentry/tracing";
4
+ export { BrowserClient as Client, Hub, ErrorBoundary, BrowserTracing as Tracing };
@@ -0,0 +1,4 @@
1
+ import { BrowserClient, Hub } from "@sentry/browser";
2
+ import { ErrorBoundary } from "@sentry/react";
3
+ import { BrowserTracing } from "@sentry/tracing";
4
+ export { BrowserClient as Client, Hub, ErrorBoundary, BrowserTracing as Tracing };
@@ -0,0 +1,2 @@
1
+ import { ReactNativeClient, Hub, ErrorBoundary, ReactNativeTracing } from "@sentry/react-native";
2
+ export { ReactNativeClient as Client, Hub, ErrorBoundary, ReactNativeTracing as Tracing };
@@ -0,0 +1,2 @@
1
+ import { ReactNativeClient, Hub, ErrorBoundary, ReactNativeTracing } from "@sentry/react-native";
2
+ export { ReactNativeClient as Client, Hub, ErrorBoundary, ReactNativeTracing as Tracing };
@@ -1,4 +1,3 @@
1
- import "@sentry/tracing";
2
1
  import { ComponentType } from "react";
3
2
  import { Platform } from "react-native";
4
3
  interface SentryLoggerFunctionArgs {
@@ -1,27 +1,25 @@
1
1
  // import { defaultStackParser, makeFetchTransport } from "@sentry/browser";
2
2
  // import { FetchImpl } from "@sentry/browser/types/transports/utils";
3
3
  import { makeMain } from "@sentry/core";
4
- import { ReactNativeClient, Hub, ErrorBoundary, ReactNativeTracing } from "@sentry/react-native";
5
4
  // import { ReactNativeTransportOptions } from "@sentry/react-native/dist/js/options";
6
5
  // import { makeReactNativeTransport } from "@sentry/react-native/dist/js/transports/native";
7
6
  // import { NATIVE } from "@sentry/react-native/dist/js/wrapper";
8
- import "@sentry/tracing";
7
+ // import "@sentry/tracing";
9
8
  // import { Transport } from "@sentry/types";
10
9
  import React, { useEffect } from "react";
11
10
  import { Platform } from "react-native";
11
+ import { Client, Hub, ErrorBoundary, Tracing } from "./SentryDependencies";
12
12
  const sentryLogger = ({ publicKey, environment, release, project }) => {
13
13
  let mainHub;
14
- const client = new ReactNativeClient({
14
+ const client = new Client({
15
15
  environment,
16
16
  release,
17
17
  dsn: `https://${publicKey}@o179049.ingest.sentry.io/${project}`,
18
- integrations: [
19
- new ReactNativeTracing({
20
- enableAppStartTracking: true,
21
- }),
22
- ],
18
+ integrations: [new Tracing()],
23
19
  tracesSampleRate: 1.0,
24
20
  debug: true,
21
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
22
+ // @ts-ignore
25
23
  enableNative: Platform.OS !== "web",
26
24
  // stackParser: defaultStackParser,
27
25
  // transport: defaultTransport,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lookiero/checkout",
3
- "version": "0.6.0-beta.7",
3
+ "version": "0.6.0-beta.8",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [