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.
This commit is contained in:
@@ -10,4 +10,9 @@ export * from './WAUSync/index'
|
||||
|
||||
export type WASocket = ReturnType<typeof makeWASocket>
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user