mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix lthash not being included in lib
This commit is contained in:
@@ -1,9 +1,12 @@
|
|||||||
const { hkdf } = require("../Utils/generics");
|
import { hkdf } from '../Utils'
|
||||||
|
|
||||||
const o = 128;
|
const o = 128;
|
||||||
|
|
||||||
class d {
|
class d {
|
||||||
constructor(e) {
|
|
||||||
|
salt: string
|
||||||
|
|
||||||
|
constructor(e: string) {
|
||||||
this.salt = e
|
this.salt = e
|
||||||
}
|
}
|
||||||
add(e, t) {
|
add(e, t) {
|
||||||
@@ -45,4 +48,4 @@ class d {
|
|||||||
return a
|
return a
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
module.exports.LT_HASH_ANTI_TAMPERING = new d('WhatsApp Patch Integrity')
|
export const LT_HASH_ANTI_TAMPERING = new d('WhatsApp Patch Integrity')
|
||||||
Reference in New Issue
Block a user