From 67b2c3e4eadc8397d7497d91d1e90eb04d684a82 Mon Sep 17 00:00:00 2001 From: Ryan Lamb <4955475+kinyoklion@users.noreply.github.com> Date: Wed, 4 Jun 2025 15:20:13 -0700 Subject: [PATCH] chore: Remove star import. --- index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.ts b/index.ts index e0401e1..6688a8e 100644 --- a/index.ts +++ b/index.ts @@ -1,4 +1,4 @@ -import * as LaunchDarkly from '@launchdarkly/node-server-sdk'; +import { init } from '@launchdarkly/node-server-sdk'; // Set sdkKey to your LaunchDarkly SDK key. const sdkKey = process.env.LAUNCHDARKLY_SDK_KEY ?? 'your-sdk-key'; @@ -33,7 +33,7 @@ if (sdkKey === 'your-sdk-key' || !sdkKey) { } -const ldClient = LaunchDarkly.init(sdkKey); +const ldClient = init(sdkKey); // Set up the context properties. This context should appear on your LaunchDarkly contexts dashboard // soon after you run the demo.