@wireapp/core 27.3.6 → 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 CHANGED
@@ -3,6 +3,33 @@
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
+
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)
18
+
19
+ **Note:** Version bump only for package @wireapp/core
20
+
21
+
22
+
23
+
24
+
25
+ ## [27.3.7](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/compare/@wireapp/core@27.3.6...@wireapp/core@27.3.7) (2022-06-14)
26
+
27
+ **Note:** Version bump only for package @wireapp/core
28
+
29
+
30
+
31
+
32
+
6
33
  ## [27.3.6](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/compare/@wireapp/core@27.3.5...@wireapp/core@27.3.6) (2022-06-10)
7
34
 
8
35
  **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.1",
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.6",
73
- "gitHead": "21dedc42e39b14e86f0d8eb132d87be1da754480"
72
+ "version": "27.3.9",
73
+ "gitHead": "484551420463b87202957bc68969cc6d4e8c06a2"
74
74
  }
@@ -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) {