@wireapp/core 20.5.1 → 20.6.2

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,44 @@
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
+ ## [20.6.2](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/compare/@wireapp/core@20.6.1...@wireapp/core@20.6.2) (2022-01-11)
7
+
8
+ **Note:** Version bump only for package @wireapp/core
9
+
10
+
11
+
12
+
13
+
14
+ ## [20.6.1](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/compare/@wireapp/core@20.6.0...@wireapp/core@20.6.1) (2022-01-10)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **core:** Fix url pattern for assetv4 ([31c1055](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/commit/31c10559c8e9c79a4015c8d087ef8cba5be9143f))
20
+
21
+
22
+
23
+
24
+
25
+ # [20.6.0](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/compare/@wireapp/core@20.5.2...@wireapp/core@20.6.0) (2022-01-10)
26
+
27
+
28
+ ### Features
29
+
30
+ * **core:** Add asset domain when sending asset message ([#4208](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/issues/4208)) ([51f7518](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/commit/51f751834cf6480a47c9a5bf255b4b38d7228f77))
31
+
32
+
33
+
34
+
35
+
36
+ ## [20.5.2](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/compare/@wireapp/core@20.5.1...@wireapp/core@20.5.2) (2022-01-10)
37
+
38
+ **Note:** Version bump only for package @wireapp/core
39
+
40
+
41
+
42
+
43
+
6
44
  ## [20.5.1](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/compare/@wireapp/core@20.5.0...@wireapp/core@20.5.1) (2022-01-10)
7
45
 
8
46
 
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": "16.4.1",
8
+ "@wireapp/api-client": "16.5.2",
9
9
  "@wireapp/cryptobox": "12.7.1",
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": "20.5.1",
73
- "gitHead": "3d2e4b171ae238b17ede2fdee80f40334eda7520"
72
+ "version": "20.6.2",
73
+ "gitHead": "2372596a5a086821d35d27964b48a963dacf7e7f"
74
74
  }
@@ -42,7 +42,7 @@ class AssetService {
42
42
  case 3:
43
43
  return this.apiClient.asset.api.getAssetV3(assetData.assetKey, assetData.assetToken, forceCaching, progressCallback);
44
44
  case 4:
45
- return this.apiClient.asset.api.getAssetV4(assetData.assetKey, assetData.assetToken, assetData.assetDomain, forceCaching, progressCallback);
45
+ return this.apiClient.asset.api.getAssetV4(assetData.assetKey, assetData.assetDomain, assetData.assetToken, forceCaching, progressCallback);
46
46
  }
47
47
  }
48
48
  /**
@@ -273,6 +273,7 @@ class ConversationService {
273
273
  assetToken: asset.token,
274
274
  otrKey: asset.keyBytes,
275
275
  sha256: asset.sha256,
276
+ assetDomain: asset.domain,
276
277
  });
277
278
  const assetMessage = protocol_messaging_1.Asset.create({
278
279
  expectsReadConfirmation,