From 5e1555643e802f4ad9868ce0a94a4c406280bc97 Mon Sep 17 00:00:00 2001 From: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com> Date: Fri, 24 Jan 2025 11:42:33 +0100 Subject: [PATCH] update sdk header to match convention --- src/index.test.ts | 2 +- src/version.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.test.ts b/src/index.test.ts index fb3677d..ff1e6a8 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -1382,7 +1382,7 @@ test('Should add `x-unleash` headers', async () => { const expectedHeaders = { // will be replaced at build time with the actual version - 'x-unleash-sdk': 'unleash-js@__VERSION__', + 'x-unleash-sdk': 'unleash-client-js:__VERSION__', 'x-unleash-connection-id': expect.stringMatching(uuidFormat), 'x-unleash-appname': appName, }; diff --git a/src/version.ts b/src/version.ts index 896c627..de28b7c 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const sdkVersion = `unleash-js@__VERSION__`; +export const sdkVersion = `unleash-client-js:__VERSION__`;