mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
chore: update whatsapp version, tokens and increment dict version (#1366)
* chore: update whatsapp version, tokens and increment dict version * revert: baileys version bump
This commit is contained in:
committed by
GitHub
parent
cf514fa8d7
commit
f8a538eee2
@@ -15,7 +15,7 @@ export const PHONE_CONNECTION_CB = 'CB:Pong'
|
||||
export const WA_DEFAULT_EPHEMERAL = 7 * 24 * 60 * 60
|
||||
|
||||
export const NOISE_MODE = 'Noise_XX_25519_AESGCM_SHA256\0\0\0\0'
|
||||
export const DICT_VERSION = 2
|
||||
export const DICT_VERSION = 3
|
||||
export const KEY_BUNDLE_TYPE = Buffer.from([5])
|
||||
export const NOISE_WA_HEADER = Buffer.from([87, 65, 6, DICT_VERSION]) // last is "DICT_VERSION"
|
||||
/** from: https://stackoverflow.com/questions/3809401/what-is-a-good-regular-expression-to-match-a-url */
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user