From 59fe89d09ecac7fccc62dd31cc3e737cc35d2a5a Mon Sep 17 00:00:00 2001 From: Billy Date: Thu, 31 Aug 2023 13:34:13 -0700 Subject: [PATCH] chore: upgrade hardcoded version to 2.0.0 --- src/event-cache/EventCache.ts | 2 +- src/event-cache/__tests__/EventCache.integ.test.ts | 2 +- src/event-cache/__tests__/EventCache.test.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/event-cache/EventCache.ts b/src/event-cache/EventCache.ts index 1faef62f..bd7436c7 100644 --- a/src/event-cache/EventCache.ts +++ b/src/event-cache/EventCache.ts @@ -9,7 +9,7 @@ import { RumEvent } from '../dispatch/dataplane'; -const webClientVersion = '1.13.4'; +const webClientVersion = '2.0.0'; /** * A cache which stores events generated by telemetry plugins. diff --git a/src/event-cache/__tests__/EventCache.integ.test.ts b/src/event-cache/__tests__/EventCache.integ.test.ts index 04f732b7..e95151bd 100644 --- a/src/event-cache/__tests__/EventCache.integ.test.ts +++ b/src/event-cache/__tests__/EventCache.integ.test.ts @@ -6,7 +6,7 @@ import { DEFAULT_CONFIG, mockFetch } from '../../test-utils/test-utils'; import { SESSION_START_EVENT_TYPE } from '../../sessions/SessionManager'; import { INSTALL_MODULE } from '../../utils/constants'; -const WEB_CLIENT_VERSION = '1.13.4'; +const WEB_CLIENT_VERSION = '2.0.0'; global.fetch = mockFetch; describe('EventCache tests', () => { diff --git a/src/event-cache/__tests__/EventCache.test.ts b/src/event-cache/__tests__/EventCache.test.ts index 90074f83..d5aa2f99 100644 --- a/src/event-cache/__tests__/EventCache.test.ts +++ b/src/event-cache/__tests__/EventCache.test.ts @@ -26,7 +26,7 @@ jest.mock('../../sessions/SessionManager', () => ({ })) })); -const WEB_CLIENT_VERSION = '1.13.4'; +const WEB_CLIENT_VERSION = '2.0.0'; describe('EventCache tests', () => { beforeAll(() => {