diff --git a/docs/platforms/javascript/common/configuration/integrations/custom.mdx b/docs/platforms/javascript/common/configuration/integrations/custom.mdx index 121aa54046e5d..2c02dd1f8273a 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 81babd6b731d0..9bd3727c2fca8 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