We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 280c256 commit a705118Copy full SHA for a705118
packages/database/src/realtime/WebSocketConnection.ts
@@ -166,7 +166,7 @@ export class WebSocketConnection implements Transport {
166
if (isNodeSdk()) {
167
const device = this.nodeAdmin ? 'AdminNode' : 'Node';
168
// UA Format: Firebase/<wire_protocol>/<sdk_version>/<platform>/<device>
169
- const options: { [k: string]: object } = {
+ options = {
170
headers: {
171
'User-Agent': `Firebase/${PROTOCOL_VERSION}/${SDK_VERSION}/${process.platform}/${device}`,
172
'X-Firebase-GMPID': this.applicationId || ''
0 commit comments