consistency fixes for getUserAgent, update version (#1392)

* fixes to getUserAgent

* update version
This commit is contained in:
kaatt
2022-03-22 00:46:01 +05:30
committed by GitHub
parent b7713673b2
commit c8ced28ed4
2 changed files with 4 additions and 4 deletions

View File

@@ -1,3 +1,3 @@
{ {
"version": [2, 2208, 7] "version": [2, 2208, 14]
} }

View File

@@ -20,9 +20,9 @@ const getUserAgent = ({ version }: Pick<SocketConfig, 'version'>): proto.IUserAg
osVersion: '0.1', osVersion: '0.1',
manufacturer: '', manufacturer: '',
device: 'Desktop', device: 'Desktop',
osBuildNumber: '0.1.0', osBuildNumber: '0.1',
localeLanguageIso6391: 'en', localeLanguageIso6391: 'en',
localeCountryIso31661Alpha2: 'en', localeCountryIso31661Alpha2: 'US',
}) })
const getWebInfo = (): proto.IWebInfo => ({ const getWebInfo = (): proto.IWebInfo => ({
@@ -160,4 +160,4 @@ export const configureSuccessfulPairing = (
creds: authUpdate, creds: authUpdate,
reply reply
} }
} }