mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
chore: update default versions
This commit is contained in:
@@ -66,11 +66,11 @@ export const generateRegistrationNode = (
|
|||||||
const companion: proto.ICompanionProps = {
|
const companion: proto.ICompanionProps = {
|
||||||
os: config.browser[0],
|
os: config.browser[0],
|
||||||
version: {
|
version: {
|
||||||
primary: +(browserVersion[0] || 10),
|
primary: +(browserVersion[0] || 0),
|
||||||
secondary: +(browserVersion[1] || 0),
|
secondary: +(browserVersion[1] || 1),
|
||||||
tertiary: +(browserVersion[2] || 0),
|
tertiary: +(browserVersion[2] || 0),
|
||||||
},
|
},
|
||||||
platformType: proto.CompanionProps.CompanionPropsPlatformType[config.browser[1].toUpperCase()] || proto.CompanionProps.CompanionPropsPlatformType.CHROME,
|
platformType: proto.CompanionProps.CompanionPropsPlatformType[config.browser[1].toUpperCase()] || proto.CompanionProps.CompanionPropsPlatformType.UNKNOWN,
|
||||||
requireFullSync: false,
|
requireFullSync: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user