From a20c155fcdf54aeb640f840e0061e0e4567a9515 Mon Sep 17 00:00:00 2001 From: Xavier Abad Date: Tue, 10 Feb 2026 09:48:54 +0100 Subject: [PATCH 1/2] chore(deps): update SDK version --- package.json | 2 +- src/app/core/factory/sdk/index.ts | 4 +--- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 3f19401bb..ca808d323 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "@iconscout/react-unicons": "^1.1.6", "@internxt/css-config": "1.1.0", "@internxt/lib": "1.4.1", - "@internxt/sdk": "=1.12.4", + "@internxt/sdk": "=1.12.6", "@internxt/ui": "0.1.1", "@phosphor-icons/react": "^2.1.7", "@popperjs/core": "^2.11.6", diff --git a/src/app/core/factory/sdk/index.ts b/src/app/core/factory/sdk/index.ts index 59216df33..21061d424 100644 --- a/src/app/core/factory/sdk/index.ts +++ b/src/app/core/factory/sdk/index.ts @@ -116,9 +116,7 @@ export class SdkFactory { public createLocationClient(): Location { const apiUrl = envService.getVariable('location'); - const appDetails = SdkFactory.getAppDetails(); - const apiSecurity = this.getNewApiSecurity(); - return Location.client(apiUrl, appDetails, apiSecurity); + return Location.client(apiUrl); } /** Helpers **/ diff --git a/yarn.lock b/yarn.lock index 92db71b54..1065b5cfd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1906,10 +1906,10 @@ version "1.0.2" resolved "https://codeload.github.com/internxt/prettier-config/tar.gz/9fa74e9a2805e1538b50c3809324f1c9d0f3e4f9" -"@internxt/sdk@=1.12.4": - version "1.12.4" - resolved "https://registry.yarnpkg.com/@internxt/sdk/-/sdk-1.12.4.tgz#5874d5b2705919a27f4e621e8179443e5bbdc43f" - integrity sha512-amADmUpOubu2wnbGq+DZqgK03JCKJcLuijiigY29SwBSrdknTlAqAetQSpbl/RXnBpeqnTTZtYXMJPYB14qbHw== +"@internxt/sdk@=1.12.6": + version "1.12.6" + resolved "https://registry.yarnpkg.com/@internxt/sdk/-/sdk-1.12.6.tgz#6e7e08cfb78aac1a9cde45f0669b5e094f716909" + integrity sha512-V5XfRRb6HaiFLtLq9nTUQScd9c41MOyvr3GT5lvpqj7pd/gMnBV9HBpMqdiiRzPWXgf1WDddcjo2QBNChEzCxQ== dependencies: axios "1.13.2" uuid "11.1.0" From 60f90fa2154b068b104e0f2aa6da8eca0186cf2c Mon Sep 17 00:00:00 2001 From: Xavier Abad Date: Tue, 10 Feb 2026 09:51:36 +0100 Subject: [PATCH 2/2] tests: remove useless headers in test --- src/app/core/factory/sdk/index.test.ts | 9 +-------- src/app/core/factory/sdk/index.ts | 1 + 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/app/core/factory/sdk/index.test.ts b/src/app/core/factory/sdk/index.test.ts index f4cc870df..8505d7e6d 100644 --- a/src/app/core/factory/sdk/index.test.ts +++ b/src/app/core/factory/sdk/index.test.ts @@ -362,14 +362,7 @@ describe('SdkFactory', () => { const instance = SdkFactory.getNewApiInstance(); instance.createLocationClient(); - expect(Location.client).toHaveBeenCalledWith( - MOCKED_LOCATION, - { - clientName: packageJson.name, - clientVersion: packageJson.version, - }, - expect.any(Object), - ); + expect(Location.client).toHaveBeenCalledWith(MOCKED_LOCATION); }); }); }); diff --git a/src/app/core/factory/sdk/index.ts b/src/app/core/factory/sdk/index.ts index 21061d424..997ee8d52 100644 --- a/src/app/core/factory/sdk/index.ts +++ b/src/app/core/factory/sdk/index.ts @@ -116,6 +116,7 @@ export class SdkFactory { public createLocationClient(): Location { const apiUrl = envService.getVariable('location'); + return Location.client(apiUrl); }