@open-wa/wa-automate 4.31.9 → 4.31.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -121,13 +121,14 @@ class QRManager {
121
121
  this._internalQrPngLoaded = false;
122
122
  this.qrCheck = `document.querySelector("canvas[aria-label='Scan me!']")?document.querySelector("canvas[aria-label='Scan me!']").parentElement.getAttribute("data-ref"):false`;
123
123
  this.config = config;
124
+ this.setConfig(this.config);
124
125
  }
125
126
  setConfig(config) {
126
127
  this.config = config;
127
128
  this.qrEvF(this.config);
128
129
  }
129
130
  qrEvF(config = this.config) {
130
- return new events_1.EvEmitter(config.sessionId || 'session', 'qr');
131
+ // return new EvEmitter(config.sessionId || 'session', 'qr');
131
132
  if (!this.qrEv)
132
133
  this.qrEv = new events_1.EvEmitter(config.sessionId || 'session', 'qr');
133
134
  return this.qrEv;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate",
3
- "version": "4.31.9",
3
+ "version": "4.31.10",
4
4
  "licenseCheckUrl": "https://funcs.openwa.dev/license-check",
5
5
  "brokenMethodReportUrl": "https://funcs.openwa.dev/report-bm",
6
6
  "patches": "https://cdn.openwa.dev/patches.json",