diff --git a/flagsmith-core.ts b/flagsmith-core.ts index 877e946..b3a0f4f 100644 --- a/flagsmith-core.ts +++ b/flagsmith-core.ts @@ -829,10 +829,6 @@ const Flagsmith = class { options.headers['Flagsmith-Application-Version'] = this.applicationMetadata.version; } - if (SDK_VERSION) { - options.headers['Flagsmith-SDK-user-agent'] = `flagsmith-js-sdk/${SDK_VERSION}` - } - if (headers) { Object.assign(options.headers, headers); } diff --git a/test/init.test.ts b/test/init.test.ts index 6d9d66e..aa1823d 100644 --- a/test/init.test.ts +++ b/test/init.test.ts @@ -292,7 +292,6 @@ describe('Flagsmith.init', () => { headers: expect.objectContaining({ 'Flagsmith-Application-Name': 'Test App', 'Flagsmith-Application-Version': '1.2.3', - 'Flagsmith-SDK-user-agent': `flagsmith-js-sdk/${SDK_VERSION}`, }), }), ); diff --git a/utils/version.ts b/utils/version.ts index f34f547..01abe05 100644 --- a/utils/version.ts +++ b/utils/version.ts @@ -1,2 +1,2 @@ // Auto-generated by write-version.js -export const SDK_VERSION = "9.3.1"; +export const SDK_VERSION = "9.3.2";