@wireapp/core 30.7.0 → 30.7.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
@@ -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
+ ## [30.7.1](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/compare/@wireapp/core@30.7.0...@wireapp/core@30.7.1) (2022-09-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * fix demo type errors ([#4393](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/issues/4393)) ([65b4a86](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/commit/65b4a86e72f7c1ef04bc48470548824a375d2890))
12
+
13
+
14
+
15
+
16
+
6
17
  # [30.7.0](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/compare/@wireapp/core@30.6.1...@wireapp/core@30.7.0) (2022-09-14)
7
18
 
8
19
 
package/package.json CHANGED
@@ -4,11 +4,11 @@
4
4
  },
5
5
  "dependencies": {
6
6
  "@open-wc/webpack-import-meta-loader": "0.4.7",
7
- "@otak/core-crypto": "0.3.0-es2017",
8
7
  "@types/long": "4.0.1",
9
8
  "@types/node": "~14",
10
9
  "@wireapp/api-client": "20.3.1",
11
10
  "@wireapp/commons": "4.3.0",
11
+ "@wireapp/core-crypto": "0.4.0",
12
12
  "@wireapp/cryptobox": "12.8.0",
13
13
  "@wireapp/store-engine-dexie": "1.6.10",
14
14
  "bazinga64": "5.10.0",
@@ -77,6 +77,6 @@
77
77
  "test:node": "nyc jasmine --config=jasmine.json",
78
78
  "watch": "tsc ---watch"
79
79
  },
80
- "version": "30.7.0",
81
- "gitHead": "c9020130a213747f423d2c49aea546dc5038da72"
80
+ "version": "30.7.1",
81
+ "gitHead": "35d2172b1f840bcdf77cd3b40d93cae2e0d0556d"
82
82
  }
@@ -280,7 +280,7 @@ class Account extends events_1.EventEmitter {
280
280
  throw new Error('Services are not set.');
281
281
  }
282
282
  const coreCryptoKeyId = 'corecrypto-key';
283
- const { CoreCrypto } = await Promise.resolve().then(() => __importStar(require('@otak/core-crypto')));
283
+ const { CoreCrypto } = await Promise.resolve().then(() => __importStar(require('@wireapp/core-crypto')));
284
284
  const dbName = this.generateSecretsDbName(context);
285
285
  const secretStore = mlsConfig.secretsCrypto
286
286
  ? await (0, encryptedStore_1.createCustomEncryptedStore)(dbName, mlsConfig.secretsCrypto)
@@ -1,4 +1,4 @@
1
- import { AddProposalArgs, CommitBundle, ConversationConfiguration, ConversationId, CoreCrypto, DecryptedMessage, ExternalProposalArgs, ExternalProposalType, ExternalRemoveProposalArgs, Invitee, ProposalArgs, ProposalType, RemoveProposalArgs } from '@otak/core-crypto/platforms/web/corecrypto';
1
+ import { AddProposalArgs, CommitBundle, ConversationConfiguration, ConversationId, CoreCrypto, DecryptedMessage, ExternalProposalArgs, ExternalProposalType, ExternalRemoveProposalArgs, Invitee, ProposalArgs, ProposalType, RemoveProposalArgs } from '@wireapp/core-crypto/platforms/web/corecrypto';
2
2
  import { APIClient } from '@wireapp/api-client';
3
3
  import { QualifiedUsers } from '../../conversation';
4
4
  import type { MLSConfig } from '../types';
@@ -13,7 +13,7 @@ export declare class MLSService {
13
13
  private uploadCommitBundle;
14
14
  addUsersToExistingConversation(groupIdDecodedFromBase64: Uint8Array, invitee: Invitee[]): Promise<PostMlsMessageResponse | null>;
15
15
  getKeyPackagesPayload(qualifiedUsers: QualifiedUsers[]): Promise<Invitee[]>;
16
- newProposal(proposalType: ProposalType, args: ProposalArgs | AddProposalArgs | RemoveProposalArgs): Promise<Uint8Array>;
16
+ newProposal(proposalType: ProposalType, args: ProposalArgs | AddProposalArgs | RemoveProposalArgs): Promise<import("@wireapp/core-crypto/platforms/web/corecrypto").ProposalBundle>;
17
17
  newExternalProposal(externalProposalType: ExternalProposalType, args: ExternalProposalArgs | ExternalRemoveProposalArgs): Promise<Uint8Array>;
18
18
  processWelcomeMessage(welcomeMessage: Uint8Array): Promise<ConversationId>;
19
19
  decryptMessage(conversationId: ConversationId, payload: Uint8Array): Promise<DecryptedMessage>;