@wireapp/core 27.3.8 → 27.3.9
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 +11 -0
- package/package.json +3 -3
- package/src/main/Account.js +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [27.3.9](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/compare/@wireapp/core@27.3.8...@wireapp/core@27.3.9) (2022-06-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **core:** Make sure access token is valid before connecting to websocket ([#4293](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/issues/4293)) ([1ef45a5](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/commit/1ef45a5a60a086d4ebe0a512813d4677e7b99ded))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [27.3.8](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/compare/@wireapp/core@27.3.7...@wireapp/core@27.3.8) (2022-06-15)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @wireapp/core
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@types/long": "4.0.1",
|
|
7
7
|
"@types/node": "~14",
|
|
8
|
-
"@wireapp/api-client": "19.6.
|
|
8
|
+
"@wireapp/api-client": "19.6.4",
|
|
9
9
|
"@wireapp/cryptobox": "12.8.0",
|
|
10
10
|
"bazinga64": "5.10.0",
|
|
11
11
|
"hash.js": "1.1.7",
|
|
@@ -69,6 +69,6 @@
|
|
|
69
69
|
"test:project": "yarn dist && yarn test",
|
|
70
70
|
"test:node": "nyc jasmine --config=jasmine.json"
|
|
71
71
|
},
|
|
72
|
-
"version": "27.3.
|
|
73
|
-
"gitHead": "
|
|
72
|
+
"version": "27.3.9",
|
|
73
|
+
"gitHead": "484551420463b87202957bc68969cc6d4e8c06a2"
|
|
74
74
|
}
|
package/src/main/Account.js
CHANGED
|
@@ -341,9 +341,8 @@ class Account extends events_1.EventEmitter {
|
|
|
341
341
|
};
|
|
342
342
|
await this.apiClient.connect(onBeforeConnect);
|
|
343
343
|
return () => {
|
|
344
|
+
this.apiClient.transport.ws.removeAllListeners();
|
|
344
345
|
this.apiClient.disconnect();
|
|
345
|
-
this.apiClient.transport.ws.removeAllListeners(tcp_1.WebSocketClient.TOPIC.ON_MESSAGE);
|
|
346
|
-
this.apiClient.transport.ws.removeListener(tcp_1.WebSocketClient.TOPIC.ON_STATE_CHANGE, onConnectionStateChanged);
|
|
347
346
|
};
|
|
348
347
|
}
|
|
349
348
|
async initEngine(context) {
|