Skip to content

Commit

Permalink
feat: Support fire-admin tag for Admin Node SDK (#2238) (#2252)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan Edey <[email protected]>
  • Loading branch information
MarkDuckworth and jonathanedey authored Dec 5, 2024
1 parent c498b3e commit 1339dc2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dev/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 1339dc2

Please sign in to comment.