waproto, validate-connection: Update headers and proto to latest version

This commit is contained in:
Rajeh Taher
2025-11-06 22:16:37 +02:00
parent ba32ef9110
commit a8b8eceb72
5 changed files with 20169 additions and 3988 deletions
+1081 -235
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,5 +1,5 @@
import { readFileSync, writeFileSync } from 'fs'; import { readFileSync, writeFileSync } from 'fs';
import { argv, exit } from 'process'; import { exit } from 'process';
const filePath = './index.js'; const filePath = './index.js';
+2614 -566
View File
File diff suppressed because it is too large Load Diff
+16466 -3184
View File
File diff suppressed because it is too large Load Diff
+7 -2
View File
@@ -100,8 +100,9 @@ export const generateRegistrationNode = (
platformType: getPlatformType(config.browser[1]), platformType: getPlatformType(config.browser[1]),
requireFullSync: config.syncFullHistory, requireFullSync: config.syncFullHistory,
historySyncConfig: { historySyncConfig: {
storageQuotaMb: 569150, storageQuotaMb: 10240,
inlineInitialPayloadInE2EeMsg: true, inlineInitialPayloadInE2EeMsg: true,
recentSyncDaysLimit: undefined,
supportCallLogHistory: false, supportCallLogHistory: false,
supportBotUserAgentChatHistory: true, supportBotUserAgentChatHistory: true,
supportCagReactionsAndPolls: true, supportCagReactionsAndPolls: true,
@@ -109,7 +110,11 @@ export const generateRegistrationNode = (
supportRecentSyncChunkMessageCountTuning: true, supportRecentSyncChunkMessageCountTuning: true,
supportHostedGroupMsg: true, supportHostedGroupMsg: true,
supportFbidBotChatHistory: true, supportFbidBotChatHistory: true,
supportMessageAssociation: true supportAddOnHistorySyncMigration: undefined,
supportMessageAssociation: true,
supportGroupHistory: false,
onDemandReady: undefined,
supportGuestChat: undefined
}, },
version: { version: {
primary: 10, primary: 10,