From c8d3c0516f22f572e88d5292092e36721378511a Mon Sep 17 00:00:00 2001 From: Ryan Lamb <4955475+kinyoklion@users.noreply.github.com> Date: Mon, 4 Nov 2024 14:55:05 -0800 Subject: [PATCH] Renaming. --- packages/sdk/ai/src/LDAIClientImpl.ts | 2 +- packages/sdk/ai/src/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/sdk/ai/src/LDAIClientImpl.ts b/packages/sdk/ai/src/LDAIClientImpl.ts index a515cce20..bd5c36351 100644 --- a/packages/sdk/ai/src/LDAIClientImpl.ts +++ b/packages/sdk/ai/src/LDAIClientImpl.ts @@ -23,7 +23,7 @@ interface VariationContent { _ldMeta?: LDMeta; } -export class AIClientImpl implements LDAIClient { +export class LDAIClientImpl implements LDAIClient { private _ldClient: LDClient; constructor(ldClient: LDClient) { diff --git a/packages/sdk/ai/src/index.ts b/packages/sdk/ai/src/index.ts index 51884f9c2..ed02d21c2 100644 --- a/packages/sdk/ai/src/index.ts +++ b/packages/sdk/ai/src/index.ts @@ -1,7 +1,7 @@ import { LDClient } from '@launchdarkly/node-server-sdk'; import { LDAIClient } from './api/AIClient'; -import { AIClientImpl } from './LDAIClientImpl'; +import { LDAIClientImpl } from './LDAIClientImpl'; /** * Initialize a new AI client. This client will be used to perform any AI operations. @@ -9,7 +9,7 @@ import { AIClientImpl } from './LDAIClientImpl'; * @returns A new AI client. */ export function initAi(ldClient: LDClient): LDAIClient { - return new AIClientImpl(ldClient); + return new LDAIClientImpl(ldClient); } export * from './api';