diff --git a/src/utils/http.ts b/src/utils/http.ts index 3d85775103..c92940437e 100644 --- a/src/utils/http.ts +++ b/src/utils/http.ts @@ -26,7 +26,6 @@ export interface ConfigOptions { sessionId?: string; clientSessionId?: string; validationStatuses?: number[]; - sourceIp?: string; persistentSessionId?: string; baseURL?: string; userLanguage?: string; diff --git a/test/unit/utils/http.test.ts b/test/unit/utils/http.test.ts index 8e1bd922a7..bf7faf3710 100644 --- a/test/unit/utils/http.test.ts +++ b/test/unit/utils/http.test.ts @@ -47,7 +47,6 @@ describe("getInternalRequestConfigWithSecurityHeaders", () => { const actualConfig = getInternalRequestConfigWithSecurityHeaders( { sessionId: sessionId, - sourceIp: sourceIp, clientSessionId: clientSessionId, persistentSessionId: persistentSessionId, reauthenticate: reauthenticate, @@ -78,13 +77,11 @@ describe("getInternalRequestConfigWithSecurityHeaders", () => { }; const sessionId = "someSessionId"; - const sourceIp = "123.123.123.123"; const clientSessionId = "someClientSessionId"; const persistentSessionId = "somePersistentSessionId"; const actualConfig = getInternalRequestConfigWithSecurityHeaders( { sessionId: sessionId, - sourceIp: sourceIp, clientSessionId: clientSessionId, persistentSessionId: persistentSessionId, },