mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-18 03:29:14 +00:00
* auth strategies * default to no auth * rename base auth strategy * rename base strategy cont. * refactor auth strategy methods and LocalAuth * activate old session options even if is falsy value * move restartOnAuthFail to LegacyAuthStrategy option * add link to guide item * update example/shell * types
32 lines
1.1 KiB
JavaScript
32 lines
1.1 KiB
JavaScript
'use strict';
|
|
|
|
const Constants = require('./src/util/Constants');
|
|
|
|
module.exports = {
|
|
Client: require('./src/Client'),
|
|
|
|
version: require('./package.json').version,
|
|
|
|
// Structures
|
|
Chat: require('./src/structures/Chat'),
|
|
PrivateChat: require('./src/structures/PrivateChat'),
|
|
GroupChat: require('./src/structures/GroupChat'),
|
|
Message: require('./src/structures/Message'),
|
|
MessageMedia: require('./src/structures/MessageMedia'),
|
|
Contact: require('./src/structures/Contact'),
|
|
PrivateContact: require('./src/structures/PrivateContact'),
|
|
BusinessContact: require('./src/structures/BusinessContact'),
|
|
ClientInfo: require('./src/structures/ClientInfo'),
|
|
Location: require('./src/structures/Location'),
|
|
ProductMetadata: require('./src/structures/ProductMetadata'),
|
|
List: require('./src/structures/List'),
|
|
Buttons: require('./src/structures/Buttons'),
|
|
|
|
// Auth Strategies
|
|
NoAuth: require('./src/authStrategies/NoAuth'),
|
|
LocalAuth: require('./src/authStrategies/LocalAuth'),
|
|
LegacySessionAuth: require('./src/authStrategies/LegacySessionAuth'),
|
|
|
|
...Constants
|
|
};
|