mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-17 19:26:20 +00:00
* index.js * [authReady] - new BaseAuthStrategy function * [RemoteAuth] - new Class RemoteAuth added * Eslint Fixes * Eslint Fixes * Added types for RemoteAuth (mostly assumed types from PR message and src/authStrategies/RemoteAuth.js) * [dependency updates] - added unzipper & archiver * [Types] - Fixing typescript declarations * Renaming Base Class Hook * auth hook rename on client * [Error Handling] - Delegate responsability to end users * [Refactor] - deletemetadata code refactor * [Refactor] - backupSyncIntervalMs renamed * [Refactor] - Minor improvement on deleteMetadata * [Refactor] - backupSyncIntervalMs rename on index.d.ts * [Update] - Fix for Ubuntu crahsing on extractSession * [Update] - Delegate responsability to stores of making sure the previous session is deleted strictly only after the new one is saved * [Update] - Improve file paths handling & naming (reduce assumptions between RemoteAuth and stores) * [Update] - Adding new event <REMOTE_SESSION_SAVED> on Constants.js * [Update] - Adding new authHooks <destroy> & <disconnect> * [Update] - Adding <destroy> & <disconnect> hooks on Client.js * [Update] - Adding new features to index.d.ts * [RemoteAuth] - New Features added to RemoteAuth Class * [dependency updates] - added fs-extra * [Cross Platform] - Windows is now compatible with RemoteAuth * [optionalDependencies] - moved archiver, fs-extra & unzipper to optional dependencies on package.json * [optionalDependencies] - adding validation for when optional dependencies are missing * [Update] - Node Deprecation warining for rmdir changed for rm instead Co-authored-by: h110m <nichtwitzig228@gmail.com>
33 lines
1.2 KiB
JavaScript
33 lines
1.2 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'),
|
|
RemoteAuth: require('./src/authStrategies/RemoteAuth'),
|
|
LegacySessionAuth: require('./src/authStrategies/LegacySessionAuth'),
|
|
|
|
...Constants
|
|
};
|