@lookiero/checkout 0.6.0-beta.38 → 0.6.0-beta.39
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.
|
@@ -11,12 +11,8 @@ const transport = (options, nativeFetch) => makeFetchTransport(options, nativeFe
|
|
|
11
11
|
// Remove the location's first path ("/checkout"). Otherwise it won't match the proper route.
|
|
12
12
|
const matchRoutes = (routes, locationArg) => reactRouterMatchRoutes(routes, stripFirstSlugFromLocation(locationArg));
|
|
13
13
|
export { matchRoutes };
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
new BrowserTracing({
|
|
17
|
-
routingInstrumentation: reactRouterV6Instrumentation(useEffect, useLocation, useNavigationType, createRoutesFromChildren, matchRoutes),
|
|
18
|
-
}),
|
|
19
|
-
];
|
|
14
|
+
const routingInstrumentation = reactRouterV6Instrumentation(useEffect, useLocation, useNavigationType, createRoutesFromChildren, matchRoutes);
|
|
15
|
+
const integrations = () => [...defaultIntegrations, new BrowserTracing({ routingInstrumentation })];
|
|
20
16
|
const wrapComponent = (Component) => Component;
|
|
21
17
|
const wrapUseRoutes = reactRouterV6WrapUseRoutes;
|
|
22
18
|
export { BrowserClient as Client, Hub, ErrorBoundary, transport, integrations, wrapComponent, wrapUseRoutes };
|
package/dist/shared/logging/reactRouterV6Instrumentation/reactRouterV6Instrumentation.native.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { OnConfirmRoute, TransactionCreator } from "@sentry/react-native/dist/js
|
|
|
3
3
|
import { BeforeNavigate } from "@sentry/react-native/dist/js/tracing/types";
|
|
4
4
|
import { MatchRoutes, UseEffect, UseLocation, WrapUseRoutes } from "../types";
|
|
5
5
|
/**
|
|
6
|
-
* This instrumentation has been built
|
|
6
|
+
* This instrumentation has been built taking as an example the actual
|
|
7
7
|
* ReactNavigationV4Instrumentation implementation as suggested in the documentation.
|
|
8
8
|
*
|
|
9
9
|
* (https://docs.sentry.io/platforms/react-native/performance/instrumentation/automatic-instrumentation/#custom-instrumentation)
|
package/dist/shared/logging/reactRouterV6Instrumentation/reactRouterV6Instrumentation.native.js
CHANGED
|
@@ -6,7 +6,7 @@ import { stripFirstSlugFromLocation } from "../location";
|
|
|
6
6
|
import { normalizedNameAndMatchForLocation } from "./normalizedNameAndMatchForLocation";
|
|
7
7
|
import { transactionContext } from "./transactionContext";
|
|
8
8
|
/**
|
|
9
|
-
* This instrumentation has been built
|
|
9
|
+
* This instrumentation has been built taking as an example the actual
|
|
10
10
|
* ReactNavigationV4Instrumentation implementation as suggested in the documentation.
|
|
11
11
|
*
|
|
12
12
|
* (https://docs.sentry.io/platforms/react-native/performance/instrumentation/automatic-instrumentation/#custom-instrumentation)
|