Wa-automate-nodejs: BROKEN METHODS: 13857

Created on 24 Sep 2020  Â·  7Comments  Â·  Source: open-wa/wa-automate-nodejs

Broken methods detected. Details below.


data

{
  "WA_VERSION": "2.2039.9",
  "PAGE_UA": "WhatsApp/2.2019.8 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36",
  "WA_AUTOMATE_VERSION": "1.9.64",
  "BROWSER_VERSION": "HeadlessChrome/80.0.3987.0",
  "BROKEN_METHODS": [
    "Store.bp"
  ],
  "occurances": 21,
  "lastReported": "Thu Sep 24 2020 14:50:24 GMT+0000 (Coordinated Universal Time)"
}

Auto PRIORITY

Most helpful comment

@github-actions run


âš¡ Release! âš¡

(async () => {
function exec(cmd) {
  console.log(execSync(cmd).toString());
}

// Config
const gitUserEmail = "github-actions[bot]@users.noreply.github.com";
const gitUserName = "github-actions[bot]";

exec(`echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc`);
exec(`git config --global user.email "${gitUserEmail}"`);
exec(`git config --global user.name "${gitUserName}"`);
exec(`npm i`);
exec(`npm run release-ci`);

//comment on the issue
var result = execSync(`npx auto-changelog -o ./tempchangelog.txt --commit-limit false --template ./compact-keepachangelog.hbs --stdout`).toString();

    await postComment(result);

//create changelog image
exec(`npm run release-image`);
exec(`git commit -a -m 'updated release-image'`);
exec(`git push --force`);
  })();

All 7 comments

@github-actions run


âš¡ Release! âš¡

(async () => {
function exec(cmd) {
  console.log(execSync(cmd).toString());
}

// Config
const gitUserEmail = "github-actions[bot]@users.noreply.github.com";
const gitUserName = "github-actions[bot]";

exec(`echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc`);
exec(`git config --global user.email "${gitUserEmail}"`);
exec(`git config --global user.name "${gitUserName}"`);
exec(`npm i`);
exec(`npm run release-ci`);

//comment on the issue
var result = execSync(`npx auto-changelog -o ./tempchangelog.txt --commit-limit false --template ./compact-keepachangelog.hbs --stdout`).toString();

    await postComment(result);

//create changelog image
exec(`npm run release-image`);
exec(`git commit -a -m 'updated release-image'`);
exec(`git push --force`);
  })();

Changelog

🚀 Release 2.0.25 (2020-09-24)

  • build(deps): bump puppeteer from 5.3.0 to 5.3.1 #843
  • build(deps-dev): bump @types/node from 14.11.1 to 14.11.2 #844
  • build(deps-dev): bump auto-changelog from 2.2.0 to 2.2.1 #833
  • build(deps): bump sharp from 0.26.0 to 0.26.1 #835
  • build(deps-dev): bump typedoc from 0.19.1 to 0.19.2 #836
  • build(deps-dev): bump @types/node from 14.10.2 to 14.11.1 #837
  • build(deps): bump ts-json-schema-generator from 0.73.0 to 0.74.0 #838
  • build(deps-dev): bump typescript from 4.0.2 to 4.0.3 #834
  • Release 2.0.25 b4a5c4f
  • setMyName now returns boolean e94c3a0
  • Update launch check hash #852 0ace007
  • Fix: #852 54af5b1
  • Fix: empty config no longer throws session id error 7eb7fe8

@smashah Is this release available on Python as well?

@manojsitapara python library grabs the wapi file from here so yes it should work as expected

@smashah when i try node index.js
give me this log,

(node:9368) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'sessionId' of undefined
at Object. (/home/user/Bot/wabot/node_modules/@open-wa/wa-automate/dist/controllers/initializer.js:117:44)
.....

any solution ?
thanks,

@mashdah please open a new issue

@manojsitapara python library grabs the wapi file from here so yes it should work as expected

Thanks a lot @smashah !!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mrbarnk picture mrbarnk  Â·  5Comments

sandro-salles picture sandro-salles  Â·  4Comments

bubaew95 picture bubaew95  Â·  6Comments

phantom-limb picture phantom-limb  Â·  5Comments

jazZcarabazZ picture jazZcarabazZ  Â·  5Comments