@wppconnect-team/wppconnect 1.17.0 → 1.17.1

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 1.17.1 (2022-10-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update dependency @wppconnect/wa-js to ^2.13.1 ([#1364](https://github.com/wppconnect-team/wppconnect/issues/1364)) ([ff92035](https://github.com/wppconnect-team/wppconnect/commit/ff92035cb05abc21a8e241d8c7d3d5be4614edfb))
7
+
8
+
9
+
1
10
  # 1.17.0 (2022-09-17)
2
11
 
3
12
 
@@ -138,9 +138,6 @@ var HostLayer = /** @class */ (function () {
138
138
  }
139
139
  hasUserDataDir = !!((_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.puppeteerOptions) === null || _b === void 0 ? void 0 : _b.userDataDir);
140
140
  clear = !hasUserDataDir || (hasUserDataDir && !isValidToken);
141
- return [4 /*yield*/, (0, browser_1.initWhatsapp)(this.page, sessionToken, clear, this.options.whatsappVersion)];
142
- case 3:
143
- _c.sent();
144
141
  this.page.on('load', function () {
145
142
  _this.log('verbose', 'Page loaded', { type: 'page' });
146
143
  _this.afterPageLoad();
@@ -149,6 +146,9 @@ var HostLayer = /** @class */ (function () {
149
146
  _this.cancelAutoClose();
150
147
  _this.log('verbose', 'Page Closed', { type: 'page' });
151
148
  });
149
+ return [4 /*yield*/, (0, browser_1.initWhatsapp)(this.page, sessionToken, clear, this.options.whatsappVersion)];
150
+ case 3:
151
+ _c.sent();
152
152
  return [2 /*return*/];
153
153
  }
154
154
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect-team/wppconnect",
3
- "version": "1.17.0",
3
+ "version": "1.17.1",
4
4
  "description": "WPPConnect is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node, which can be used to support the creation of any interaction, such as customer service, media sending, intelligence recognition based on phrases artificial and many other things, use your imagination... 😀🤔💭",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -54,10 +54,10 @@
54
54
  },
55
55
  "homepage": "https://github.com/wppconnect-team/wppconnect#readme",
56
56
  "devDependencies": {
57
- "@babel/core": "^7.19.0",
58
- "@babel/eslint-parser": "^7.18.9",
59
- "@babel/eslint-plugin": "^7.18.10",
60
- "@babel/preset-env": "^7.19.0",
57
+ "@babel/core": "^7.19.3",
58
+ "@babel/eslint-parser": "^7.19.1",
59
+ "@babel/eslint-plugin": "^7.19.1",
60
+ "@babel/preset-env": "^7.19.3",
61
61
  "@commitlint/cli": "^17.1.2",
62
62
  "@commitlint/config-conventional": "^17.1.0",
63
63
  "@commitlint/cz-commitlint": "^17.1.2",
@@ -65,19 +65,19 @@
65
65
  "@types/atob": "^2.1.2",
66
66
  "@types/mime-types": "^2.1.1",
67
67
  "@types/mocha": "^9.1.1",
68
- "@types/node": "^16.11.59",
68
+ "@types/node": "^16.11.64",
69
69
  "@types/rimraf": "^3.0.2",
70
- "@types/sharp": "^0.30.5",
70
+ "@types/sharp": "^0.31.0",
71
71
  "@types/shelljs": "^0.8.11",
72
72
  "@types/tmp": "^0.2.3",
73
73
  "@types/ws": "^8.5.3",
74
- "@typescript-eslint/eslint-plugin": "^5.36.2",
75
- "@typescript-eslint/parser": "^5.36.2",
74
+ "@typescript-eslint/eslint-plugin": "^5.39.0",
75
+ "@typescript-eslint/parser": "^5.39.0",
76
76
  "babel-loader": "^8.2.5",
77
77
  "commitizen": "^4.2.5",
78
78
  "concurrently": "^7.4.0",
79
79
  "conventional-changelog-cli": "^2.2.2",
80
- "eslint": "^8.23.1",
80
+ "eslint": "^8.25.0",
81
81
  "eslint-config-prettier": "^8.5.0",
82
82
  "eslint-plugin-header": "^3.1.1",
83
83
  "eslint-plugin-prettier": "^4.2.1",
@@ -86,17 +86,17 @@
86
86
  "prettier": "^2.7.1",
87
87
  "pretty-quick": "^3.1.3",
88
88
  "regenerator-runtime": "^0.13.9",
89
- "release-it": "^15.4.2",
89
+ "release-it": "^15.5.0",
90
90
  "shx": "^0.3.4",
91
91
  "ts-node": "^10.9.1",
92
- "typedoc": "^0.23.14",
93
- "typescript": "^4.8.3",
92
+ "typedoc": "^0.23.15",
93
+ "typescript": "^4.8.4",
94
94
  "webpack": "^5.74.0",
95
95
  "webpack-cli": "^4.10.0"
96
96
  },
97
97
  "dependencies": {
98
- "@wppconnect/wa-js": "^2.12.0",
99
- "@wppconnect/wa-version": "^1.1.154",
98
+ "@wppconnect/wa-js": "^2.13.1",
99
+ "@wppconnect/wa-version": "^1.1.168",
100
100
  "atob": "^2.1.2",
101
101
  "axios": "^0.27.2",
102
102
  "boxen": "^5.1.2",
@@ -119,11 +119,11 @@
119
119
  "reflect-metadata": "^0.1.13",
120
120
  "rimraf": "^3.0.2",
121
121
  "sanitize-filename": "^1.6.3",
122
- "sharp": "^0.31.0",
122
+ "sharp": "^0.31.1",
123
123
  "tmp": "^0.2.1",
124
124
  "tree-kill": "^1.2.2",
125
125
  "winston": "^3.8.2",
126
- "ws": "^8.8.1"
126
+ "ws": "^8.9.0"
127
127
  },
128
128
  "optionalDependencies": {
129
129
  "fsevents": "^2.3.2"