diff --git a/index.d.ts b/index.d.ts index b981bdb..3fb6adb 100644 --- a/index.d.ts +++ b/index.d.ts @@ -300,6 +300,12 @@ declare namespace WAWebJS { } + /** whatsapp web url */ + export const WhatsWebURL: string + + /** default client options */ + export const DefaultOptions: ClientOptions + /** Chat types */ export enum ChatTypes { SOLO = 'solo', diff --git a/index.js b/index.js index a5a6bc2..a67d16e 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,7 @@ 'use strict'; +const Constants = require('./src/util/Constants'); + module.exports = { Client: require('./src/Client'), @@ -15,5 +17,7 @@ module.exports = { PrivateContact: require('./src/structures/PrivateContact'), BusinessContact: require('./src/structures/BusinessContact'), ClientInfo: require('./src/structures/ClientInfo'), - Location: require('./src/structures/Location') -}; \ No newline at end of file + Location: require('./src/structures/Location'), + + ...Constants +};