diff --git a/dev/src/index.ts b/dev/src/index.ts index 5bf9c2217..007c08dda 100644 --- a/dev/src/index.ts +++ b/dev/src/index.ts @@ -588,6 +588,11 @@ export class Firestore implements firestore.Firestore { libraryHeader.libVersion += ' fire/' + settings.firebaseVersion; } + if (settings && settings.firebaseAdminVersion) { + libraryHeader.libVersion += + ' fire-admin/' + settings.firebaseAdminVersion; + } + this.validateAndApplySettings({...settings, ...libraryHeader}); this._traceUtil = this.newTraceUtilInstance(this._settings);