From 6f9fd2732186c82a5b45be498e5b398fa84b7045 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 24 Jan 2026 20:31:49 +0000 Subject: [PATCH] fix: add isJidUser alias for zpro.io compatibility Adds backward compatibility alias: - isJidUser -> isPersonJid This allows zpro.io and other consumers that depend on the old isJidUser function name to continue working without changes. --- src/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/index.ts b/src/index.ts index b73f5bb0..de16f702 100644 --- a/src/index.ts +++ b/src/index.ts @@ -10,4 +10,9 @@ export * from './WAUSync/index' export type WASocket = ReturnType export { makeWASocket, makeWASocketAutoVersion } + +// Alias de compatibilidade para zpro.io +// isJidUser é um alias para isPersonJid (mantém retrocompatibilidade) +export { isPersonJid as isJidUser } from './Utils/history' + export default makeWASocket