Skip to content

Commit 1ca9d53

Browse files
committed
Tweak hook name and docs
1 parent 1849673 commit 1ca9d53

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

packages/launchdarkly/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@sentry-internal/launchdarkly",
33
"version": "8.35.0",
4-
"description": "Sentry SDK integration for user launchdarkly",
4+
"description": "Sentry SDK integration for Launch Darkly feature flagging",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/launchdarkly",
77
"author": "Sentry",

packages/launchdarkly/src/core/integration.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,12 @@ export const launchDarklyIntegration = ((_options?: LaunchDarklyOptions) => {
3838
}) satisfies IntegrationFn;
3939

4040
/**
41-
* TODO: docstring
41+
* LaunchDarkly hook that listens for flag evaluations and updates the
42+
* flagBuffer in our current scope
43+
* TODO: finalize docstring
4244
*/
4345
export class SentryInspector implements LDInspectionFlagUsedHandler {
44-
public name = 'sentry-flag-used-handler';
46+
public name = 'sentry-flag-auditor';
4547

4648
public synchronous = true; // TODO: T or F?
4749

0 commit comments

Comments
 (0)