From fd7088c2a0422b2bd6f861e89499d74156d11dd6 Mon Sep 17 00:00:00 2001 From: Maneesh Tewani Date: Fri, 11 Oct 2024 13:27:59 -0700 Subject: [PATCH] Renamed js to web --- packages/data-connect/src/network/fetch.ts | 2 +- packages/data-connect/test/unit/userAgent.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/data-connect/src/network/fetch.ts b/packages/data-connect/src/network/fetch.ts index 928b9f873cf..06ef6dd8285 100644 --- a/packages/data-connect/src/network/fetch.ts +++ b/packages/data-connect/src/network/fetch.ts @@ -26,7 +26,7 @@ export function initializeFetch(fetchImpl: typeof fetch): void { function getGoogApiClientValue(_isUsingGen: boolean): string { let str = 'gl-js/ fire/' + SDK_VERSION; if (_isUsingGen) { - str += ' web/gen'; + str += ' js/gen'; } return str; } diff --git a/packages/data-connect/test/unit/userAgent.test.ts b/packages/data-connect/test/unit/userAgent.test.ts index d218969fb75..9e9637a7ea6 100644 --- a/packages/data-connect/test/unit/userAgent.test.ts +++ b/packages/data-connect/test/unit/userAgent.test.ts @@ -57,7 +57,7 @@ describe('User Agent Tests', () => { 'https://firebasedataconnect.googleapis.com/v1beta/projects/p/locations/l/services/s/connectors/c:executeQuery', { headers: { - ['X-Goog-Api-Client']: 'gl-js/ fire/' + SDK_VERSION + ' web/gen' + ['X-Goog-Api-Client']: 'gl-js/ fire/' + SDK_VERSION + ' js/gen' } } );