From e319ff1feb5e490ab5b4029705206ca6da4643b4 Mon Sep 17 00:00:00 2001 From: Abdellah Hariti Date: Fri, 6 Dec 2024 11:43:13 +0100 Subject: [PATCH] fix custom integration type 404 --- .../javascript/common/configuration/integrations/custom.mdx | 2 +- docs/platforms/react-native/integrations/custom.mdx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/platforms/javascript/common/configuration/integrations/custom.mdx b/docs/platforms/javascript/common/configuration/integrations/custom.mdx index 121aa54046e5d8..2c02dd1f8273ab 100644 --- a/docs/platforms/javascript/common/configuration/integrations/custom.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/custom.mdx @@ -6,7 +6,7 @@ description: "Learn how you can enable a custom integration." In addition to the integrations that come with the SDK, you can also write custom integrations. -Custom integration must conform to the [Integration interface](https://github.com/getsentry/sentry-javascript/blob/master/packages/types/src/integration.ts). +Custom integration must conform to the [Integration interface](https://github.com/getsentry/sentry-javascript/blob/master/packages/core/src/types-hoist/integration.ts). A custom integration can be created and added to the SDK as follows: diff --git a/docs/platforms/react-native/integrations/custom.mdx b/docs/platforms/react-native/integrations/custom.mdx index 81babd6b731d0e..9bd3727c2fca8a 100644 --- a/docs/platforms/react-native/integrations/custom.mdx +++ b/docs/platforms/react-native/integrations/custom.mdx @@ -6,7 +6,7 @@ description: "Learn how to enable a custom integration." In addition to the integrations that come with the SDK, you can also write custom integrations. -Custom integration must conform to the [Integration interface](https://github.com/getsentry/sentry-javascript/blob/master/packages/types/src/integration.ts). +Custom integration must conform to the [Integration interface](https://github.com/getsentry/sentry-javascript/blob/master/packages/core/src/types-hoist/integration.ts). A custom integration can be created and added to the SDK as follows: @@ -100,7 +100,7 @@ const integration = { ### `afterAllSetup` -While we recommend that you use the `setup` hook in most cases, `afterAllSetup` can be used to make sure that all other integrations have been run. This hook receives the `client` that is being set up as the first argument and is triggered after `setupOnce()` and `setup()` have been called for all integrations. +While we recommend that you use the `setup` hook in most cases, `afterAllSetup` can be used to make sure that all other integrations have been run. This hook receives the `client` that is being set up as the first argument and is triggered after `setupOnce()` and `setup()` have been called for all integrations. ```javascript