File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { Base64 } from "js-base64";
44import { FPUser } from "./FPUser" ;
55
66const PKG_VERSION = require ( "../package.json" ) . version ;
7- const USER_AGENT = "Js /" + PKG_VERSION ;
7+ const UA = "JS /" + PKG_VERSION ;
88
99const EVENTS = {
1010 READY : "ready" ,
@@ -217,7 +217,7 @@ class FeatureProbe extends TinyEmitter {
217217 headers : {
218218 Authorization : this . clientSdkKey ,
219219 "Content-Type" : "application/json" ,
220- "User-Agent " : USER_AGENT ,
220+ "UA " : UA ,
221221 } ,
222222 } )
223223 . then ( ( response ) => {
@@ -259,7 +259,7 @@ class FeatureProbe extends TinyEmitter {
259259 headers : {
260260 Authorization : this . clientSdkKey ,
261261 "Content-Type" : "application/json" ,
262- "User-Agent " : USER_AGENT ,
262+ "UA " : UA ,
263263 } ,
264264 body : JSON . stringify ( payload ) ,
265265 } ) ;
You can’t perform that action at this time.
0 commit comments