Skip to content

Commit 2d48782

Browse files
committed
ref(flags): Refactor LaunchDarkly integration to reusable functions
Moves core logic into re-usable functions so that we can re-use for other integrations.
1 parent 4195a8e commit 2d48782

File tree

1 file changed

+4
-0
lines changed
  • packages/browser/src/integrations/featureFlags/launchdarkly

1 file changed

+4
-0
lines changed

packages/browser/src/integrations/featureFlags/launchdarkly/integration.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ import type { Client, Event, EventHint, IntegrationFn } from '@sentry/types';
22
import type { LDContext, LDEvaluationDetail, LDInspectionFlagUsedHandler } from './types';
33

44
import { defineIntegration } from '@sentry/core';
5+
<<<<<<< HEAD
56
import { copyFlagsFromScopeToEvent, insertFlagToScope } from '../../../utils/featureFlags';
7+
=======
8+
import { copyFlagsFromScopeToEvent, insertToFlagBuffer } from '../../../utils/featureFlags';
9+
>>>>>>> 0f32cb567 (ref(flags): Refactor LaunchDarkly integration to reusable functions)
610

711
/**
812
* Sentry integration for capturing feature flags from LaunchDarkly.

0 commit comments

Comments
 (0)