Hydra bot is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node js

Overview

Project still under development! Wait for new updates!

Welcome to Hydra Bot

This project was developed to help the community that uses whatsapp as a way to implement an API quickly and effectively, for companies and much more! Thank you for being part of this family.

Supporters

To maintain quality, we are receiving support! We thank you in advance for the opportunity to develop and maintain this project!

Company URL Logo
redrive https://redrive.com.br/
zaplus https://zaplus.chat/
tabchat https://tabchat.com.br/

WhatSapp Group

Do you have any doubt? Need help? Join our whatsapp group and ask your questions with other people!

Installation

Use the stable version:

> npm i --save hydra-bot

Getting started

{ console.log('qrcode: ', qrcode); }); // return connection information webpack.on('connection', async (conn) => { if (conn) { // send a text message await webpack.sendMessage({ to: "[email protected]", body: "A message sent by hydra-bot", options: { type: 'text', } }).then((result) => { console.log(result) }); } }); // return receive new messages webpack.on('newMessage', (newMsg) => { // when is received if (!newMsg.isSentByMe) { // message received! console.log('NewMessageReceived: ', newMsg); } // when is it sent if (!!newMsg.isSentByMe) { // message sent console.log('NewMessageSent: ', newMsg); } }); })();">
const hydra = require('hydra-bot');

(async () => {
    // start bot service
    const webpack = await hydraBot.initServer();

    // return to current whatsapp interface
    webpack.on('interfaceChange', (change) => {
        console.log("interfaceChange: ", change);
    });

    // return qrcode parameters
    webpack.on('qrcode', (qrcode) => {
        console.log('qrcode: ', qrcode);
    });

    // return connection information
    webpack.on('connection', async (conn) => {
        if (conn) {
            // send a text message
            await webpack.sendMessage({
                to: "[email protected]",
                body: "A message sent by hydra-bot",
                options: {
                    type: 'text',
                }
            }).then((result) => {
                console.log(result)
            });
        }
    });

    // return receive new messages
    webpack.on('newMessage', (newMsg) => {
        // when is received
        if (!newMsg.isSentByMe) {
            // message received!
            console.log('NewMessageReceived: ', newMsg);
        }
        // when is it sent
        if (!!newMsg.isSentByMe) {
            // message sent
            console.log('NewMessageSent: ', newMsg);
        }
    });
})();

Optional create parameters

const hydra = require('hydra-bot');

hydraBot.initServer(
{
  session: "session", // Name of the token to be generated, a folder with all customer information will be created
  pathNameToken: "token", // The path and name of the folder where the client tokens will be saved
  printQRInTerminal: true, // The QR CODE will be printed on the terminal if true
  timeAutoClose: 60000, // If you don't read the QR CODE by default 60 seconds, it will automatically close the client's browser to save memory, if you want to disable it, set 0 or false
  mkdirFolderToken: '', // Token folder path, only inside the project
  puppeteerOptions: {
    headless: "false", // Start the project with the browser open or not!
    args: [], // Additional arguments to pass to the browser instance. adding any parameter you will replace the default args of the project
    executablePath: 'useChrome' // The browser that will be used for the project, you can specify a path, if you don't pass any parameter it will open chromium.
  }
}
);

Basic Functions (more features still under development)

You must be logged in to use these functions!

Here, chatId could be @c.us or -@g.us
{ console.log(result) }); ">
// send text message
await webpack.sendMessage({
    to: "[email protected]",
    body: "A message sent by hydra-bot",
    options: {
        type: 'text',
    }
}).then((result) => {
    console.log(result)
});

Debugging

Building the hydra-bot is very simple

Development

To build the entire project just run

> npm run build

Test

run a test inside the project

> npm start
Comments
  • Does this library keep session for long term?

    Does this library keep session for long term?

    Hi, I am using in some library that also allow to send msg to users. But there is a bug in the library i am using, after some times unexpected the session can׳t be loaded and i need to remove the folder and scan the qr code from start.

    Is this bug happen in your library?

    It also important to mention that i am using in pm2.

    Second thing, Is this library considiring to be updated when whatsapp makes updates and sometime broken the library?

    opened by roysG 5
  • build(deps): bump got and latest-version

    build(deps): bump got and latest-version

    Bumps got and latest-version. These dependencies needed to be updated together. Updates got from 9.6.0 to 12.3.1

    Release notes

    Sourced from got's releases.

    v12.3.1

    • Don't freeze signal when freezing Options (#2100) 43b1467

    https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1

    v12.3.0

    • Add .off() method for events (#2092) 88056be

    https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0

    v12.2.0

    https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0

    v12.1.0

    Improvements

    Fixes

    https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0

    v12.0.4

    • Remove stream lock - unreliable since Node 17.3.0 bb8eca924c338ca12d5b90d6a26aa28dbddb42ee

    v12.0.3

    • Allow more types in the json option (#2015) eb045bf

    https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3

    v12.0.2

    • Fix encoding option with {responseType: 'json'} (#1996) 0703318

    https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2

    v12.0.1

    • Fix nock compatibility (#1959) bf39d2c
    • Fix missing export of Request TypeScript type (#1940) 0f9f2b8

    https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1

    v12.0.0

    ... (truncated)

    Commits

    Updates latest-version from 5.1.0 to 7.0.0

    Release notes

    Sourced from latest-version's releases.

    v7.0.0

    Breaking

    • Require Node.js 14 75682c2

    https://github.com/sindresorhus/latest-version/compare/v6.0.0...v7.0.0

    v6.0.0

    Breaking

    • Require Node.js 12.20 b263306
    • This package is now pure ESM. Please read this.

    Improvements

    • Upgrade dependencies b263306

    https://github.com/sindresorhus/latest-version/compare/v5.1.0...v6.0.0

    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
    dependencies 
    opened by dependabot[bot] 3
  • Qr code take long time and sometimes it stack

    Qr code take long time and sometimes it stack

    Screen Shot 2022-07-16 at 8 41 58

    `const hydraBot = require('hydra-bot'); const mime = require('mime-types'); const fs = require('fs');

    (async () => {

    let client;
    // start bot service
    const ev = await hydraBot.initServer({
        puppeteerOptions: {
            headless: process.platform === 'linux' ? true : false ,
            executablePath: process.platform === 'linux' ? "/usr/bin/google-chrome" : "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome",
            args: ['--no-sandbox'], // Additional arguments to pass to the browser instance. adding any parameter you will replace the default args of the project
        }
    });
    
    // return to current whatsapp interface
    ev.on('interfaceChange', (change) => {
        console.log("interfaceChange: ", change);
    });
    
    // return qrcode parameters
    ev.on('qrcode', (qrcode) => {
        console.log('qrcode: ', qrcode);
    });
    
    // return connection information
    ev.on('connection', async (conn) => {
    
        // browser information!
        if (conn.statusFind === 'browser') {
            console.log('info Browser: ', conn.text);
        }
    
        // Was connected to whatsapp chat
        if (conn.connect) {
            client = conn.client;
            // send a text message
            await client.sendMessage({
                to: "[email protected]", // you can pass the contact number or group number
                body: "hi i'm hydra bot", // message text
                options: {
                    type: 'text', // shipping type
                }
            }).then((result) => {
                console.log(result); // message result
            }).catch((error) => {
                console.log(error); // message error
            });
        }
    });
    
    // return receive new messages
    ev.on('newMessage', async (newMsg) => {
        // when is received
        if (!newMsg.result.isSentByMe) {
            // message received!
            console.log('NewMessageReceived: ', newMsg.result);
            // dowload files
            if (newMsg.result.isMedia === true || newMsg.result.isMMS === true) {
                const buffer = await client.decryptFile(newMsg.result);
                // At this point you can do whatever you want with the buffer
                // Most likely you want to write it into a file
                const fileName = `some-file-name.${mime.extension(newMsg.result.mimetype)}`;
                fs.writeFile(fileName, buffer, (err) => {
                    console.log(err);
                });
            }
        }
        // when is it sent
        if (!!newMsg.result.isSentByMe) {
            // Message sent
            console.log('NewMessageSent: ', newMsg.result);
        }
    });
    
    // returns the status of each message
    ev.on('newOnAck', async (event) => {
        console.log('id Message: ', event.id._serialized); // message id
        console.log('Status Message: ', event.ack); // -7 = MD_DOWNGRADE, -6 = INACTIVE, -5 = CONTENT_UNUPLOADABLE, -4 = CONTENT_TOO_BIG, -3 = CONTENT_GONE, -2 = EXPIRED, -1 = FAILED, 0 = CLOCK, 1 = SENT, 2 = RECEIVED, 3 = READ, 4 = PLAYED
        console.log('From Message: ', event.from); // from message
        console.log('To Message: ', event.to); // to message
    });
    

    })();` Screen Shot 2022-07-16 at 8 46 42

    opened by roysG 2
  • build(deps-dev): bump @types/node from 17.0.45 to 18.11.15

    build(deps-dev): bump @types/node from 17.0.45 to 18.11.15

    Bumps @types/node from 17.0.45 to 18.11.15.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • build(deps-dev): bump @types/node from 17.0.45 to 18.11.13

    build(deps-dev): bump @types/node from 17.0.45 to 18.11.13

    Bumps @types/node from 17.0.45 to 18.11.13.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • build(deps-dev): bump typedoc from 0.21.10 to 0.23.22

    build(deps-dev): bump typedoc from 0.21.10 to 0.23.22

    Bumps typedoc from 0.21.10 to 0.23.22.

    Release notes

    Sourced from typedoc's releases.

    v0.23.22

    Features

    • Add support for defining the kind sort order, #2109.

    Bug Fixes

    • Normalize all file paths on Windows, #2113.
    • Fix @link tags within lists, #2103.

    v0.23.21

    Features

    • Added support for a catch-all wildcard in externalSymbolLinkMappings, #2102.
    • Added support for TypeScript 4.9.

    Thanks!

    v0.23.20

    Bug Fixes

    • Fixed comment discovery for @inheritDoc if inheriting from a function type alias, #2087.

    v0.23.19

    Bug Fixes

    • Fixed title link if titleLink option was not specified, #2085.

    Thanks!

    v0.23.18

    Features

    • Improved error reporting when failing to find entry points, #2080, #2082.

    Bug Fixes

    • Constructor parameter-properties will now use the @param comment for the parameter if available, #1261.
    • Fixed display of object types containing methods, #1788.
    • Fixed conversion of intrinsic string mapping types when converting without a type node, #2079.

    ... (truncated)

    Changelog

    Sourced from typedoc's changelog.

    v0.23.22 (2022-12-11)

    Features

    • Add support for defining the kind sort order, #2109.

    Bug Fixes

    • Normalize all file paths on Windows, #2113.
    • Fix @link tags within lists, #2103.

    v0.23.21 (2022-11-14)

    Features

    • Added support for a catch-all wildcard in externalSymbolLinkMappings, #2102.
    • Added support for TypeScript 4.9.

    Thanks!

    v0.23.20 (2022-11-03)

    Bug Fixes

    • Fixed comment discovery for @inheritDoc if inheriting from a function type alias, #2087.

    v0.23.19 (2022-10-28)

    Bug Fixes

    • Fixed title link if titleLink option was not specified, #2085.

    Thanks!

    v0.23.18 (2022-10-23)

    Features

    • Improved error reporting when failing to find entry points, #2080, #2082.

    Bug Fixes

    • Constructor parameter-properties will now use the @param comment for the parameter if available, #1261.
    • Fixed display of object types containing methods, #1788.
    • Fixed conversion of intrinsic string mapping types when converting without a type node, #2079.

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • build(deps-dev): bump @types/node from 17.0.45 to 18.11.12

    build(deps-dev): bump @types/node from 17.0.45 to 18.11.12

    Bumps @types/node from 17.0.45 to 18.11.12.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • build(deps): bump puppeteer from 14.4.1 to 19.4.0

    build(deps): bump puppeteer from 14.4.1 to 19.4.0

    Bumps puppeteer from 14.4.1 to 19.4.0.

    Release notes

    Sourced from puppeteer's releases.

    puppeteer-core: v19.4.0

    19.4.0 (2022-12-07)

    Features

    • ability to send headers via ws connection to browser in node.js environment (#9314) (937fffa), closes #7218
    • chromium: roll to Chromium 109.0.5412.0 (r1069273) (#9364) (1875da6), closes #9233
    • puppeteer-core: keydown supports commands (#9357) (b7ebc5d)

    Bug Fixes

    puppeteer: v19.4.0

    19.4.0 (2022-12-07)

    Features

    Dependencies

    • The following workspace dependencies were updated
      • dependencies
        • puppeteer-core bumped from 19.3.0 to 19.4.0

    puppeteer-core: v19.3.0

    19.3.0 (2022-11-23)

    Features

    • puppeteer-core: Infer element type from complex selector (#9253) (bef1061)
    • puppeteer-core: update Chrome launcher flags (#9239) (ae87bfc)

    Bug Fixes

    • remove boundary conditions for visibility (#9249) (e003513)

    puppeteer: v19.3.0

    19.3.0 (2022-11-23)

    Miscellaneous Chores

    ... (truncated)

    Commits
    • 931d4fc chore: release main (#9322)
    • 1875da6 feat(chromium): roll to Chromium 109.0.5412.0 (r1069273) (#9364)
    • 1501ede docs(requestinterception): remove outdated note (#9358)
    • 17f31a9 fix(puppeteer-core): avoid type instantiation errors (#9370)
    • be7626b chore: fix race in test Frame.waitForFunction should work when context is des...
    • 51d75a0 chore(ng-schematics): Use WireIt for builds and tests (#9356)
    • b7ebc5d feat(puppeteer-core): keydown supports commands (#9357)
    • 3cdd5d8 chore: fix build deps (#9344)
    • f3c87dc chore: upgrade mitt (#9340)
    • e8c1d56 chore: import BiDi impl only if the user opts in (#9335)
    • Additional commits viewable in compare view
    Maintainer changes

    This version was pushed to npm by google-wombot, a new releaser for puppeteer since your current version.


    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • build(deps-dev): bump @types/node from 17.0.45 to 18.11.11

    build(deps-dev): bump @types/node from 17.0.45 to 18.11.11

    Bumps @types/node from 17.0.45 to 18.11.11.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • build(deps-dev): bump @types/node from 17.0.45 to 18.11.10

    build(deps-dev): bump @types/node from 17.0.45 to 18.11.10

    Bumps @types/node from 17.0.45 to 18.11.10.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • build(deps): bump puppeteer from 14.4.1 to 19.3.0

    build(deps): bump puppeteer from 14.4.1 to 19.3.0

    Bumps puppeteer from 14.4.1 to 19.3.0.

    Release notes

    Sourced from puppeteer's releases.

    puppeteer-core: v19.3.0

    19.3.0 (2022-11-23)

    Features

    • puppeteer-core: Infer element type from complex selector (#9253) (bef1061)
    • puppeteer-core: update Chrome launcher flags (#9239) (ae87bfc)

    Bug Fixes

    • remove boundary conditions for visibility (#9249) (e003513)

    puppeteer: v19.3.0

    19.3.0 (2022-11-23)

    Miscellaneous Chores

    • puppeteer: Synchronize puppeteer versions

    Dependencies

    • The following workspace dependencies were updated
      • dependencies
        • puppeteer-core bumped from 19.2.2 to 19.3.0

    puppeteer-core: v19.2.2

    19.2.2 (2022-11-03)

    Bug Fixes

    puppeteer-core: v19.2.1

    19.2.1 (2022-10-28)

    Bug Fixes

    puppeteer-core: v19.2.0

    19.2.0 (2022-10-26)

    Features

    ... (truncated)

    Commits
    • c4803e4 chore: release main (#9313)
    • 689a084 chore(ng-schematics): Spawn server when running ng e2e (#9306)
    • 181b20f test: mark Frame.waitForSelector test as flaky in headful Firefox (#9307)
    • 0ed361d chore: update latest release sha (#9311)
    • 3994cdc chore: specify latest-release for puppeteer (#9309)
    • 750f236 chore: include component in puppeteer tag (#9303)
    • eda1827 docs: add bug triage guidelines (#9305)
    • bef1061 feat(puppeteer-core): Infer element type from complex selector (#9253)
    • 16784fc chore(ng-schematics): Update ng e2e to custom builder (#9300)
    • 0107ad8 chore: use groupName in release-please manifest (#9292)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • build(deps): bump express-rate-limit from 6.5.1 to 6.7.0

    build(deps): bump express-rate-limit from 6.5.1 to 6.7.0

    Bumps express-rate-limit from 6.5.1 to 6.7.0.

    Release notes

    Sourced from express-rate-limit's releases.

    v6.7.0

    You can view the changelog here.

    v6.6.0

    Added

    • Added shutdown method to the Store interface and the MemoryStore. (#322)

    You can view the full changelog here.

    v6.5.2

    Fixed

    • Fixed an issue with missing types in ESM monorepos. (#321)

    You can view the changelog here.

    Changelog

    Sourced from express-rate-limit's changelog.

    6.7.0

    Changed

    • Updated links to point to new express-rate-limit organization on GitHub.
    • Added advertisement to Readme for project sponsor Zuplo.
    • Updated TypeScript version and other dev dependencies
    • Changed CI test suite: dropped node.js 12, added node.js 19

    No functional changes.

    6.6.0

    Added

    • Added shutdown method to the Store interface and the MemoryStore.

    6.5.2

    Fixed

    • Fixed an issue with missing types in ESM monorepos.
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • build(deps): bump got and latest-version

    build(deps): bump got and latest-version

    Bumps got to 12.5.3 and updates ancestor dependency latest-version. These dependencies need to be updated together.

    Updates got from 9.6.0 to 12.5.3

    Release notes

    Sourced from got's releases.

    v12.5.3

    • Fix abort event listeners not always being cleaned up (#2162) 3cc40b5

    https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3

    v12.5.2

    • Improve TypeScript 4.9 compatibility (#2163) 39f83b6

    https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2

    v12.5.1

    • Fix compatibility with TypeScript and ESM 3b3ea67
    • Fix request body not being properly cached (#2150) 3e9d3af

    https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1

    v12.5.0

    • Disable method rewriting on 307 and 308 status codes (#2145) e049e94
    • Upgrade dependencies 8630815 f0ac0b3 4c3762a

    https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0

    v12.4.1

    Fixes

    • Fix options.context being not extensible b671480715dbbff908e9a385f5e714570c663cd7
    • Don't emit uploadProgress after promise cancelation 693de217b030816f574d6e4cb505ee2e77b21c29

    https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1

    v12.4.0

    Improvements

    • Support FormData without known length (#2120) 850773c

    Fixes

    • Don't call beforeError hooks with HTTPError if the throwHttpErrors option is false (#2104) 3927348

    https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0

    v12.3.1

    • Don't freeze signal when freezing Options (#2100) 43b1467

    https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1

    v12.3.0

    • Add .off() method for events (#2092) 88056be

    https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0

    ... (truncated)

    Commits

    Updates latest-version from 5.1.0 to 7.0.0

    Release notes

    Sourced from latest-version's releases.

    v7.0.0

    Breaking

    • Require Node.js 14 75682c2

    https://github.com/sindresorhus/latest-version/compare/v6.0.0...v7.0.0

    v6.0.0

    Breaking

    • Require Node.js 12.20 b263306
    • This package is now pure ESM. Please read this.

    Improvements

    • Upgrade dependencies b263306

    https://github.com/sindresorhus/latest-version/compare/v5.1.0...v6.0.0

    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
    dependencies 
    opened by dependabot[bot] 0
  • build(deps): bump puppeteer from 14.4.1 to 19.4.1

    build(deps): bump puppeteer from 14.4.1 to 19.4.1

    Bumps puppeteer from 14.4.1 to 19.4.1.

    Release notes

    Sourced from puppeteer's releases.

    puppeteer-core: v19.4.1

    19.4.1 (2022-12-16)

    Bug Fixes

    • improve a11y snapshot handling if the tree is not correct (#9405) (02fe501), closes #9404
    • remove oopif expectations and fix oopif flakiness (#9375) (810e0cd)

    puppeteer: v19.4.1

    19.4.1 (2022-12-16)

    Miscellaneous Chores

    • puppeteer: Synchronize puppeteer versions

    Dependencies

    • The following workspace dependencies were updated
      • dependencies
        • puppeteer-core bumped from 19.4.0 to 19.4.1

    puppeteer-core: v19.4.0

    19.4.0 (2022-12-07)

    Features

    • ability to send headers via ws connection to browser in node.js environment (#9314) (937fffa), closes #7218
    • chromium: roll to Chromium 109.0.5412.0 (r1069273) (#9364) (1875da6), closes #9233
    • puppeteer-core: keydown supports commands (#9357) (b7ebc5d)

    Bug Fixes

    puppeteer: v19.4.0

    19.4.0 (2022-12-07)

    Features

    Dependencies

    ... (truncated)

    Commits
    • 848c849 chore: release main (#9395)
    • fe986c6 chore: trigger reindexing on doc deployment (#9425)
    • f0951aa docs: use a number of documented versions for indexing (#9424)
    • 68c53df chore(deps): Bump loader-utils from 2.0.2 to 2.0.4 in /website (#9423)
    • 69b03df chore(deps): Bump @​angular-devkit/schematics from 15.0.3 to 15.0.4 (#9420)
    • fa05a1c chore(deps): Bump @​angular-devkit/core from 15.0.3 to 15.0.4 (#9414)
    • 0f0e717 chore(deps): Bump @​angular-devkit/architect from 0.1402.10 to 0.1500.4 (#9415)
    • cd073ab chore(deps): Bump ws from 8.10.0 to 8.11.0 (#9412)
    • cd8eec3 chore(deps): Bump @​angular-devkit/schematics from 14.2.8 to 15.0.3 (#9413)
    • 28cedac chore: Revert Dependabot config (#9411)
    • Additional commits viewable in compare view
    Maintainer changes

    This version was pushed to npm by google-wombot, a new releaser for puppeteer since your current version.


    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • build(deps-dev): bump typedoc from 0.21.10 to 0.23.23

    build(deps-dev): bump typedoc from 0.21.10 to 0.23.23

    Bumps typedoc from 0.21.10 to 0.23.23.

    Release notes

    Sourced from typedoc's releases.

    v0.23.23

    Features

    • Added ts.Signature to emitted EVENT_CREATE_SIGNATURE event, #2002.

    Bug Fixes

    • Links to members hidden by filter settings now temporarily override the filter, #2092.
    • If src/ and src/x are specified as entry points, src/ will no longer be ignored, #2121.

    v0.23.22

    Features

    • Add support for defining the kind sort order, #2109.

    Bug Fixes

    • Normalize all file paths on Windows, #2113.
    • Fix @link tags within lists, #2103.

    v0.23.21

    Features

    • Added support for a catch-all wildcard in externalSymbolLinkMappings, #2102.
    • Added support for TypeScript 4.9.

    Thanks!

    v0.23.20

    Bug Fixes

    • Fixed comment discovery for @inheritDoc if inheriting from a function type alias, #2087.

    v0.23.19

    Bug Fixes

    • Fixed title link if titleLink option was not specified, #2085.

    Thanks!

    v0.23.18

    ... (truncated)

    Changelog

    Sourced from typedoc's changelog.

    v0.23.23 (2022-12-18)

    Features

    • Added ts.Signature to emitted EVENT_CREATE_SIGNATURE event, #2002.

    Bug Fixes

    • Links to members hidden by filter settings now temporarily override the filter, #2092.
    • If src/ and src/x are specified as entry points, src/ will no longer be ignored, #2121.

    v0.23.22 (2022-12-11)

    Features

    • Add support for defining the kind sort order, #2109.

    Bug Fixes

    • Normalize all file paths on Windows, #2113.
    • Fix @link tags within lists, #2103.

    v0.23.21 (2022-11-14)

    Features

    • Added support for a catch-all wildcard in externalSymbolLinkMappings, #2102.
    • Added support for TypeScript 4.9.

    Thanks!

    v0.23.20 (2022-11-03)

    Bug Fixes

    • Fixed comment discovery for @inheritDoc if inheriting from a function type alias, #2087.

    v0.23.19 (2022-10-28)

    Bug Fixes

    • Fixed title link if titleLink option was not specified, #2085.

    Thanks!

    v0.23.18 (2022-10-23)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • MaxListenersExceeededWarning

    MaxListenersExceeededWarning

    When I run the my app using

    nodemon inde.js
    

    this run without problems image

    but when I try run using

    node index.js
    

    the app say

    [CON]: initBrowser
    [CON]: initWhatsapp
    [CON]: openedWhatsapp
    (node:6764) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 interfaceChange listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit
    (Use `node --trace-warnings ...` to show where the warning was created)
    MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 interfaceChange listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit
        at _addListener (node:events:587:17)
        at EventEmitter.addListener (node:events:605:10)
        at webPack.listener (C:\Users\Admin\Documents\Ag2\node_modules\hydra-bot\dist\webpack\api\layes\listener.layes.js:76:30)
        at webPack.initLitener (C:\Users\Admin\Documents\Ag2\node_modules\hydra-bot\dist\webpack\api\layes\listener.layes.js:71:14)
        at processTicksAndRejections (node:internal/process/task_queues:96:5)
    

    And stop here.

    opened by bruno1pb13 0
  • Bug

    Bug

    interfaceChange: { onType: 'interfaceChange', session: 'session', result: { displayInfo: 'CONNECTING', mode: 'QR', info: 'SYNCING' } } interfaceChange: { onType: 'interfaceChange', session: 'session', result: { displayInfo: 'CONNECTING', mode: 'SYNCING', info: 'NORMAL' } } interfaceChange: { onType: 'interfaceChange', session: 'session', result: { displayInfo: 'CONNECTING', mode: 'QR', info: 'OPENING' } } interfaceChange: { onType: 'interfaceChange', session: 'session', result: { displayInfo: 'CONNECTING', mode: 'QR', info: 'PAIRING' } } interfaceChange: { onType: 'interfaceChange', session: 'session', result: { displayInfo: 'CONNECTING', mode: 'QR', info: 'NORMAL' } } info Browser: Auto close called!

    opened by ErnandoR 1
Releases(nightly)
Owner
Jónalan de Lima
Conhecimentos em c++, c, c#, javascript, typescript, java, php, html, css, go, nodejs, python, e entre outras linguagens.
Jónalan de Lima
Hydra-S1 ZK Proving scheme circuits, used for ZK Attesters in Sismo

Hydra-S1 ZKPS Hydra-S1 Zero-Knowledge Proving Scheme Made by Sismo Hydra-S1 is a Zero-Knowledge Proving Scheme used by Hydra S1 attesters of the Sismo

null 65 Dec 25, 2022
Zero Two Bot,A fully Modular Whatsapp Bot to do everything possible in WhatsApp by Team Zero Two

?? ???????? ?????? ???? ?? A Moduler WhatsApp Bot designed for both PM and Groups - To take your boring WhatsApp usage into a whole different level. T

Sam Pandey 69 Dec 25, 2022
BASIC is a web application contains basic applications related to studies, love, health, weather, productivity. This project aim to simply the user's life in anyway.

BASIC is a web application contains basic applications related to studies, love, health, weather, productivity. This project aim to simply the user's life in anyway. Supported by all operating system, need an internet connection for working properly.

IRUTHAYA SANTHOSE I 1 Dec 19, 2021
A recreation of a startpage posted on Reddit without the source, so I rewrote it in Next.js + Tailwind for the open source community.

Startpage "Figma Balls" Rewrite Why Did I Make This I saw a startpage posted on the subreddit r/startpages that I thought looked nice, but when I look

Thomas Leon Highbaugh 5 Mar 29, 2022
The aim of this project is to restructure the Awesome books app code by using ES6 syntax and organising the workspace using modules.

Awesome-Books-ES6 The aim of this project is to restructure the Awesome books app code by using ES6 syntax and organising the workspace using modules.

Favour Ezeugwa 15 Aug 18, 2022
this project's main aim is to restructure Awesome books app code to make it more organized by using modules and also practicing the ES6 syntax.

Awesome Books ES6 this project's main aim is to restructure Awesome books app code to make it more organized by using modules. also practicing the ES6

PRATAP PANABAKA 7 Sep 6, 2022
This package creates embeds and buttons in a very simple way using the whatsapp-web.js module for whatsapp

This package creates embeds and buttons in a very simple way using the whatsapp-web.js module for whatsapp

DeathAbyss 17 Jan 3, 2023
Reference for How to Write an Open Source JavaScript Library - https://egghead.io/series/how-to-write-an-open-source-javascript-library

Reference for How to Write an Open Source JavaScript Library The purpose of this document is to serve as a reference for: How to Write an Open Source

Sarbbottam Bandyopadhyay 175 Dec 24, 2022
Shikhar 4 Oct 9, 2022
This is a project for open source enthusiast who want to contribute to open source in this hacktoberfest 2022. 💻 🎯🚀

HACKTOBERFEST-2022-GDSC-IET-LUCKNOW Beginner-Hacktoberfest Need Your first pr for hacktoberfest 2k22 ? come on in About Participate in Hacktoberfest b

null 8 Oct 29, 2022
A community ran noodle effects library developed for remapper.

The all around modchart helper that contains functions and utilities created by the community. These scripts are designed to be used with Remapper. Ch

null 5 Nov 4, 2022
The aim is to provide a hassle-free way to use the data to build applications to show close-to-realtime power-outage info in Mauritius

Mauritius Dataset for Electricity Dataset View Dataset The aim is to provide a hassle-free way to use the data to build applications. Example applicat

Sandeep Ramgolam 5 Dec 15, 2022
Cloudy is a set of constructs for the AWS Cloud Development Kit that aim to improve the DX by providing a faster and type-safe code environment.

cloudy-ts These packages aren't yet published on npm. This is still highly experimental. Need to figure out a few things before releasing the first ve

Cristian Pallarés 5 Nov 3, 2022
This lib was created with the aim of simplifying the use of serverless Twilio.

Twilio Functions Utils About This lib was created with the aim of simplifying the use of serverless Twilio, reducing the need to apply frequent try-ca

Iago Calazans 9 Nov 8, 2022
The main aim of the package is to parse Primavera xer files

This package is part of the Planner Toolkit open source project. The main aim of the package is to parse Primavera xer files. The project is open source and can be found here.

null 3 Sep 25, 2022
Hasbik is a community based social token and the new paradigm in the crypto space. With the goal to build a community around a crypto token.

Hasbik is a community based social token and the new paradigm in the crypto space. With the goal to build a community around a crypto token.

null 2 Jan 5, 2022
Functions Recipes is a library of examples to help you getting started with Salesforce Functions and get used to their main features.

Functions Recipes Introduction Salesforce Functions lets you use the Salesforce Platform for building event-driven, elastically scalable apps and expe

Trailhead Apps 172 Dec 29, 2022
Klecks is the official open-source release of the community-funded online painting app Kleki.

Klecks (German for "splash of color", pronounced "clex") is the official open-source release of the community-funded online painting app Kleki. Klecks

I paint, code and mess around. 74 Dec 27, 2022
Updog is an open-source social media webapp intended to allow everyday people to share their thoughts in a welcoming community.

SE701-Updog Updog is an open-source social media webapp intended to allow everyday people to share their thoughts in a welcoming community. This proje

SE 701 Team 2 UoA 14 Apr 18, 2022