mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
consistency fixes for getUserAgent, update version (#1392)
* fixes to getUserAgent * update version
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"version": [2, 2208, 7]
|
||||
"version": [2, 2208, 14]
|
||||
}
|
||||
|
||||
@@ -20,9 +20,9 @@ const getUserAgent = ({ version }: Pick<SocketConfig, 'version'>): proto.IUserAg
|
||||
osVersion: '0.1',
|
||||
manufacturer: '',
|
||||
device: 'Desktop',
|
||||
osBuildNumber: '0.1.0',
|
||||
osBuildNumber: '0.1',
|
||||
localeLanguageIso6391: 'en',
|
||||
localeCountryIso31661Alpha2: 'en',
|
||||
localeCountryIso31661Alpha2: 'US',
|
||||
})
|
||||
|
||||
const getWebInfo = (): proto.IWebInfo => ({
|
||||
@@ -160,4 +160,4 @@ export const configureSuccessfulPairing = (
|
||||
creds: authUpdate,
|
||||
reply
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user